/* Hub newsletter: RacontR-style full-viewport popin — iframe fills the screen */
.codr-newsletter-menu-item,
.codr-newsletter-topbar-item {
	display: inline-flex;
	align-items: center;
	vertical-align: middle;
	list-style: none;
}

.codr-newsletter-menu-item {
	margin-left: 0.35em;
}

/* Behavior class: add to buttons, links, or any clickable control in hub content */
.codr-hub-newsletter-open {
	cursor: pointer;
}

button.codr-hub-newsletter-open,
.codr-newsletter-menu-item .codr-hub-newsletter-open,
.codr-newsletter-topbar-item .codr-hub-newsletter-open {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.15em 0.25em;
	margin: 0;
	border: none;
	background: transparent;
	color: inherit;
	line-height: 1;
	vertical-align: middle;
}

.codr-hub-newsletter-open:hover,
.codr-hub-newsletter-open:focus-visible {
	opacity: 0.85;
	outline: none;
}

.codr-hub-newsletter-open:focus-visible {
	box-shadow: 0 0 0 2px currentColor;
	border-radius: 2px;
}

.codr-hub-newsletter-open__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-left: 20px;
	transition: background-color 0.3s ease;
}
.codr-hub-newsletter-open__icon:hover {
	background-color: transparent;
}
.codr-newsletter-menu-item button:hover {
	background-color: transparent;
}
.codr-hub-newsletter-open__icon svg {
	display: block;
	color: white;
}
.eut-header-sticky .codr-hub-newsletter-open__icon svg {
	display: block;
	color:#968273;
}

#codr-hub-newsletter-modal {
	position: fixed;
	inset: 0;
	width: 100vw;
	height: 100%;
	min-height: 100vh;
	min-height: 100dvh;
	z-index: 100000;
	display: none;
	padding: 0;
	margin: 0;
	box-sizing: border-box;
	/* RacontR-style stacking */
	isolation: isolate;
}

#codr-hub-newsletter-modal.is-open {
	display: block;
}

#codr-hub-newsletter-modal .codr-hub-newsletter-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
	cursor: pointer;
	background-color: rgba(0, 0, 0, 0);
}

#codr-hub-newsletter-modal .codr-hub-newsletter-modal__dialog {
	position: absolute;
	inset: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
	min-height: 100vh;
	min-height: 100dvh;
	margin: 0;
	padding: 0;
	border: none;
	border-radius: 0;
	box-shadow: none;
	background: rgba(0, 0, 0, 0.75);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	
}

#codr-hub-newsletter-modal .codr-hub-newsletter-modal__close {
	display: none !important;
}

#codr-hub-newsletter-modal .codr-hub-newsletter-modal__close:hover,
#codr-hub-newsletter-modal .codr-hub-newsletter-modal__close:focus-visible {
	background: rgba(0, 0, 0, 0.85);
}
#codr-hub-newsletter-modal .codr-hub-newsletter-modal__close span {
	display: inline-block;
	transform: rotate(0deg);
	transition: transform 0.35s ease;
}

#codr-hub-newsletter-modal .codr-hub-newsletter-modal__close:hover span,
#codr-hub-newsletter-modal .codr-hub-newsletter-modal__close:focus-visible span {
	transform: rotate(180deg);
}

#codr-hub-newsletter-modal .codr-hub-newsletter-modal__frame {
	flex: 1 1 auto;
	width: 100%;
	min-height: 0;
	height: 100%;
	border: 0;
	margin: 0;
	padding: 0;
	background: transparent;
}

body.codr-hub-newsletter-modal-open {
	overflow: hidden;
}
