﻿.nopadding {
    padding: 0;
}

.nomargin {
    margin: 0;
}

.nomargintop {
    margin-top: 0;
}

.jumbotron {
    max-width: 1024px;
    margin: 0 auto;
    margin-bottom: 0;
    background: none;
}

.jumbotron h2 {
    font-size: 40px;
    margin-bottom: 20px;
    margin-top: 0
}

.jumbotron p {
    font-size: 18px;
    margin-bottom: 0
}

h3 {
    font-size: 20px;
    font-weight: normal
}

@media screen and (max-width: 767px) {

    h3 {
        font-size: 24px;
    }

    #nus-highlights .headline p.small {
        line-height: 2.5;
    }
}

.owl-dots {
    position: absolute;
    bottom: 0;
    width: 100%;
    margin-bottom: 20px;
}

.owl-theme .owl-dots .owl-dot {
    margin: 0 3px;
}

a.learn-more,
a.learn-more:visited {
    padding: 6px 18px;
    border-radius: 5px;
    background: transparent;
    color: #fff;
    border-color: #fff;
    -webkit-transition: all ease 0.2s;
    -moz-transition: all ease 0.2s;
    transition: all ease 0.2s;
}

a.learn-more:hover {
    color: #376ba5;
    box-shadow: inset 123px 0 0 0 #fff;
}

#nus-highlights,
#president,
#figures-cust-itmo,
#rongmei-media,
#instagram,
#thought-leadership,
#faculty-team,
#events {
    padding-top: 52px;
}

@media screen and (max-width: 767px) {

    #nus-highlights,
    #president,
    #figures-cust-itmo,
    #rongmei-media,
    #instagram,
    #thought-leadership,
    #faculty-team {
        padding-top: 42px;
    }
}

.visible-non-desktop {
    display: none !important;
}

.visible-desktop {
    display: block !important;
}

@media screen and (max-width: 991px) {

    .visible-non-desktop {
        display: block !important;
    }
    .visible-desktop {
        display: none !important;
    }
}

#feature-banner .headline {
    position: absolute;
    width: 100%;
    bottom: 0;
    text-align: center;
    padding: 10px 20px 20px 20px;
    background-image: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.0001) 0%, rgba(0, 0, 0, 0.7) 100%);
    background-image: -o-linear-gradient(top, rgba(0, 0, 0, 0.0001) 0%, rgba(0, 0, 0, 0.7) 100%);
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.0001) 0%, rgba(0, 0, 0, 0.7) 100%);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=0);
}

#feature-banner .headline h1 {
    text-transform: uppercase;
    font-weight: bold;
    color: white;
    font-size: 52px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

@media screen and (max-width: 1024px) {

    #feature-banner .headline {
        padding-bottom: 15px;
    }
    #feature-banner .headline h1 {
        font-size: 42px;
    }
}

@media screen and (max-width: 767px) {

    #feature-banner .headline {
        padding-bottom: 5px;
    }
    #feature-banner .headline h1 {
        font-size: 22px;
    }
}

#feature-banner .owl-theme .owl-dots .owl-dot span {
    width: 50px;
    height: 3px;
    background: black;
}

#feature-banner .owl-theme .owl-dots .owl-dot.active span,
#feature-banner .owl-theme .owl-dots .owl-dot:hover span {
    background: white;
}

@media screen and (min-width: 992px) {

    #nus-highlights .owl-item {
        width: 50% !important;
        float: none;
        display: block;
    }

    #nus-highlights .owl-stage {
        width: 100% !important;
        display:flex;
        flex-wrap: wrap;

    }
}

#nus-highlights a {
    display: block;
}

#nus-highlights .headline {
    background: white;
    color: #333;
    display: inline-block;
    padding: 20px;
    z-index: 2;
    position: relative;
}

#nus-highlights .headline h3 a {
    margin-top: 0;
    color: #616161;
}

#nus-highlights .headline p a {
    margin-bottom: 0;
    color: #555555;
}

#nus-highlights .headline a:hover{
    text-decoration: none;
}

#nus-highlights .headline .arrow {
    background: url(../image/gt-arrow.png) 8px top no-repeat;
    padding-left: 38px;
    background-size: 14px 26px;
}

#nus-highlights .img1 .headline,
#nus-highlights .img3 .headline {
    border-right: none;
}

#nus-highlights .headline p.small.pull-right {
    position: absolute;
    bottom: 15px;
    right: 15px;
}

.nus-orange-text {
    color: #ef7c00;
    opacity: 0.7;
}

