ion-modal#pwa-compulsory-modal.announcement-transparent {
    background: transparent !important;
    --backdrop-opacity: 0;
}

ion-modal#pwa-compulsory-modal.announcement-transparent::part(content) {
    background: transparent !important;
    box-shadow: none !important;
}

.wrapper.transparent-mode {
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    box-sizing: border-box;
}

.wrapper.transparent-mode .announcement-wrapper {
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 100%;
}

.wrapper.transparent-mode .content {
    width: min(92vw, 100%);
    height: min(calc(100vh - 6rem), 85vh) !important;
    max-width: 100vw;
    max-height: calc(100vh - 6rem) !important;
    min-height: 0;
    background-color: transparent !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    cursor: pointer;
}

.wrapper.transparent-mode .content.text {
    padding: 0;
    background-color: transparent !important;
}

.wrapper.transparent-mode .check-box {
    display: none !important;
}

.wrapper.transparent-mode .tab-list {
    display: none !important;
}

.wrapper.transparent-mode ion-button.announcement-transparent-close,
.wrapper.transparent-mode > ion-button {
    --background: rgba(0, 0, 0, 0.88);
    --background-hover: rgba(0, 0, 0, 0.95);
    --background-activated: rgba(0, 0, 0, 1);
    --color: #fff;
    --border-radius: 50%;
    --padding-start: 0;
    --padding-end: 0;
    --padding-top: 0;
    --padding-bottom: 0;
    flex: 0 0 auto;
    align-self: center;
    display: inline-flex;
    width: 2.75rem !important;
    min-width: 2.75rem !important;
    max-width: 2.75rem !important;
    height: 2.75rem !important;
    min-height: 2.75rem !important;
    max-height: 2.75rem !important;
    margin: 0.75rem auto 0;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
    opacity: 1 !important;
    aspect-ratio: 1 / 1;
}

.wrapper.transparent-mode ion-button.announcement-transparent-close::part(native),
.wrapper.transparent-mode > ion-button::part(native) {
    background: rgba(0, 0, 0, 0.88) !important;
    border-radius: 50% !important;
    border: 2px solid rgba(255, 255, 255, 0.35) !important;
    width: 2.75rem !important;
    min-width: 2.75rem !important;
    max-width: 2.75rem !important;
    height: 2.75rem !important;
    min-height: 2.75rem !important;
    max-height: 2.75rem !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    aspect-ratio: 1 / 1 !important;
    box-sizing: border-box !important;
}

.wrapper.transparent-mode ion-button.announcement-transparent-close ion-icon,
.wrapper.transparent-mode > ion-button ion-icon {
    font-size: 1.35rem !important;
    width: 1.35rem !important;
    height: 1.35rem !important;
    border: none !important;
    background: transparent !important;
    color: #fff !important;
    opacity: 1 !important;
    padding: 0 !important;
    margin: 0 !important;
    flex-shrink: 0;
}

.wrapper.transparent-mode > ion-icon {
    color: #fff !important;
    background: rgba(0, 0, 0, 0.88) !important;
    border: 2px solid rgba(255, 255, 255, 0.35) !important;
    border-radius: 50% !important;
    width: 2.75rem !important;
    height: 2.75rem !important;
    min-width: 2.75rem !important;
    min-height: 2.75rem !important;
    max-width: 2.75rem !important;
    max-height: 2.75rem !important;
    padding: 0 !important;
    font-size: 1.35rem !important;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.5) !important;
    opacity: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto;
    align-self: center;
    aspect-ratio: 1 / 1;
    box-sizing: border-box;
}

.announcement-transparent-img {
    max-width: min(92vw, 100%);
    max-height: calc(100vh - 6rem);
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    cursor: pointer;
}
