/**
 * Webinar single — ported from live assets/styles/templates/webinar.scss
 */

/* Tablet gutter override (shared container vars live in custom-styles.css). */
@media (max-width: 991px) {
	.single-events-webinars {
		--nile-section-pad-inline: 40px;
	}
}

.single-events-webinars .hero {
	/* Live webinar.scss: 140px desktop — fixed px, not header CSS vars (unreliable with fixed nav). */
	--nile-ws-hero-pad-top: calc(140px + var(--nile-header-admin-offset, 0px));
	font-family: 'Inter', sans-serif;
	background: url('../images/webinar-series.jpg') no-repeat bottom center;
	background-size: cover;
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	margin-top: 0;
	padding-top: var(--nile-ws-hero-pad-top) !important;
	padding-bottom: 48px;
	min-height: 0;
	height: auto;
	display: flex;
	justify-content: center;
	align-items: flex-start;
}

/*
 * Fixed header: hero owns clearance; do not rely on header wrapper min-height/margin.
 */
body.nile-scroll-header-ready.single-events-webinars .elementor-location-header {
	min-height: 0 !important;
}

body.nile-scroll-header-ready.single-events-webinars .elementor-location-header + .hero,
body.nile-scroll-header-ready.nile-header-wrap-is-target.single-events-webinars .elementor-location-header + .hero {
	margin-top: 0 !important;
	padding-top: var(--nile-ws-hero-pad-top, calc(140px + var(--nile-header-admin-offset, 0px))) !important;
}

.single-events-webinars .hero #resource-type {
	border: 2px solid #ff6600;
	background: #ee4a59;
	border-radius: 9px;
	text-align: center;
	font-family: 'Inter', sans-serif;
	font-size: 18px;
	letter-spacing: 0.45px;
	color: #ffffff;
	padding: 3px 20px;
	display: inline-block;
}

.single-events-webinars .hero .section-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	padding-top: 0;
}

.single-events-webinars .hero .copy {
	width: 100%;
	padding-top: 0;
}

.single-events-webinars .hero h1 {
	margin: 25px 0;
	font-family: 'Inter', sans-serif;
	font-size: 56px;
	font-weight: 600;
	color: #fff;
}

.single-events-webinars .hero h2 {
	text-align: left;
	font-family: 'Inter', sans-serif;
	font-size: rem;
	color: #ffffff;
	margin-bottom: 32px;
}

.single-events-webinars .hero .webinar-date {
	display: flex;
	align-items: center;
	margin-bottom: 0;
}

.single-events-webinars .hero h3 {
	text-align: left;
	font-family: 'Inter', sans-serif;
	font-size: 36rem;
	color: #ffffff;
	margin: 0 0 0 20px;
}

.single-events-webinars .hero h3 .date {
	padding: 0 10px 0 0;
	letter-spacing: -2.8rem;
}

.single-events-webinars .hero #calendar-icon {
	max-width: 60px;
}

.single-events-webinars .hero .blink {
	animation: nile-ws-blinker 1.52s linear infinite;
}

@keyframes nile-ws-blinker {
	50% {
		opacity: 0;
	}
}

.single-events-webinars .page-container.webinar {
	flex-wrap: wrap;
	color: #001e2d;
	padding: 45px 0;
}

.single-events-webinars .page-container.webinar #sequel_root {
	width: 100%;
}

