/* Webinar archive — card grid (aligned with home page “Latest news” cards) */

.webinar-archive {
	background: #fff;
}

/* Top space below fixed nav */
.webinar-archive__inner--nav-offset {
	padding-top: 10rem !important;
}

/* Section h2 */
.webinar-archive__section-title {
	font-size: 30px;
	line-height: 47px;
	max-width: 100%;
	margin: 0 0 2rem;
	text-transform: capitalize;
	letter-spacing: normal;
}

@media (min-width: 768px) {
	.webinar-archive__section-title {
		font-size: 40px;
		line-height: 1.2;
	}
}

.webinar-archive__divider {
	border: 0;
	border-top: 1px solid #e5e7eb;
	margin: 4rem 0;
}

@media (min-width: 768px) {
	.webinar-archive__divider {
		margin: 5rem 0;
	}
}

.webinar-archive__section--spaced {
	margin-top: 4rem;
}

@media (min-width: 768px) {
	.webinar-archive__section--spaced {
		margin-top: 5rem;
	}
}

.webinar-archive-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.webinar-archive-card__title {
	display: block;
}

@media (max-width: 767px) {
	.webinar-archive-card {
		max-width: 450px;
		margin-left: auto;
		margin-right: auto;
	}
}

.webinar-archive__empty,
.webinar-archive__no-results {
	padding: 3rem 0;
}

.webinar-archive__no-results {
	color: #4b5563;
	text-align: center;
}

/* On-demand search */
.webinar-archive__search {
	margin: 0 0 2rem;
}

.webinar-archive__search-inner {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	max-width: 32rem;
}

.webinar-archive__search-input {
	flex: 1 1 12rem;
	min-width: 0;
	padding: 0.75rem 1rem !important;
	border: 1px solid #d1d5db !important;
	border-radius: 0.5rem !important;
	font-family: inherit !important;
	font-size: 1rem !important;
	line-height: 1.5 !important;
	background: #fff !important;
	color: #111827 !important;
	box-shadow: none !important;
}

.webinar-archive__search-input:focus {
	outline: 2px solid #000 !important;
	outline-offset: 2px !important;
	border-color: #000 !important;
}

.webinar-archive .webinar-archive__search-submit,
.webinar-archive button.webinar-archive__search-submit {
	appearance: none !important;
	-webkit-appearance: none !important;
	flex: 0 0 auto;
	padding: 0.75rem 1.5rem !important;
	border: 2px solid #000 !important;
	border-radius: 9999px !important;
	background: #000 !important;
	background-color: #000 !important;
	color: #fff !important;
	font-family: inherit !important;
	font-size: 0.875rem !important;
	font-weight: 600 !important;
	line-height: 1.2 !important;
	text-transform: none !important;
	text-decoration: none !important;
	cursor: pointer;
	box-shadow: none !important;
}

.webinar-archive .webinar-archive__search-submit:hover,
.webinar-archive .webinar-archive__search-submit:focus-visible {
	background: #fff !important;
	color: #000 !important;
	outline: none !important;
}

.webinar-archive .webinar-archive__search-reset,
.webinar-archive button.webinar-archive__search-reset {
	appearance: none !important;
	-webkit-appearance: none !important;
	flex: 0 0 auto;
	align-self: center;
	padding: 0 !important;
	margin: 0 !important;
	border: none !important;
	border-radius: 0 !important;
	background: none !important;
	background-color: transparent !important;
	font-family: inherit !important;
	font-size: 0.875rem !important;
	font-weight: 500 !important;
	line-height: 1.2 !important;
	color: #6b7280 !important;
	text-decoration: underline !important;
	text-underline-offset: 0.15em !important;
	text-transform: none !important;
	letter-spacing: normal !important;
	box-shadow: none !important;
	cursor: pointer;
}

.webinar-archive .webinar-archive__search-reset:hover,
.webinar-archive .webinar-archive__search-reset:focus-visible,
.webinar-archive button.webinar-archive__search-reset:hover,
.webinar-archive button.webinar-archive__search-reset:focus-visible {
	border: none !important;
	background: none !important;
	background-color: transparent !important;
	color: #111827 !important;
	outline: none !important;
	box-shadow: none !important;
}

/* Pagination */
.webinar-archive__pagination {
	margin-top: 2.5rem;
	text-align: center;
}

.webinar-archive__past-results.is-loading,
.webinar-archive__upcoming-results.is-loading {
	opacity: 0.55;
	pointer-events: none;
	transition: opacity 0.2s ease;
}

.webinar-archive__pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.5rem;
	height: 2.5rem;
	padding: 0 0.5rem;
	margin: 0.25rem;
	border: none !important;
	border-radius: 0.375rem;
	color: #111827 !important;
	text-decoration: none !important;
	font-size: 0.9375rem !important;
	font-weight: 500 !important;
	line-height: 1 !important;
	background: transparent !important;
	box-shadow: none !important;
}

.webinar-archive__pagination .page-numbers.current {
	background: #000 !important;
	border: none !important;
	color: #fff !important;
}

.webinar-archive__pagination .page-numbers:hover,
.webinar-archive__pagination .page-numbers:focus-visible {
	border: none !important;
	color: #000 !important;
	background: transparent !important;
}

.webinar-archive__pagination .page-numbers.current:hover,
.webinar-archive__pagination .page-numbers.current:focus-visible {
	background: #000 !important;
	color: #fff !important;
}

.webinar-archive__pagination ul {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.25rem;
	list-style: none;
	margin: 0 auto;
	padding: 0;
}

.webinar-archive__pagination li {
	margin: 0;
	padding: 0;
	list-style: none;
}
