/* Public site only. Default typography, colours and layout stay in the theme. */
.a11y-visually-hidden,
.a11y-skip:not(:focus) {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
.a11y-skip:focus {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 11000;
    background: #fff;
    color: #142b48;
    padding: 12px 20px;
    text-decoration: underline;
}
:focus-visible {
    outline: 3px solid #135ca3 !important;
    outline-offset: 3px;
    box-shadow: 0 0 0 6px #fff !important;
}
html { scroll-padding-top: 120px; }
/* Small contrast corrections retain the existing palette and component geometry. */
:root { --clr-body-text: #707070; }
.intro-title-en, .sec-subtitle, .news-excerpt, .news-excerpt-cut, .h6_about-content > label, .h6_tuition-item-date { color: #626d85 !important; }
.h10_course-content-info li, .h10_course-content-tag a, .h10_course-content-tag span { color: #707070 !important; }
.contact-info-item > span, .footer-widget-list li, .h6_copyright-text p { color: #707070; }
.contact-info-item, .contact-info-item a { overflow-wrap: anywhere; max-width: 100%; }
.cta-subtitle { color: #ce1544; }
.cta-link { color: #c52635 !important; }
.innerPage_course-search input, .innerPage_course-search input::placeholder { color: #686868 !important; }
.innerPage_course-search-btn { min-width: 28px; min-height: 28px; }
.blog_details-author-info > span, .blog_details-category > span { color: #626d7b; }
.blog_details-post-info .h2_blog-content-meta-manual { color: #707070; }
.school-network-page { --group-blue: #1d6c75; }
[data-article-content] a span[style*="rgb(231, 76, 60)"],
[data-article-content] a span[style*="#e74c3c"] { color: #b8382a !important; }
[data-article-content] a span[style*="rgb(41, 128, 185)"],
[data-article-content] a span[style*="#2980b9"] { color: #236b9b !important; }
[data-article-content] a { text-decoration: underline; }
#main-content { outline: none; }
:where(a, button, input, select, textarea, [tabindex]) { scroll-margin-top: 120px; }
.side-info { transition-property: right; }
.side-info[aria-hidden="true"] { visibility: hidden; }
.side-info[aria-hidden="false"] { visibility: visible; }
.side-info[aria-hidden="false"] .sidebar-close { visibility: visible; transition: none; }
.header-menu-bar-icon { border: 0; padding: 0; background: transparent; }
.h7_main-menu li > .submenu { display: none; }
.h7_main-menu li:hover > .submenu,
.h7_main-menu li.a11y-menu-open > .submenu,
.h7_main-menu li:focus-within:not(.a11y-menu-closed) > .submenu { display: block; opacity: 1; visibility: visible; }
.h7_main-menu li.a11y-menu-closed > .submenu { display: none; opacity: 0; visibility: hidden; }
.a11y-launcher { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; padding: 12px; font-size: 14px; background: #fff; color: #142b48; }
.a11y-launcher a, .a11y-launcher button { color: #142b48; text-decoration: underline; min-height: 24px; }
.a11y-launcher button { background: transparent; border: 0; padding: 0; font: inherit; }
.h6_copyright-text { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; column-gap: 24px; row-gap: 6px; }
.h6_copyright-text .a11y-launcher { gap: 16px; padding: 0; background: transparent; }
.h6_copyright-text .a11y-launcher :is(a, button) { display: inline-flex; align-items: center; min-height: 32px; font-weight: 600; }
dialog#a11y-preferences {
    position: fixed; inset: 0; margin: auto;
    width: min(440px, calc(100% - 24px)); max-height: calc(100dvh - 24px);
    padding: 24px; border: 1px solid #b6c4d3; border-radius: 16px;
    color: #142b48; background: #fff; overflow: auto;
}
dialog#a11y-preferences:not([open]) { display: none; }
#a11y-preferences::backdrop { background: rgba(0, 0, 0, .55); }
.a11y-dialog-heading { display: flex; justify-content: space-between; align-items: start; gap: 16px; }
#a11y-preferences h2 { font-size: 24px; }
#a11y-preferences p { color: inherit; }
#a11y-preferences label { display: block; margin-top: 12px; }
#a11y-preferences select { display: block; width: 100%; min-height: 44px; padding: 8px; background: #fff; color: #142b48; border: 1px solid #738397; border-radius: 6px; }
#a11y-preferences button, .a11y-reader button, .a11y-slider-controls button { min-height: 36px; padding: 6px 12px; border: 1px solid #738397; border-radius: 6px; color: #142b48; background: #fff; }
#a11y-close { font-size: 24px; line-height: 1; }
#a11y-preferences .a11y-check { display: flex; align-items: center; gap: 8px; }
.a11y-check input { width: 20px; height: 20px; }
#a11y-reset { margin-top: 20px; }
.a11y-reader { margin: 16px 0; padding: 12px; border: 1px solid #d4dce6; border-radius: 8px; }
.a11y-reader button, .a11y-reader select { margin: 4px; }
.a11y-reader select { min-height: 36px; }
.a11y-reader p { margin: 6px 0 0; font-size: 14px; }
.a11y-reader [disabled] { opacity: .65; }
.a11y-speech {
    position: fixed; right: max(20px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom)); z-index: 1050;
    width: min(360px, calc(100vw - 32px)); pointer-events: none;
    color: #173854; font-size: 14px; line-height: 1.5;
}
.a11y-speech-bar {
    display: flex; justify-content: flex-end; gap: 6px; align-items: stretch;
    pointer-events: auto; width: fit-content; max-width: 100%; margin-left: auto;
    border: 1px solid #b8cad7; border-radius: 18px; padding: 5px; background: #fff;
    box-shadow: 0 4px 20px rgba(17, 49, 73, .18);
}
.a11y-speech button, .a11y-speech select { font: inherit; min-height: 44px; border-radius: 10px; }
.a11y-speech button { padding: 8px 12px; border: 1px solid #a7bdcc; color: #173854; background: #fff; }
.a11y-speech button:hover:not([disabled]) { background: #edf4f8; }
.a11y-speech button:disabled { color: #53697a; background: #f1f4f6; cursor: default; }
#speech-toggle { display: flex; align-items: center; justify-content: center; gap: 8px; border: 0; color: #173854; background: #edf4f8; }
#speech-toggle svg { flex: 0 0 22px; }
#speech-state { font-size: 12px; border-radius: 6px; padding: 2px 6px; color: #53697a; background: #fff; }
.is-enabled #speech-toggle, .a11y-speech .a11y-speech-primary { background: #174e76; color: #fff; border-color: #174e76; }
.is-enabled #speech-toggle:hover, .a11y-speech .a11y-speech-primary:hover:not([disabled]) { background: #123c5b; }
.is-enabled #speech-state { color: #17543a; background: #e3f4eb; }
#speech-controls { border: 0; }
.a11y-speech-panel {
    pointer-events: auto; margin-bottom: 12px; padding: 20px;
    border: 1px solid #bacbd8; border-radius: 18px; background: #fff;
    box-shadow: 0 8px 32px rgba(17, 49, 73, .18);
    max-height: calc(100dvh - var(--speech-bar-height, 60px) - 48px); overflow: auto;
    overscroll-behavior: contain; overflow-wrap: anywhere;
}
.a11y-speech-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.a11y-speech-heading h2 { font-size: 21px; line-height: 1.4; color: inherit; margin: 3px 0 0; }
.a11y-speech-eyebrow { color: #53697a; font-size: 12px; }
#speech-collapse { flex: 0 0 44px; font-size: 24px; padding: 0; border: 0; }
.a11y-speech-help { margin: 12px 0; color: #53697a; font-size: 14px; }
.a11y-speech-panel > label { display: block; margin: 14px 0 6px; }
#speech-page { width: 100%; }
.a11y-speech-section { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.a11y-speech select { min-width: 0; width: 100%; padding: 8px; border: 1px solid #8ba5b9; background: #fff; color: #173854; }
.a11y-speech-playback { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 8px; margin-top: 16px; padding-top: 16px; border-top: 1px solid #dce6ed; }
.a11y-speech-panel > .a11y-speech-check { display: flex; align-items: flex-start; gap: 8px; }
.a11y-speech-check input { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 2px; accent-color: #174e76; }
#speech-status { margin: 12px 0 0; padding: 10px; border-radius: 8px; background: #edf4f8; color: #173854; font-size: 13px; }
.has-speech-tools { padding-bottom: 0; }
.has-speech-tools #scrollUp { bottom: calc(var(--speech-bar-height, 60px) + 40px + env(safe-area-inset-bottom)); }
.has-speech-tools :where(a, button, input, select, textarea, [tabindex]) { scroll-margin-bottom: calc(var(--speech-bar-height, 60px) + 40px); }
@media (max-width: 1199px) {
    .has-speech-tools .h6_copyright-area { padding-bottom: calc(30px + var(--speech-bar-height, 60px) + 16px + env(safe-area-inset-bottom)); }
}
html[data-a11y-text] .a11y-speech-section { grid-template-columns: minmax(0, 1fr); }
html[data-a11y-text] .a11y-speech-bar { width: 100%; }
html[data-a11y-text] #speech-toggle { flex-wrap: wrap; }
.a11y-slider-controls { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; padding-top: 8px; }
[hidden] { display: none !important; }
.mean-container .mean-nav ul li a.mean-expand { min-width: 28px; min-height: 28px; }
.table-responsive:focus-visible { outline-offset: -4px; }
.h6_footer-widget, .h6_footer-widget-list, .footer-widget-list, .contact-info { overflow-wrap: anywhere; min-width: 0; }
.blog_details-inner-text img, .blog_details-inner-text iframe, .contact-map iframe { max-width: 100%; }
.blog_details-inner-text table { max-width: 100%; }
.blog_details-inner-text { overflow-wrap: anywhere; }
html[data-a11y-text] [data-a11y-size] { font-size: calc(var(--a11y-base-size) * var(--a11y-text-scale)) !important; }
html[data-a11y-text] :is(.news-title, .news-excerpt-cut, .h7_header-top, .h7_header-top-list) {
    height: auto !important; max-height: none !important; -webkit-line-clamp: unset !important; overflow: visible !important;
}
html[data-a11y-text] .h7_header-top-list { flex-wrap: wrap; }
html[data-a11y-text] .h7_header-left { flex-wrap: wrap; height: auto; min-height: 80px; }
html[data-a11y-text] .group-section-heading { flex-wrap: wrap; }
html[data-a11y-spacing] :is(p, li, a, span, label, h1, h2, h3, h4, h5, h6, td, th) { line-height: 1.8 !important; }
html[data-a11y-spacing] p { margin-bottom: 2em !important; }
html[data-a11y-links] a[href] { text-decoration: underline !important; text-underline-offset: .15em; }
html[data-a11y-contrast] { --a11y-bg: #111; --a11y-fg: #fff; --a11y-link: #8fdaff; }
html[data-a11y-contrast="light"] { --a11y-bg: #fff; --a11y-fg: #111; --a11y-link: #0645ad; }
html[data-a11y-contrast] body,
html[data-a11y-contrast] body *:not(img):not(video):not(canvas):not(svg):not(path) {
    color: var(--a11y-fg) !important; background-color: var(--a11y-bg) !important;
    background-image: none !important; border-color: #808080 !important; text-shadow: none !important;
}
html[data-a11y-contrast] a[href], html[data-a11y-contrast] a[href] * { color: var(--a11y-link) !important; text-decoration: underline; }
html[data-a11y-contrast] :focus-visible { outline-color: var(--a11y-link) !important; box-shadow: 0 0 0 6px var(--a11y-bg) !important; }
html[data-a11y-motion] *, html[data-a11y-motion] *::before, html[data-a11y-motion] *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
html[data-a11y-motion] .wow { visibility: visible !important; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .wow { visibility: visible !important; }
}
@media (max-width: 575px) {
    .h6_footer-widget.mr-80 { margin-right: 0; }
    .blog_details-inner-text.mr-80 { margin-right: 0; }
    .contact-info.ml-50 { margin-left: 0; }
    .h6_footer-inner { min-width: 0; }
    .table-responsive table { min-width: 650px; }
    .pagination { flex-wrap: wrap; gap: 4px; }
}
@media (forced-colors: active) {
    :focus-visible { outline: 3px solid Highlight !important; }
}