#nus-highlights .nav-tabs>li {
    display: inline-block;
    float: none;
}

#nus-highlights .nav-tabs,
#nus-highlights .nav-tabs>li btn {

    border: none;
}

#nus-highlights .nav-tabs>li btn {
    line-height: 125%;
    font-size: 16px;
    border: 1px solid #f27c36;
    color: #f27c36;
    border-radius: 5px;
    min-width: 110px;
    padding: 10px 20px;
    margin: 0 5px 50px 5px;
    -webkit-transition: all 0.4s;
    -o-transition: all 0.4s;
    transition: all 0.4s;
    display: inline-block;
    cursor: pointer;
}

#nus-highlights .nav-tabs>li btn i {
    font-size: 18px;
}

#nus-highlights .nav-tabs>li.active btn,
#nus-highlights .nav-tabs>li btn:hover {
    background: rgb(242, 124, 54);
    color: white;
}

/* 教师风采：tab 按钮样式与新闻头条模块一致 */
#faculty-team .nav-tabs>li {
    display: inline-block;
    float: none;
}

#faculty-team .nav-tabs,
#faculty-team .nav-tabs>li btn {
    border: none;
}

#faculty-team .nav-tabs>li btn {
    line-height: 125%;
    font-size: 16px;
    border: 1px solid #f27c36;
    color: #f27c36;
    border-radius: 5px;
    min-width: 110px;
    padding: 10px 20px;
    margin: 0 5px 50px 5px;
    -webkit-transition: all 0.4s;
    -o-transition: all 0.4s;
    transition: all 0.4s;
    display: inline-block;
    cursor: pointer;
}

#faculty-team .nav-tabs>li btn em {
    font-size: 18px;
}

#faculty-team .nav-tabs>li.active btn,
#faculty-team .nav-tabs>li btn:hover {
    background: rgb(242, 124, 54);
    color: white;
}

/* 新闻头条 / 师资：轮播卡片与链接触发小手（自定义 <btn> 已在上方设置） */
#nus-highlights .owl-carousel.effect .item,
#nus-highlights .owl-carousel.effect .item a,
#faculty-team.section-faculty-team .faculty-team-more-aside,
#faculty-team.section-faculty-team .faculty-team-more-aside a,
#faculty-team.section-faculty-team .newsfeed-item,
#faculty-team.section-faculty-team .newsfeed-item a,
#thought-leadership .specialty-intro-grid a.hover,
#instagram .student-style-card,
#instagram .student-style-card a.hover {
    cursor: pointer;
}

#faculty-team .faculty-team-owl.effect {
    box-shadow: none;
    background: transparent;
}

#faculty-team .faculty-team-owl .owl-stage-outer {
    background: transparent;
}

#faculty-team .faculty-team-owl .owl-stage {
    -webkit-transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

#faculty-team .faculty-team-owl .item {
    padding-left: 6px;
    padding-right: 6px;
}

@media screen and (min-width: 992px) {
    #faculty-team .faculty-team-owl .item {
        padding-left: 6px;
        padding-right: 6px;
    }
}

#nus-highlights .effect {
    box-shadow: none;
    background: transparent;
}

/* 新闻头条：轮播卡片统一样式（整卡边框、无额外 gutter） */
#nus-highlights #tab1 .owl-carousel.effect .item {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    background-color: #ffffff;
    border: 1px solid #d0d0d0;
    overflow: hidden;
}

#nus-highlights #tab1 .owl-carousel.effect .item img.img-responsive {
    width: 100%;
}

/* 相邻卡片边框合并为 1px（无 padding 间距） */
@media screen and (min-width: 992px) {
    #nus-highlights #tab1 .owl-carousel.effect .owl-item:nth-child(2n) .item {
        margin-left: -1px;
    }

    #nus-highlights #tab1 .owl-carousel.effect .owl-item:nth-child(n + 3) .item {
        margin-top: -1px;
    }
}

@media screen and (max-width: 991px) {
    #nus-highlights #tab1 .owl-carousel.effect .owl-item + .owl-item .item {
        margin-top: -1px;
    }
}

#nus-highlights .owl-carousel .owl-stage-outer {
    background: transparent;
}

#nus-highlights .owl-carousel .owl-stage {
    -webkit-transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

#nus-highlights .tab-content > .tab-pane.fade,
#faculty-team .tab-content > .tab-pane.fade {
    -webkit-transition: opacity 0.28s ease-out;
    -o-transition: opacity 0.28s ease-out;
    transition: opacity 0.28s ease-out;
}