.single-events-webinars .page-container.webinar .section-container {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

.single-events-webinars .page-container.webinar .copy {
	width: 60%;
}

.single-events-webinars .page-container.webinar h3 {
	color: #0e4eaf;
	margin: 50px 0 30px 0;
}

.single-events-webinars .page-container.webinar h3:first-of-type {
	margin: 0 0 30px 0;
}

.single-events-webinars .page-container.webinar p {
	color: #001e2d;
	margin-bottom: 25px;
	font-size: 20rem !important;
}

.single-events-webinars .page-container.webinar ul {
	margin-bottom: 25px;
	padding-left: 30px;
}

.single-events-webinars .page-container.webinar ul li {
	color: #001e2d;
	font-size: 20rem;
	margin-top: 10px;
	list-style: none;
	position: relative;
}

.single-events-webinars .page-container.webinar ul li::before {
	content: '';
	position: absolute;
	background-color: #001e2d;
}

.single-events-webinars .page-container.webinar ul.bullets li::before {
	background: url('../images/icons/bullet.svg') no-repeat center;
	background-size: 17px 17px;
	height: 18px;
	width: 18px;
	left: -30px;
	top: 5px;
}

.single-events-webinars .page-container.webinar ul.checks li::before {
	background: url('../images/icons/tick.svg') no-repeat center;
	background-size: 18px 18px;
	height: 20px;
	width: 20px;
	left: -30px;
	top: 5px;
}

.single-events-webinars .page-container.webinar .reg-counter {
	width: 35%;
}

.single-events-webinars .page-container.webinar .reg-form {
	width: 100%;
	z-index: 2;
	box-shadow: 0 3px 6px #002e5d29;
	border-radius: 16px;
	background: linear-gradient(272deg, #0e4eaf 0%, #2070e1 100%) 0% 0% no-repeat padding-box;
	align-self: flex-start;
	padding-bottom: 20px;
}

.single-events-webinars .page-container.webinar .reg-form h4 {
	color: #fff;
	text-align: center;
	margin: 20px 0 0;
	font-size: 18rem;
}

.single-events-webinars .page-container.webinar .success {
	background: #f7faff;
	padding: 40px;
}

.single-events-webinars .page-container.webinar .reg-form .hs-form-frame {
	border: none;
	padding-bottom: 5px;
	background: #f7faff;
	color: #001e2d;
}

.single-events-webinars .page-container.webinar .reg-form h3 {
	color: #fff;
	padding: 30px 0;
	text-align: center;
	margin-bottom: 0;
}

.single-events-webinars .speakers {
	background: #f7faff;
	padding: 45px 0;
}

.single-events-webinars .speakers .section-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	gap: 24px;
	margin: 25px 0 0 0;
}

.single-events-webinars .speakers .speaker {
	width: calc(25% - 18px);
	text-align: center;
	margin: 0;
	box-sizing: border-box;
	display: flex;
	flex-wrap: wrap;
	flex-direction: column;
}

.single-events-webinars .speakers .speaker .accordion__trigger {
	width: auto;
	cursor: pointer;
	border: none;
	background: transparent;
	padding: 0;
	text-align: center;
}

.single-events-webinars .speakers .speaker .accordion__trigger:hover,
.single-events-webinars .speakers .speaker .accordion__trigger:hover p {
	color: #ff6600;
}

.single-events-webinars .speakers .speaker .accordion__panel {
	margin: 10px 0 0 0;
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.25s ease;
}

.single-events-webinars .speakers .speaker .accordion__content {
	text-align: left;
}

.single-events-webinars .speakers .speaker .accordion__content p {
	font-size: 16rem;
}

.single-events-webinars .speakers .speaker .info {
	margin: 10rem 0 0 0;
	flex: 1;
}

/* Live typography.scss: h4 25px, speaker designation p 20px (site: 1rem === 1px) */
.single-events-webinars .speakers .speaker h4,
.single-events-webinars .speakers .speaker .accordion__trigger h4 {
	font-family: 'Inter', sans-serif;
	font-size: 25rem;
	line-height: 1.2;
	letter-spacing: -0.01em;
	font-weight: 600;
	margin: 0;
	color: #001e2d;
}

.single-events-webinars .speakers .speaker p,
.single-events-webinars .speakers .speaker .accordion__trigger p {
	font-family: 'Inter', sans-serif;
	font-size: 20rem;
	line-height: 1.4;
	font-weight: 400;
	color: #001e2d;
	margin-top: 10rem;
	margin-bottom: 0;
}

.single-events-webinars .speakers .speaker img {
	width: 100%;
	max-width: 250px;
	max-height: 250px;
	height: auto;
	border-radius: 50%;
	margin: 0 auto;
	object-fit: cover;
}

.single-events-webinars .speakers .speaker .icon img {
	max-width: 30px;
}

.single-events-webinars .speakers .intro-block {
	padding: 0 80px;
}

.single-events-webinars .icon-wrap {
	margin: 20px 0 0 0;
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: center;
}

.single-events-webinars .icon-wrap .icon {
	width: 25px;
	height: 25px;
	margin: 0 10px;
}

@media (max-width: 1279px) {
	.single-events-webinars .page-container.webinar .section-container {
		justify-content: space-between;
	}

	.single-events-webinars .page-container.webinar .copy {
		width: 50%;
	}

	.single-events-webinars .page-container.webinar .reg-counter {
		width: 48%;
	}

	.single-events-webinars .speakers .speaker {
		width: calc(33.333% - 16px);
	}
}

@media (max-width: 1024px) {
	.single-events-webinars .hero {
		--nile-ws-hero-pad-top: calc(100px + var(--nile-header-admin-offset, 0px));
		padding-bottom: 40px;
	}

	.single-events-webinars .hero h1 {
		font-size: 48px;
	}

	.single-events-webinars .hero h2 {
		font-size: 36px;
	}

	.single-events-webinars .hero h3 {
		font-size: 28px;
	}
}

/* Tablet */
@media (max-width: 991px) {
	.single-events-webinars .hero {
		padding-bottom: 36px;
	}

	.single-events-webinars .hero .section-container {
		flex-wrap: wrap;
		align-items: flex-start;
	}

	.single-events-webinars .hero h1 {
		font-size: 40px;
		margin: 20px 0;
		line-height: 1.15;
	}

	.single-events-webinars .hero h2 {
		font-size: 28px;
		margin-bottom: 24px;
		line-height: 1.25;
	}

	.single-events-webinars .hero .webinar-date {
		align-items: flex-start;
	}

	.single-events-webinars .hero h3 {
		font-size: 22px;
		margin-left: 16px;
		line-height: 1.35;
	}

	.single-events-webinars .hero #calendar-icon {
		max-width: 48px;
		flex-shrink: 0;
	}

	.single-events-webinars .page-container.webinar .section-container {
		flex-wrap: wrap;
	}

	.single-events-webinars .page-container.webinar .copy,
	.single-events-webinars .page-container.webinar .reg-counter {
		width: 100%;
	}

	.single-events-webinars .speakers {
		padding: 32px 0;
	}

	.single-events-webinars .speakers .intro-block {
		padding: 0 40px;
	}

	.single-events-webinars .speakers .section-container {
		gap: 24px 16px;
		margin-top: 16px;
	}

	.single-events-webinars .speakers .speaker {
		width: calc(50% - 8px);
	}

	.single-events-webinars .speakers .speaker img {
		max-width: 200px;
		max-height: 200px;
	}
}

