/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

/* -----------------------------------------------
   Newsletter CTA banner — checkout
----------------------------------------------- */
.ac-newsletter-cta {
	background-image: url('images/newsletter-cta-bg.jpg');
	background-size: cover;
	background-position: center;
	border-radius: 10px;
	margin-bottom: 24px;
	padding: 28px 32px;
}

.ac-newsletter-cta__inner {
	background: #fff;
	border: 1px solid #ccc;
	border-radius: 10px;
	display: flex;
	align-items: center;
	padding: 10px 16px;
	max-width: 100%;
}

.ac-newsletter-cta__label {
	display: flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
	font-size: 14px;
	line-height: 1.4;
	margin: 0;
}

.ac-newsletter-cta__label input[type="checkbox"] {
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	margin: 0;
	cursor: pointer;
}

/* -----------------------------------------------
   Newsletter modal — checkout (issue #20)
----------------------------------------------- */
#ac-nl-modal {
	border: none;
	border-radius: 10px;
	padding: 0;
	max-width: 420px;
	width: 90%;
	text-align: center;
	overflow: hidden;
}

#ac-nl-modal::backdrop {
	background: rgba(0, 0, 0, 0.5);
}

.ac-nl-modal__img {
	display: block;
	width: 100%;
	height: auto;
}

.ac-nl-modal__body {
	padding: 24px 32px 32px;
}

#ac-nl-modal .ac-nl-modal__text {
	font-size: 16px;
	margin-bottom: 24px;
}

.ac-nl-modal__actions {
	display: flex;
	gap: 12px;
	justify-content: center;
	flex-wrap: wrap;
}

.ac-nl-modal__btn--outline {
	background: transparent;
	color: #55555e;
	border: 2px solid currentColor;
	box-shadow: none;
}

.ac-nl-modal__btn--outline:hover,
.ac-nl-modal__btn--outline:focus {
	background: transparent;
	color: #333;
}

#ac-nl-signup.button.alt {
	background-color: var(--e-global-color-secondary);
	color: #fff;
	border-color: var(--e-global-color-secondary);
}

#ac-nl-signup.button.alt:hover,
#ac-nl-signup.button.alt:focus {
	background-color: #54807c;
	border-color: #54807c;
	color: #fff;
}
