/* google fonts */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC&display=swap');

/* UI Design Guideline */
:root {
    --main-color: #2F5390;
    --light-main-color: #E2E9F5;
    --aide-color: #F5F5F5;
    --font-size-36: 36px;
    --font-size-28: 28px;
    --font-size-24: 24px;
    --font-size-20: 20px;
    --font-size-18: 18px;
    --font-size-16: 16px;
    --font-size-14: 14px;
    --font-size-10: 10px;
    --font-size-8: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

ul, li {
    /* list-style: none; */
}

body {
    font-family: "Noto Sans TC", "Noto Sans Myanmar", sans-serif, Arial;
}

.skip-link {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 100;
    padding: 8px 12px;
    background-color: white;
    color: var(--main-color);
    border: 2px solid var(--main-color);
    border-radius: 8px;
    transform: translateY(-150%);
    transition: transform 0.2s;
}

.skip-link:focus {
    transform: translateY(0);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--main-color);
    outline-offset: 2px;
}

.bodyLock {
    overflow: hidden;
}

/* 選單 */
header {
    height: 60px;
    padding: 22px 0;
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: white;
}

header>h1 {
    position: fixed;
    top: -500px;
    left: -500px;
}

header>nav>div {
    max-width: 1407px;
    width: 90%;
    margin: 0 auto;
    margin-top: -17px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding-right: 84px;
}


header>nav>div>div>a:hover, header>nav>div>div>button.nav-link:hover, .navChecked, .introduction>a:hover {
    background-image: url(../img/icon/mDraw.png);
    background-repeat: no-repeat;
    background-size: contain;
    color: white;
    background-position: center;
}

.sectionBlock {
    max-width: 1400px;
    width: 95%;
    margin: 0 auto;
    padding-left: 5%;
}


.introduction {
    width: 120px;
    display: inline-block;
    position: relative;
}

.introduction-menu {
    width: 136px;
    position: absolute;
    left: 40px;
    background-color: white;
    padding: 2px;
    border-radius: 4px;
    text-align: left;
    display: none;
}

.introduction:hover .introduction-menu {
    display: block;
}

header>nav>div>div:first-child>div>a, .introduction-menu>a {
    display: block;
    padding: 10px 22px;
    color: var(--main-color);
    text-decoration: none;
    font-size: var(--font-size-20);
}

.navChecked {
    color: white !important;
}


.introduction-menu>a:hover {
    background-color: var(--light-main-color);
}

.introduction-menu>.navChecked {
    color: var(--main-color) !important;
    background-image: none;
    background-color: var(--light-main-color);

}


@media (max-width: 1200px) {
    header {
        height: 60px;
        overflow: hidden;
    }

    .headerOverflow {
        overflow: visible;
    }

    header>nav>div {
        margin: 0;
        display: block;
        position: absolute;
        top: 0;
        right: 0;
        right: -1000px;
        width: 45%;
        height: 100vh;
        flex-direction: column;
        justify-content: center;
        background-color: white;
        transition: all 0.6s;
        overflow-y: auto;
        padding: 50px 0;
    }

    .show {
        right: 0;
        overflow-y: auto;
    }



}

@media (max-width: 821px) {
    header>nav>div {
        width: 75%;
    }
}

.hamburgerBG {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    margin: 0 auto;
    height: 100vh;
    background-color: rgba(32, 32, 32, 0.403);
    display: none;
}

.hamburgerBGshow {
    display: block;
}


