﻿/*==============================

HOME ABOUT

===============================*/

.home-about-wrapper {
    margin: 70px 0;
}

.home-about-card {
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,.08);
    height: 100%;
}

.home-about-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    object-position: top;
    display: block;
}

.home-about-body {
    padding: 35px;
}

.home-badge {
    display: inline-block;
    background: #ffe5e5;
    color: #c1121f;
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 700;
    margin-bottom: 20px;
}

.home-about-body h2 {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.home-about-body p {
    font-size: 17px;
    line-height: 1.9;
    color: #555;
    margin-bottom: 25px;
}

/*==============================

HOME NEWS

===============================*/

.home-news-card {
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,.08);
    height: 100%;
}

.home-news-header {
    background: #b71c1c;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    padding: 18px 25px;
}

.home-news-body {
    height: 640px;
    padding: 20px;
    overflow: hidden;
}

.home-news-item {
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
}

    .home-news-item small {
        color: #c1121f;
        font-weight: 700;
        display: block;
        margin-bottom: 10px;
    }

    .home-news-item h5 {
        font-size: 18px;
        font-weight: 700;
        line-height: 1.5;
        margin-bottom: 12px;
    }

    .home-news-item a {
        text-decoration: none;
        font-weight: 600;
    }

        .home-news-item a:hover {
            text-decoration: underline;
        }

@media(max-width:992px) {

    .home-about-image img {
        height: 280px;
    }

    .home-news-body {
        height: 450px;
    }
}
.announcement-panel {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(0,0,0,.08);
    overflow: hidden;
    height: 100%;
}

.announcement-header {
    background: #c1121f;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    padding: 18px;
}

.announcement-scroll {
    height: 300px; /* Change to 450/500/550 as desired */

    overflow-y: auto;
    overflow-x: hidden;
}

.announcement-item {
    padding: 18px;
    border-bottom: 1px solid #eee;
}

    .announcement-item:last-child {
        border-bottom: none;
    }

.announcement-date {
    color: #c1121f;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
}

.announcement-item h5 {
    font-size: 17px;
    margin-bottom: 10px;
    line-height: 1.45;
}

.announcement-item a {
    font-weight: 600;
}

.announcement-panel {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0,0,0,.08);
    overflow: hidden;
    border: 1px solid #eee;
}

.announcement-header {
    background: #c1121f;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    padding: 16px 20px;
}

.announcement-scroll {
    max-height: 620px;
    overflow-y: auto;
}

.announcement-item {
    padding: 18px 20px;
    border-bottom: 1px solid #ececec;
}

    .announcement-item:last-child {
        border-bottom: none;
    }

.announcement-date {
    font-size: 13px;
    color: #c1121f;
    font-weight: 700;
    margin-bottom: 8px;
}

.announcement-content h5 {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 8px;
    color: #222;
}

.announcement-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 10px;
}

.announcement-content a {
    color: #c1121f;
    font-weight: 600;
    text-decoration: none;
}

    .announcement-content a:hover {
        text-decoration: underline;
    }

.announcement-panel {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #eee;
    box-shadow: 0 6px 20px rgba(0,0,0,.08);
    overflow: hidden;
}

.announcement-header {
    background: #c1121f;
    color: #fff;
    padding: 16px 20px;
    font-size: 22px;
    font-weight: 700;
}

.announcement-marquee {
    height: 520px; /* Adjust as needed */
    overflow: hidden;
    position: relative;
}

.announcement-track {
    animation: scrollUp 30s linear infinite;
}

.announcement-marquee:hover .announcement-track {
    animation-play-state: paused;
}

@keyframes scrollUp {

    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-50%);
    }
}