/* Reset and General Styles */
.special-announcements, .announcements, .upcoming-events {
    margin: 0;
    padding: 20px;
    border: none;
    background-color: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    border-radius: 12px;
}

/* Headers */
.special-announcements h2,
.announcements h2,
.upcoming-events h2 {
    color: var(--primary-color);
    font-size: 24px;
    margin: 0;
    text-align: center;
    font-weight: normal;
}

.subtitle {
    color: #666;
    font-size: 16px;
    margin: 5px 0 20px 0;
    text-align: center;
}

/* Special Announcements */
.special-announcement {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
}

.special-announcement-title {
    background-color: #fff;
    padding: 15px;
    font-weight: 600;
    font-size: 18px;
    color: #4D4D4D;
    width: 180px;
    flex-shrink: 0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.special-announcement-content {
    background-color: #31a349;
    padding: 15px;
    color: white;
    font-size: 14px;
    line-height: 1.5;
    flex-grow: 1;
    border-radius: 12px;
}

.special-announcement-timing {
    background-color: #EEEBEB;
    padding: 15px;
    margin-left: 20px;
    width: 180px;
    flex-shrink: 0;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
}

.timing-label {
    display: block;
    color: #4D4D4D;
    font-size: 18px;
    margin-bottom: 5px;
    font-weight: 600;
}

.timing-value {
    color: #4D4D4D;
    font-size: 14px;
    line-height: 1.4;
    text-align: right;
}

/* Announcements */
.announcement {
    background-color: #f6f6f6;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    overflow: hidden;
}

.announcement-content {
    flex-grow: 1;
}

.announcement-title {
    color: #0a4173;
    font-size: 18px;
    font-weight: 500;
    margin: 0 0 8px 0;
}

.announcement-description {
    color: #4D4D4D;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

.announcement-image {
    width: 300px;
    height: auto;
    border-radius: 4px;
    overflow: hidden;
    background-color: #fff;
}

.announcement-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

/* Events */
.event {
    background-color: #f6f6f6;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
}

.event-title {
    color: #0a4173;
    font-size: 18px;
    font-weight: 500;
    margin: 0 0 15px 0;
}

.event-details {
    margin: 0;
    font-size: 14px;
    color: #4D4D4D;
}

.event-detail {
    margin: 0 0 5px 0;
    line-height: 1.5;
}

.event-detail:last-child {
    margin-bottom: 0;
}

.event-label {
    font-weight: 500;
    color: #4D4D4D;
    display: block;
}

/* Scrollable sections */
.scrollable-content {
    max-height: 600px;
    overflow-y: auto;
}

.scrollable-content::-webkit-scrollbar {
    width: 4px;
}

.scrollable-content::-webkit-scrollbar-track {
    background: transparent;
}

.scrollable-content::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.1);
    border-radius: 4px;
}

/* Links */
.announcement-title a,
.event-title a,
.special-announcement-title a {
    color: var(--secondary-color);
    text-decoration: none;
}

/* Container Background */
.special-announcements h2 {
    padding-bottom: 30px;
}

/* Hide Read More initially */
.read-more {
    display: none;
}

@media screen and (max-width: 768px)
{
    .special-announcement-timing
    {
        margin: 0px;
        display: block;
        width: 100% !important;
        padding: 10px !important;
        margin-top: -10px !important;
        border-radius: 0px 0px 18px 18px !important;
    }

    .timing-label
    {
        margin-bottom: 0px !important;
        display: block !important;
    }

    .timing-value
    {
        margin-top: -28px !important;
    }


    .special-announcement
    {
        width: 100%;
        display: inline-block;
    }

    .special-announcements
    {
        display: inline-block !important;
        margin: 0 !important;
        padding: 20px !important;
    }

    .special-announcement-content
    {
        padding-top: 50px !important;
        padding-bottom: 20px !important;
        padding-left: 10px !important;
        padding-right: 10px !important;

    }

    .special-announcement-title
    {
        width:100%;
        margin-bottom: -45px !important;
        padding: 10px !important;
        background-color: #ffffff00 !important;
        
    }

    
}

.post-content
{
    display: contents !important;
}