@media screen and (max-width: 991px) {

    #nus-highlights .headline {
        position: relative;
        width: 100% !important;
        height: auto !important;
        padding-bottom: 0;
    }

    #nus-highlights .img1 .headline,
    #nus-highlights .img3 .headline {
        border-right: none
    }

    #nus-highlights .headline p.small.pull-right {
        position: initial;
        margin-top: 10px;
    }

    #nus-highlights .owl-dots {
        position: relative;
    }

    #nus-highlights .owl-theme .owl-dots .owl-dot.active span,
    #nus-highlights .owl-theme .owl-dots .owl-dot:hover span {
        background: #ccc;
    }

}

#president .caption {
    position: absolute;
    top: 25px;
    right: 0;
    color: #fff;
    background: #376ba5;
    padding: 37px;
    width: 50%;
}

@media screen and (max-width: 991px) {

    #president .caption {
        top: 0;
        height: 284px;
    }
}

@media screen and (max-width: 767px) {

    #president .jumbotron {
        background: #f8f8f8;
        padding-top: 55px;
    }

    #president .caption {
        position: relative;
        width: 100%;
        top: 0;
        text-align: center;
        height: auto;
    }
}

#president a.learn-more:hover {
    color: #376ba5;
}

#instagram .time {
    background: black;
    color: white;
    display: inline-block;
    padding: 3px 9px;
    position: absolute;
    bottom: 0;
    display: none;
}

#instagram .icon.carousel {
    background-image: url(https://www.instagram.com/static/bundles/sprite_core.png/fb48443ec9d3.png);
    background-repeat: no-repeat;
    background-position: -238px -251px;
    height: 47px;
    width: 47px;
    position: absolute;
    z-index: 1;
    right: 0;
}

#instagram .icon.video {
    background-image: url(https://www.instagram.com/static/bundles/sprite_core.png/fb48443ec9d3.png);
    background-repeat: no-repeat;
    background-position: -177px -82px;
    height: 48px;
    width: 48px;
    position: absolute;
    z-index: 1;
    right: 0;
}


#instagram .icon.image {
    background-image: none;
    background-repeat: no-repeat;
    background-position: -177px -82px;
    height: 48px;
    width: 48px;
    position: absolute;
    z-index: 1;
    right: 0;
}

#instagram .owl-carousel:before {
    content: "";
    background: url(../image/instagram-shadow-top.png) top center no-repeat;
    height: 15px;
    width: 100%;
    position: absolute;
    z-index: 1;
    background-size: cover;
}

#instagram .owl-carousel:after {
    content: "";
    background: url(../image/instagram-shadow-bottom.png) bottom center no-repeat;
    height: 15px;
    width: 100%;
    position: absolute;
    z-index: 1;
    bottom: 0;
    background-size: cover;
}

#thought-leadership .headline {
    color: white;
    padding: 24px;
}

#thought-leadership a.learn-more:hover {
    color: #d26649;
}

#thought-leadership .left-gradient {
    background: #e98f2e;
    background: linear-gradient(to right, #e98f2e, #d36844);
    background: -webkit-linear-gradient(left, #e98f2e, #d36844);
    background: -o-linear-gradient(right, #e98f2e, #d36844);
    background: -moz-linear-gradient(right, #e98f2e, #d36844);
}

#thought-leadership .right-gradient {
    background: #d26649;
    background: linear-gradient(to right, #d26649, #b5366b);
    background: -webkit-linear-gradient(left, #d26649, #b5366b);
    background: -o-linear-gradient(right, #d26649, #b5366b);
    background: -moz-linear-gradient(right, #d26649, #b5366b);
}

/* 专业介绍：加宽容器，卡片更大（相对全站 .container 默认宽度） */
@media screen and (min-width: 768px) and (max-width: 991px) {
    #thought-leadership.container {
        width: 880px;
        max-width: 100%;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    #thought-leadership.container {
        width: 100%;
        max-width: 1200px;
    }
}

@media screen and (min-width: 1200px) {
    #thought-leadership.container {
        width: 100%;
        max-width: min(96vw, 1480px);
    }
}

/* 专业介绍栅格：CSS Grid + gap 1px（避免 -webkit-box 与 flex 混用导致 gap 失效出现大行距） */
#thought-leadership .row.specialty-intro-grid {
    display: grid;
    gap: 1px;
    row-gap: 1px;
    column-gap: 1px;
    grid-template-columns: 1fr;
    align-content: start;
    margin-left: 0;
    margin-right: 0;
}

@media screen and (min-width: 768px) and (max-width: 991px) {

    #thought-leadership .row.specialty-intro-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (min-width: 992px) {

    #thought-leadership .row.specialty-intro-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

#thought-leadership .specialty-intro-grid > [class*='col-'] {
    float: none;
    width: 100% !important;
    max-width: none !important;
    min-width: 0;
    margin-bottom: 0;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    min-height: 0;
}

/* no-touch 全局 .hover{display:block} 会压过栅格内配图链接的 flex，此处用更高优先级恢复纵向布局 */
html.no-touch #thought-leadership .specialty-intro-grid > [class*='col-'] > a.hover {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
}

/* 配图区：外框随图等高，不保留 min-height，避免出现图下黑块；contain 全图 */
#thought-leadership .specialty-intro-grid > [class*='col-'] > a.hover {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    height: auto;
    min-height: 0;
    margin-bottom: 0;
    overflow: hidden;
    background-color: transparent;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
}

#thought-leadership .specialty-intro-grid > [class*='col-'] > a.hover > img.img-responsive {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: none;
    -o-object-fit: contain;
    object-fit: contain;
    object-position: center top;
    display: block;
    vertical-align: top;
    margin: 0;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
}