.navShadow {
    filter: drop-shadow(4px 4px 8px #7a7c817a);
}

.banner {
    max-width: 1728px;
    width: 90%;
    margin: 0 auto;
    border-radius: 50px 50px 0 0;
    overflow: hidden;
}


.banner-show>img {
    width: 100%;
}

header>nav>div>div>a {
    display: inline-block;
    width: 120px;
    margin: 0 8px;
    padding: 8px 0;
    color: var(--main-color);
    font-size: var(--font-size-20);
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    position: relative;
}

header>nav>div>div>button.nav-link {
    display: inline-block;
    width: 120px;
    margin: 0 8px;
    padding: 8px 0;
    color: var(--main-color);
    font-size: var(--font-size-20);
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    background-color: transparent;
    border: 0;
    font-family: inherit;
}

.lang-switch {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.lang-switch a {
    width: auto;
    margin: 0;
    color: var(--main-color);
    text-decoration: none;
    font-size: var(--font-size-16);
    font-weight: bold;
    line-height: 1;
    padding: 6px 8px;
    border-radius: 8px;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.lang-switch a:hover {
    background-image: none;
    background-color: rgba(47, 83, 144, 0.12);
    color: #1f3f73;
    text-shadow: none;
}

.lang-switch a.active {
    background-color: rgba(47, 83, 144, 0.12);
    color: #1f3f73;
}


.introduction {
    color: var(--main-color);
    font-size: var(--font-size-20);
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.introduction-menu>a {
    margin: 0 auto;
    cursor: pointer;

}

header>nav>div>.controlBar-fontSize {
    display: none;
}

header>nav>div>.controlBar-share {
    display: none;
}

@media (max-width: 1200px) {

    header>nav>div>.controlBar-fontSize {
        width: 90%;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    header>nav>div>.controlBar-share {
        width: 90%;
        display: block;
        margin-left: auto;
        margin-right: auto;

    }

    header>nav>div>div {
        width: 100%;
    }

    .introduction {
        width: 100%;
    }

    .introduction-menu {
        display: block;
        position: static;
        text-align: center;
        width: 100%;
    }

    header>nav>div>div>a, header>nav>div>div>button.nav-link, .introduction>a, .introduction-menu>a {
        border: 1px solid;
        display: block;
        width: 90%;
        margin: 0 auto;
        margin-top: 20px;
    }

    .lang-switch {
        position: static;
        transform: none;
        width: 90%;
        margin: 20px auto 0 auto;
        justify-content: center;
        gap: 20px;
    }

    .lang-switch a {
        border: 1px solid var(--main-color);
        border-radius: 8px;
        min-width: 70px;
        padding: 10px 14px;
        text-align: center;
    }

    header>nav>div>div>a:hover, header>nav>div>div>button.nav-link:hover, .introduction>a:hover, .introduction-menu>a:hover {
        border: 1px solid var(--main-color);
        ;
        background-color: var(--light-main-color);
        background-image: none;
        color: var(--main-color);

    }

    .lang-switch a:hover {
        background-color: var(--light-main-color);
        opacity: 1;
    }

    header>nav .navChecked {
        border: 1px solid var(--main-color);
        background-color: var(--light-main-color);
        background-image: none;
        color: var(--main-color) !important;
    }
}


header .logo {
    width: 320px;
    height: 140px;
    text-align: center;
    border-radius: 50px;
    background-color: white;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    margin: 0 auto;
}

header .logo a {
    width: 92%;
    height: 92%;
    display: inline-block;
    background-image: url(../img/logo.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

header .logoHeight {
    height: 60px;
    transition: height 0.4s;
}

@media (max-width: 1330px) {
    header .logo {
        width: 250px;
    }
}


@media (max-width: 1200px) {
    header .logo {
        width: 90%;
        height: 60px;
    }

    header .logo a {
        width: 380px;
        position: absolute;
        left: 0;
        background-image: url(../img/logo-m.png);
    }
}

@media (max-width: 620px) {
    header .logo a {
        width: 60%;
    }
}


/* 漢堡選單 */
#hamburgerBtn {
    width: 50px;
    height: 60px;
    position: absolute;
    top: 0;
    right: 8%;
    display: none;
    cursor: pointer;
    border: 0;
    background-color: transparent;
}


#hamburgerBtn:hover>span:nth-child(2) {
    margin: 5px 0;
}

#hamburgerBtn>span {
    display: block;
    width: 90%;
    height: 3px;
    border-radius: 4px;
    background-color: var(--main-color);
    transition: all 0.5s;
}

#hamburgerBtn>.hamburgerBtnX:first-child {
    position: absolute;
    transform: rotate(135deg);
}

#hamburgerBtn>.hamburgerBtnX:nth-child(2) {
    display: none;
}

#hamburgerBtn>.hamburgerBtnX:last-child {
    position: absolute;
    transform: rotate(225deg);
}

@media (max-width: 1200px) {
    #hamburgerBtn {
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        align-items: center;
    }
}


