/**
 * Creator Day styles. Scoped to .gxca-cd so theme rules are untouched.
 * Colours are custom properties for the theme to override; defaults meet
 * WCAG 2.1 AA (text ≥ 4.5:1, UI ≥ 3:1). Focus is always visible.
 *
 * @package GXCA\CreatorDay
 * @since   1.0.0
 */

/*
 * Text for assistive technology only. Used for the accessible name on each
 * gallery thumbnail, the registration section's heading, and the legend on a
 * fieldset the design shows no visible heading for.
 *
 * Not display:none and not visibility:hidden: both remove the element from the
 * accessibility tree, which is the opposite of the point. The element stays in
 * the tree and out of the picture.
 *
 * It was missing until 14 September 2026, so every one of those strings
 * rendered as visible text under the images and above the forms.
 */
.gxca-cd-visually-hidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	border: 0;
	overflow: hidden;
	white-space: nowrap;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
}

.gxca-cd,
.gxca-cd-page {
	--gxca-cd-ink: #1a1a1a;
	--gxca-cd-muted: #4a4a4a;
	--gxca-cd-accent: #0a3d62;
	--gxca-cd-accent-ink: #ffffff;
	--gxca-cd-surface: #ffffff;
	--gxca-cd-line: #767f88;
	--gxca-cd-focus: #0a3d62;
	--gxca-cd-success-ink: #1b5e20;
	--gxca-cd-success-bg: #e8f5e9;
	--gxca-cd-alert-ink: #8a1c1c;
	--gxca-cd-alert-bg: #fdecea;
	--gxca-cd-radius: 4px;
	--gxca-cd-gap: 1.5rem;
	--gxca-cd-target: 44px;

	color: var(--gxca-cd-ink);
	line-height: 1.5;
	font-size: 1rem;
}

/*
 * The sign-in surface is the one dark ground in the module. The default token
 * values are chosen for a white card, and #8a1c1c error text on navy is around
 * 2:1, which is unreadable on the page where getting an error is most likely.
 *
 * Only the tokens that carry meaning on a coloured ground are redefined. The
 * layout and the components are untouched, which is what the tokens are for.
 */
.gxca-cd-signin {
	--gxca-cd-ink: #ffffff;
	--gxca-cd-muted: #d6dee6;
	--gxca-cd-line: #ffffff59;
	--gxca-cd-focus: #ffffff;
	--gxca-cd-alert-ink: #ffb4ab;
	--gxca-cd-alert-bg: #4a1410;
	--gxca-cd-success-ink: #9fe6b0;
	--gxca-cd-success-bg: #12341c;
}

/*
 * The withdraw form is the module's other dark ground. It sits inside the
 * registered notice on the blue section, where the surrounding copy is already
 * set in text-white, so the default tokens put dark ink and dark green on dark
 * blue: "You have withdrawn" was green on green.
 *
 * Declared on the form itself rather than patched into each rule, so the
 * surface carries its own palette the way .gxca-cd-signin does. Same values,
 * for the same reason. Only the three tokens the status and error messages
 * read are redefined.
 */
.withdraw-form {
	--gxca-cd-ink: #ffffff;
	--gxca-cd-alert-ink: #ffb4ab;
	--gxca-cd-success-ink: #9fe6b0;
}

/*
 * Step 1 is sized to hold the full-screen welcome splash. The splash renders
 * for unidentified visitors only, so a signed-in creator got a whole viewport
 * wrapped around a one-line notice. This is what the section gets instead once
 * the height classes are dropped: the top padding still clears the fixed nav,
 * and the bottom padding matches it rather than collapsing to nothing.
 */
.gxca-cd-step1--compact {
	padding-bottom: 120px;
}

@media (max-width: 639px) {
	.gxca-cd-step1--compact {
		padding-bottom: 2.5rem;
	}
}

/*
 * The retiring notice. max-height is animated from a measured pixel value set
 * by the script, because a section sized by its contents has no height CSS can
 * interpolate from. Padding goes with it, or the section would collapse to a
 * band of empty blue rather than to nothing.
 */
.gxca-cd-retire {
	overflow: hidden;
	transition: max-height 460ms ease, opacity 300ms ease, padding-top 460ms ease, padding-bottom 460ms ease;
}

