
/* Hero Slider */
.hero-inner,
.th-hero-bg,
.th-hero-bg .thumb {
    width: 100%;
    height: 520px;
    overflow: hidden;
}

.th-hero-bg .thumb img,
.th-hero-bg .thumb .img-cover {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    display: block;
}

/* Tablet */
@media (max-width: 991px) {
    .hero-inner,
    .th-hero-bg,
    .th-hero-bg .thumb {
        height: 450px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .hero-inner,
    .th-hero-bg,
    .th-hero-bg .thumb {
        height: 300px;
    }

    .th-hero-bg .thumb img {
        object-position: center center;
    }
}

.header-logo{
    padding-bottom: 0px !important;
    padding-top: 0px !important;
}

/* features */
.feature-wrap4{
    border-radius: 0px !important;
}

.about-1{
    background-color: #f7e2c66e !important;
}
.about-wrap5 .about-info-wrap{
    margin-bottom: 20px !important;
    padding: 10px 0px 20px !important;
}

.about-wrap5 .about-info-wrap{
    border-top: none !important;
    border-bottom: none !important;
}

.space, .space-bottom{
    padding-bottom: 60px !important;
}

.feature-card4{
    height: 413px !important;
}

.why-wrap8 .why-info-wrap8{
    margin-right: -454px !important;
    margin-top: 90px !important;
}


@media(max-width:767px){
    .swiper-autoheight .swiper-wrapper{
        height: 180px !important;
    }

    .space, .space-top{
        padding-top: 50px !important;
    }

    .feature-card4{
        height: fit-content !important;
    }

    .why-wrap8 .why-info-wrap8{
        margin-right: 5px !important;
        margin-top: 40px !important;
    }
}

/* =================================
   SLV NEWS & EVENTS SECTION
================================= */

.slv-news-section {
    padding: 60px 0 80px;
    background: #fffaf5;
    overflow: hidden;
}

.slv-news-wrapper {
    display: grid;
    grid-template-columns: 37% 63%;
    background: #fff;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(121,1,13,0.09);
    border: 1px solid rgba(121,1,13,0.08);
}

/* LEFT PANEL */

.slv-news-intro {
    position: relative;
    min-height: 570px;
    background: #79010d;
    overflow: hidden;
}

.slv-news-image {
    height: 58%;
    position: relative;
}

.slv-news-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        transparent 55%,
        #79010d 100%
    );
}

.slv-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slv-news-intro-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 25px 40px 40px;
    color: #fff;
    z-index: 2;
}

.slv-news-icon {
    color: #FFBF00;
    font-size: 35px;
    display: block;
    margin-bottom: 12px;
}

.slv-news-intro-content h2 {
    font-family: 'Noto Serif', serif;
    font-size: 43px;
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 15px;
}

.slv-gold-line {
    width: 75px;
    height: 4px;
    background: #FFBF00;
    border-radius: 10px;
    margin-bottom: 18px;
}

.slv-news-intro-content p {
    color: #fff;
    font-size: 16px;
    line-height: 1.8;
    max-width: 330px;
    margin: 0;
}

/* RIGHT NOTICE BOARD */

.slv-news-board {
    padding: 35px 35px 25px;
    min-width: 0;
}

/* TABS */

.slv-news-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 25px;
}

.slv-tab {
    border: 1px solid #eee;
    background: #fff;
    padding: 17px 12px;
    border-radius: 12px;
    color: #79010d;
    font-family: 'Noto Serif', serif;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: .3s ease;
    box-shadow: 0 3px 10px rgba(0,0,0,.04);
}

.slv-tab i {
    margin-right: 9px;
    color: #FFBF00;
}

.slv-tab.active,
.slv-tab:hover {
    background: #79010d;
    color: #fff;
    border-color: #79010d;
}

.slv-tab.active i {
    color: #FFBF00;
}

/* SCROLLING AREA */

.slv-tab-content {
    display: none;
}

.slv-tab-content.active {
    display: block;
}

.slv-scroll-window {
    height: 545px;
    overflow: hidden;
    position: relative;
}

.slv-scroll-track {
    display: flex;
    flex-direction: column;
    animation: slvVerticalScroll 24s linear infinite;
}

.slv-scroll-window:hover .slv-scroll-track {
    animation-play-state: paused;
}

@keyframes slvVerticalScroll {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-50%);
    }
}

/* NEWS ITEM */

.slv-news-item {
    display: grid;
    grid-template-columns: 75px 145px 1fr;
    gap: 20px;
    align-items: center;
    padding: 20px 0;
    min-height: 145px;
    border-bottom: 1px solid #eee6e2;
}

.slv-date {
    width: 75px;
    height: 95px;
    border-radius: 12px;
    background: #fff4d5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #79010d;
}

.slv-date span {
    font-size: 14px;
    font-weight: 700;
}

.slv-date strong {
    font-family: 'Noto Serif', serif;
    font-size: 35px;
    line-height: 1.1;
    color: #79010d;
}

.slv-news-item > img {
    width: 145px;
    height: 95px;
    object-fit: cover;
    border-radius: 10px;
}

.slv-news-details h3 {
    font-family: 'Noto Serif', serif;
    font-size: 19px;
    font-weight: 800;
    color: #79010d;
    margin: 0 0 8px;
}

.slv-news-details p {
    font-size: 14px;
    line-height: 1.7;
    color: #666;
    margin: 0;
}

/* FOOTER BUTTON */

.slv-news-footer {
    text-align: center;
    padding-top: 25px;
}

.slv-news-footer a {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 13px 28px;
    border: 2px solid #79010d;
    color: #79010d;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    transition: .3s ease;
}

.slv-news-footer a:hover {
    background: #79010d;
    color: #fff;
}

.slv-news-footer a i {
    color: #FFBF00;
}

/* RESPONSIVE */

@media(max-width: 991px) {
    .slv-news-wrapper {
        grid-template-columns: 1fr;
    }

    .slv-news-intro {
        min-height: 420px;
    }

    .slv-news-image {
        height: 100%;
        position: absolute;
        inset: 0;
    }

    .slv-news-intro-content {
        background: linear-gradient(
            to top,
            #79010d 5%,
            rgba(121,1,13,.92) 55%,
            transparent
        );
        padding: 100px 30px 30px;
    }
}

@media(max-width: 575px) {
    .slv-news-section {
        padding: 50px 0;
    }

    .slv-news-intro {
        min-height: 370px;
    }

    .slv-news-intro-content h2 {
        font-size: 34px;
    }

    .slv-news-board {
        padding: 22px 15px;
    }

    .slv-news-tabs {
        gap: 8px;
    }

    .slv-tab {
        font-size: 13px;
        padding: 13px 5px;
    }

    .slv-tab i {
        margin-right: 4px;
    }

    .slv-scroll-window {
        height: 350px;
    }

    .slv-news-item {
        grid-template-columns: 55px 85px 1fr;
        gap: 10px;
        min-height: 125px;
        padding: 15px 0;
    }

    .slv-date {
        width: 55px;
        height: 75px;
    }

    .slv-date strong {
        font-size: 27px;
    }

    .slv-date span {
        font-size: 11px;
    }

    .slv-news-item > img {
        width: 85px;
        height: 75px;
    }

    .slv-news-details h3 {
        font-size: 14px;
        line-height: 1.4;
    }

    .slv-news-details p {
        font-size: 12px;
        line-height: 1.5;
    }

    .slv-news-footer a {
        font-size: 13px;
        padding: 11px 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .slv-scroll-track {
        animation: none;
    }
}
