/* General Layout */
.container {
    max-width: 100%;
    margin: auto;
    padding: 0;
}

.announcement-contents {
    max-width: inherit;
    justify-content: space-between;
    display: flex;
    flex-direction: row;
}

.text-section {
    font-family: 'Work Sans', sans-serif;
    font-size: 15px;
    line-height: 28px;
    font-weight: 400;
    overflow-wrap: break-word;
}

.text-div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-right: 25px;
    height: 100%;
    opacity: 1;
    transition: opacity 1s ease;
}

.text-div.hidden {
    opacity: 0;
}

.text-section h1 {
    font-size: 56px;
    margin-bottom: 10px;
    line-height: 66px;
    font-weight: 600;
}

.text-section p {
    font-family: 'Noto Serif', serif;
    line-height: 1.5em;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 30px;
}

.text-section a {
    font-family: 'Noto Serif', sans-serif;
    font-weight: 400;
    font-size: 1.6em;
    font-style: italic;
    line-height: .95em;
    color: #009AC8;
    text-decoration-line: underline;
}

/* Media Section */
.media-section {
    height: 708px;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    padding-right: 0;
}

.announcementSlider {
    position: relative;
    width: 100%;
    height: 100%;
    margin-bottom: 38px;
    cursor: default;
}

.announcementsSlides {
    position: absolute;
    transform-origin: center center;
    backface-visibility: hidden;
    z-index: 0;
    opacity: 0;
}

.announcementsSlides.currentSlide {
    transform: translate(0%, 22%);
    z-index: 3;
    opacity: 1;
}

.announcementsSlides.nextSlide {
    text-align: end;
    transform: translateY(14%);
    z-index: 2;
    opacity: 1;
}

.announcementsSlides.nextNextSlide {
    transform: translate(5%, 5%);
    z-index: 1;
    opacity: 1;
}

.announcementsSlides.hiddenSlide {
    transform: translate(-100%, 14%);
    opacity: 0;
}

/* Images */
.announcementsSlides svg {
    max-height: 620px !important;
    max-width: 90% !important;
    height: auto;
    stroke-width: 0;
}

.media-section img {
    width: 90%;
    max-height: 620px;
    object-fit: contain;
    border-radius: 10px;
    transition: filter 0.3s ease, transform 0.5s ease;
}

.media-section img:hover {
    filter: none !important;
}

.announcementsSlides.currentSlide img {
    filter: none;
}

.announcementsSlides:not(.currentSlide) img {
    filter: grayscale(100%);
}

/* Video Overlay */
.overlay {
    display: none;
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    text-align: center;
    align-content: center;
}

.overlay video {
    max-width: 80vw;
    max-height: 90vh;
    width: inherit;
    height: inherit;
    object-fit: contain;
}

.close-btn {
    position: absolute;
    top: 0;
    right: 20px;
    color: white;
    font-size: 45px;
    cursor: pointer;
}

/* Bulletpoints Section */
.bulletpoints-container {
    display: flex;
    justify-content: space-evenly;
    margin-top: 58px;
}

.bulletpoints-container:has(> :nth-child(4)) {
    justify-content: space-between;
}

.bulletpoint {
    cursor: pointer;
    height: 40px;
    width: 40px;
    border-radius: 50%;
    border: none;

    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Noto Serif', sans-serif;
    font-weight: 400;
    font-style: italic;
    font-size: 16px;
}

.bulletpoint.active,
.bulletpoint:hover {
    border: 2px solid #009AC8;
}