/*
 * PQC Conference page (pqc-conference-template.php) — PKI Consortium's
 * Post-Quantum Cryptography Conference, Amsterdam 2026.
 *
 * Loaded only with that template and scoped under .ec-pqc-conf. Layout comes
 * from the "PQC Conference 2026 — Event Page" Figma design (1440px frame,
 * 1200px content), but type follows the rest of the site: the hero title,
 * section headings, session title and paragraphs keep the theme's base h1/h2/h3
 * and p sizes, and everything else uses sitewide sizes (40px buttons, 18–20px
 * card titles, 14px kickers, 12px labels). The meeting request form follows
 * the design's form card exactly, and the stats strip reuses the sitewide
 * .insights-wrapper component.
 */

body.page-template-pqc-conference-template {
	background-color: #fff;
}

.ec-pqc-conf {
	--pqc-ink: #0b0f19;
	--pqc-body: #3a4252;
	--pqc-muted: #5b6476;
	--pqc-subtle: #6b7488;
	--pqc-dim: #8a93a6;
	--pqc-on-dark: #9aa3b5;
	--pqc-border: #c8c8c8;
	--pqc-line: #e7eaf1;
	--pqc-tint: #f4f6fa;
	--pqc-blue: #0d56d4;
	--pqc-teal: #1ebdbd;
	--pqc-dark: #111;
	--pqc-gradient: linear-gradient(90deg, #0d56d4 0%, #1ebdbd 100%);
	/* Clears the sticky header when jumping to #session / #request-a-meeting */
	--pqc-anchor-offset: 96px;

	background-color: #fff;
	color: var(--pqc-ink);
}

@media (min-width: 1024px) {
	.ec-pqc-conf {
		--pqc-anchor-offset: calc(44px + 6rem);
	}
}

.ec-pqc-conf [id] {
	scroll-margin-top: var(--pqc-anchor-offset);
}

/* Section content sits in the sitewide .container (set in the template), so
   its edges line up with the rest of the site at every screen width. */

/* Decorative blurred glows (Figma "Glow" ellipses) */
.ec-pqc-conf__glow {
	position: absolute;
	max-width: none;
	pointer-events: none;
	user-select: none;
}

/* ---------- Shared pieces ---------- */

/* Sections below the hero pad their content equally above and below, so two
   sections' content sits 96px apart (144px from 1024px) */
.ec-pqc-conf__section,
.ec-pqc-conf__proof,
.ec-pqc-conf__promo-section {
	padding-block: 48px;
}

/* More white space after the dark hero and above the footer */
.ec-pqc-conf__hero + .ec-pqc-conf__section {
	padding-top: 96px;
}

.ec-pqc-conf__promo-section {
	padding-bottom: 84px;
}

@media (min-width: 1024px) {
	.ec-pqc-conf__section,
	.ec-pqc-conf__proof,
	.ec-pqc-conf__promo-section {
		padding-block: 72px;
	}

	.ec-pqc-conf__hero + .ec-pqc-conf__section {
		padding-top: 144px;
	}

	.ec-pqc-conf__promo-section {
		padding-bottom: 108px;
	}
}

.ec-pqc-conf__section {
	background-color: #fff;
}

.ec-pqc-conf__section--tinted {
	background-color: var(--pqc-tint);
	border-block: 1px solid var(--pqc-line);
}

.ec-pqc-conf__head {
	margin-bottom: 32px;
}

/* Kicker above a heading, sized like the uppercase kickers on service pages */
.ec-pqc-conf__eyebrow {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 12px;
	font-size: 0.875rem;
	line-height: 1.5rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--pqc-blue);
}

.ec-pqc-conf__eyebrow::before {
	content: "";
	flex: none;
	width: 18px;
	height: 2px;
	border-radius: 2px;
	background: var(--pqc-gradient);
}

.ec-pqc-conf__eyebrow--teal {
	color: var(--pqc-teal);
}

/* Section headings (h2) get their size from the sitewide h2 style */
.ec-pqc-conf__heading {
	margin: 0;
	color: var(--pqc-ink);
}