/* Mobile */
@media (max-width: 767px) {
	.single-events-webinars .hero {
		padding-bottom: 32px;
	}

	.single-events-webinars .hero #resource-type {
		font-size: 14px;
		padding: 2px 14px;
	}

	.single-events-webinars .hero h1 {
		font-size: 32px;
		margin: 16px 0;
	}

	.single-events-webinars .hero h2 {
		font-size: 22px;
		margin-bottom: 20px;
	}

	.single-events-webinars .hero h3 {
		font-size: 16px;
		margin-left: 12px;
	}

	.single-events-webinars .hero #calendar-icon {
		max-width: 40px;
	}

	.single-events-webinars .speakers .intro-block {
		padding: 0;
	}

	.single-events-webinars .speakers .section-container {
		gap: 32px 0;
	}

	.single-events-webinars .speakers .speaker {
		width: 100%;
	}

	.single-events-webinars .speakers .speaker img {
		max-width: 180px;
		max-height: 180px;
	}

	.single-events-webinars .speakers .speaker h4,
	.single-events-webinars .speakers .speaker .accordion__trigger h4 {
		font-size: 18rem;
	}

	.single-events-webinars .speakers .speaker p,
	.single-events-webinars .speakers .speaker .accordion__trigger p {
		font-size: 15rem;
	}
}

@media (max-width: 991px) and (min-width: 768px) {
	.single-events-webinars .speakers .speaker h4,
	.single-events-webinars .speakers .speaker .accordion__trigger h4 {
		font-size: 18rem;
	}
}

@media (min-width: 992px) and (max-width: 1279px) {
	.single-events-webinars .speakers .speaker h4,
	.single-events-webinars .speakers .speaker .accordion__trigger h4 {
		font-size: 20rem;
	}
}

@media (min-width: 1680px) {
	.single-events-webinars .speakers .speaker h4,
	.single-events-webinars .speakers .speaker .accordion__trigger h4 {
		font-size: 28rem;
	}
}