.gxca-cd-retire[data-gxca-retired="true"] {
	max-height: 0 !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	opacity: 0;
}

/*
 * Someone who asked not to be moved gets the same outcome without the travel.
 * The script skips the animation entirely in this case; this is the belt to
 * that braces, in case the class is applied before the query is read.
 */
@media (prefers-reduced-motion: reduce) {
	.gxca-cd-retire {
		transition: none;
	}
}

.gxca-cd {
	/* margin: 0 auto var(--gxca-cd-gap); */
	/* max-width: 44rem; */
}

.gxca-cd-page__inner {
	/* max-width: 44rem; */
	margin: 0 auto;
}

.gxca-cd-page__title {
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	line-height: 1.15;
	margin: 0 0 var(--gxca-cd-gap);
}

.gxca-cd-title {
	font-size: clamp(1.375rem, 3vw, 1.75rem);
	line-height: 1.2;
	margin: 0 0 1rem;
}

.gxca-cd-meta,
.gxca-cd-hint {
	color: var(--gxca-cd-muted);
	font-size: 0.9375rem;
	margin: 0 0 0.5rem;
}

.gxca-cd-notice {
	border-left: 4px solid var(--gxca-cd-accent);
	padding: 0.75rem 1rem;
	margin: 0 0 1rem;
	background: var(--gxca-cd-surface);
}

.gxca-cd-notice--success {
	border-left-color: var(--gxca-cd-success-ink);
	background: var(--gxca-cd-success-bg);
	color: var(--gxca-cd-success-ink);
}

.gxca-cd-alert {
	border-left: 4px solid var(--gxca-cd-alert-ink);
	background: var(--gxca-cd-alert-bg);
	color: var(--gxca-cd-alert-ink);
	padding: 0.75rem 1rem;
	margin: 0 0 1rem;
}