.banner {
    padding-left: 0;
}

@media (max-width: 1200px) {
    .sectionBlock {
        width: 90%;
        padding-left: 0;
    }
}

/* 按鈕常規 */
.btn {
    background: var(--main-color);
    color: white;
    border-radius: 8px;
    padding: 12px;
    outline: none;
    font-size: var(--font-size-18);
    border: none;
    display: block;
    min-width: 160px;
    width: 90%;
    margin: 0 auto;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid var(--main-color);
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
}

@media (max-width: 757px) {
    main .btn {
        min-width: 100%;
    }
}

.btn:hover {
    background: var(--light-main-color);
    color: var(--main-color);
}

/* 標題 */
.title>h1,
.title>h2 {
    font-size: var(--font-size-24);
    color: var(--main-color);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 62px auto;
}

@media (max-width: 500px) {
    .title>h1,
    .title>h2 {
        margin: 60px auto 40px auto;
    }
}

.title>h1>span,
.title>h2>span {
    display: inline-block;
    width: 50px;
    padding: 1px 0;
    background: var(--main-color);
    justify-content: space-between;
    margin: 0 15px;
}

/* footer */
footer {
    font-size: var(--font-size-16);
    max-width: 1728px;
    width: 90%;
    margin: 0 auto;
}

footer>div:first-child {

    background: var(--light-main-color);
    border-radius: 0 0 50px 50px;
    /* display: grid; */
    padding: 40px 0;
    display: flex;
}

