/* 留學知識頁共用樣式：整理今日設定，保留各尺寸及頁面專用規則。 */
.bg {
    padding-bottom: 20px;
    background: url(https://www.utsc.com.tw/material-alias/opinion/bg.jpg) no-repeat center;
    background-size: cover;
    background-attachment: fixed;
}

.knowledge-content,
.breadcrumb {
    width: 1200px;
    margin: 0 auto;
}

.knowledge-content {
    position: relative;
    font-size: 18px;
    background: rgba(255,255,255,0.85);
    box-shadow: 2px 2px 5px 1px rgba(48, 48, 48, 0.4);
    overflow: hidden;
}

.knowledge-content img {
    width: 100%;
}

.breadcrumb,.breadcrumb li a,
.breadcrumb li.active {
    color: #fff;
}

.knowledge-content .kv img:nth-child(2),
.knowledge-content .kv img:last-child {
    display: none;
}

.knowledge-content .title {
    padding: 30px 40px;
    color: #fff;
    background: #0f7a83;
}

.knowledge-content .title h1 {
    font-size: 38px;
    margin: 0;
}

.knowledge-content .title p {
    width: 85%;
    margin: 0;
    margin-top: 20px;
    text-align: justify;
}

.knowledge-content .title-line {
    height: 10px;
    margin-left: 10px;
    background: #045056;
}

.knowledge-content .text h2 {
    display: inline-block;
    color: #0065ac;
    font-size: 26px;
    margin: 0;
    margin-right: 3px;
}

.knowledge-content .text {
    text-align: justify;
}

.knowledge-content .text p {
    margin: 0;
    margin-top: 15px;
}

@media(max-width:1250px) {
    .knowledge-content,
.breadcrumb {
        width: 992px;
    }

    .knowledge-content .title p {
        width: auto;
    }
}

@media(max-width:1024px) {
    .knowledge-content,
.breadcrumb {
        width: 768px;
    }

    .knowledge-content .title h1 {
        font-size: 34px;
    }

    .knowledge-content .title p {
        width: auto;
    }

    .knowledge-content .text p {
        margin-top: 7px;
    }
}

@media screen and (max-width: 798px) {
    .knowledge-content,
.breadcrumb {
        width: 96%;
    }

    .knowledge-content .kv img:first-child {
        display: none;
    }

    .knowledge-content .kv img:nth-child(2) {
        display: block;
    }

    .knowledge-content .title {
        padding: 20px 3%;
    }

    .knowledge-content .title h1 {
        font-size: 32px;
    }

    .knowledge-content .title p {
        margin-top: 10px;
    }

    .knowledge-content .text h2 {
        font-size: 24px;
        margin-right: 2px;
    }

    .back {
        width: 50%;
    }

    .back li {
        width: 50%;
        float: left;
    }

    .service_box {
        width: 50%;
        margin-left: 50%;
    }

    .service_box ul {
        width: 100%;
        margin-left: 0;
    }

    .back li:first-child {
        border-right: 1px solid #f1e5d8;
    }
}

@media screen and (max-width: 576px) {
    .knowledge-content .kv img:nth-child(2) {
        display: none;
    }

    .knowledge-content .kv img:last-child {
        display: block;
    }

    .knowledge-content .title h1 {
        font-size: 28px;
    }

    .knowledge-content .title h1 span {
        display: block;
    }
}

@media screen and (max-width: 400px) {
    .back a, .back a:hover {
        font-size: 16.5px;
        line-height: 40px;
    }
}

.knowledge-content .artice {
    position: relative;
}

.knowledge-content .artice .text {
    width: 48%;
    padding: 70px 0 30px 40px;
    float: left;
}

.knowledge-content .artice .img {
    width: 48%;
    float: right;
}

.knowledge-content .artice .img img:last-child {
    display: none;
}

.knowledge-content .artice.newzealand {
    background: url(https://www.utsc.com.tw/material-alias/individual-study/knowledge/english-country/newzealand-bg.png) no-repeat left bottom;
    background-size: contain;
}

.knowledge-content .artice.newzealand .text {
    width: 46%;
    padding-top: 40px;
}

.knowledge-content .artice.newzealand .img {
    position: relative;
}

.knowledge-content .artice.newzealand .img img:nth-child(2) {
    position: absolute;
    width: 52%;
    top: 10px;
    left: -15px;
    border: 3px solid #fff;
    box-shadow: 2px 2px 5px 1px rgba(48, 48, 48, 0.4);
}

@media(max-width:1250px) {
    .knowledge-content .artice .text {
        padding-top: 30px;
    }

    .knowledge-content .artice .img {
        margin-top: 30px;
    }

    .knowledge-content .artice.newzealand {
        padding-bottom: 280px;
    }
}

@media(max-width:1024px) {
    .knowledge-content .artice .text {
        width: auto;
        padding: 30px 40px 0;
        float: none;
    }

    .knowledge-content .artice .img {
        width: auto;
        float: none;
        margin: 15px 40px 0;
    }

    .knowledge-content .artice .img img:first-child {
        display: none;
    }

    .knowledge-content .artice .img img:last-child {
        display: block;
    }

    .knowledge-content .artice.newzealand .text {
        width: auto;
        padding-top: 30px;
    }

    .knowledge-content .artice.newzealand .img img:nth-child(2) {
        display: none;
    }

    .knowledge-content .artice.england,
.knowledge-content .artice.newzealand {
        padding-bottom: 30px;
        background: none;
    }
}

@media(max-width:798px) {
    .knowledge-content .artice .text {
        padding: 20px 3% 0;
    }

    .knowledge-content .artice .img {
        margin: 10px 3% 0;
    }

    .knowledge-content .artice.newzealand .text {
        padding-top: 20px;
    }

    .knowledge-content .artice.england,
.knowledge-content .artice.newzealand {
        padding-bottom: 20px;
    }
}

.knowledge-content .artice2 {
    width: 80%;
    padding: 30px 40px;
}

.knowledge-content .photo-2 {
    position: relative;
    margin: 20px 40px 0;
    padding-bottom: 30px;
}

.knowledge-content .photo-2 img:last-child {
    position: absolute;
    width: 80%;
    left: 10%;
    bottom: 0;
}

@media(max-width:1250px) {
    .knowledge-content .artice2 {
        width: auto;
    }
}

@media(max-width:1024px) {
    .knowledge-content .artice2 {
        padding: 20px 40px 0;
    }
}

@media(max-width:798px) {
    .knowledge-content .artice2 {
        padding: 20px 3% 0;
    }

    .knowledge-content .photo-2 {
        margin: 20px 3% 0;
    }
}

.knowledge-content .artice3 {
    display: inline-block;
    vertical-align: top;
}

.knowledge-content .artice3 .text h2 {
    display: block;
    font-size: 26px;
    color: #bb0000;
    margin: 0;
    margin-bottom: 10px;
}

.knowledge-content .artice3 .text h2 span {
    display: inline-block;
    width: 40px;
    height: 40px;
    text-align: center;
    margin-right: 15px;
    vertical-align: bottom;
    border-radius: 50%;
    background: #bb0000;
    box-shadow: 3px 3px 0px 0px rgba(144, 1, 1, 1);
}

.knowledge-content .artice3 .text h2 span img {
    width: 20px;
}

.knowledge-content .artice3 .text {
    display: inline-block;
    padding: 40px;
}

.knowledge-content .artice3-1 {
    position: relative;
}

.knowledge-content .artice3-1 .text {
    width: 66%;
    padding-bottom: 60px;
}

.knowledge-content .artice3-1 .text h3 {
    font-size: 22px;
    color: #ff6000;
    margin: 30px 0 15px;
}

.knowledge-content .artice3 .text table {
    width: 100%;
    text-align: center;
    background: #edf7f3;
    box-shadow: 2px 2px 5px 1px rgba(48, 48, 48, 0.4);
}

.knowledge-content .artice3 .text table tr:first-child {
    background: #ddf1e9;
}

.knowledge-content .artice3 .text table td {
    padding: 3px 2px;
    border: 1px solid #000;
}

.knowledge-content  .artice3 .photo {
    position: absolute;
    width: 40%;
    right: -60px;
    bottom: 0;
}

.knowledge-content .artice3-left {
    position: relative;
    width: 47%;
    margin-right: -5px;
}

.knowledge-content .artice3-right {
    width: 53%;
}

.knowledge-content .artice3 .img-m {
    display: none;
}

.knowledge-content .artice3-left .text-5 {
    padding-right: 45%;
}

.knowledge-content .artice3 .img-5 {
    position: absolute;
    bottom: 20px;
    right: -20px;
    width: 230px;
    z-index: 1;
}

.knowledge-content .artice3 .img-5 img {
    border-radius: 50%;
    box-shadow: 2px 2px 5px 1px rgba(48, 48, 48, 0.4);
}

.knowledge-content .artice3-left .text-6 {
    background: url(https://www.utsc.com.tw/material-alias/individual-study/knowledge/important/text-6-bg.png) repeat-y right top;
}

.knowledge-content .artice3-right .text-8 {
    padding-right: 35%;
    background: url(https://www.utsc.com.tw/material-alias/individual-study/knowledge/important/text-8-bg.png) no-repeat right bottom;
    background-size: contain;
}

.knowledge-content .artice3.img-1 {
    margin-top: -78px;
}

.knowledge-content .artice3.img-1 img:first-child {
    display: inline-block;
    width: 59.2%;
}

.knowledge-content .artice3.img-1 img:nth-child(2) {
    width: 40.1%;
    float: right;
}

.knowledge-content .artice3.img-1 img:last-child,
.knowledge-content .artice3.img-2 img:last-child {
    margin-top: 3px;
}

.knowledge-content .artice3-right .img {
    position: absolute;
    right: 40px;
    bottom: 0;
    width: 43%;
}

@media(max-width:1250px) {
    .knowledge-content .artice3-1 .text {
        width: 60%;
        padding-bottom: 30px;
    }

    .knowledge-content .artice3 .photo {
        width: 48%;
    }

    .knowledge-content .artice3-left {
        width: 51%;
    }

    .knowledge-content .artice3-right {
        width: 49%;
    }

    .knowledge-content .artice3-left .text-5 {
        padding-right: 25%;
    }

    .knowledge-content .artice3 .img-5 {
        right: -100px;
        width: 200px;
    }

    .knowledge-content .artice3-right .text-8 {
        background-size: 32%;
    }

    .knowledge-content .artice3.img-1 {
        margin-top: 0;
    }
}

@media(max-width:1024px) {
    .knowledge-content .artice3 .text {
        padding: 20px 40px;
    }

    .knowledge-content .artice3-1 .text {
        width: 65%;
    }

    .knowledge-content .artice3 .text table {
        width: 165%;
    }

    .knowledge-content .artice3 .photo {
        width: 33%;
        top: 33px;
        right: 40px;
        bottom: auto;
    }

    .knowledge-content .artice3-left .text-5 {
        padding-right: 20%;
    }

    .knowledge-content .artice3 .img-5 {
        right: -150px;
        bottom: 0;
    }

    .knowledge-content .artice3-right .text-8 {
        background-image: none;
    }

    .knowledge-content .artice3-right .img {
        display: none;
    }
}

@media(max-width:798px) {
    .knowledge-content .artice3 .text h2 {
        font-size: 22px;
    }

    .knowledge-content .artice3 .text h2 span {
        width: 32px;
        height: 32px;
        margin-right: 10px;
        box-shadow: 2px 2px 0px 0px rgb(144 1 1);
    }

    .knowledge-content .artice3 .text h2 span img {
        width: 15px;
    }

    .knowledge-content .artice3 .text {
        padding: 0;
    }

    .knowledge-content .artice3-1 .text {
        width: auto;
        padding: 25px 3%;
    }

    .knowledge-content .artice3-1 .text h3 {
        font-size: 20px;
        margin: 15px 0 10px;
    }

    .knowledge-content .artice3 .text table {
        width: 100%;
    }

    .knowledge-content .artice3 .photo {
        display: none;
    }

    .knowledge-content .artice3-left,
.knowledge-content .artice3-right {
        width: 100%;
        padding: 25px 3%;
    }

    .knowledge-content .artice3 .img-m {
        display: block;
        margin-top: 15px;
    }

    .knowledge-content .artice3.img-1,
.knowledge-content .artice3.img-2 {
        display: none;
    }

    .knowledge-content .artice3-left .text-5 {
        margin: 25px -3% -25px;
        padding: 25px 3%;
    }

    .knowledge-content .artice3 .img-5 {
        display: none;
    }

    .knowledge-content .artice3-left .text-6 {
        background: none;
    }

    .knowledge-content .artice3-right .text-8 {
        padding: 25px 25% 25px 3%;
        margin: -25px -3%;
        background: url(https://www.utsc.com.tw/material-alias/individual-study/knowledge/important/text-8-bg.png) no-repeat right bottom #d5eced;
        background-size: 20%;
    }

    .knowledge-content .artice3-right .img {
        display: block;
        position: relative;
        right: auto;
        bottom: auto;
        width: 90%;
        margin: 10px auto -25px;
    }
}

@media(max-width:630px) {
    .knowledge-content .artice3-right .text-8 {
        padding-right: 3%;
        background: none;
    }
}

@media(max-width:576px) {
    .knowledge-content .artice3 .text table td:first-child {
        width: 70px;
    }

    .knowledge-content .artice3 .text table td span {
        display: block;
    }
}

.knowledge-content.service {
    background: url(https://www.utsc.com.tw/material-alias/individual-study/knowledge/service/bg.png) no-repeat left bottom rgba(255,255,255,0.85);
}

.knowledge-content .list {
    padding: 0 40px;
}

.knowledge-content .list ul {
    display: inline-block;
    width: 49%;
    list-style: none;
    vertical-align: top;
    margin: 0;
}

.knowledge-content .list ul li {
    margin-bottom: 10px;
    padding-left: 25px;
    background: url(https://www.utsc.com.tw/material-alias/individual-study/knowledge/service/check.svg) no-repeat left 7px;
    background-size: 16px;
}

.knowledge-content .list ul li h2 {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.5em;
}

@media(max-width:1250px) {

    .knowledge-content .list ul:first-child {
        width: 56%;
    }

    .knowledge-content .list ul:last-child {
        width: 43%;
    }
}

@media(max-width:1024px) {

    .knowledge-content .list {
        padding-top: 20px;
    }
}

@media(max-width:798px) {
    .knowledge-content .list {
        padding: 20px 3% 0;
    }

    .knowledge-content .list ul:first-child,
.knowledge-content .list ul:last-child {
        display: block;
        width: 100%;
    }

    .knowledge-content .list ul li h2 {
        font-weight: 400;
    }
}


.back li.tour-line {
    background: #00c51f;
}

.back li.tour-line:hover,
.back li.tour-line:active {
    background: #00a91b;
}

.back li.tour-line a {
    display: block;
}

.back li.tour-line img {
    width: 35px;
    margin: 0 2px 4px 4px;
    vertical-align: baseline;
}

@media screen and (max-width: 798px) {
    html, body {
        overflow-x: hidden !important;
    }
}

@media screen and (max-width: 798px) {
    html body ul.back,
    html body .service_box {
        position: fixed !important;
        top: auto !important;
        right: auto !important;
        bottom: 0 !important;
        width: 50vw !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
        z-index: 99999 !important;
        transform: none !important;
    }

    html body ul.back {
        left: 0 !important;
        border-right: 0 !important;
        display: flex !important;
        flex-wrap: nowrap !important;
    }

    html body .service_box {
        left: 50vw !important;
    }

    html body .service_box ul {
        display: flex !important;
        flex-wrap: nowrap !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    html body ul.back,
    html body ul.back > li,
    html body ul.back > li > a,
    html body .service_box,
    html body .service_box ul,
    html body .service_box ul li,
    html body .service_box ul li button {
        height: 48px !important;
        min-height: 48px !important;
        max-height: 48px !important;
        box-sizing: border-box !important;
    }

    html body ul.back > li,
    html body .service_box ul li {
        display: block !important;
        float: none !important;
        width: 25vw !important;
        min-width: 25vw !important;
        max-width: 25vw !important;
        flex: 0 0 25vw !important;
        margin: 0 !important;
        padding: 0 !important;
        border-radius: 0 !important;
        writing-mode: horizontal-tb !important;
    }

    html body ul.back > li > a,
    html body .service_box ul li button {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        font-weight: 600 !important;
        line-height: 48px !important;
        letter-spacing: 1px !important;
        white-space: nowrap !important;
    }

    html body ul.back > li > a {
        font-size: 15px !important;
    }

    html body .service_box ul li button {
        font-size: 16px !important;
    }

    html body ul.back > li.tour-line > a > img,
    html body ul.back > li.btn-line > a > img {
        display: block !important;
        width: 36px !important;
        min-width: 36px !important;
        max-width: 36px !important;
        height: 36px !important;
        min-height: 36px !important;
        max-height: 36px !important;
        margin: 0 !important;
        object-fit: contain !important;
        transform: none !important;
    }

    html body ul.back > li.tour-line > a > span,
    html body ul.back > li.btn-line > a > span,
    html body ul.back > li.tour-home img {
        display: none !important;
    }

    html body ul.back > li,
    html body .service_box ul li:first-child {
        border-right: 1px solid rgba(255,255,255,.9) !important;
    }
}

@media screen and (max-width: 576px) {
    html body ul.back > li > a {
        font-size: 16px !important;
    }
}

@media screen and (max-width: 400px) {
    html body ul.back > li > a {
        font-size: 16.5px !important;
    }
}

@media (max-width: 798px) {
    html body ul.back, html body .service_box {
        width: 50vw !important;
    }

    html body .service_box {
        left: 50vw !important;
    }

    html body ul.back > li, html body .service_box ul li {
        flex: 0 0 25vw !important;
        width: 25vw !important;
        min-width: 25vw !important;
        max-width: 25vw !important;
        border: 0 !important;
        box-shadow: none !important;
    }

    html body ul.back > li,
    html body .service_box ul li:first-child {
        border-right: 1px solid rgba(255,255,255,.9) !important;
    }

    html body ul.back > li > a, html body .service_box ul li button {
        font-family: inherit !important;
        font-weight: 600 !important;
        letter-spacing: 1px !important;
        word-spacing: normal !important;
        box-shadow: none !important;
        border: 0 !important;
    }

    html body ul.back > li > a {
        font-size: 15px !important;
    }

    html body .service_box ul li button {
        font-size: 16px !important;
    }

    html body ul.back > li > a > span {
        font: inherit !important;
        letter-spacing: inherit !important;
    }

    html body ul.back > li:is(.tour-line,.btn-line) > a > img {
        width: 36px !important;
        height: 36px !important;
        margin: 0 !important;
        transform: none !important;
        translate: none !important;
    }

    html body ul.back > li::after,
    html body .service_box ul li::after {
        display: none !important;
    }
}

@media (max-width: 576px) {
    html body ul.back > li > a {
        font-size: 16px !important;
    }
}

@media (max-width: 400px) {
    html body ul.back > li > a {
        font-size: 16.5px !important;
    }
}

html body ul.back > li > a,
html body ul.back > li > a > span,
html body .service_box ul li button {
    letter-spacing: 1px !important;
}

.knowledge-content > .related-reading {
    clear: both;
    margin-top: 36px;
    border: 0;
    background: transparent;
    text-align: left;
    font-family: inherit;
}

.knowledge-content > .related-reading h2 {
    margin: 0 0 8px;
    padding: 0;
    color: #E95155;
    font-weight: 600;
    line-height: 1.2;
}

.knowledge-content > .related-reading ul,
.knowledge-content > .related-reading li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.knowledge-content > .related-reading a {
    color: #007bff;
    font-family: inherit;
    font-size: inherit;
    font-weight: 400;
    line-height: 1.6;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.knowledge-content > .related-reading a:hover,
.knowledge-content > .related-reading a:focus-visible {
    color: #0056b3;
    text-decoration: underline;
}

.back li.btn-line {
    background: #00c51f;
}

.back li.btn-line:hover,
.back li.btn-line:active {
    background: #00a91b;
}

.back li.btn-line > a,
.back li.btn-line > a:hover {
    color: #fff;
    text-decoration: none;
    letter-spacing: 1px;
}

.back li.btn-line img {
    width: 35px;
    margin: 0 2px 4px 4px;
    vertical-align: baseline;
}

@media (max-width: 798px) {
    html body ul.back > li.btn-line > a {
        display: flex !important;
        align-items: center;
        justify-content: center;
        padding: 0 !important;
        height: 48px !important;
        box-sizing: border-box;
    }

    html body ul.back > li.btn-line > a > img {
        display: block !important;
        width: 36px !important;
        height: 36px !important;
        margin: 0 !important;
        object-fit: contain;
        transform: none !important;
    }

    html body ul.back > li.btn-line > a > span {
        display: none !important;
    }
}

.knowledge-content > .related-reading {
    box-sizing: border-box;
    font-size: 18px;
    line-height: 1.6;
}

.knowledge-content > .related-reading a {
    display: block;
    position: relative;
    padding-left: 1em;
}

.knowledge-content > .related-reading a::before {
    content: "￭";
    position: absolute;
    left: 0;
}

@media (max-width:1250px) {
    .knowledge-content > .related-reading {
        width: 992px;
    }
}

@media (max-width:1024px) {
    .knowledge-content > .related-reading {
        width: 768px;
    }
}


@media (min-width:799px) {
    html body ul.back > li.btn-line > a > img {
        margin-bottom: 9.5px;
    }
}

@media (min-width: 799px) {
    html body ul.back > li:nth-child(2) {
        display: block;
        width: 57px;
        min-width: 57px;
        max-width: 57px;
        height: auto;
        margin: 10px 0 0;
        padding: 0;
        box-sizing: border-box;
        writing-mode: vertical-rl;
    }

    html body ul.back > li:nth-child(2) > a,
    html body ul.back > li:nth-child(2) > a:hover,
    html body ul.back > li:nth-child(2) > a:focus,
    html body ul.back > li:nth-child(2) > a:active {
        display: block;
        position: static;
        width: 57px;
        min-width: 57px;
        max-width: 57px;
        height: auto;
        margin: 0;
        padding: 8px;
        box-sizing: border-box;
        font-family: "Noto Sans TC", Arial, sans-serif;
        font-size: 20px;
        font-weight: 400;
        line-height: 30px;
        letter-spacing: 1px !important;
        word-spacing: 0;
        text-indent: 0;
        writing-mode: vertical-rl;
        white-space: normal;
    }

    html body ul.back > li:nth-child(2) > a > img {
        display: inline;
        width: 35px;
        height: auto;
        margin: 0 2px 4px 4px;
        vertical-align: baseline;
    }
}

@media (max-width: 798px) {
    html body ul.back > li:nth-child(2),
    html body ul.back > li:nth-child(2) > a {
        height: 48px !important;
        min-height: 48px !important;
        max-height: 48px !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
        writing-mode: horizontal-tb !important;
    }

    html body ul.back > li:nth-child(2) > a {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-family: "Noto Sans TC", Arial, sans-serif !important;
        font-size: 16px !important;
        font-weight: 600 !important;
        line-height: 48px !important;
        letter-spacing: 0px !important;
        word-spacing: 0px !important;
        text-indent: 0 !important;
        white-space: nowrap !important;
        text-decoration: none !important;
    }

    html body ul.back > li:nth-child(2) > a > img {
        display: none !important;
    }

    html body ul.back > li:nth-child(2) > a > span {
        font: inherit !important;
        letter-spacing: 0px !important;
        margin: 0 !important;
        padding: 0 !important;
    }
}

@media (min-width: 799px) {
    html body ul.back > li:nth-child(2) > a > img {
        margin-bottom: 9.484375px;
    }
}


.knowledge-content .artice.newzealand {
    background-image: none;
    padding-bottom: 0;
}

.knowledge-content > .related-reading {
    width: auto;
    max-width: none;
    margin: 30px 0 0;
    padding: 0 40px 30px;
}

@media (max-width:798px) {
    .knowledge-content > .related-reading {
        width: auto;
        padding: 0 3% 25px;
        margin-top: 25px;
    }
}

.knowledge-content .photo-2.photo-single {
    padding-bottom: 0;
}

.knowledge-content .photo-2.photo-single > img {
    position: static;
    display: block;
    width: 100%;
}

.knowledge-content .photo-2.photo-aligned {
    position: relative;
    padding-bottom: 0;
}

.knowledge-content .photo-2.photo-aligned > img:first-child {
    display: block;
    width: 100%;
}

.knowledge-content .photo-2.photo-aligned > img:last-child {
    position: absolute;
    display: block;
    width: 80%;
    left: 10%;
    bottom: 0;
}

@media (min-width: 799px) {
    .knowledge-content .application-row {
        display: flex;
        align-items: stretch;
    }

    .knowledge-content .application-row > .artice3 {
        box-sizing: border-box;
        margin: 0;
        min-width: 0;
    }

    .knowledge-content .application-row > .img-2 {
        display: block;
        position: relative;
    }

    .knowledge-content .application-row > .img-2 > img {
        display: block;
        position: absolute;
        inset: 0;
        width: 100%;
        margin: 0;
        object-fit: cover;
    }

    .knowledge-content .application-row .text-8 {
        background-image: none;
        padding-right: 40px;
    }
}

@media (min-width: 799px) {
    .knowledge-content .important-row {
        display: flex;
        gap: 0;
    }

    .knowledge-content .important-row > .artice3 {
        margin-right: 0;
        flex-shrink: 0;
        min-width: 0;
        box-sizing: border-box;
    }

    .knowledge-content .important-row > .artice3.img-1 {
        display: grid;
        grid-template-columns: 59.6% 40.4%;
        gap: 0;
        align-content: start;
        line-height: 0;
    }

    .knowledge-content .important-row > .img-1 > img {
        display: block;
        width: 100%;
        float: none;
        margin: 0;
    }

    .knowledge-content .important-row > .img-1 > img:last-child {
        grid-column: 1 / -1;
    }
}

@media (min-width: 799px) {
    .knowledge-content .important-row > .artice3.img-1 > img:first-child,
    .knowledge-content .important-row > .artice3.img-1 > img:nth-child(2),
    .knowledge-content .important-row > .artice3.img-1 > img:last-child {
        display: block;
        width: 100%;
        max-width: none;
        height: auto;
        float: none;
        margin: 0;
        align-self: stretch;
    }

    .knowledge-content .important-row > .artice3.img-1 > img:first-child,
    .knowledge-content .important-row > .artice3.img-1 > img:nth-child(2) {
        height: 100%;
        object-fit: cover;
    }
}


@media (min-width: 799px) {
    .knowledge-content .important-row {
        margin-top: 0;
        margin-bottom: 0;
    }

    .knowledge-content .application-row > .img-2 > img {
        transform: none;
        top: -2px;
        bottom: 0;
        height: calc(100% + 2px);
    }
}

@media (min-width: 799px) {
    .knowledge-content .important-row.application-row > .artice3.img-2 > img:last-child {
        display: block;
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        margin: 0;
        padding: 0;
        transform: none;
        object-fit: cover;
    }
}

.knowledge-content.service {
    background-image: url(https://www.utsc.com.tw/material-alias/individual-study/knowledge/service/bg.png);
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: 100%;
    padding-bottom: 350px;
}

.knowledge-content.service > .related-reading {
    background: #d5eced;
}

@media (max-width: 1250px) {
    .knowledge-content.service {
        padding-bottom: 270px;
    }
}

@media (max-width: 1024px) {
    .knowledge-content.service {
        padding-bottom: 200px;
    }
}


@media (max-width: 767px) {
    .knowledge-content.service {
        background-size: 140%;
        padding-bottom: 32%;
    }
}

.knowledge-content.service > .related-reading {
    width: 100%;
    max-width: none;
    margin: 30px 0 0;
    padding: 24px 40px;
    box-sizing: border-box;
}

@media (max-width: 798px) {
    .knowledge-content.service > .related-reading {
        width: 100%;
        margin: 25px 0 0;
        padding: 20px 3%;
    }
}

.knowledge-content.cooperative-school > .related-reading {
    width: 100%;
    max-width: none;
    margin: 30px 0 0;
    padding: 24px 40px;
    box-sizing: border-box;
    background: #d5eced;
}

@media (max-width: 798px) {
    .knowledge-content.cooperative-school > .related-reading {
        width: 100%;
        margin: 25px 0 0;
        padding: 20px 3%;
    }
}

.knowledge-content > .related-reading h2 {
    border-left: 4px solid #E95155;
    padding-left: 12px;
}

.knowledge-content > .related-reading h2 {
    font-size: 24px;
}

.knowledge-content.cooperative-school > .related-reading + .photo-2.photo-aligned {
    margin-top: 0;
}

.knowledge-content.cooperative-school > .photo-2.photo-aligned {
    margin-top: 0;
    padding-bottom: 30px;
}

.knowledge-content.cooperative-school > .photo-2.photo-aligned > img:last-child {
    bottom: 0;
}

/* 紐西蘭桌機依檔名控制兩張原圖，手機維持原有設定。 */
@media (min-width: 799px) {
    .knowledge-content .artice.newzealand .img { position: relative; }
    .knowledge-content .artice.newzealand .img > img[src$="/newzealand.png"] {
        display: block;
        position: static;
        width: 100%;
    }
    .knowledge-content .artice.newzealand .img > img[src$="/newzealand-1.jpg"] {
        display: block;
        position: absolute;
        width: 52%;
        top: 10px;
        left: -15px;
        border: 3px solid #fff;
        box-shadow: 2px 2px 5px 1px rgba(48, 48, 48, 0.4);
    }
    .knowledge-content .artice.newzealand .img > img[src$="/newzealand-m.png"] { display: none; }
}