.gxca-cd-link {
	color: var(--gxca-cd-accent);
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

/* Focus: visible on every control, on any background. */
/* .gxca-cd :focus-visible,
.gxca-cd-page :focus-visible {
	outline: 3px solid var(--gxca-cd-focus);
	outline-offset: 2px;
	box-shadow: 0 0 0 5px var(--gxca-cd-surface);
} */

/* Placeholder text at 7:1 rather than the browser default. */
.gxca-cd ::placeholder {
	color: #595959;
	opacity: 1;
}


/*
 * align-items: start is load-bearing. Without it the two cells stretch to
 * match each other, so anything that makes one taller (a validation error, a
 * hint) pushes the OTHER field's input down the page rather than simply
 * making the row taller. The result reads as the form jumping sideways when
 * you get something wrong.
 */
.gxca-cd-grid {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(2, 1fr);
	align-items: start;
}

.gxca-cd-field {
	display: grid;
	gap: 0.25rem;
	margin: 0 0 1rem;
	min-width: 0;
	/* Same reason: the label, input and error stay together at the top of the
	   cell instead of spreading to fill whatever height a sibling forced. */
	align-content: start;
	align-items: end;
	align-content: end;
}

.gxca-cd-field>label,
.gxca-cd-field--group>legend {
	font-weight: 600;
}

.gxca-cd-form .form-field .gxca-cd-field input:focus-visible {
	outline: unset;
	outline-offset: unset;
	box-shadow: unset;
}

/* .gxca-cd-field input:not([type="checkbox"]),
.gxca-cd-field select,
.gxca-cd-field textarea {
	width: 100%;
	min-height: var(--gxca-cd-target);
	padding: 0.5rem 0.75rem;
	border: 1px solid var(--gxca-cd-muted);
	border-radius: var(--gxca-cd-radius);
	background: var(--gxca-cd-surface);
	color: var(--gxca-cd-ink);
	font: inherit;
	box-sizing: border-box;
} */

.gxca-cd-field--invalid input,
.gxca-cd-field--invalid select,
.gxca-cd-field--invalid textarea {
	border-color: var(--gxca-cd-alert-ink);
	border-width: 2px;
}

.gxca-cd-required {
	color: var(--gxca-cd-alert-ink);
}

.gxca-cd-error {
	color: var(--gxca-cd-alert-ink);
	font-weight: 600;
	margin: 0;
}

.gxca-cd-error[hidden] {
	display: none;
}

.gxca-cd-field--group {
	border: 0;
	padding: 0;
	display: flex;
	justify-content: flex-start;
	flex-wrap: wrap;
}

.gxca-cd-check {
	display: grid;
	grid-template-columns: var(--gxca-cd-target) 1fr;
	align-items: center;
	min-height: var(--gxca-cd-target);
}

.gxca-cd-check input[type="checkbox"] {
	width: 20px;
	height: 20px;
	margin: 5px 10px 5px 10px;
	accent-color: #ff5400;
}

.gxca-cd-check label {
	padding: 0.625rem 0;
	font-weight: 400;
}

.gxca-cd-consent label {
	font-size: 0.9375rem;
}

.gxca-cd-actions {
	margin: 0;
}

.gxca-cd-button {
	display: inline-block;
	min-height: var(--gxca-cd-target);
	padding: 0.625rem 1.25rem;
	border: 2px solid var(--gxca-cd-accent);
	border-radius: var(--gxca-cd-radius);
	background: var(--gxca-cd-accent);
	color: var(--gxca-cd-accent-ink);
	font: inherit;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
}

.gxca-cd-button:hover {
	filter: brightness(1.1);
}

.gxca-cd-button:disabled {
	opacity: 0.6;
	cursor: wait;
}

.gxca-cd-button--secondary {
	background: var(--gxca-cd-surface);
	color: var(--gxca-cd-accent);
}

.gxca-cd-button--link {
	background: transparent;
	border-color: transparent;
	color: var(--gxca-cd-accent);
	text-decoration: underline;
	padding-left: 0;
	padding-right: 0;
}

.gxca-cd-status {
	margin: 0;
	min-height: 1.5em;
}

.gxca-cd-status--success {
	color: var(--gxca-cd-success-ink);
	font-weight: 600;
}

.gxca-cd-legacy {
	border-top: 1px solid var(--gxca-cd-line);
	padding-top: 1rem;
	margin-top: 1rem;
}

.gxca-cd-legacy>summary {
	cursor: pointer;
	min-height: var(--gxca-cd-target);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 600;
}

/* Session bar */
.gxca-cd-session {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem 1rem;
	border-bottom: 1px solid var(--gxca-cd-line);
	padding-bottom: 0.5rem;
	padding-left: 0.5rem;
	padding-right: 0.5rem;
}

.gxca-cd-session__who {
	margin: 0;
	color: var(--gxca-cd-muted);
}

/* Event details */
.gxca-cd-details__list {
	display: grid;
	gap: 1rem;
	margin: 0 0 1rem;
}

.gxca-cd-details__row {
	display: grid;
	grid-template-columns: 6rem 1fr;
	gap: 1rem;
}

.gxca-cd-details__row>dt {
	font-weight: 600;
	color: var(--gxca-cd-muted);
}

.gxca-cd-details__row>dd {
	margin: 0;
}

/* Agenda: the time column is a rail; computed times sit on it. */
.gxca-cd-agenda__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.5rem 1rem;
}

.gxca-cd-agenda__list {
	list-style: none;
	margin: 0;
	padding: 0;
	border-left: 2px solid var(--gxca-cd-line);
}

.gxca-cd-agenda__item {
	display: grid;
	grid-template-columns: 7.5rem 1fr;
	gap: 0.5rem 1rem;
	padding: 0.75rem 0 0.75rem 1rem;
	position: relative;
}

.gxca-cd-agenda__item::before {
	content: "";
	position: absolute;
	left: -7px;
	top: 1.15rem;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--gxca-cd-accent);
}

.gxca-cd-agenda__item--break::before {
	background: var(--gxca-cd-surface);
	border: 2px solid var(--gxca-cd-line);
	box-sizing: border-box;
}

.gxca-cd-agenda__time {
	margin: 0;
	display: grid;
	font-variant-numeric: tabular-nums;
}

.gxca-cd-agenda__time>time {
	font-weight: 600;
}

.gxca-cd-agenda__duration {
	color: var(--gxca-cd-muted);
	font-size: 0.9375rem;
}