.ec-pqc-conf__intro {
	max-width: 640px;
	margin: 12px 0 0;
	color: var(--pqc-muted);
}

/* A section head with a button to the right of the heading; on phones the
   button sits below the head text */
.ec-pqc-conf__head-btn {
	margin-top: 20px;
}

@media (min-width: 768px) {
	.ec-pqc-conf__head--action {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		grid-template-areas:
			"eyebrow ."
			"heading button"
			"intro .";
		align-items: center;
		column-gap: 32px;
	}

	.ec-pqc-conf__head--action > .ec-pqc-conf__eyebrow {
		grid-area: eyebrow;
	}

	.ec-pqc-conf__head--action > .ec-pqc-conf__heading {
		grid-area: heading;
	}

	.ec-pqc-conf__head--action > .ec-pqc-conf__intro {
		grid-area: intro;
	}

	.ec-pqc-conf__head--action > .ec-pqc-conf__head-btn {
		grid-area: button;
		margin-top: 0;
	}
}

/* Card titles, sized like the card headings on the Events and Resource Library pages */
.ec-pqc-conf__speaker-name,
.ec-pqc-conf__person-name,
.ec-pqc-conf__topic-title,
.ec-pqc-conf__offer-title,
.ec-pqc-conf__venue-name,
.ec-pqc-conf__resource-title {
	font-size: 1.125rem;
	line-height: 1.5;
	font-weight: 600;
}

@media (min-width: 1024px) {
	.ec-pqc-conf__speaker-name,
	.ec-pqc-conf__person-name,
	.ec-pqc-conf__topic-title,
	.ec-pqc-conf__offer-title,
	.ec-pqc-conf__venue-name,
	.ec-pqc-conf__resource-title {
		font-size: 1.25rem;
	}
}

/* Small uppercase labels */
.ec-pqc-conf__fact-label,
.ec-pqc-conf__speaker-label,
.ec-pqc-conf__resource-type {
	font-size: 0.75rem;
	line-height: 1.5;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* Buttons: the sitewide size (40px tall, 14px/500); .primary-btn and
   .grey-outlined-btn add the sitewide hover effects */
.ec-pqc-conf__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
	height: 40px;
	padding: 0 24px;
	border-radius: 28.437px;
	font-size: 0.875rem;
	line-height: normal;
	font-weight: 500;
	white-space: nowrap;
	text-decoration: none;
}

.ec-pqc-conf__btn--gradient {
	background: var(--pqc-gradient);
	color: #fff;
}

.ec-pqc-conf__btn--outline {
	border: 1px solid #cfd5e1;
	background: transparent;
	color: var(--pqc-ink);
}

.ec-pqc-conf__btn--on-dark {
	border: 1px solid rgba(255, 255, 255, 0.32);
	background: transparent;
	color: #fff;
}

.ec-pqc-conf__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

/* Bottom row of a team card: a divider, then an email link with an arrow */
.ec-pqc-conf__card-foot {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	margin: auto 0 0;
	padding-top: 14px;
	border-top: 1px solid var(--pqc-line);
	font-size: 0.875rem;
	line-height: 1.5rem;
	font-weight: 500;
	color: var(--pqc-blue);
	text-decoration: none;
}

.ec-pqc-conf__text-link {
	font-weight: 500;
	color: var(--pqc-blue);
}

/* The sitewide a:where(:not(.wp-element-button)) rule strips link underlines
   with !important, so underlined links carry the underline on an inner span. */
.ec-pqc-conf__link-text {
	text-decoration: underline;
	text-underline-position: from-font;
}

a:hover > .ec-pqc-conf__link-text {
	text-decoration: none;
}

/* ---------- Hero ---------- */

.ec-pqc-conf__hero {
	position: relative;
	overflow: hidden;
	padding: 48px 0;
	background-color: var(--pqc-dark);
	border-radius: 0 0 24px 24px;
}