footer>div>div {
    max-width: 1400px;
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

.footer-connect, .footer-externalLink {
    margin: 5px auto;
    text-align: center;
    display: inline-block;
}

.footer-connect>div {
    display: inline;
}

.footer-connect>div>div {
    display: inline;
}

.footer-connect>div>img {
    width: 20px;
    vertical-align: middle;
}

.footer-connect>div, .footer-externalLink>a {
    display: inline-block;
    font-size: var(--font-size-16);
    color: var(--main-color);
    margin: 0 25px 0 0;
}

.footer-externalLink>a {
    text-decoration: none;
    cursor:pointer;
}

.footer-copyright {
    font-size: 8px;
    color: var(--main-color);
    text-align: center;
    margin: 2px auto;
}

@media (max-width: 1340px) {
    .footer-connect>div, .footer-externalLink>a {
        font-size: var(--font-size-14);
    }
}

@media (max-width: 1200px) {
    footer>div:first-child {
        padding: 24px 0;
    }

    footer>div>div {
        display: block;
    }

    .footer-connect {
        display: block;
        width: 100%;
    }

    .footer-externalLink {
        display: block;
        width: 100%;
    }
}

@media (max-width: 500px) {
    footer>div:first-child {
        padding: 15px 0;
    }

    .footer-connect>div, .footer-externalLink>a {
        margin: 0 5px 0 0;
    }
}

/* 字級跟分享 */

.controlBar {
    border-radius: 12px;
    display: inline-block;
    color: var(--main-color);
    box-shadow: 4px 4px 8px #7a7c817a;
}

.controlBar>div {
    width: 58px;
    padding: 8px 5px;
}

.controlBar-fontSize>div,
.controlBar-fontSize>button {
    width: 40px;
    margin: 0 auto;
    padding: 8px 0;
    text-align: center;
}


@media (max-width: 400px) {
    .controlBar-fontSize>div,
    .controlBar-fontSize>button {
        width: 36px;
        padding: 6px 0;
    }
}

.controlBar-fontSize .controlBar-fontSize-btn {
    margin: 8px auto;
    border-radius: 70%;
    background-color: var(--aide-color);
    cursor: pointer;
    transition: all 0.3s;
    border: 0;
    color: inherit;
    font: inherit;
}

.controlBar-fontSize .controlBar-fontSize-btn:hover {
    outline: 1px solid var(--main-color);
}

.controlBar-fontSize-btn.checked {
    background-color: var(--main-color);
    color: white;
}

.controlBar-share>div {
    width: 38px;
    margin: 8px auto;
    text-align: center;
}

@media (max-width: 400px) {
    .controlBar-share>div {
        width: 35px;
    }
}

.controlBar-share>div:first-child {
    padding: 8px 0;
}

.controlBar-share>div>a {
    margin: 0;
    padding: 0;
    font-size: 0;
    display: block;
    transition: all 0.3s;
    border-radius: 70%;
    opacity: 0.7;
    cursor: pointer;
}

.controlBar-share>div>a:hover {
    opacity: 1;
}

.controlBar-share>div>a>img {
    width: 100%;
}

.goToTop {
    position: fixed;
    bottom: 50px;
    right: -125px;
    transition: all 0.5s;
    border-radius: 70%;
    width: 58px;
    height: 60px;
    background-image: url(../img/icon/gototop.png);
    background-repeat: no-repeat;
    background-position: center 45%;
    background-size: 50%;
    box-shadow: 4px 4px 8px #7a7c817a;
    transition: all 0.3s;
    cursor: pointer;
    margin-top: 200px;
    background-color: white;
    border: 0;
}

.goToTopshow {
    right: 110px;
}

@media (max-width: 1600px) {
    .goToTopshow {
        right: 100px;
    }
}

@media (max-width: 1200px) {
    .goToTopshow {
        right: 42px;
    }
}

.content {
    width: 96%;
    display: grid;
    grid-template-columns: 1fr 100px;
    position: relative;
}

.fixdcontrolBar {
    margin-top: 150px;
}


@media (max-width: 1200px) {
    .fixdcontrolBar {
        width: 90%;
        margin: 0 auto;
        margin-top: 0px;
        position: absolute;
        top: -60px;
        right: 0;
        left: -46px;
    }

    .controlBar-share>div:first-child {
        display: none;
    }

    .fixdcontrolBar .controlBar-fontSize {
        display: none;
    }

    .controlBar {
        box-shadow: none;
    }

    .controlBar>div {
        width: 100%;
        display: flex;
        padding: 10px 20px;
    }

    .controlBar-share>div {
        margin: 0 5px;
    }

    header>nav .twoNavChecked {
        background-color: white;
    }

    nav .controlBar-fontSize {
        margin: 50px 0 10px 0;
    }

    nav .controlBar-fontSize>div, nav .controlBar-share>div {
        vertical-align: middle;
        display: inline-block;
        margin: 0 5px !important;
    }

    .content {
        display: block;
        width: 100%;
    }

}

@media (max-width: 500px) {
    .fixdcontrolBar {
        left: -30px;
    }
}


/* 頁碼 */

.pageNumber {
    text-align: center;
    margin: 60px auto 80px auto;
}

.pageNumber nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
}

.pageNumber a,
.pageNumber button {
    min-width: 48px;
    height: 48px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--main-color);
    text-decoration: none;
    border-radius: 8px;
    cursor: pointer;
    background-color: transparent;
    border: 1px solid transparent;
    font: inherit;
    line-height: 1;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

#gotoPreviousPage,
#gotoBackwardPage {
    border: 1px solid var(--main-color);
}

.pageNumber .gotoPage:not(.pageNumberCheck):hover,
#gotoPreviousPage:not(:disabled):hover,
#gotoBackwardPage:not(:disabled):hover {
    background-color: var(--main-color);
    color: white !important;
}

.pageNumber a.pageNumberCheck,
.pageNumber button.pageNumberCheck,
.pageNumber [aria-current="page"] {
    background-color: var(--main-color);
    color: white !important;
    cursor: default;
    pointer-events: none;
}

.pageNumberDisable,
.pageNumber button:disabled {
    background-color: transparent !important;
    border: 1px solid var(--light-main-color) !important;
    color: var(--light-main-color) !important;
    cursor: not-allowed;
    pointer-events: none;
}

.pageNumber span {
    min-width: 32px;
    color: var(--main-color);
    text-align: center;
}

.pageNumberNone {
    display: none;
}

@media (max-width: 600px) {
    .pageNumber {
        width: 100%;
        padding: 0 38px;
    }

    .pageNumber a,
    .pageNumber button {
        margin: 0;
    }
}