.gxca-cd-agenda__title {
	font-size: 1.125rem;
	margin: 0 0 0.25rem;
}

.gxca-cd-agenda__item--break .gxca-cd-agenda__title {
	font-weight: 400;
	color: var(--gxca-cd-muted);
}

.gxca-cd-agenda__description {
	margin: 0 0 0.5rem;
}

.gxca-cd-speakers {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.5rem;
}

.gxca-cd-speaker {
	display: grid;
	grid-template-columns: auto 1fr;
	grid-template-rows: auto auto;
	column-gap: 0.5rem;
	align-items: center;
}

.gxca-cd-speaker__photo {
	grid-row: 1 / span 2;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	object-fit: cover;
}

.gxca-cd-speaker__role {
	color: var(--gxca-cd-muted);
	font-size: 0.9375rem;
}

.gxca-cd-research__tabs [aria-selected="true"] {
	background: #03242B;
	color: #fff;
}

.gxca-cd-research__item--teaser {
	border-style: dashed;
}

.gxca-cd-research__title {
	font-size: 1.125rem;
	margin: 0;
}

.gxca-cd-research__description {
	margin: 0;
}

/* Recap */
.gxca-cd-recap__video {
	margin: 0 0 1.5rem;
}

.gxca-cd-recap__video iframe {
	width: 100%;
	aspect-ratio: 16 / 9;
	height: auto;
	border: 0;
}

.gxca-cd-recap__subtitle {
	font-size: 1.125rem;
	margin: 0 0 0.75rem;
}

/* Gallery: one six-column grid at every width, with the span doing the work.
 *
 * Six columns rather than three because the video needs to sit two photographs
 * wide, and because a phone divides the same row three ways. Nothing here is a
 * separate grid per breakpoint; only the spans change.
 *
 * Desktop gives every photograph the same portrait box, which is the rule the
 * client set. A phone is the one place shape matters: a landscape photograph
 * takes a wider, shorter tile so it is not cropped to a third of itself, which
 * is what the mobile design draws.
 */
.gxca-cd-gallery {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: var(--gxca-cd-gallery-gap, 0.75rem);
	grid-auto-flow: row dense;
}

.gxca-cd-gallery__item {
	margin: 0;
	grid-column: span 2;
}

.gxca-cd-gallery__item--video {
	grid-column: span 4;
}

.gxca-cd-gallery__trigger,
.gxca-cd-gallery__image,
.gxca-cd-gallery__placeholder {
	aspect-ratio: var(--gxca-cd-tile-aspect, 4 / 5);
}

.gxca-cd-gallery__item--video .gxca-cd-gallery__trigger,
.gxca-cd-gallery__item--video .gxca-cd-gallery__image,
.gxca-cd-gallery__item--video .gxca-cd-gallery__placeholder {
	aspect-ratio: var(--gxca-cd-video-aspect, 8 / 5);
}

.gxca-cd-gallery__image {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	border-radius: var(--gxca-cd-radius-media, 12px);
}

.gxca-cd-gallery__trigger {
	display: block;
	position: relative;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
	border-radius: var(--gxca-cd-radius-media, 12px);
}

/* Rendered hidden and revealed by script: without JavaScript every photograph
   shows, which is the right way round for a control whose only job is to
   shorten the page. */
.gxca-cd-gallery__more {
	margin: 1.5rem 0 0;
	text-align: center;
}

.creator-day-questions-feedback {
	gap: 40px;
	max-width: 720px;
}

.creator-day-questions-feedback p.has-medium-font-size {
	text-align: center;
}

.creator-day-questions-feedback .block-wrapper-gravityforms {
	background: transparent;
}
.creator-day-questions-feedback .block-wrapper-gravityforms legend.gform-field-label {
	padding-right: 0 !important;
}

.gform_heading {
	display: none;
}

.gxca-cd-questions .gfield_label.gform-field-label {
	display: block;
	color: #002F37 !important;
	font-size: 16px;
	font-weight: 500 !important;
}
.gxca-cd-questions .gfield--input-type-radio .gfield_label.gform-field-label {
	margin-left: auto;
	margin-right: auto;
}

