﻿#about-area .about-area-wrapper:before {
    background-image: url( @Model.ImageUrl );
    background-size: cover;
    content: "";
    position: absolute;
    width: 39%;
    height: 85%;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    left: 0;
    z-index: 2;
}

.announcement-section {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}

.section-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #e44236;
    text-align: center;
}

.announcement-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 20px;
    margin-bottom: 20px;
    border-left: 5px solid #e44236;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .announcement-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    }

.announcement-header {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: flex-start;
}

.announcement-image {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.announcement-content {
    flex: 1;
}

    .announcement-content h3 {
        margin-top: 0;
        color: #2c2c2c;
        font-size: 1.99rem;
        font-weight: 600;
    }

    .announcement-content p {
        color: #555;
        line-height: 1.6;
        margin: 10px 0 15px;
    }

.announcement-date {
    font-size: 1.2rem;
    color: #888;
}

/* ✅ Responsive Design */
@media (max-width: 768px) {
    .announcement-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .announcement-image {
        width: 100%;
        height: auto;
        border-radius: 10px;
    }

    .announcement-content h3 {
        font-size: 1.1rem;
    }

    .announcement-content {
        padding-top: 10px;
    }
}
