/* ===== COMMON CARD STYLE ===== */
.card {
    border-radius: 8px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

/* ===== NEWS MARQUEE STYLE ===== */
.news-marquee1 {
    height: 100%;
    overflow: hidden;
    position: relative;
    background: #f8f9fa;
}

.news-list1 {
    list-style: none;
    padding: 0;
    margin: 0;
    animation: scrollUp 18s linear infinite;
}

.news-list1 li {
    padding: 12px 15px;
    border-bottom: 1px solid #ddd;
}

.news-list1 li a {
    text-decoration: none;
    color: #000;
    display: block;
}

.news-list1 li a:hover {
    background-color: #b4b4b5;
}

.news-list1 .date {
    font-size: 12px;
    color: #0d6efd;
    font-weight: bold;
}

.news-list1 p {
    font-size: 14px;
    font-weight: 600;
    margin: 5px 0 0;
    text-align: justify;
    background-color: #f3f3f4;
}

/* Unified title bar */
.card-title-row {
    font-size: 20px;
    font-weight: bold;
    color: #000;
    text-align: center;
    padding: 8px 5px;
    border-bottom: 1px solid #dee2e6;
    margin: 0;              /* removes gap */
    background: #ffffff;
}

/* Bigger title for DG */
.card-title-big {
    font-size: 22px;
}

/* Remove default card-body margin effect */
.card-body {
    padding-top: 10px;
}

/* Card content box */
.card-content1 {
    height: 350px;
    overflow: hidden;
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
    padding-left: 5px;
    padding-top: 0;          /* NO GAP between title and marquee */
    padding-right: 10px;
    padding-bottom: 10px;
}

/* Pause animation on hover (optional) */
.card-content1:hover .news-list1 {
    animation-play-state: paused;
}

/* Vertical marquee animation */
@keyframes scrollUp {
    0%   { transform: translateY(100%); }
    100% { transform: translateY(-100%); }
}