.gxca-cd-questions .gfield_label.gform-field-label .gfield_required {
	display: none;
}

.gxca-cd-questions .ginput_container_radio {
	background: #fff;
	padding: 8px;
	border-radius: 16px;

}

.gxca-cd-questions .ginput_container_radio .gchoice {
	display: flex;
	align-items: center;
}

.gxca-cd-questions .ginput_container_radio .gchoice .gfield-choice-input {
	position: absolute;
	opacity: 0;
}

.gxca-cd-questions .ginput_container_radio .gchoice label {
	font-weight: 400;
	font-size: 16px;
	line-height: 100%;
	letter-spacing: 0%;
	text-align: center;
	text-transform: capitalize;
	color: #03242B !important;
	margin: 0;

}

.gxca-cd-questions .ginput_container_radio .gchoice {

	opacity: 1;
	border-radius: 8px;
	padding: 5px 20px;
	margin: 0 !important;
}

.gxca-cd-questions .ginput_container_radio .gchoice:has(input[type="radio"]:checked) {
	background: #03242B !important;
}

.gxca-cd-questions .ginput_container_radio .gchoice:has(input[type="radio"]:checked) label {
	color: #fff !important;
}

.gxca-cd-questions .gfield--type-radio {
	display: flex !important;
	flex-direction: column;
	align-items: center;
	gap: 20px;
}

.creator-day-questions-feedback .gxca-cd-questions input {
	border: none;
	padding: 20px 15px;
}

.creator-day-questions-feedback .gxca-cd-questions textarea:focus,
.creator-day-questions-feedback .gxca-cd-questions textarea:focus-visible {
	outline: unset;
	outline-offset: unset;
}

.creator-day-questions-feedback .gxca-cd-questions textarea {
	border: none;
}

.creator-day-questions-feedback .gxca-cd-questions label {
	color: #002F37 !important;
	font-size: 16px;
	font-weight: 500 !important;
}

.creator-day-questions-feedback input[type="checkbox"] {
	position: relative;
	padding: 0px;
	border: 2px solid #002F37;
}

.creator-day-questions-feedback input[type="checkbox"]:focus,
.creator-day-questions-feedback input[type="checkbox"]:focus-visible {
	outline: 2px solid #ff5400;
	outline-offset: 2px;
}

.creator-day-questions-feedback input[type="checkbox"]:checked {
	border-color: #ff5400;
}

.creator-day-questions-feedback input[type="checkbox"]:checked::before {
	position: absolute;
	top: -0.125rem;
	left: -0.125rem;
	color: rgb(255 84 0 / 1) !important;
	opacity: 1;
	content: url("../../../../assets/svgs/icon-checked.svg");
}

/* subscription-form */
.subscriptionf-form .block-wrapper-gravityforms {
	padding: 0px;
	background: unset;
}

.subscriptionf-form select {
	border-radius: 6px;
}

.subscriptionf-form input[type="checkbox"] {
	position: relative;
	border: 2px solid #fff;
}

.subscriptionf-form input[type="checkbox"]:focus,
.subscriptionf-form input[type="checkbox"]:focus-visible {
	outline: 2px solid #ff5400;
	outline-offset: 2px;
}

.subscriptionf-form input[type="checkbox"]:checked {
	border-color: #ff5400;
}

.subscriptionf-form input[type="checkbox"]:checked::before {
	position: absolute;
	top: -0.125rem;
	left: -0.125rem;
	color: rgb(255 84 0 / 1) !important;
	opacity: 1;
	content: url("../../../../assets/svgs/icon-checked.svg");
}

.event-toggle-btn.toggle-active span {
	background-color: transparent;
}

.event-toggle-btn span::after {
	background-color: #ffffff;
	position: absolute;
	bottom: -6px;
	left: 0;
	content: "";
	height: 2px;
	transition: all 0.5s ease-in-out;
	width: 14px;
}

.event-toggle-btn.toggle-active span::after {
	transform: rotate(-45deg);
	bottom: 0;
}

.event-toggle-btn span::before {
	background-color: #ffffff;
	position: absolute;
	top: -6px;
	left: 0;
	content: "";
	height: 2px;
	transition: all 0.5s ease-in-out;
	width: 14px;
}