/* 专业介绍：图与说明缝 1px；说明框上内边距略增，标题与框顶留出距离 */
#thought-leadership .specialty-intro-grid .headline {
    margin-top: 1px;
    margin-bottom: 0;
    padding: 12px 12px 10px;
    width: 100%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-box-flex: 1;
    -ms-flex: 1 1 0%;
    flex: 1 1 0%;
    min-height: 0;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

#thought-leadership .specialty-intro-grid .headline .resizeHeight {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0 0 8px;
    margin-bottom: 0;
    font-size: smaller;
    -webkit-box-flex: 1;
    -ms-flex: 1 1 0%;
    flex: 1 1 0%;
    min-height: 0;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

#thought-leadership .specialty-intro-grid .headline .resizeHeight h3 {
    margin-bottom: 0.65rem;
    font-weight: 400;
}

#thought-leadership .specialty-intro-grid .resizeHeight p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 10;
    line-clamp: 10;
    overflow: hidden;
    word-break: break-word;
    margin-bottom: 0;
    line-height: 1.72;
    font-weight: 400;
}

#thought-leadership .specialty-intro-grid .headline .resizeHeight strong,
#thought-leadership .specialty-intro-grid .headline .resizeHeight b {
    font-weight: 400;
}

#thought-leadership .specialty-intro-grid .headline > br {
    display: none;
}

#thought-leadership .specialty-intro-grid .headline > p:last-child {
    display: none;
}

@media screen and (max-width: 767px) {

    #thought-leadership > .row > .nopadding {
        border-right: none !important;
        border-left: none !important;
    }
}

#nus-highlights .hover,
#thought-leadership .hover,
#instagram .hover {
    display: block;
}


/* Circle */
html.no-touch #feature-banner .hover,
html.no-touch #nus-highlights .hover,
html.no-touch #thought-leadership .hover {
    position: relative;
    overflow: hidden;
    display: block;
}



html.no-touch #feature-banner .hover::before,
html.no-touch #nus-highlights .hover::before,
html.no-touch #thought-leadership .hover::before {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    display: block;
    content: '';
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, .2);
    border-radius: 0;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    opacity: 0;
}

html.no-touch #feature-banner .hover:hover::before,
html.no-touch #nus-highlights .hover:hover::before,
html.no-touch #thought-leadership .hover:hover::before {
    -webkit-animation: circle 1.2s;
    animation: circle 1.2s;
}

@-webkit-keyframes circle {
    0% {
        opacity: 1;
    }
    40% {
        opacity: 1;
    }
    100% {
        width: 200%;
        height: 200%;
        opacity: 0;
    }
}

@keyframes circle {
    0% {
        opacity: 1;
    }
    40% {
        opacity: 1;
    }
    100% {
        width: 200%;
        height: 200%;
        opacity: 0;
    }
}


/* Zoom In：学生风采卡片整体略放大（内层图片不再单独放大） */
html.no-touch #instagram .hover {
    position: relative;
    overflow: hidden;
    display: block;
}

#instagram .student-style-card {
    -webkit-transition: -webkit-transform 0.38s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.35s ease;
    transition: transform 0.38s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.35s ease;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

html.no-touch #instagram .student-style-card:hover {
    -webkit-transform: scale(1.06) translateZ(0);
    transform: scale(1.06) translateZ(0);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.16);
    position: relative;
    z-index: 2;
}

