/*
 * Gated Webinars — front-end styles.
 *
 * Deliberately restrained: typography is inherited from the active theme so the
 * section never looks bolted on. Every colour and radius is a custom property,
 * so the whole module can be re-skinned to brand from one block.
 */

.aaw-single,
.aaw-archive,
.aaw-grid,
.aaw-gate,
.aaw-player {
	--aaw-accent: #1f6f5c;
	--aaw-accent-ink: #ffffff;
	--aaw-accent-blue:#202696;
	--aaw-ink: #16211f;
	--aaw-muted: #5d6b68;
	--aaw-line: rgba(22, 33, 31, 0.12);
	--aaw-surface: #ffffff;
	--aaw-surface-alt: #f5f7f6;
	--aaw-radius: 10px;
	--aaw-shadow:0 1px 2px rgba(16, 24, 22, 0.04), 0 10px 22px -18px rgba(16, 24, 22, 0.30);
}

/* ---------- Layout ---------- */

.aaw-single,
.aaw-archive {
/* 	max-width: 1080px; */
	max-width:1400px;
	margin: 0 auto;
	padding: clamp(2rem, 5vw, 4rem) 1.25rem;
}

.aaw-single {
	max-width: 860px;
}

.aaw-archive__header {
/* 	margin-bottom: 2.5rem; */
	margin-bottom:50px;
/* 	max-width: 62ch; */
	max-width:100%;
	text-align: center;
}

.aaw-archive__title {
	margin: 0 0 0.5rem;
}

.aaw-eyebrow {
	margin: 0 0 0.5rem;
	font-size: 0.8125rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--aaw-muted);
}

.aaw-eyebrow a {
	color: inherit;
	text-decoration: none;
}

.aaw-eyebrow a:hover {
	color: var(--aaw-accent);
}

.aaw-single__title {
	margin: 0 0 0.75rem;
	line-height: 1.15;
}

.aaw-meta-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.25rem;
	margin: 0 0 1.75rem;
	padding: 0;
	list-style: none;
	color: var(--aaw-muted);
	font-size: 0.9375rem;
}

.aaw-meta-list li + li {
	position: relative;
}

.aaw-meta-list li + li::before {
	content: "";
	position: absolute;
	left: -0.6875rem;
	top: 50%;
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background: currentColor;
	opacity: 0.6;
}

.aaw-single__content {
	margin-top: 2rem;
}

.aaw-topics {
	margin-top: 2rem;
	font-size: 0.9375rem;
	color: var(--aaw-muted);
}

/* ---------- Cards ---------- */

.aaw-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 1.75rem;
}

.aaw-card {
	background: var(--aaw-surface);
	border: 1px solid var(--aaw-line);
	border-radius: var(--aaw-radius);
	overflow: hidden;
	box-shadow: var(--aaw-shadow);
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.aaw-card:hover {
	
	
}

.aaw-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	color: inherit;
	text-decoration: none;
	border-bottom: #202696 6px solid;
}

.aaw-card__media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 9;
	background: var(--aaw-surface-alt);
	overflow: hidden;
}

.aaw-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}

.aaw-card:hover .aaw-card__media img {
	transform: scale(1.03);
}

.aaw-card__placeholder {
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, var(--aaw-surface-alt), #e6ebe9);
}

.aaw-card__play {
	position: absolute;
	left: 1rem;
	bottom: 1rem;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.aaw-card__play::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 54%;
	transform: translate(-50%, -50%);
	border-style: solid;
	border-width: 7px 0 7px 11px;
	border-color: transparent transparent transparent var(--aaw-accent);
}

.aaw-card__duration {
	position: absolute;
	right: 0.75rem;
	bottom: 0.75rem;
	padding: 0.2rem 0.5rem;
	border-radius: 4px;
	background: rgba(12, 18, 17, 0.78);
	color: #fff;
	font-size: 0.75rem;
	letter-spacing: 0.01em;
}

.aaw-card__body {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	padding: 1.25rem;
	flex: 1;
	position:relative;
}


.aaw-card__body::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #202696;
	transform: translate(0%, 102%);
	transition:all 0.55s ease;
    /* z-index: 0; */
} 

.aaw-card__body:hover::after{
	transform: translate(0%, 0%);
}

.aaw-card__title {
	font-family: "Montserrat", sans-serif;
/* 	font-size: 1.0625rem; */
	font-size:1.125rem;
	font-weight: 600;
	line-height: 1.35;
	color: var(--aaw-ink);
	transition:all 0.65s ease;
	position:relative;
	z-index:1;
}



.aaw-card__speaker,
.aaw-card__excerpt {
	font-size: 0.9rem;
/* 	color: var(--aaw-muted); */
	color:#545454;
	line-height: 1.5;
	font-family: "Poppins", sans-serif;
	transition:all 0.65s ease;
	position:relative;
	z-index:1;
}



.aaw-card__cta {
	margin-top: auto;
	padding-top: 0.75rem;
	font-size: 0.875rem;
	font-weight: 600;
/* 	color: var(--aaw-accent); */
	color:var(--aaw-accent-blue);
	transition:all 0.65s ease;
	position:relative;
	z-index:1;
}

.aaw-card__cta::after {
	content: " →";
	transition: margin 0.2s ease;
}

.aaw-card:hover .aaw-card__cta::after {
	margin-left: 0.2rem;
}