.event-toggle-btn.toggle-active span::before {
	transform: rotate(45deg);
	top: 0;
}

.creator-day-questions-feedback .ginput_container.ginput_container_radio .gfield_radio {
	flex-direction: row !important;
}

@media (max-width: 47.9375rem) {
	.gxca-cd-gallery__item {
		grid-column: span 3;
	}

	.gxca-cd-gallery__item--video {
		grid-column: span 6;
	}
}

@media (max-width: 30rem) {

	.gxca-cd-details__row,
	.gxca-cd-agenda__item {
		grid-template-columns: 1fr;
	}

	.gxca-cd-gallery__item--portrait {
		grid-column: span 2;
	}

	/* Full width rather than half: a landscape tile beside a portrait one fills
	   five columns of six, and the leftover column can never be filled, so the
	   grid ends up gap-toothed. Giving landscape the whole row means every row
	   closes whatever order the photographs arrive in. */
	.gxca-cd-gallery__item--landscape {
		grid-column: span 6;
		--gxca-cd-tile-aspect: 16 / 9;
	}

	.gxca-cd-gallery__item--video {
		grid-column: span 6;
		--gxca-cd-video-aspect: 16 / 9;
	}
}

@media (prefers-reduced-motion: reduce) {

	.gxca-cd *,
	.gxca-cd-page * {
		transition: none !important;
		animation: none !important;
	}
}

@media (forced-colors: active) {
	.gxca-cd-button {
		border: 2px solid ButtonText;
	}

	.gxca-cd-agenda__item::before {
		background: CanvasText;
	}
}

/* ---- year tabs (gallery and research) -------------------------------------------------
 * Deliberately unstyled beyond layout: the active state is carried on
 * aria-selected so the visual treatment can be added in one place later
 * without touching the markup or the script.
 */
.gxca-cd-gallery__tabs,
.gxca-cd-research__tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin: 0 0 1rem;
}

.gxca-cd-gallery__tab {
	background: none;
	border: 0;
	padding: 0.25rem 0;
	color: inherit;
	cursor: pointer;
}

.gxca-cd-gallery__tab[aria-selected="true"] {
	color: #E34B00 !important;
	opacity: 1 !important;
}

/* Panel headings label each grid when the tab bar is absent (no JavaScript).
 * With tabs running, the tab is the label, so the heading is taken out of the
 * visual flow but left for assistive technology. */