/* 教师风采：大屏 4×2（8 人）、flex 等高卡片、头像区统一比例 + object-fit 不变形 */
#faculty-team.section-faculty-team .newsfeed-events .row.faculty-team-row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

#faculty-team.section-faculty-team .newsfeed-events .row.faculty-team-row > [class*='col-'] {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    float: none;
    min-width: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

#faculty-team.section-faculty-team .newsfeed-events .newsfeed-cal {
    width: 100%;
    float: none;
    display: block;
    overflow: hidden;
    position: relative;
    aspect-ratio: 2 / 3;
    background-color: transparent;
}

#faculty-team.section-faculty-team .newsfeed-events .newsfeed-cal img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center 18%;
    object-position: center 18%;
    display: block;
    max-width: none;
}

#faculty-team.section-faculty-team .newsfeed-events .newsfeed-details {
    margin-left: 0;
    width: 100%;
    display: block;
    padding-top: 8px;
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
}

#faculty-team.section-faculty-team .newsfeed-item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    margin: 12px 0;
    border-radius: 6px;
    -webkit-transition: -webkit-transform 0.36s ease, box-shadow 0.36s ease;
    transition: transform 0.36s ease, box-shadow 0.36s ease;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

html.no-touch #faculty-team.section-faculty-team .newsfeed-item:hover {
    -webkit-transform: scale(1.042) translateZ(0);
    transform: scale(1.042) translateZ(0);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
    position: relative;
    z-index: 2;
}

#faculty-team.section-faculty-team .newsfeed-events.section-home-events .row > [class*='col-'] {
    padding-left: 12px;
    padding-right: 12px;
}

#faculty-team.section-faculty-team .feed-body {
    min-height: 4.6em;
}

@media screen and (min-width: 992px) {
    #faculty-team.section-faculty-team .newsfeed-events.section-home-events .row > [class*='col-'] {
        padding-left: 14px;
        padding-right: 14px;
    }

    #faculty-team.section-faculty-team .newsfeed-item {
        margin: 15px 0;
    }

    #faculty-team.section-faculty-team .feed-body p {
        font-size: 13px;
        line-height: 1.4;
    }

    #faculty-team.section-faculty-team .feed-body p strong {
        font-size: 15px;
    }
}

/* 教师风采 / 新闻头条：加宽容器，照片区域更宽 */
@media screen and (min-width: 992px) {
    #faculty-team.section-faculty-team.container,
    #nus-highlights.container {
        width: 94%;
        max-width: 1460px;
    }
}

@media screen and (min-width: 1200px) {
    #faculty-team.section-faculty-team.container,
    #nus-highlights.container {
        max-width: 1580px;
        width: 91%;
    }
}

@media screen and (min-width: 1400px) {
    #faculty-team.section-faculty-team.container,
    #nus-highlights.container {
        max-width: 1680px;
        width: 88%;
    }
}

/* Event */
@media print {
    .newsfeed-events .col-item {
        width: 50%;
    }
}

.newsfeed-events .newsfeed-item {
    display: inline-block;
    margin: 20px 0;
}

.newsfeed-events .newsfeed-cal {
    text-align: center;
    width: 70px;
    float: left;
    display: inline-block;
}

@media print {
    .newsfeed-events .newsfeed-cal {
        border: 1px solid #ddd;
        width: 55px;
    }
}

.newsfeed-events .newsfeed-cal .newsfeed-caldate {
    background: #003d7c;
    color: #ffffff;
    font-size: 36px;
    font-weight: 200;
}

@media print {
    .newsfeed-events .newsfeed-cal .newsfeed-caldate {
        font-size: 22px;
    }
}

.newsfeed-events .newsfeed-cal .newsfeed-calday {
    background: #003d7c;
    color: #ffd2a3;
    font-size: 14px;
    font-weight: 200;
    padding: 3px 0;
    text-transform: uppercase;
}

@media print {
    .newsfeed-events .newsfeed-cal .newsfeed-calday {
        font-size: 12px;
    }
}

.newsfeed-events .newsfeed-details {
    margin-left: 90px;
}

@media print {
    .newsfeed-events .newsfeed-details {
        margin-left: 70px;
    }
}

.newsfeed-events .newsfeed-details .feed-title {
    color: #555555;
    margin-top: 0;
    line-height: 1.2;
    font-weight: 300;
}

.newsfeed-events .newsfeed-details .feed-text {
    color: #999999;
    font-size: 14px;
    font-weight: 300;
}