.ec-pqc-conf__glow--hero-1 {
	left: calc(50% - 1000px);
	top: -200px;
	width: 980px;
	height: 640px;
}

.ec-pqc-conf__glow--hero-2 {
	left: calc(50% + 120px);
	top: 360px;
	width: 840px;
	height: 600px;
}

.ec-pqc-conf__glow--hero-3 {
	left: calc(50% - 80px);
	top: -120px;
	width: 760px;
	height: 540px;
}

.ec-pqc-conf__hero-row {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.ec-pqc-conf__hero-copy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	min-width: 0;
}

.ec-pqc-conf__pkic-logo {
	width: 155px;
	height: 40px;
	margin-bottom: 28px;
	object-fit: contain;
}

/* Size comes from the sitewide h1 style */
.ec-pqc-conf__title {
	max-width: 520px;
	margin: 0 0 20px;
	font-weight: 600;
	color: #fff;
}

.ec-pqc-conf__title-accent {
	white-space: nowrap;
	background-image: var(--pqc-gradient);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.ec-pqc-conf__lede {
	max-width: 550px;
	margin: 0 0 32px;
	color: #efefef;
}

.ec-pqc-conf__facts {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 12px;
	width: 100%;
	margin: 56px 0 0;
	padding: 0;
	list-style: none;
}

.ec-pqc-conf__fact {
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 0;
	/* Figma counts the 1px border inside the 18px right padding */
	padding: 16px 17px 16px 16px;
	background-color: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 14px;
}

.ec-pqc-conf__fact-icon {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background-color: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.13);
	border-radius: 10px;
}

.ec-pqc-conf__fact-icon svg {
	width: 18px;
	height: 18px;
}

.ec-pqc-conf__fact-text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.ec-pqc-conf__fact-label {
	color: var(--pqc-dim);
}

.ec-pqc-conf__fact-value {
	font-size: 1rem;
	line-height: 1.5;
	font-weight: 600;
	color: #fff;
}

.ec-pqc-conf__hero-form {
	width: 100%;
	min-width: 0;
}

