.logo_image {
    height: 100px;
    object-fit: contain;
}

.space {
    padding-left: 15px;
}


.main-hero {
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    color: #fff;
    font-weight: 700;
    font-size: 1.3rem;
    padding: 1rem 2rem;
    background-size: cover;
    background-position: center;
    min-height: 380px;
    display: flex;
    align-items: flex-end;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.main-hero h2 {
    background: rgba(0, 0, 0, 0.5);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    max-width: 90%;
}

.latest-news {
    background-color: #fff;
    border-radius: 15px;
    padding: 1rem;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    max-height: 360px;
    overflow-y: auto;
}

.latest-news h4 {
    font-weight: 700;
    border-bottom: 1px solid #ccc;
    padding-bottom: 0.4rem;
    margin-bottom: 1rem;
}

.news-item {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 1rem;
    cursor: pointer;
}

.news-item img {
    width: 90px;
    height: 60px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
}

.news-item p {
    margin: 0;
    font-size: 0.9rem;
    color: #222;
    line-height: 1.2;
    max-height: 3.6em;
    /* limit lines */
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Cards below */
.card-article {
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    min-height: 190px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1rem;
    background-size: cover;
    background-position: center;
}

.card-article .badge {
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 0.65rem;
    text-transform: uppercase;
    padding: 0.25rem 0.7rem;
    background-color: rgba(0, 0, 0, 0.6);
}

.card-article p {
    font-weight: 700;
    margin-bottom: 0.3rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.card-article .time {
    font-size: 0.75rem;
    font-weight: 400;
    color: #ddd;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 0.5rem;
}

.read-more {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 12px;
    font-size: 0.75rem;
    padding: 0.3rem 0.8rem;
    text-transform: uppercase;
    font-weight: 600;
    color: #fff;
    align-self: flex-start;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
}

.read-more:hover {
    background-color: #0056b3;
}

/* Carousel controls */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1);
}