/* 下拉選單 */

.searchBar-form select {
    height: 34px;
    width: 100%;
    border: 1px solid var(--main-color);
    border-radius: 8px;
    padding: 0 10px;
    outline: none;
    cursor: pointer;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    outline: 0;
    box-shadow: none;
    flex: 1;
    background-image: none;
    background-color: white;
    color: black;
    font-size: 14px;
}

.searchType::-ms-expand {
    display: none;
}

.searchBar-form>div {
    position: relative;
}

.searchType {
    margin-right: 20px;
}


.searchType {
    position: relative;
    display: flex;
    border-radius: 8px;
    overflow: hidden;

}

.searchType::after, .searchTypeDisbale::after {
    content: '\25BC';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    padding: 4px 10px;
    border-radius: 0 8px 8px 0;
    border: 1px solid var(--main-color);
    color: var(--main-color);
    background-color: var(--light-main-color);
    transition: .25s all ease;
    pointer-events: none;
    cursor: pointer;
    user-select: none;
}

.searchTypeDisbale {
    opacity: 0.5;
}


/* 搜尋bar */

.searchBar-form input[type="search"] {
    width: 100%;
    height: 34px;
    border: 1px solid var(--main-color);
    border-radius: 8px;
    padding: 9px 10px 9px 13px;
    outline: none;
    background-color: white;
}

.searchBar-form input[type="search"]::placeholder {
    color: rgb(219, 219, 219);
    font-size: 14px;
}

.searchBar-form-search {
    width: 38px;
    height: 34px;
    background-color: var(--light-main-color);
    border: 1px solid var(--main-color);
    border-radius: 0 8px 8px 0;
    display: inline-block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    user-select: none;
    cursor: pointer;
    padding: 0;
    font: inherit;
}

.searchBar-form-search>div:first-child,
.searchBar-form-search>span:first-child {
    display: block;
    width: 18px;
    height: 18px;
    border-radius: 70%;
    border: 1px solid var(--main-color);
    background-color: white;
    position: absolute;
    top: 6px;
    left: 7px;

}

.searchBar-form-search>div:last-child,
.searchBar-form-search>span:last-child {
    display: block;
    transform: rotate(-45deg);
    position: absolute;
    top: 20px;
    right: 10px;
    width: 1px;
    height: 6px;
    background-color: var(--main-color);
}


/* 排序圖示條列式按鈕們 */

.searchBar-btn {
    margin: 20px 0;
    text-align: right;
    display: flex;
    justify-content: flex-end;
}

.searchBar-btn-reverse, .searchBar-btn-img, .searchBar-btn-list {
    border: 1px solid var(--main-color);
    width: 38px;
    height: 38px;
    border-radius: 8px;
    position: relative;
    cursor: pointer;
    margin-left: 5px;
    background-color: transparent;
    font: inherit;
    padding: 0;
}

/* 圖示按鈕 */
.searchBar-btn-img {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-items: center;
    align-items: center;
    padding: 4px;
}

.searchBar-btn-img>span {
    display: block;
    width: 8px;
    height: 8px;
    padding: 0 4px;
    border-radius: 2px;
    background-color: var(--main-color);
}

.searchBar-btn-img-ckecked, .searchBar-btn-img:hover {
    background-color: var(--main-color);
}

.searchBar-btn-img-ckecked>span, .searchBar-btn-img:hover>span {
    background-color: white;
    width: 8px;
    height: 8px;
}

/* 條列式按鈕 */
.searchBar-btn-list {
    padding: 5px 0;
    color: var(--main-color);
    display: flex;
    justify-content: space-evenly;
    flex-direction: column;
}