@media (min-width: 640px) {
	.ec-pqc-conf__facts {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.ec-pqc-conf__hero {
		padding: 72px 0 64px;
		border-radius: 0 0 40px 40px;
	}

	.ec-pqc-conf__hero-row {
		flex-direction: row;
		align-items: flex-start;
		justify-content: space-between;
		gap: 48px;
	}

	.ec-pqc-conf__hero-copy {
		flex: 1 1 auto;
		max-width: 610px;
	}

	/* The form column is as wide as the Contact Us page's form card */
	.ec-pqc-conf__hero-form {
		flex: 0 0 412px;
	}
}

/* Narrow two-column hero: one fact per row so the values don't wrap */
@media (min-width: 1024px) and (max-width: 1279px) {
	.ec-pqc-conf__facts {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (min-width: 1280px) {
	.ec-pqc-conf__hero-form {
		flex-basis: 468px;
	}
}

@media (min-width: 1536px) {
	.ec-pqc-conf__hero-form {
		flex-basis: 548px;
	}
}

@media (min-width: 1920px) {
	.ec-pqc-conf__hero-form {
		flex-basis: 628px;
	}
}

/* ---------- Meeting request form (Contact Form 7, in the hero) ---------- */

/* The card's size and the font sizes and weights match the Contact Us page's
   form (.ec-form-card); colours and field shapes follow the design's form
   card. Field and checkbox columns depend on the card's own width. */
.ec-pqc-form {
	container-type: inline-size;
	padding: 40px 32px;
	background-color: #fff;
	border-radius: 24px;
	box-shadow: 0 4px 32px rgba(0, 0, 0, 0.1);
	color: var(--pqc-ink);
}

.ec-pqc-form__title {
	margin: 0 0 6px;
	font-size: 24px;
	line-height: 36px;
	font-weight: 700;
	color: var(--pqc-ink);
}

.ec-pqc-form__intro {
	margin: 0 0 22px;
	font-size: 14px;
	line-height: 24px;
	font-weight: 400;
	color: var(--pqc-dim);
}

.ec-pqc-form__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 14px;
}

.ec-pqc-form__field {
	display: flex;
	flex-direction: column;
	gap: 7px;
	min-width: 0;
	margin: 0;
}

.ec-pqc-form__field--wide {
	grid-column: 1 / -1;
}

.ec-pqc-form__label {
	display: flex;
	gap: 4px;
	font-size: 14px;
	line-height: 20px;
	font-weight: 600;
	color: var(--pqc-ink);
}

.ec-pqc-form__req {
	color: var(--pqc-blue);
}

.ec-pqc-form__hint {
	font-weight: 400;
	color: var(--pqc-dim);
}

.ec-pqc-form .wpcf7-form-control-wrap {
	display: block;
}

.ec-pqc-form input[type="text"],
.ec-pqc-form input[type="email"],
.ec-pqc-form input[type="tel"],
.ec-pqc-form select,
.ec-pqc-form textarea {
	display: block;
	width: 100%;
	height: 43px;
	margin: 0;
	padding: 0 14px;
	background-color: #fff;
	border: 1px solid #dde2ec;
	border-radius: 10px;
	box-shadow: none;
	font-family: inherit;
	font-size: 15px;
	line-height: normal;
	font-weight: 400;
	color: var(--pqc-ink);
	outline: none;
	transition:
		border-color 0.2s ease,
		box-shadow 0.2s ease;
}

.ec-pqc-form input::placeholder,
.ec-pqc-form textarea::placeholder {
	font-size: 12px;
	font-weight: 400;
	color: #b3bac9;
	opacity: 1;
}

/* The sitewide form focus ring */
.ec-pqc-form input:focus,
.ec-pqc-form select:focus,
.ec-pqc-form textarea:focus {
	border-color: var(--pqc-blue);
	box-shadow: 0 0 0 3px rgba(13, 86, 212, 0.15);
}

.ec-pqc-form select {
	padding-right: 36px;
	appearance: none;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none'%3E%3Cpath d='M3 4.5 6 7.5l3-3' stroke='%238A93A6' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center / 12px 12px;
	cursor: pointer;
}

/* While a select still shows its "Select …" prompt, it looks like a placeholder */
.ec-pqc-form select:has(option[value=""]:checked) {
	color: #b3bac9;
}

.ec-pqc-form select option {
	font-weight: 400;
	color: var(--pqc-ink);
}

.ec-pqc-form textarea {
	height: 72px;
	padding: 12px 14px;
	resize: vertical;
}

.ec-pqc-form__topics {
	min-width: 0;
	margin: 18px 0 0;
	padding: 0;
	border: 0;
}

.ec-pqc-form__topics legend {
	display: block;
	margin: 0 0 6px;
	padding: 0;
}

.ec-pqc-form .wpcf7-checkbox {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	column-gap: 14px;
}

.ec-pqc-form .wpcf7-list-item {
	display: block;
	margin: 0;
}

.ec-pqc-form .wpcf7-list-item label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 5px 0;
	font-size: 14px;
	line-height: 20px;
	font-weight: 400;
	color: var(--pqc-body);
	cursor: pointer;
}

.ec-pqc-form input[type="checkbox"] {
	flex: none;
	width: 16px;
	height: 16px;
	margin: 2px 0 0;
	appearance: none;
	background-color: #fff;
	border: 1px solid #c5ccd9;
	border-radius: 4px;
	cursor: pointer;
}

.ec-pqc-form input[type="checkbox"]:checked {
	background:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' fill='none'%3E%3Cpath d='m2 5.2 2.1 2.1L8 3.3' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 10px 10px no-repeat,
		var(--pqc-gradient);
	border-color: transparent;
}

.ec-pqc-form input[type="checkbox"]:focus-visible {
	outline: 2px solid var(--pqc-blue);
	outline-offset: 2px;
}

.ec-pqc-form__actions {
	position: relative;
	margin-top: 32px;
}

.ec-pqc-form input[type="submit"] {
	display: block;
	width: 100%;
	height: 48px;
	margin: 0;
	padding: 0 24px;
	background: var(--pqc-gradient);
	border: 0;
	border-radius: 28.437px;
	font-family: inherit;
	font-size: 14px;
	line-height: normal;
	font-weight: 600;
	color: #fff;
	cursor: pointer;
	transition:
		transform 0.25s ease,
		box-shadow 0.25s ease;
}

/* The sitewide .primary-btn hover lift */
.ec-pqc-form input[type="submit"]:hover {
	transform: translateY(-1.5px);
	box-shadow: 0 8px 24px rgba(13, 86, 212, 0.45);
}

.ec-pqc-form input[type="submit"]:focus-visible {
	outline: 2px solid var(--pqc-blue);
	outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
	.ec-pqc-form input[type="submit"] {
		transition: none;
	}

	.ec-pqc-form input[type="submit"]:hover {
		transform: none;
	}
}

/* Contact Form 7's loading spinner, inside the button's right end */
.ec-pqc-form .wpcf7-spinner {
	position: absolute;
	top: 12px;
	right: 12px;
	margin: 0;
	background-color: rgba(255, 255, 255, 0.3);
	opacity: 1;
}

.ec-pqc-form__consent {
	margin-top: 12px;
}

.ec-pqc-form__consent .wpcf7-list-item label {
	padding: 0;
	color: var(--pqc-muted);
}

/* Overrides the sitewide 14px link size; the underline is on the inner span */
.ec-pqc-form__consent a {
	font-size: inherit;
	line-height: inherit;
	color: var(--pqc-blue);
}

.ec-pqc-form .wpcf7-not-valid {
	border-color: #d93025;
}

.ec-pqc-form .wpcf7-not-valid-tip {
	margin-top: 6px;
	font-size: 12px;
	line-height: 1.4;
	font-weight: 300;
	color: #d93025;
}

.ec-pqc-form .wpcf7 form .wpcf7-response-output {
	margin: 16px 0 0;
	padding: 12px 14px;
	border: 1px solid #f0b429;
	border-radius: 10px;
	background-color: #fffaeb;
	font-size: 14px;
	line-height: 1.5;
	color: var(--pqc-body);
}

.ec-pqc-form .wpcf7 form.sent .wpcf7-response-output {
	border-color: var(--pqc-teal);
	background-color: #effbfb;
}

.ec-pqc-form .wpcf7 form.failed .wpcf7-response-output,
.ec-pqc-form .wpcf7 form.aborted .wpcf7-response-output,
.ec-pqc-form .wpcf7 form.spam .wpcf7-response-output {
	border-color: #d93025;
	background-color: #fdf2f2;
}

@container (min-width: 300px) {
	.ec-pqc-form__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@container (min-width: 380px) {
	.ec-pqc-form .wpcf7-checkbox {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.ec-pqc-form {
		padding: 40px;
	}
}

/* ---------- Speaking session ---------- */

.ec-pqc-conf__session {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background-color: #fff;
	border: 1px solid var(--pqc-border);
	border-radius: 16px;
}

.ec-pqc-conf__session-details {
	flex: 1 1 auto;
	min-width: 0;
	padding: 28px 24px;
}

.ec-pqc-conf__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 22px;
	padding: 0;
	list-style: none;
}

.ec-pqc-conf__chip {
	padding: 6px 14px;
	background-color: var(--pqc-tint);
	border: 1px solid var(--pqc-line);
	border-radius: 28.437px;
	font-size: 0.875rem;
	line-height: 1.5;
	font-weight: 500;
	color: var(--pqc-ink);
}

/* Size comes from the sitewide h3 style */
.ec-pqc-conf__session-title {
	margin: 0 0 16px;
	font-weight: 600;
	color: var(--pqc-ink);
}

.ec-pqc-conf__session-abstract {
	margin: 0 0 24px;
	color: var(--pqc-muted);
}

.ec-pqc-conf__takeaways-title {
	margin: 0 0 8px;
	font-weight: 600;
	color: var(--pqc-ink);
}

.ec-pqc-conf__takeaways {
	margin: 0 0 30px;
	padding: 0;
	list-style: none;
}

.ec-pqc-conf__takeaways li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 4px 0;
	line-height: 1.5rem;
	color: var(--pqc-body);
}

.ec-pqc-conf__takeaways li::before {
	content: "";
	flex: none;
	width: 7px;
	height: 7px;
	margin-top: 8.5px;
	background: var(--pqc-gradient);
	border-radius: 50%;
}

.ec-pqc-conf__speaker {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	overflow: hidden;
	padding: 36px 24px;
	background-color: var(--pqc-dark);
}

.ec-pqc-conf__speaker > :not(.ec-pqc-conf__glow),
.ec-pqc-conf__offer > :not(.ec-pqc-conf__glow) {
	position: relative;
}

.ec-pqc-conf__glow--speaker {
	left: 80px;
	top: -180px;
	width: 480px;
	height: 420px;
}

.ec-pqc-conf__speaker-label {
	margin: 0 0 16px;
	color: var(--pqc-dim);
}

.ec-pqc-conf__speaker-headshot {
	width: 112px;
	height: 112px;
	margin-bottom: 18px;
	border-radius: 50%;
	object-fit: cover;
}

.ec-pqc-conf__speaker-name {
	margin: 0;
	color: #fff;
}

.ec-pqc-conf__speaker-role {
	margin: 0 0 16px;
	color: var(--pqc-on-dark);
}

.ec-pqc-conf__speaker-bio {
	margin: 0 0 16px;
	color: var(--pqc-on-dark);
}

.ec-pqc-conf__speaker-link {
	font-weight: 500;
	color: var(--pqc-teal);
}

@media (min-width: 768px) {
	.ec-pqc-conf__session-details {
		padding: 44px;
	}

	.ec-pqc-conf__speaker {
		padding: 44px 36px;
	}
}

@media (min-width: 1024px) {
	.ec-pqc-conf__session {
		flex-direction: row;
	}

	.ec-pqc-conf__speaker {
		flex: 0 0 360px;
	}
}

/* ---------- Three-day timeline ---------- */

.ec-pqc-conf__days {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 20px;
}

.ec-pqc-conf__day {
	padding: 28px;
	background-color: #fff;
	border: 1px solid var(--pqc-border);
	border-radius: 16px;
}

.ec-pqc-conf__day-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 26px;
	margin-bottom: 18px;
}

