/*
 * Option-driven presentation primitives rendered by RAMS Platform shortcodes.
 * Elementor owns the surrounding bands and their atomic/global-class layout.
 */
.rams-sponsor-pause {
	display: block;
	margin: 24px auto 0;
	min-height: 44px;
	padding: 8px 20px;
	border: 1px solid currentColor;
	border-radius: 5px;
	background: #fff;
	color: var(--rams-shell-blue, #0056a7);
	font: 600 16px/1.4 var(--rams-font-body, "Montserrat", sans-serif);
	cursor: pointer;
}

.rams-sponsor-pause:focus-visible {
	outline: 3px solid var(--rams-shell-orange, #f59e0b);
	outline-offset: 3px;
}

.rams-sponsor-pause:disabled {
	color: var(--rams-shell-ink, #474747);
	cursor: default;
}

.elementor .elementor-widget-posts .elementor-post__meta-data .elementor-post-date {
	color: #5f6368;
}

.elementor .elementor-widget-posts .elementor-post__excerpt p {
	color: #474747;
}

.rams-option-hero {
	display: flex;
	max-width: 48rem;
	align-items: flex-start;
	flex-direction: column;
	gap: clamp(1rem, 2vw, 1.5rem);
}

/* Static campaign variants. Elementor owns positioning and band geometry. */
.elementor .rams-campaign-media,
.elementor .rams-campaign-media > .elementor-widget-container,
.elementor .rams-campaign-media .elementor-shortcode {
	height: 100%;
}

.elementor .rams-campaign-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
}

.elementor .rams-option-hero--campaign {
	gap: 40px;
}

.elementor .rams-option-hero--campaign .rams-option-hero__title {
	max-width: 100%;
	font-size: clamp(4rem, 6vw, 6rem);
	line-height: 1.05;
	text-wrap: balance;
}

.elementor .rams-option-hero--campaign .rams-option-button {
	min-width: 240px;
	min-height: 48px;
	border: 1px solid #fff;
	border-radius: 5px;
	background: transparent;
	color: #fff;
	font-size: 16px;
}

.elementor .rams-option-hero--campaign .rams-option-button:is(:hover, :focus-visible) {
	border-color: var(--rams-shell-orange, #f59e0b);
	background: var(--rams-shell-orange, #f59e0b);
	color: var(--rams-shell-white, #fff);
}

.elementor .rams-announcement--campaign .rams-announcement__title {
	max-width: 28ch;
	color: #fff;
	font-family: var(--rams-font-body, "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif);
	font-size: clamp(1.5rem, 2.8vw, 2.5rem);
	font-weight: 700;
	line-height: 1.15;
	white-space: pre-line;
	text-wrap: initial;
}

.elementor .rams-announcement--campaign .rams-option-button {
	min-width: 280px;
	min-height: 56px;
	border: 2px solid #fff;
	border-radius: 5px;
	background: transparent;
	color: #fff;
	font-size: 20px;
	font-style: italic;
}

.elementor .rams-announcement--campaign .rams-option-button:is(:hover, :focus-visible) {
	border-color: var(--rams-shell-white, #fff);
	background: var(--rams-shell-white, #fff);
	color: var(--rams-shell-orange, #f59e0b);
}

@media (max-width: 767px) {
	.elementor .rams-campaign-image {
		object-position: 32% top;
	}

	.elementor .rams-option-hero--campaign {
		align-items: center;
		gap: 24px;
		text-align: center;
	}

	.elementor .rams-option-hero--campaign .rams-option-hero__title {
		max-width: none;
		font-size: clamp(2.5rem, 10vw, 4rem);
	}

	.elementor .rams-announcement--campaign .rams-announcement__title {
		font-size: 22px;
	}

	.elementor .rams-announcement--campaign {
		flex-direction: column;
		gap: 32px;
		text-align: center;
	}

	.elementor .rams-announcement--campaign .rams-option-button {
		min-width: 0;
		width: 100%;
	}
}

.rams-option-hero__title,
.rams-announcement__title,
.rams-homepage-cta__title {
	margin: 0;
	font-family: "asfalto", "vinyl", sans-serif;
	font-weight: 500;
	line-height: 1;
	text-transform: uppercase;
	text-wrap: balance;
}

.elementor .rams-option-hero__title {
	color: var(--rams-shell-white, #fff);
	font-size: clamp(3.25rem, 8vw, 6rem);
	letter-spacing: -0.015em;
}

.rams-option-hero__supporting,
.rams-announcement__supporting {
	max-width: 65ch;
	font-size: clamp(1rem, 1.5vw, 1.125rem);
	line-height: 1.55;
}

.rams-option-hero__supporting {
	color: #fff;
}

.rams-announcement__supporting {
	color: #fff;
}

.rams-option-hero__supporting :where(p),
.rams-announcement__supporting :where(p) {
	margin: 0;
}

.rams-option-button {
	display: inline-flex;
	min-height: 46px;
	align-items: center;
	justify-content: center;
	padding: 0.75rem 1.375rem;
	border: 1px solid transparent;
	border-radius: 5px;
	font-family: var(--rams-font-body, "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif);
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
}

.rams-option-button--primary {
	border-color: var(--rams-shell-blue, #0056a7);
	background: var(--rams-shell-blue, #0056a7);
	color: var(--rams-shell-white, #fff);
}

.rams-option-button--primary:is(:hover, :focus-visible) {
	border-color: var(--rams-shell-orange, #f59e0b);
	background: var(--rams-shell-orange, #f59e0b);
	color: var(--rams-shell-white, #fff);
}

.rams-option-button--announcement {
	background: var(--rams-shell-deep-navy, #03101d);
	color: var(--rams-shell-white, #fff);
}

.rams-option-button--secondary {
	border-color: var(--rams-shell-navy, #08243f);
	background: var(--rams-shell-white, #fff);
	color: var(--rams-shell-navy, #08243f);
}

.rams-option-button--secondary:is(:hover, :focus-visible) {
	border-color: var(--rams-shell-orange, #f59e0b);
	background: var(--rams-shell-orange, #f59e0b);
	color: var(--rams-shell-white, #fff);
}

.elementor .rams-home-gallery {
	display: grid;
	width: 100%;
	height: auto;
	min-height: 0;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	grid-template-columns: minmax(0, 2fr) minmax(8rem, 1fr);
	grid-template-rows: repeat(3, minmax(0, 1fr));
	gap: 0.5rem;
	border-radius: 8px;
}

.elementor .rams-home-gallery__item {
	min-width: 0;
	min-height: 0;
	margin: 0;
	overflow: hidden;
}

.elementor .rams-home-gallery__item:first-child {
	grid-row: 1 / -1;
}

.elementor .rams-home-gallery__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.elementor :is(.rams-announcement-band, #rams-announcement-band):not(:has(.rams-announcement)),
.elementor :is(.rams-cta-band, #rams-cta-band):not(:has(.rams-homepage-ctas)) {
	display: none;
}

.rams-announcement {
	display: flex;
	width: 100%;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem 2.5rem;
}

.rams-announcement__copy {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 0.5rem;
}

.rams-announcement__title {
	color: var(--rams-shell-deep-navy, #03101d);
	font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.rams-homepage-ctas {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(1.5rem, 4vw, 3rem);
}

.elementor .rams-homepage-cta {
	position: relative;
	display: flex;
	width: 100%;
	min-width: 0;
	min-height: 0;
	aspect-ratio: 1.618 / 1;
	align-items: center;
	overflow: clip;
	isolation: isolate;
	background: var(--rams-shell-deep-navy, #03101d);
	border-radius: 0;
	color: inherit;
	text-decoration: none;
}

.elementor .rams-homepage-cta::before {
	display: none;
}

.elementor .rams-homepage-cta__media {
	position: absolute;
	z-index: 0;
	inset: 0;
	width: 100%;
	height: 100%;
}

.elementor .rams-homepage-cta__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.elementor .rams-homepage-cta__body {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: flex-start;
	flex-direction: column;
	gap: 1.5rem;
	padding: clamp(1.5rem, 4vw, 2.5rem);
}

.elementor .rams-homepage-cta__title {
	max-width: 11ch;
	color: var(--rams-shell-white, #fff);
	font-size: clamp(2.5rem, 5vw, 4.5rem);
}

.rams-social-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.5rem;
}

.rams-social-links__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: inherit;
	font-weight: 700;
	text-underline-offset: 0.2em;
}

.rams-social-links__icon {
	display: block;
	width: 1.5rem;
	height: 1.5rem;
}

.rams-copyright {
	margin: 0;
}

@media (max-width: 48rem) {
	.elementor .rams-home-gallery {
		min-height: 0;
		aspect-ratio: 1 / 1;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-template-rows: repeat(2, minmax(0, 1fr));
	}

	.elementor .rams-home-gallery__item:first-child {
		grid-row: auto;
	}

	.rams-announcement {
		align-items: flex-start;
		flex-direction: column;
	}

	.rams-homepage-ctas {
		grid-template-columns: 1fr;
	}

	.elementor .rams-homepage-cta {
		aspect-ratio: 1;
	}
}

/* Provider descendants have no styling controls in Elementor's Shortcode widget. */
.rams-subscribe-band .gform_wrapper {
	width: 100%;
	max-width: 40rem;
	margin-inline: auto;
	text-align: left;
}

.rams-subscribe-band .gform_wrapper :is(.gfield_label, .gfield_required, .gfield_required_text, .gform-field-label, .gfield_description) {
	color: #fff;
	font-family: var(--rams-font-body, "Montserrat", sans-serif);
	font-size: 16px;
	line-height: 1.5;
}

.rams-subscribe-band .gform_wrapper input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]) {
	min-height: 46px;
	font-size: 16px;
}

.rams-subscribe-band .gform_wrapper .gfield_checkbox {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 24px;
}

.rams-subscribe-band .gform_wrapper .gchoice {
	display: flex;
	align-items: flex-start;
	gap: 8px;
}

.rams-subscribe-band .gform_wrapper input[type="checkbox"] {
	flex: 0 0 20px;
	width: 20px;
	height: 20px;
}

.rams-subscribe-band .gform_wrapper input[type="submit"] {
	min-height: 44px;
	font: 700 16px/1.4 var(--rams-font-body, "Montserrat", sans-serif);
	background: var(--rams-shell-blue, #0056a7);
	color: #fff;
	padding: 12px 28px;
}

/* Subscribe placeholder for ticket 12 — deferred to ticket 18. */
.rams-subscribe-placeholder {
	width: 100%;
	max-width: 40rem;
	display: flex;
	align-items: stretch;
	flex-direction: column;
	gap: 1rem;
}

.rams-subscribe-placeholder__notice {
	order: 1;
	margin: 0;
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.75rem;
	line-height: 1.55;
	text-align: center;
}

.rams-subscribe-placeholder__fields {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rams-subscribe-placeholder__field {
	display: flex;
	flex-direction: column;
	gap: 0.375rem;
}

.rams-subscribe-placeholder__label {
	color: #fff;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.rams-subscribe-placeholder__input,
.rams-subscribe-placeholder__preferences,
.rams-subscribe-placeholder__button {
	border: 1px solid rgba(255, 255, 255, 0.35);
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
}

.rams-subscribe-placeholder__input {
	min-height: 46px;
	padding: 0.75rem 1rem;
	border-radius: 5px;
	font: inherit;
}

.rams-subscribe-placeholder__input:disabled,
.rams-subscribe-placeholder__button:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.rams-subscribe-placeholder__preferences {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1.5rem;
	margin: 0;
	padding: 0.5rem 0;
	border: 0;
	background: transparent;
}

.rams-subscribe-placeholder__check {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	color: rgba(255, 255, 255, 0.85);
	font-size: 0.875rem;
}

.rams-subscribe-placeholder__check input[type="checkbox"] {
	width: 1rem;
	height: 1rem;
	margin: 0;
	accent-color: var(--rams-shell-orange, #f59e0b);
}

.rams-subscribe-placeholder__button {
	align-self: stretch;
	min-height: 46px;
	padding: 0.75rem 1.5rem;
	border-radius: 5px;
	font-family: var(--rams-font-body, "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif);
	font-size: 0.875rem;
	font-weight: 700;
	text-transform: uppercase;
}

@media (max-width: 36rem) {
	.rams-subscribe-placeholder__fields {
		grid-template-columns: 1fr;
	}

	.rams-subscribe-placeholder__preferences {
		justify-content: flex-start;
	}
}
