/* Overrides on top of the vendored pqina/flip CSS (flip.min.css). */
.qp-flip-countdown{display:block;font-size:36px}
.qp-flip-countdown .tick{font:700 1em/1.4 "Helvetica Neue",Helvetica,Arial,sans-serif}
.qp-flip-countdown .tick-group{margin:0 .15em;text-align:center}
.qp-flip-countdown .tick .tick-label{display:block;margin-top:.15em;font:12px/1.3 Arial,sans-serif;color:inherit}
.qp-flip--brown .tick-flip-panel{background-color:#805019;color:#fff}
.qp-flip--black .tick-flip-panel{background-color:#222;color:#fff}

:where(.qp-dismiss-button) {
	display: inline-block;
	box-sizing: border-box;
	background: transparent;
	color: inherit;
	border: 0;
	padding: .5em 1em;
	font: inherit;
	text-decoration: none;
	cursor: pointer;
}

.qp-popup:not([hidden]) .is-style-qp-fall-in {
	transform-origin: center top;
	animation: qp-announcement-fall-in 1.2s ease-out .6s both;
}
.qp-popup:not([hidden]) .is-style-qp-fade-in {
	animation: qp-announcement-fade-in 1s ease-out .15s both;
}
@keyframes qp-announcement-fall-in {
	0% { opacity: 0; transform: perspective(700px) rotateX(-90deg); }
	60% { opacity: 1; transform: perspective(700px) rotateX(12deg); }
	80% { opacity: 1; transform: perspective(700px) rotateX(-6deg); }
	100% { opacity: 1; transform: perspective(700px) rotateX(0deg); }
}
@keyframes qp-announcement-fade-in {
	from { opacity: 0; }
	to { opacity: 1; }
}
.qp-popup:not([hidden]) .is-style-qp-fade-in:focus-visible {
	animation: none;
}
@media (prefers-reduced-motion: reduce) {
	.qp-popup:not([hidden]) :is(.is-style-qp-fall-in, .is-style-qp-fade-in) {
		animation: none;
	}
}

:where(#qp-popup-root .is-layout-flex) { display:flex; flex-wrap:wrap; align-items:center; gap:8px; }
#qp-popup-root .is-vertical { flex-direction:column; }
#qp-popup-root .is-content-justification-center { justify-content:center; }
#qp-popup-root .is-content-justification-right { justify-content:flex-end; }
#qp-popup-root .is-content-justification-space-between { justify-content:space-between; }
#qp-popup-root .has-text-align-center { text-align:center; }

.editor-styles-wrapper.qp-announcement-layout .is-root-container > .wp-block,
.qp-popup__content > * {
	box-sizing: border-box;
	width: 100%;
	max-width: none;
}

:is(.qp-popup__content, .qp-announcement-layout) :is(.wp-block-group.is-layout-flex:not(.is-vertical), p, h1, h2, h3, h4, h5, h6, li, .wp-block-button__link, .qp-dismiss-button, .qp-flip-countdown):not(.is-style-qp-wrap) {
	--qp-fit-scale: 1;
	white-space: nowrap !important;
	overflow-wrap: normal;
	word-break: normal;
	min-width: 0;
	zoom: var(--qp-fit-scale, 1);
}
.is-style-qp-wrap {
	white-space: normal !important;
	overflow-wrap: anywhere;
}
:is(.qp-popup__content, .qp-announcement-layout) :is(.wp-block-column, .wp-block-group, .wp-block-buttons, .wp-block-button) {
	min-width: 0;
}
:is(.qp-popup__content, .qp-announcement-layout) .wp-block-button {
	max-width: 100%;
}
.qp-flip-countdown .tick,
.qp-flip-countdown .tick [data-layout~="horizontal"] {
	white-space: nowrap !important;
}
:where(.qp-popup__content, .qp-announcement-layout) :where(.wp-block-group.is-layout-flex:not(.is-vertical)) {
	gap: 24px;
	justify-content: center;
}
:is(.qp-popup__content, .qp-announcement-layout) .wp-block-group.is-layout-flex:not(.is-vertical) {
	flex-wrap: nowrap;
	max-width: none;
}
:is(.qp-popup__content, .qp-announcement-layout) .wp-block-group.is-layout-flex:not(.is-vertical) > :not(.block-list-appender) {
	flex: 0 0 auto;
	width: max-content;
	max-width: none;
}
@media (max-width: 600px) {
	:is(.qp-popup__content, .qp-announcement-layout) .wp-block-group.is-layout-flex:not(.is-vertical) {
		flex-direction: column;
		align-items: center;
	}
}