/* A kicker-style card heading, the same size as .ec-pqc-conf__eyebrow */
.ec-pqc-conf__day-label {
	margin: 0;
	font-size: 0.875rem;
	line-height: 1.5;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--pqc-subtle);
}

.ec-pqc-conf__day--highlight .ec-pqc-conf__day-label {
	color: var(--pqc-blue);
}

.ec-pqc-conf__pill {
	flex: none;
	padding: 3px 12px;
	background: var(--pqc-gradient);
	border-radius: 28.437px;
	font-size: 0.75rem;
	line-height: 1.5;
	font-weight: 500;
	color: #fff;
}

.ec-pqc-conf__day-items {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ec-pqc-conf__day-items li {
	padding: 12px 0;
	border-top: 1px solid var(--pqc-line);
	line-height: 1.5;
	color: var(--pqc-ink);
}

.ec-pqc-conf__day-items li:last-child {
	padding-bottom: 0;
}

.ec-pqc-conf__day-items li.is-strong {
	font-weight: 600;
}

@media (min-width: 1024px) {
	.ec-pqc-conf__days {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* ---------- Meet the team ---------- */

.ec-pqc-conf__team {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 20px;
}

.ec-pqc-conf__person {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: 28px;
	background-color: #fff;
	border: 1px solid var(--pqc-border);
	border-radius: 16px;
}

.ec-pqc-conf__person-headshot {
	width: 84px;
	height: 84px;
	margin-bottom: 18px;
	border-radius: 50%;
	object-fit: cover;
}

.ec-pqc-conf__person-name {
	margin: 0;
	color: var(--pqc-ink);
}

.ec-pqc-conf__person-role {
	margin: 0 0 12px;
	color: var(--pqc-subtle);
}

.ec-pqc-conf__person-topics {
	margin: 0 0 20px;
	color: var(--pqc-body);
}

@media (min-width: 1024px) {
	.ec-pqc-conf__team {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* ---------- Booth topics + offer ---------- */

.ec-pqc-conf__topics {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 16px;
}

.ec-pqc-conf__topic {
	padding: 24px;
	background-color: #fff;
	border: 1px solid var(--pqc-border);
	border-radius: 16px;
}

.ec-pqc-conf__topic-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin-bottom: 16px;
	background-color: #eef3fd;
	border: 1px solid #d6e2fa;
	border-radius: 10px;
}

.ec-pqc-conf__topic-icon svg {
	width: 20px;
	height: 20px;
}

.ec-pqc-conf__topic-title {
	margin: 0 0 6px;
	color: var(--pqc-ink);
}

.ec-pqc-conf__topic-line {
	margin: 0;
	color: var(--pqc-muted);
}

.ec-pqc-conf__offer {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	overflow: hidden;
	margin-top: 28px;
	padding: 32px 24px;
	background-color: var(--pqc-dark);
	border-radius: 16px;
}

.ec-pqc-conf__glow--offer {
	left: -180px;
	top: -180px;
	width: 540px;
	height: 480px;
}

.ec-pqc-conf__offer .ec-pqc-conf__eyebrow {
	margin-bottom: 10px;
}

.ec-pqc-conf__offer-title {
	margin: 0 0 12px;
	color: #fff;
}

.ec-pqc-conf__offer-text {
	margin: 0 0 20px;
	color: var(--pqc-on-dark);
}

@media (min-width: 640px) {
	.ec-pqc-conf__topics {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 768px) {
	.ec-pqc-conf__offer {
		padding: 28px 36px;
	}
}

/* The offer card sits beside the topic grid and matches its height; below
   1280px it sits under the grid so the topic titles keep room */
@media (min-width: 1280px) {
	.ec-pqc-conf__booth {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 400px;
		grid-template-areas:
			"head ."
			"topics offer";
		column-gap: 28px;
	}

	.ec-pqc-conf__booth > .ec-pqc-conf__head {
		grid-area: head;
	}

	.ec-pqc-conf__booth > .ec-pqc-conf__topics {
		grid-area: topics;
	}

	.ec-pqc-conf__offer {
		grid-area: offer;
		min-height: 316px;
		margin-top: 0;
	}
}

/* ---------- Venue ---------- */

.ec-pqc-conf__venue {
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.ec-pqc-conf__venue-info {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.ec-pqc-conf__venue-info .ec-pqc-conf__head {
	margin-bottom: 24px;
}

.ec-pqc-conf__venue-name {
	margin: 0 0 4px;
	color: var(--pqc-ink);
}

.ec-pqc-conf__venue-address {
	margin: 0 0 8px;
	color: var(--pqc-body);
}

.ec-pqc-conf__venue-line {
	margin: 0 0 16px;
	color: var(--pqc-muted);
}

.ec-pqc-conf__directions {
	display: grid;
	gap: 4px;
	margin: 0 0 20px;
	padding: 0;
	list-style: none;
}

.ec-pqc-conf__directions li {
	line-height: 1.5rem;
	color: var(--pqc-body);
}

.ec-pqc-conf__directions strong {
	font-weight: 600;
	color: var(--pqc-ink);
}

.ec-pqc-conf__badge {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0 0 20px;
	padding: 6px 14px;
	background-color: var(--pqc-tint);
	border: 1px solid var(--pqc-line);
	border-radius: 28.437px;
	color: var(--pqc-body);
}

.ec-pqc-conf__badge strong {
	font-weight: 600;
	color: var(--pqc-ink);
}

.ec-pqc-conf__venue-media {
	display: grid;
	flex: 1 1 auto;
	grid-template-columns: minmax(0, 1fr);
	gap: 16px;
	min-width: 0;
}

/* The map and the Red Hall photo */
.ec-pqc-conf__media-box {
	height: 300px;
	overflow: hidden;
	background-color: var(--pqc-tint);
	border: 1px solid var(--pqc-line);
	border-radius: 16px;
}

.ec-pqc-conf__media-box iframe,
.ec-pqc-conf__media-box img {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

/* Narrower boxes crop the photo from the right, keeping the PKI Consortium
   logo on its left in view */
.ec-pqc-conf__media-box img {
	object-fit: cover;
	object-position: left center;
}

@media (min-width: 768px) {
	.ec-pqc-conf__venue-media {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.ec-pqc-conf__venue {
		flex-direction: row;
		align-items: flex-start;
		gap: 40px;
	}

	.ec-pqc-conf__venue-info {
		flex: 0 0 340px;
	}
}

/* ---------- PQC resources ---------- */

.ec-pqc-conf__resources {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 18px;
}

.ec-pqc-conf__resource {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background-color: #fff;
	border: 1px solid var(--pqc-line);
	border-radius: 16px;
	text-decoration: none;
}

/* The sitewide card hover (Tailwind shadow-lg shadow-gray-500/20), as on the
   Resource Library and Central Insights cards */
.ec-pqc-conf__resource:hover {
	box-shadow:
		0 10px 15px -3px rgb(106 114 130 / 0.2),
		0 4px 6px -4px rgb(106 114 130 / 0.2);
}

/* Thumbnails are 3:2. The 2:1 images fill them and lose a little at both
   sides, which keeps their centred artwork; the dark background shows while
   an image loads */
.ec-pqc-conf__resource-thumb {
	display: block;
	flex: none;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	background-color: var(--pqc-dark);
}

.ec-pqc-conf__resource-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ec-pqc-conf__resource-body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	align-items: flex-start;
	padding: 22px;
}

.ec-pqc-conf__resource-type {
	margin-bottom: 4px;
	color: var(--pqc-subtle);
}

.ec-pqc-conf__resource--featured .ec-pqc-conf__resource-type {
	color: var(--pqc-blue);
}

.ec-pqc-conf__resource-title {
	margin-bottom: 6px;
	color: var(--pqc-ink);
}

/* The card is a link, so these get the sitewide link text size (14px) */
.ec-pqc-conf__resource-line {
	margin-bottom: 16px;
	color: var(--pqc-muted);
}

.ec-pqc-conf__resource-link {
	margin-top: auto;
	font-weight: 500;
	color: var(--pqc-blue);
}

@media (min-width: 640px) {
	.ec-pqc-conf__resources {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1280px) {
	.ec-pqc-conf__resources {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

/* ---------- Stats strip (sitewide .insights-wrapper) ---------- */

.ec-pqc-conf__proof .insights-wrapper {
	max-width: 1130px;
	margin-inline: auto;
}

@media (min-width: 1024px) {
	.ec-pqc-conf__proof .insights-col {
		width: 25%;
	}
}

/* ---------- QryptoCon cross-promo ---------- */

.ec-pqc-conf__promo {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 24px;
	padding: 28px 24px;
	background-color: #fff;
	border: 1px solid var(--pqc-border);
	border-radius: 16px;
}

.ec-pqc-conf__promo-copy {
	max-width: 760px;
}

.ec-pqc-conf__promo .ec-pqc-conf__eyebrow {
	margin-bottom: 12px;
}

/* Size comes from the sitewide h2 style */
.ec-pqc-conf__promo-title {
	margin: 0 0 8px;
	color: var(--pqc-ink);
}

.ec-pqc-conf__promo-text {
	margin: 0;
	color: var(--pqc-muted);
}

@media (min-width: 768px) {
	.ec-pqc-conf__promo {
		padding: 36px 40px;
	}

	.ec-pqc-conf__promo-title span {
		display: block;
	}
}

@media (min-width: 1024px) {
	.ec-pqc-conf__promo {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}
}