/* Small phones */
@media (max-width: 480px) {
	.single-events-webinars .hero {
		padding-bottom: 28px;
	}

	.single-events-webinars .hero h1 {
		font-size: 28px;
	}

	.single-events-webinars .hero h2 {
		font-size: 20px;
		margin-bottom: 16px;
	}

	.single-events-webinars .hero .webinar-date {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}

	.single-events-webinars .hero h3 {
		margin-left: 0;
		width: 100%;
	}

	.single-events-webinars .hero h3 .date {
		display: block;
		padding-bottom: 4px;
	}
}

/* Higher Ed webinar variant (live: page-webinar-highed.php) */
.nile-webinar-variant-higher-ed .hero {
	min-height: 600px;
	align-items: baseline;
}

.nile-webinar-variant-higher-ed .speakers {
	background: #f7faff;
	margin-top: 45px;
	padding: 0 0 45px;
}

.nile-webinar-variant-higher-ed .speakers .intro-block h3 {
	width: 100%;
	margin: 50px 0 30px;
}

.nile-webinar-variant-higher-ed .speakers .section-container {
	flex-wrap: wrap;
	justify-content: flex-start;
}

/* .nile-webinar-variant-higher-ed .speakers .speaker {
	width: 25%;
	text-align: center;
	margin: 25px 0;
	display: flex;
	flex-wrap: wrap;
	flex-direction: column;
	position: relative;
} */

.nile-webinar-variant-higher-ed .speakers .speaker .info {
	flex: 1;
}

.nile-webinar-variant-higher-ed .speakers .speaker img {
	max-width: 250px;
	max-height: 250px;
	border-radius: 50%;
	margin: 0 auto;
}

.nile-webinar-variant-higher-ed .nile-ws-speaker-role {
	color: #fff;
	background: linear-gradient(90deg, #ee4a59 0%, #ff6600 100%);
	border-radius: 7px;
	padding: 5px;
	text-align: center;
	width: 100%;
	max-width: 100px;
	margin: -30px auto 0;
	box-shadow: -1px 1px 4px rgba(0, 0, 0, 0.35);
}

.nile-webinar-variant-higher-ed .speakers .icon img {
	max-width: 30px;
}

.nile-webinar-variant-higher-ed .nile-ws-related-resources {
	background: #fff;
	padding: 45px 0;
	margin: 45px 0 0;
	width: 100%;
}

.nile-webinar-variant-higher-ed .new-additional-resources__wrapper {
	display: flex;
	flex-direction: column;
	gap: 32px;
	width: 100%;
}

.nile-webinar-variant-higher-ed .new-additional-resources__header {
	width: 100%;
}

.nile-webinar-variant-higher-ed .new-additional-resources__title {
	margin: 0 0 24px;
}

.nile-webinar-variant-higher-ed .new-additional-resources__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
	width: 100%;
}

.nile-webinar-variant-higher-ed .new-additional-resources__card {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	border: 1px solid rgba(14, 78, 175, 0.12);
	border-radius: 24px;
	background: #fff;
	box-shadow: 0 18px 40px rgba(20, 32, 61, 0.08);
}

.nile-webinar-variant-higher-ed .new-additional-resources__media {
	aspect-ratio: 16 / 9;
	background: #dfe9f7;
	overflow: hidden;
}

.nile-webinar-variant-higher-ed .new-additional-resources__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.nile-webinar-variant-higher-ed .new-additional-resources__content {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	padding: 26px 26px 30px;
}

.nile-webinar-variant-higher-ed .new-additional-resources__type {
	margin: 0 0 14px;
	color: #1e57f7;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.nile-webinar-variant-higher-ed .new-additional-resources__card-title {
	margin: 0;
	color: #243b63;
	font-size: 20px;
	font-weight: 500;
	line-height: 1.3;
}

@media (min-width: 768px) {
	.nile-webinar-variant-higher-ed .new-additional-resources__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 992px) {
	.nile-webinar-variant-higher-ed .new-additional-resources__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 32px;
	}
}

@media (max-width: 1024px) {
	.nile-webinar-variant-higher-ed .speakers .speaker {
		width: 50%;
	}
}