.gxca-cd-tabs-ready .gxca-cd-gallery__panel-title,
.gxca-cd-tabs-ready .gxca-cd-research__panel-title {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

/* ---- video tiles ---- */
.gxca-cd-gallery__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	text-align: center;
	background: var(--gxca-cd-surface-alt, #f2f2f2);
}

.gxca-cd-lightbox__video {
	max-width: 100%;
	border: 0;
	aspect-ratio: 16 / 9;
	height: auto;
}

.cursor-video {
	cursor: play;
}

.cursor-magnify {
	cursor: zoom-in;
}

.gxca-cd-lightbox__image,
.gxca-cd-lightbox__video {
	max-height: 75vh;
}

/* Forms */
.gxca-cd-form {
	display: grid;
	gap: 1rem;
}

.gxca-cd-form label {
	display: block;
	width: 100%;
	font-family: Brown Std, sans-serif;
	color: #fff;
	font-weight: 700;
	font-size: 1rem;
	line-height: 1;
	margin-bottom: 0.5rem;
}

.gxca-cd-form.register label {
	color: #696969;
}

.gxca-cd-fieldset {
	border: 1px solid var(--gxca-cd-line);
	border-radius: var(--gxca-cd-radius);
	padding: 1rem;
	margin: 0;
	min-width: 0;
}

/* .gxca-cd-form.register .gxca-cd-fieldset{
	border: unset;
	border-radius: unset;
	padding: 0px;
} */
.gxca-cd-form.register .gxca-cd-hint {
	color: #A4A4A4;
	font-family: Brown Std, sans-serif;
}
.gxca-cd .gxca-cd-form.register :focus-visible {
	outline-offset: none;
	box-shadow: none;
}

.gxca-cd-fieldset>legend {
	font-weight: 600;
	padding: 0 0.5rem;
}

.gxca-cd-check label {
	margin: 0;
	padding: 0;
	line-height: 1;
	display: inline-block;
	text-transform: unset;
    line-height: 1.2;
}

dialog.gxca-cd-lightbox:before {
	background: #ffffff7d;
	content: "";
	position: fixed;
	height: 100%;
	width: 100%;
	left: 0;
	top: 0;
	z-index: -1;
}

.gxca-cd-fieldset legend {
	color: #696969;
	font-weight: 700;
	font-size: 1.25rem;
}

.gxca-cd-hint {
	color: #fff;
}

/*
 * Was color: #fff, which suited the sign-in page and made every message on the
 * registration form white on a white card. A rate-limit refusal, the one thing
 * a person most needs to read, was invisible there.
 *
 * The token resolves to dark ink on a light card and to white under
 * .gxca-cd-signin, so one value is correct on both.
 */
.gxca-cd-form .gxca-cd-status {
	color: var(--gxca-cd-ink);
}

/*
 * The success modifier is a single class, so the rule above outranked it and
 * every "saved" message inside a form took the neutral ink. Both tokens are
 * already defined for each ground (dark green on white, pale green under
 * .gxca-cd-signin), so this restores the distinction between a refusal and a
 * confirmation without touching either palette.
 */
.gxca-cd-form .gxca-cd-status--success {
	color: var(--gxca-cd-success-ink);
}

/*
 * And the other half of the same problem. A refusal used to take the neutral
 * ink, so "we could not save that" and "check your email" were the same
 * colour. The alert token is defined on every ground the module has: dark red
 * on a white card, pale red under .gxca-cd-signin and .withdraw-form.
 *
 * Colour is not carrying this alone. The message text says what went wrong,
 * the failing fields get their own inline errors, and focus moves to the first
 * of them. This is the redundant cue, not the only one.
 */
.gxca-cd-form .gxca-cd-status--error {
	color: var(--gxca-cd-alert-ink);
	font-weight: 600;
}
.withdraw-form .gxca-cd-check {
	margin: 0 auto;
}
.sucess-submit-data .gxca-cd-submitted__body button,
.sucess-submit-data .gxca-cd-submitted__resend button { color: #ff5400;}
.gxca-cd .gaxca-signin-container,
.gxca-cd-signin .gaxca-signin-container {
	max-width: 450px;
}
.gxca-cd-signin form{
	margin-top: 20px;
}
.gxca-cd-submitted__resend{
	margin-top: 20px;
}
@media (max-width: 767px) {
	.gxca-cd-grid {
		grid-template-columns: repeat(1, 1fr);
	}
}

/*
 * My events. Structural only: spacing, the list reset, and the one thing that
 * carries meaning, which is that a past year reads as a record rather than
 * something to act on. Everything visual here is a baseline for Umang to
 * replace, not a design.
 */
.gxca-cd-my-events__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.75rem;
}

.gxca-cd-my-events__item {
	border: 1px solid var(--gxca-cd-line);
	border-radius: var(--gxca-cd-radius);
	padding: 1rem;
}

.gxca-cd-my-events__year {
	margin: 0;
	font-weight: 700;
}

.gxca-cd-my-events__meta,
.gxca-cd-my-events__status {
	margin: 0.25rem 0 0;
	color: var(--gxca-cd-muted);
}

.gxca-cd-my-events__withdraw,
.gxca-cd-my-events__action {
	margin-top: 0.75rem;
}

/*
 * Greyed, not hidden, and deliberately not opacity on the whole item: fading a
 * container fades its focus ring and its borders too, and a past year still has
 * to be readable. Muted ink says "record" while keeping contrast.
 */
.gxca-cd-my-events__item--past {
	background: var(--gxca-cd-surface-alt, #f2f2f2);
}

.gxca-cd-my-events__item--past .gxca-cd-my-events__year,
.gxca-cd-my-events__item--past .gxca-cd-my-events__status {
	font-weight: 400;
	color: var(--gxca-cd-muted);
}

.bg-blue.py-5.notice-hide-if-empty:has(div:empty) {
    display: none;
}

.notice-hide-if-empty {
    margin-top: 125px;
}