.announcement-card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: baseline;
    margin-left: auto;
    margin-right: auto;
}

.announcement-card {
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    width: 358px;
    height: auto;
    padding-bottom: 1rem;
}

.announcement-card-content {
    color: #0721ac;
    padding: 1rem;
}

.announcement-card-header {
    display: flex;
    margin-top: 0.5rem;
    align-items: center;
    justify-content: space-between;
}

.announcement-card-date {
    align-self: center;
}

.announcement-tag {
    background: #fd7e14;
    color: #ffffff;
    padding: 0.25rem 0.5rem;
}

.announcement-card-text-container {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    height: 8rem;
    margin-top: 1rem;
}

.announcement-card-title {
    font-weight: bold !important;
}

.announcement-card-title p {
    font-weight: bold !important;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    margin-bottom: 5px;
}

.announcement-card-text {
    margin: 0.5rem 0;
    height: auto;
    color: black;
}

.announcement-card-text p {
    margin-top: 0.5rem;
    height: max-content;
    color: black;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    display: -webkit-box;
}

.announcement-header-area {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.announcement-header-text {
    font-weight: 400;
}

.search-container {
    display: flex;
    flex-direction: row;
}

.search-filter-area {
    display: flex;
    column-gap: 0.5rem;
}

.search-icon-container {
    background: #0721ac;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    border-radius: 25px;
    font-size: 1.5rem;
    cursor: pointer;
    outline: none;
    border: 0px;
}

.search-filter-area form {
    margin-block-end: 0rem !important;
}

.search-icon-container i {
    scale: 0.85;
}

.search-container {
    border: 0px;
    border-radius: 50px;
    padding-left: 5px;
    background-color: #f2f2f2;
}

.search-container input {
    border: 0px;
    border-radius: 50px;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 10px;
    background-color: #f2f2f2;
}

.search-container input:focus {
    outline: 0px;
}

.search-container input::placeholder {
    color: #8f8f8f4e;
    font-weight: 600;
}

.calendar-icon-area {
    position: relative;
}

.calendar-icon {
    width: 2rem;
    /* changed */
    /* height: 100%; */
    cursor: pointer;
}

.calendar-option-container {
    position: absolute;
    background: #ffffff;
    padding: 1rem;
    border-radius: 1rem;
    top: calc(100% + 1rem);
    z-index: 2;
    margin-right: auto;
    margin-left: auto;
    width: 14rem;
    flex-wrap: wrap;
    gap: 0.5rem;
    box-shadow: 20px 55px 50px -12px rgb(0 0 0 / 0.25);
    display: none;
}

.year-item {
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.5rem;
}

.year-item:hover {
    background: #f9fafb;
    color: #f97316;
}

.show-calendar {
    display: flex;
}

.active-year {
    color: #f97316;
}

@media only screen and (max-width: 1280px) {
    .announcement-header-area {
        flex-direction: column;
        justify-content: start;
        margin-bottom: 1rem;
        align-items: start;
    }

    .announcement-card-container {
        justify-content: space-between;
    }

    .announcement-card {
        width: 45%;
        height: auto;
    }
}

@media only screen and (max-width: 768px) {
    .announcement-header-area {
        flex-direction: column;
        justify-content: center;
        margin-bottom: 1rem;
        align-items: start;
    }

    .announcement-card-container {
        justify-content: center;
    }

    .announcement-card {
        width: 90%;
        height: auto;
    }
}

@media only screen and (max-width: 992px) {
    .announcement-card-container {
        justify-content: first baseline;
    }

    .announcement-card {
        height: auto;
    }
}

.announcement-more {
    box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.04);
    position: relative;
    display: block;
    clear: both;
    width: 200px;
    height: auto;
    padding: 5px;
    border: 1px solid #e5e5e5;
    margin: 0 auto 10px;
    text-shadow: 0 1px 1px #fff;
    border-radius: 4px;
    background: #fff;
    z-index: 1;
    cursor: pointer;
}