.aaw-card__body:hover .aaw-card__title, .aaw-card__body:hover .aaw-card__excerpt, .aaw-card__body:hover .aaw-card__cta {
	color:#fff;
}

/* ---------- Player ---------- */

.aaw-player {
	border-radius: var(--aaw-radius);
	overflow: hidden;
	background: #0d1211;
	box-shadow: var(--aaw-shadow);
}

.aaw-video {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	background: #0d1211;
}

.aaw-embed {
	position: relative;
	aspect-ratio: 16 / 9;
}

.aaw-embed iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.aaw-notice {
	padding: 2rem;
	color: #fff;
	text-align: center;
}

/* ---------- Gate ---------- */

.aaw-gate {
	display: grid;
	grid-template-columns: 1fr;
	border: 1px solid var(--aaw-line);
	border-radius: var(--aaw-radius);
	overflow: hidden;
	background: var(--aaw-surface);
}






@media (min-width: 820px) {
	.aaw-gate {
		grid-template-columns: 1.1fr 1fr;
	}
}

.aaw-gate__poster {
	position: relative;
	min-height: 220px;
	background-size: cover;
	background-position: center;
}

.aaw-gate__poster::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(160deg, rgba(13, 18, 17, 0.15), rgba(13, 18, 17, 0.6));
}

.aaw-gate__lock {
	position: absolute;
	z-index: 1;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.9);
}

.aaw-gate__lock::before {
	content: "";
	position: absolute;
	top: 15px;
	left: 50%;
	transform: translateX(-50%);
	width: 16px;
	height: 12px;
	border: 2.5px solid var(--aaw-accent);
	border-bottom: 0;
	border-radius: 8px 8px 0 0;
}

.aaw-gate__lock::after {
	content: "";
	position: absolute;
	bottom: 14px;
	left: 50%;
	transform: translateX(-50%);
	width: 24px;
	height: 18px;
	border-radius: 4px;
	background: var(--aaw-accent);
}

.aaw-gate__body {
	padding: clamp(1.5rem, 4vw, 2.25rem);
}

.aaw-gate__title {
	margin: 0 0 0.5rem;
	font-size: 1.375rem;
	line-height: 1.25;
}

.aaw-gate__intro {
	margin: 0 0 1.5rem;
	color: var(--aaw-muted);
	font-size: 0.9375rem;
	line-height: 1.6;
}

.aaw-form__row {
	display: grid;
	gap: 1rem;
	grid-template-columns: 1fr 1fr;
}

@media (max-width: 480px) {
	.aaw-form__row {
		grid-template-columns: 1fr;
	}
}

.aaw-form .aaw-field {
	display: block;
	margin-bottom: 1rem;
}

.aaw-label {
	display: block;
	margin-bottom: 0.35rem;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.01em;
	color: var(--aaw-ink);
}

.aaw-req {
	color: #b4442f;
}

.aaw-form input[type="text"],
.aaw-form input[type="email"] {
	width: 100%;
	padding: 0.7rem 0.85rem;
	font: inherit;
	font-size: 0.9375rem;
	color: var(--aaw-ink);
	background: var(--aaw-surface-alt);
	border: 1px solid var(--aaw-line);
	border-radius: 7px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.aaw-form input[type="text"]:focus,
.aaw-form input[type="email"]:focus {
	outline: none;
	background: var(--aaw-surface);
	border-color: var(--aaw-accent);
	box-shadow: 0 0 0 3px rgba(31, 111, 92, 0.15);
}

.aaw-form input.aaw-invalid {
	border-color: #b4442f;
}

.aaw-consent {
	display: flex;
	gap: 0.6rem;
	align-items: flex-start;
	margin: 0.25rem 0 0.75rem;
	font-size: 0.875rem;
	line-height: 1.5;
	color: var(--aaw-muted);
}

.aaw-consent input {
	margin-top: 0.2rem;
	flex: none;
}

.aaw-privacy {
	margin: 0 0 1.25rem;
	font-size: 0.8125rem;
	color: var(--aaw-muted);
}

.aaw-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.aaw-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 0.8rem 1.5rem;
	font: inherit;
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--aaw-accent-ink);
	background: var(--aaw-accent);
	border: 0;
	border-radius: 7px;
	cursor: pointer;
	transition: filter 0.2s ease, transform 0.1s ease;
}

.aaw-submit:hover {
	filter: brightness(1.08);
}

.aaw-submit:active {
	transform: translateY(1px);
}

.aaw-submit[disabled] {
	opacity: 0.6;
	cursor: default;
}

.aaw-message {
	margin: 0.85rem 0 0;
	min-height: 1.2em;
	font-size: 0.875rem;
	color: #b4442f;
}

.aaw-pagination {
	margin-top: 3rem;
}

.aaw-empty {
	color: var(--aaw-muted);
}

@media (prefers-reduced-motion: reduce) {
	.aaw-card,
	.aaw-card__media img,
	.aaw-submit {
		transition: none;
	}
}




/* Responsive css start */

@media (min-width:1400px) {
	
	.aaw-single,
	.aaw-archive{
		padding-left:0rem !important;
		padding-right:0rem !important;
	}
	
}


@media (max-width:1399px) {
	
	.aaw-single,
	.aaw-archive{
		padding-left:1rem !important;
		padding-right:1rem !important;
	}
	
}


