/* CBC Announcement Popup — v1.0.0
 * Church blue #035587 / teal #0A5C5D / gold #B07C22. White on #035587 is 7.5:1.
 */
.cbc-announce {
	width: min(860px, 94vw);
	max-height: 94vh;
	padding: 0;
	border: 0;
	border-radius: 12px;
	background: #fff;
	color: #1B2429;
	box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
	overflow: auto;
}
.cbc-announce::backdrop { background: rgba(2, 30, 48, 0.78); }
.cbc-announce[open] { animation: cbc-announce-in 0.35s cubic-bezier(.22, .61, .36, 1); }
.cbc-announce[open]::backdrop { animation: cbc-announce-fade 0.35s ease; }
html.cbc-announce-noscroll { overflow: hidden; }

.cbc-announce__card { position: relative; }

.cbc-announce__head {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 18px 64px 16px 24px;
	background: #035587;
	color: #fff;
	border-bottom: 4px solid #B07C22;
}
.cbc-announce__star { color: #E3B65A; display: flex; animation: cbc-announce-twinkle 2.4s ease-in-out infinite; }
.cbc-announce .cbc-announce__title {
	margin: 0;
	padding: 0;
	font-size: clamp(22px, 3.4vw, 30px);
	line-height: 1.15;
	font-weight: 700;
	color: #fff;
}

.cbc-announce__close {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 2;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
}
.cbc-announce__close:hover { background: rgba(255, 255, 255, 0.28); }

.cbc-announce__frame { position: relative; aspect-ratio: 16 / 9; background: #000; }
.cbc-announce__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.cbc-announce__foot {
	display: flex;
	align-items: center;
	gap: 16px 20px;
	flex-wrap: wrap;
	padding: 18px 24px 22px;
}
.cbc-announce .cbc-announce__text { flex: 1 1 260px; margin: 0; padding: 0; font-size: 17px; line-height: 1.5; color: #1B2429; }
.cbc-announce__btn {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 24px;
	border-radius: 999px;
	background: #0A5C5D;
	color: #fff !important;
	font-weight: 700;
	text-decoration: none !important;
}
.cbc-announce__btn:hover { background: #07403F; }

.cbc-announce button:focus-visible,
.cbc-announce a:focus-visible { outline: 3px solid #B07C22; outline-offset: 2px; }

@keyframes cbc-announce-in { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes cbc-announce-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes cbc-announce-twinkle { 0%, 100% { transform: scale(1) rotate(0); } 50% { transform: scale(1.18) rotate(20deg); } }
@media (prefers-reduced-motion: reduce) {
	.cbc-announce[open], .cbc-announce[open]::backdrop, .cbc-announce__star { animation: none; }
}
@media (max-width: 600px) {
	.cbc-announce__head { padding: 14px 60px 12px 16px; }
	.cbc-announce__foot { padding: 14px 16px 18px; }
}