@media print {
    .newsfeed-events .visible-md-block {
        display: none !important;
    }
}

@media print {
    .newsfeed-events .visible-sm-block {
        display: block !important;
    }
}

.section-home-events.section-footer {
    padding-top: 40px;
    text-align: center;
}

@media print {
    .section-home-events.section-footer {
        padding-top: 20px;
    }
}

.section-footer {
    padding-bottom: 120px;
}

#feature-banner { 
    position: relative; 
    padding: 0 !important;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
    overflow: visible !important;
    min-height: 400px;
}

#feature-banner .row {
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
}

#feature-banner.container-fluid {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* 轮播图基本样式 */
#feature-banner .owl-carousel {
    min-height: 400px;
    width: 100%;
}

/* 轮播首屏视频与后续图片：同一套高度约束，避免首屏与图片屏尺寸不一致 */
#feature-banner .feature-banner-slide-video {
    position: relative;
    width: 100%;
    background: #000;
    overflow: hidden;
}

#feature-banner .feature-banner-slide-video .feature-banner-main-video,
#feature-banner .owl-carousel .owl-item img {
    display: block;
    width: 100%;
    min-height: 400px;
    max-height: min(78vh, 720px);
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center;
    object-position: center;
}

#feature-banner .owl-carousel .owl-item img {
    height: auto;
    vertical-align: top;
}

/* 首屏轮播视频：隐藏 Chromium/Safari 悬停时注入的原生控件层（画中画、增强、翻译音频等） */
#feature-banner .feature-banner-main-video::-webkit-media-controls-enclosure,
#feature-banner .feature-banner-main-video::-webkit-media-controls,
#feature-banner .feature-banner-main-video::-webkit-media-controls-overlay-enclosure {
    display: none !important;
}

@media screen and (max-width: 991px) {
    #feature-banner .feature-banner-slide-video .feature-banner-main-video,
    #feature-banner .owl-carousel .owl-item img {
        min-height: 300px;
        max-height: min(70vh, 560px);
    }
}

#feature-banner .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    margin: 0;
    padding: 0 20px;
    box-sizing: border-box;
}

#feature-banner .owl-nav .owl-prev,
#feature-banner .owl-nav .owl-next {
    pointer-events: auto;
    background: rgba(0, 0, 0, 0.5) !important;
    color: white !important;
    font-size: 30px !important;
    width: 40px !important;
    height: 40px !important;
    line-height: 40px !important;
    text-align: center !important;
    border-radius: 0 !important;
    margin: 70px !important;
    padding: 0 !important;
    display: block;
    position: relative;
    z-index: 1000;
}

#feature-banner .owl-nav .owl-prev {
    left: -22px !important;
}

#feature-banner .owl-nav .owl-next {
    right: -22px !important;
}

#feature-banner .owl-nav .owl-prev:hover,
#feature-banner .owl-nav .owl-next:hover {
    background: rgba(0, 0, 0, 0.8) !important;
}

@media screen and (max-width: 991px) {
    #feature-banner {
        min-height: 300px;
    }
    #feature-banner .owl-carousel {
        min-height: 300px;
    }
    #feature-banner .owl-nav {
        padding: 0 15px;
    }
    #feature-banner .owl-nav .owl-prev,
    #feature-banner .owl-nav .owl-next {
        font-size: 20px !important;
        width: 30px !important;
        height: 30px !important;
        line-height: 30px !important;
    }
    #feature-banner .owl-nav .owl-prev {
        left: -17px !important;
    }
    #feature-banner .owl-nav .owl-next {
        right: -17px !important;
    }
}

@media screen and (max-width: 767px) {
    #feature-banner .feature-banner-slide-video .feature-banner-main-video,
    #feature-banner .owl-carousel .owl-item img {
        min-height: 250px;
        max-height: min(62vh, 440px);
    }
    #feature-banner {
        min-height: 250px;
    }
    #feature-banner .owl-carousel {
        min-height: 250px;
    }
    #feature-banner .owl-nav {
        padding: 0 10px;
    }
    #feature-banner .owl-nav .owl-prev,
    #feature-banner .owl-nav .owl-next {
        font-size: 16px !important;
        width: 25px !important;
        height: 25px !important;
        line-height: 25px !important;
    }
    #feature-banner .owl-nav .owl-prev {
        left: -12px !important;
    }
    #feature-banner .owl-nav .owl-next {
        right: -12px !important;
    }
}

.wrap.t3-navhelper { display: none; } 