.searchBar-btn-list div,
.searchBar-btn-list > span {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.searchBar-btn-list div span:first-child,
.searchBar-btn-list > span span:first-child {
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 12px;
    background-color: var(--main-color);
}

.searchBar-btn-list div span:last-child,
.searchBar-btn-list > span span:last-child {
    display: block;
    width: 20px;
    height: 2px;
    background-color: var(--main-color);
}

.searchBar-btn-list:hover, .searchBar-btn-list-ckecked {
    background-color: var(--main-color);

}

.searchBar-btn-list:hover div span,
.searchBar-btn-list:hover > span span,
.searchBar-btn-list-ckecked div span,
.searchBar-btn-list-ckecked > span span {
    background-color: white !important;
}


/* 排序按鈕 */

.searchBar-btn-reverse>span {
    border-radius: 8px;
    display: block;
    width: 2px;
    height: 10px;
    background-color: var(--main-color);
}

.searchBar-btn-reverse>span:nth-child(1), .searchBar-btn-reverse>span:nth-child(4) {
    height: 8px;
    transform: rotate(45deg);
}

.searchBar-btn-reverse>span:nth-child(1) {
    position: absolute;
    top: 8px;
    left: 11px;
}

.searchBar-btn-reverse>span:nth-child(2) {
    position: absolute;
    top: 8px;
    left: 14px;
    height: 20px;
}

.searchBar-btn-reverse>span:nth-child(3) {
    position: absolute;
    top: 8px;
    right: 14px;
    height: 20px;
}

.searchBar-btn-reverse>span:nth-child(4) {
    position: absolute;
    transform: rotate(45deg);
    bottom: 8px;
    right: 11px;
}

.searchBar-btn-reverse:hover, .searchBar-btn-reverse-checked {
    background-color: var(--main-color);
}

.searchBar-btn-reverse:hover span, .searchBar-btn-reverse-checked>span {
    background-color: white;
}



/* search失敗 */
.searchError {
    padding: 0px 0 80px 0;
    display: none;
}

.searchErrorShow {
    display: block;
}

.searchError p {
    color: var(--light-main-color);
    font-size: 30px;
    text-align: center;
}

.searchErrorNone {
    display: none !important;
}

.searchErrorBtnDisable {
    opacity: 0.2;
    pointer-events: none;
}

@media (min-width: 1201px) {
    header>nav>div>div:first-child,
    header>nav>div>div:nth-child(2) {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    header>nav>div>div>a,
    .introduction>a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        line-height: 1.15;
        vertical-align: top;
    }
}

@media (min-width: 1201px) {
    html[lang^="en"] header>nav>div {
        align-items: flex-start;
        padding-right: 92px;
    }

    html[lang^="en"] header>nav>div>div:first-child,
    html[lang^="en"] header>nav>div>div:nth-child(2) {
        display: grid;
        grid-auto-flow: column;
        align-items: start;
        gap: 16px;
    }

    html[lang^="en"] header>nav>div>div:first-child {
        grid-template-columns: 126px 126px 92px;
    }

    html[lang^="en"] header>nav>div>div:nth-child(2) {
        grid-template-columns: 136px 156px 96px;
    }

    html[lang^="en"] .introduction {
        width: 126px;
        min-width: 0;
    }

    html[lang^="en"] header>nav>div>div>a,
    html[lang^="en"] .introduction>a {
        width: 100%;
        min-width: 0;
        height: 44px;
        min-height: 44px;
        box-sizing: border-box;
        margin: 0;
        padding: 4px 4px;
        display: flex;
        align-items: center;
        justify-content: center;
        white-space: normal;
        overflow: visible;
        line-height: 1.1;
        font-size: 17px;
        background-size: 100% 88%;
        background-position: center 48%;
    }

    html[lang^="en"] header>nav>div>div>a:hover,
    html[lang^="en"] .navChecked,
    html[lang^="en"] .introduction>a:hover {
        background-size: 100% 88%;
        background-position: center 48%;
    }

    html[lang^="en"] .lang-switch {
        top: 24px;
    }
}

html[lang^="en"] .title>h1,
html[lang^="en"] .title>h2 {
    gap: 12px;
    line-height: 1.25;
    text-align: center;
}

html[lang^="en"] .title>h1>span,
html[lang^="en"] .title>h2>span {
    flex: 0 1 42px;
    min-width: 24px;
    margin: 0;
}

@media (max-width: 760px) {
    html[lang^="en"] .title>h1>span,
    html[lang^="en"] .title>h2>span {
        flex-basis: 26px;
        min-width: 16px;
    }
}
