/*
Theme Name: EEXG Child Theme
Theme URI: https://entabit.com
Author: Entabit
Template: conseil
Author URI: https://entabit.com
Description: Child theme
Version: 1.0
Text Domain: eexg
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

/* Team background */
.team-hs {
  display: block !important;
  width: 100%;
}

.team-hs .elementor-widget-container,
.team-hs .pix-img-element,
.team-hs .pix-img-el {
  display: block !important;
  width: 100% !important;
}

.team-hs .pix-img-el {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: 16px !important;

  background:
    radial-gradient(
      circle at 50% 38%,
      #329b98 0%,
      #287d82 48%,
      #245f6d 100%
    );
}

.team-hs .pix-img-el::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;

  background:
    radial-gradient(
      circle at 50% 38%,
      rgba(255, 255, 255, 0.1) 0%,
      transparent 46%,
      rgba(5, 35, 42, 0.32) 100%
    ),
    repeating-radial-gradient(
      circle at 35% 45%,
      rgba(255, 255, 255, 0.025) 0 1px,
      transparent 1px 5px
    );

  mix-blend-mode: soft-light;
}


.team-hs .pix-img-el {
  background:
    radial-gradient(
      circle at 50% 38%,
      rgba(46, 161, 157, 0.95) 0%,
      rgba(38, 124, 132, 0.96) 54%,
      rgba(35, 91, 105, 1) 100%
    );
}


/* =============================================
   HERO BOOKING FORM - CF7 Complete CSS
   Pixfort theme - final version
   ============================================= */

/* ── Outer wrappers ── */
.hero-booking-form {
	display: block;
	width: 100%;
}

.pix-contact7-form .hero-booking-form,
.hero-booking-form .wpcf7,
.hero-booking-form .wpcf7 form.wpcf7-form {
	margin: 0 !important;
	padding: 0 !important;
}

/* ── Kill Bootstrap form-group p tag spacing ── */
.hero-booking-form p.form-group {
	margin-bottom: 0 !important;
	padding: 0 !important;
}

/* ── Hide CF7 br tags between label and input ── */
.hero-booking-form br {
	display: none !important;
}

/* ── Single full-width row ── */
.hero-booking-form .form-row {
	display: block !important;
	width: 100% !important;
	margin-bottom: 12px !important;
}

/* ── 2-column row ── */
.hero-booking-form .form-row-double {
	display: flex !important;
	gap: 12px !important;
	width: 100% !important;
	margin-bottom: 12px !important;
}

.hero-booking-form .form-col {
	display: block !important;
	flex: 1 1 0 !important;
	min-width: 0 !important;
}

/* ── Labels ── */
.hero-booking-form .form-row label,
.hero-booking-form .form-col label {
	display: block !important;
	margin-top: 0 !important;
	margin-bottom: 5px !important;
	padding: 0 !important;
	color: #333333 !important;
	font-family: "Inter", sans-serif !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	line-height: 1.4 !important;
}

/* ── CF7 span wrapper - force full width ── */
.hero-booking-form .wpcf7-form-control-wrap {
	display: block !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

/* ── All text, email and telephone inputs ── */
.hero-booking-form input.wpcf7-text,
.hero-booking-form input.wpcf7-email,
.hero-booking-form input.wpcf7-tel,
.hero-booking-form input.form-control,
.pix-contact7-form .hero-booking-form input.wpcf7-form-control {
	display: block !important;
	box-sizing: border-box !important;
	width: 100% !important;
	min-width: 0 !important;
	max-width: 100% !important;
	height: auto !important;
	margin: 0 !important;
	padding: 10px 14px !important;
	border: 1px solid #dde4ec !important;
	border-radius: 8px !important;
	outline: none !important;
	background-color: #ffffff !important;
	background-image: none !important;
	box-shadow: none !important;
	color: #1a1a2e !important;
	font-family: "Inter", sans-serif !important;
	font-size: 14px !important;
	line-height: 1.5 !important;
	appearance: none !important;
	-webkit-appearance: none !important;
	transition:
		border-color 0.2s,
		box-shadow 0.2s;
}

.hero-booking-form input.wpcf7-text:focus,
.hero-booking-form input.wpcf7-email:focus,
.hero-booking-form input.wpcf7-tel:focus,
.hero-booking-form input.form-control:focus {
	border-color: #229a9d !important;
	outline: none !important;
	box-shadow: 0 0 0 3px rgba(34, 154, 157, 0.12) !important;
}

.hero-booking-form input.wpcf7-text::placeholder,
.hero-booking-form input.wpcf7-email::placeholder,
.hero-booking-form input.wpcf7-tel::placeholder,
.hero-booking-form input.form-control::placeholder {
	color: #aab4c0 !important;
	opacity: 1 !important;
}

/* ── Select and dropdown ── */
.hero-booking-form select.wpcf7-select,
.hero-booking-form select.form-control,
.pix-contact7-form .hero-booking-form select.wpcf7-form-control {
	display: block !important;
	box-sizing: border-box !important;
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
	margin: 0 !important;
	padding: 10px 40px 10px 14px !important;
	border: 1px solid #dde4ec !important;
	border-radius: 8px !important;
	outline: none !important;
	background-color: #ffffff !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23555555' d='M6 8L1 3h10z'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 14px center !important;
	background-size: 12px !important;
	box-shadow: none !important;
	color: #aab4c0 !important;
	font-family: "Inter", sans-serif !important;
	font-size: 14px !important;
	line-height: 1.5 !important;
	cursor: pointer !important;
	appearance: none !important;
	-webkit-appearance: none !important;
	transition:
		border-color 0.2s,
		box-shadow 0.2s;
}

.hero-booking-form select.wpcf7-select:focus,
.hero-booking-form select.form-control:focus {
	border-color: #229a9d !important;
	outline: none !important;
	box-shadow: 0 0 0 3px rgba(34, 154, 157, 0.12) !important;
}

/* ── Submit button ── */
.hero-booking-form input.wpcf7-submit,
.pix-contact7-form .hero-booking-form input.wpcf7-submit {
	display: block !important;
	box-sizing: border-box !important;
	width: 100% !important;
	max-width: 100% !important;
	margin-top: 4px !important;
	padding: 13px 20px !important;
	border: none !important;
	border-radius: 8px !important;
	background-color: #229a9d !important;
	background-image: none !important;
	box-shadow: none !important;
	color: #ffffff !important;
	font-family: "Plus Jakarta Sans", sans-serif !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	line-height: 1.5 !important;
	letter-spacing: 0.01em !important;
	text-align: center !important;
	cursor: pointer !important;
	appearance: none !important;
	-webkit-appearance: none !important;
	transition: background-color 0.2s;
}

.hero-booking-form input.wpcf7-submit:hover {
	background-color: #1b8285 !important;
}

/* ── No icon on button ── */
.hero-booking-form .form-row:last-child::before {
	display: none !important;
}

/* ── CF7 spinner - hide ── */
.hero-booking-form .wpcf7-spinner {
	display: none !important;
}

/* ── Validation errors ── */
.hero-booking-form .wpcf7-not-valid-tip {
	display: block !important;
	margin-top: 4px !important;
	color: #e53e3e !important;
	font-family: "Inter", sans-serif !important;
	font-size: 12px !important;
}

.hero-booking-form input.wpcf7-not-valid,
.hero-booking-form select.wpcf7-not-valid {
	border-color: #e53e3e !important;
}

/* ── Response output ── */
.hero-booking-form .wpcf7-response-output {
	margin: 12px 0 0 !important;
	padding: 10px 14px !important;
	border: none !important;
	border-radius: 8px !important;
	font-family: "Inter", sans-serif !important;
	font-size: 13px !important;
}

.hero-booking-form .wpcf7-mail-sent-ok {
	background: #e6f7f5 !important;
	color: #229a9d !important;
}

.hero-booking-form .wpcf7-mail-sent-ng {
	background: #fef2f2 !important;
	color: #e53e3e !important;
}

/* ── Force full width - final Pixfort and Bootstrap override ── */
.hero-booking-form .wpcf7 input:not([type="submit"]),
.hero-booking-form .wpcf7 select {
	width: 100% !important;
	max-width: 100% !important;
}

/* ── Mobile responsive - stack 2-column rows ── */
@media (max-width: 600px) {
	.hero-booking-form .form-row-double {
		flex-direction: column !important;
		gap: 12px !important;
	}
}

/* =============================================
   EEXG MEMBERS LIBRARY
   Single resources, cards, filters and AJAX states
   ============================================= */

/* ── Shared Resource Library values ── */
.eeg-resource-meta,
.eeg-resource-grid,
.eeg-resource-filters,
.eeg-resource-results {
	--eeg-resource-primary: #239da3;
	--eeg-resource-primary-hover: #1d858b;
	--eeg-resource-text: #344054;
	--eeg-resource-muted: #5e6670;
	--eeg-resource-border: rgba(30, 61, 72, 0.14);
	--eeg-resource-topic-bg: #eaf5f5;
	--eeg-resource-topic-text: #28717a;
}

/* ── Single Resource metadata ── */
.eeg-resource-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-bottom: 22px;
}

.eeg-resource-pill {
	display: inline-flex;
	align-items: center;
	padding: 7px 12px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.2;
}

.eeg-resource-type {
	background: var(--eeg-resource-primary, #239da3);
	color: #ffffff;
}

.eeg-resource-topic {
	background: #eef6f6;
	color: #226b73;
}

.eeg-resource-version {
	color: #667085;
	font-size: 13px;
	font-weight: 600;
}

/* ── Single Resource action button ── */
.eeg-resource-action-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 13px 24px;
	border-radius: 8px;
	background: var(--eeg-resource-primary, #239da3);
	color: #ffffff !important;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none !important;
	transition:
		transform 0.2s ease,
		background-color 0.2s ease,
		opacity 0.2s ease;
}

.eeg-resource-action-button:hover,
.eeg-resource-action-button:focus {
	background: var(--eeg-resource-primary-hover, #1d858b);
	color: #ffffff !important;
	transform: translateY(-1px);
}

.eeg-resource-action-button:focus-visible {
	outline: 3px solid rgba(35, 157, 163, 0.22);
	outline-offset: 3px;
}

/* ── Resource breadcrumbs ── */
.eeg-resource-breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-bottom: 22px;
	color: #667085;
	font-size: 14px;
	line-height: 1.5;
}

.eeg-resource-breadcrumbs a {
	color: inherit;
	text-decoration: none;
}

.eeg-resource-breadcrumbs a:hover,
.eeg-resource-breadcrumbs a:focus {
	color: var(--eeg-resource-primary, #239da3);
}

.eeg-resource-breadcrumbs__separator {
	opacity: 0.55;
}

.eeg-resource-breadcrumbs [aria-current="page"] {
	color: #344054;
}

/* ── Resource About section fallback ── */
.eeg-resource-about {
	width: 100%;
	max-width: 820px;
	margin-right: auto;
	margin-left: auto;
}

.eeg-resource-about__content {
	color: #525866;
	font-size: 16px;
	line-height: 1.75;
}

.eeg-resource-about__content > :first-child {
	margin-top: 0;
}

.eeg-resource-about__content > :last-child {
	margin-bottom: 0;
}

/* ── Resource grids ── */
.eeg-resource-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
	width: 100%;
}

.eeg-resource-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	border: 1px solid rgba(30, 61, 72, 0.1);
	border-radius: 12px;
	background: #ffffff;
	box-shadow: 0 8px 24px rgba(30, 61, 72, 0.06);
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease;
}

.eeg-resource-card:hover {
	box-shadow: 0 14px 34px rgba(30, 61, 72, 0.1);
	transform: translateY(-3px);
}

.eeg-resource-card__image {
	display: block;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	background: #e8f2f3;
}

.eeg-resource-card__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.eeg-resource-card:hover .eeg-resource-card__image img {
	transform: scale(1.025);
}

.eeg-resource-card__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #e5f2f3, #d5e9eb);
}

.eeg-resource-card__content {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	padding: 24px;
}

.eeg-resource-card__terms {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 14px;
}

.eeg-resource-card__type,
.eeg-resource-card__topic {
	display: inline-flex;
	align-items: center;
	padding: 5px 9px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
}

.eeg-resource-card__type {
	background: #5bc0e5;
	color: #ffffff;
}

.eeg-resource-card__topic {
	background: var(--eeg-resource-topic-bg, #eaf5f5);
	color: var(--eeg-resource-topic-text, #28717a);
}

.eeg-resource-card__title {
	margin: 0 0 12px;
	font-size: 21px;
	line-height: 1.3;
}

.eeg-resource-card__title a {
	color: inherit;
	text-decoration: none;
}

.eeg-resource-card__title a:hover,
.eeg-resource-card__title a:focus {
	color: var(--eeg-resource-primary, #239da3);
}

.eeg-resource-card__excerpt {
	margin: 0 0 22px;
	color: var(--eeg-resource-muted, #5e6670);
	font-size: 15px;
	line-height: 1.65;
}

.eeg-resource-card__button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: auto;
	padding: 10px 16px;
	border-radius: 7px;
	background: var(--eeg-resource-primary, #239da3);
	color: #ffffff !important;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none !important;
	transition:
		background-color 0.2s ease,
		transform 0.2s ease;
}

.eeg-resource-card__button:hover,
.eeg-resource-card__button:focus {
	background: var(--eeg-resource-primary-hover, #1d858b);
	color: #ffffff !important;
	transform: translateY(-1px);
}

.eeg-resource-card__button:focus-visible {
	outline: 3px solid rgba(35, 157, 163, 0.22);
	outline-offset: 3px;
}

/* ── Empty state ── */
.eeg-resource-empty {
	width: 100%;
	padding: 34px;
	border: 1px dashed rgba(30, 61, 72, 0.22);
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.55);
	color: var(--eeg-resource-muted, #5e6670);
	text-align: center;
}

.eeg-resource-empty p {
	margin-top: 0;
}

.eeg-resource-empty a {
	color: var(--eeg-resource-topic-text, #28717a);
	font-weight: 600;
}

/* ── Resource pagination ── */
.eeg-resource-pagination {
	margin-top: 42px;
}

.eeg-resource-pagination .page-numbers {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.eeg-resource-pagination .page-numbers a,
.eeg-resource-pagination .page-numbers span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border: 1px solid var(
		--eeg-resource-border,
		rgba(30, 61, 72, 0.14)
	);
	border-radius: 7px;
	background: #ffffff;
	color: #286e76;
	text-decoration: none;
}

.eeg-resource-pagination .page-numbers a:hover,
.eeg-resource-pagination .page-numbers a:focus,
.eeg-resource-pagination .page-numbers .current {
	border-color: var(--eeg-resource-primary, #239da3);
	background: var(--eeg-resource-primary, #239da3);
	color: #ffffff;
}

/* ── Members Library browser width alignment ── */

/*
 * Add the CSS class `eeg-library-browser` to the single outer
 * Elementor container holding the Browse heading, filter shortcode
 * and Resource grid shortcode.
 */
.eeg-library-browser,
.eeg-library-browser > .e-con-inner {
	width: 100%;
	max-width: 1200px;
	margin-right: auto;
	margin-left: auto;
}

.eeg-library-browser .elementor-widget-shortcode,
.eeg-library-browser .elementor-widget-shortcode > .elementor-widget-container,
.eeg-library-browser .elementor-shortcode {
	width: 100%;
	max-width: 100%;
}

/* Keep the search controls slightly narrower and centred. */
.eeg-resource-filters {
	width: 100%;
	max-width: 1040px;
	margin-right: auto;
	margin-left: auto;
}

/* Keep the Resource grid at the full 1200px section width. */
.eeg-resource-results {
	width: 100%;
	max-width: none;
	margin-right: 0;
	margin-left: 0;
}

/* ── Members Library search and filters ── */
.eeg-resource-filters,
.eeg-resource-filters * {
	box-sizing: border-box;
}

.eeg-resource-filters {
	display: grid;
	grid-template-columns:
		minmax(220px, 1.4fr)
		minmax(180px, 1fr)
		minmax(180px, 1fr)
		minmax(155px, auto);
	align-items: start;
	gap: 18px;
	margin-top: 34px;
	margin-bottom: 28px;
}

.eeg-resource-filter-field {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
}

.eeg-resource-filter-field label {
	margin: 0;
	color: var(--eeg-resource-text, #344054);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
}

.eeg-resource-filter-field input,
.eeg-resource-filter-field select {
	width: 100%;
	height: 48px;
	min-height: 48px;
	margin: 0;
	padding: 10px 14px;
	border: 1px solid rgba(30, 61, 72, 0.16);
	border-radius: 8px;
	background-color: #ffffff;
	box-shadow: none;
	color: var(--eeg-resource-text, #344054);
	font: inherit;
	font-size: 15px;
	line-height: 1.4;
	transition:
		border-color 0.2s ease,
		box-shadow 0.2s ease;
}

.eeg-resource-filter-field input::placeholder {
	color: #8a94a3;
	opacity: 1;
}

.eeg-resource-filter-field input[type="search"] {
	appearance: none;
	-webkit-appearance: none;
}

.eeg-resource-filter-field input[type="search"]::-webkit-search-cancel-button,
.eeg-resource-filter-field input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

.eeg-resource-filter-field input:focus,
.eeg-resource-filter-field select:focus {
	border-color: var(--eeg-resource-primary, #239da3);
	outline: 0;
	box-shadow: 0 0 0 3px rgba(35, 157, 163, 0.14);
}

/* Styled closed state for native select controls. */
.eeg-resource-filter-field select {
	padding-right: 46px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23344054' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
	background-size: 14px 8px;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
}

.eeg-resource-filter-field select::-ms-expand {
	display: none;
}

/* ── Search and Clear controls ── */
.eeg-resource-filter-actions {
	display: grid;
	grid-template-rows: 48px 20px;
	align-items: start;
	gap: 8px;
	min-width: 155px;
	padding-top: 26px;
}

.eeg-resource-filter-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 48px;
	margin: 0;
	padding: 11px 18px;
	border: 0;
	border-radius: 8px;
	background: var(--eeg-resource-primary, #239da3);
	color: #ffffff;
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
	cursor: pointer;
	transition:
		background-color 0.2s ease,
		opacity 0.2s ease;
}

.eeg-resource-filter-submit:hover,
.eeg-resource-filter-submit:focus {
	background: var(--eeg-resource-primary-hover, #1d858b);
}

.eeg-resource-filter-submit:focus-visible {
	outline: 3px solid rgba(35, 157, 163, 0.22);
	outline-offset: 3px;
}

.eeg-resource-filter-submit:disabled {
	opacity: 0.72;
	cursor: wait;
}

.eeg-resource-filter-clear {
	display: block;
	min-height: 20px;
	color: var(--eeg-resource-topic-text, #28717a);
	font-size: 13px;
	font-weight: 600;
	line-height: 20px;
	text-align: center;
	text-decoration: none;
	transition: opacity 0.15s ease;
}

.eeg-resource-filter-clear.is-hidden {
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
}

.eeg-resource-filter-clear:hover,
.eeg-resource-filter-clear:focus {
	text-decoration: underline;
}

/* ── Results summary and AJAX loading state ── */
.eeg-resource-results {
	position: relative;
	min-height: 180px;
}

.eeg-resource-results__summary {
	display: flex;
	justify-content: flex-start;
	margin-bottom: 18px;
	color: #525866;
	font-size: 14px;
}

.eeg-resource-results.is-loading {
	pointer-events: none;
}

.eeg-resource-results.is-loading > * {
	opacity: 0.38;
	transition: opacity 0.18s ease;
}

.eeg-resource-results.is-loading::after {
	position: absolute;
	top: 72px;
	left: 50%;
	z-index: 2;
	width: 34px;
	height: 34px;
	margin-left: -17px;
	border: 3px solid rgba(35, 157, 163, 0.22);
	border-top-color: var(--eeg-resource-primary, #239da3);
	border-radius: 50%;
	content: "";
	animation: eeg-resource-spinner 0.75s linear infinite;
}

@keyframes eeg-resource-spinner {
	to {
		transform: rotate(360deg);
	}
}

/* ── Resource Library responsive styles ── */
@media (max-width: 991px) {
	.eeg-resource-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.eeg-resource-filters {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.eeg-resource-filter-actions {
		grid-column: 1 / -1;
		grid-template-columns: minmax(180px, 220px);
		grid-template-rows: 48px 20px;
		justify-content: start;
		width: 100%;
		padding-top: 0;
	}
}

@media (max-width: 767px) {
	.eeg-resource-grid {
		grid-template-columns: 1fr;
		gap: 22px;
	}

	.eeg-resource-card__content {
		padding: 20px;
	}

	.eeg-resource-action-button {
		width: 100%;
	}

	.eeg-resource-filters {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.eeg-resource-filter-actions {
		grid-column: auto;
		grid-template-columns: 1fr;
		grid-template-rows: 48px 20px;
		width: 100%;
		padding-top: 0;
	}

	.eeg-resource-results__summary {
		justify-content: center;
		text-align: center;
	}
}

@media (prefers-reduced-motion: reduce) {
	.eeg-resource-action-button,
	.eeg-resource-card,
	.eeg-resource-card__image img,
	.eeg-resource-card__button,
	.eeg-resource-filter-submit,
	.eeg-resource-results.is-loading > * {
		transition: none;
	}

	.eeg-resource-results.is-loading::after {
		animation-duration: 1.5s;
	}
}

/* Keep Resource titles and excerpts visually consistent. */

.eeg-resource-card__title {
	display: -webkit-box;
	overflow: hidden;
	min-height: 54px;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.eeg-resource-card__excerpt {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
}

@media (max-width: 767px) {
	.eeg-resource-card__title {
		min-height: auto;
	}
}

/* Remove theme-generated bullets from Resource pagination. */

.eeg-resource-pagination ul.page-numbers {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 8px;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.eeg-resource-pagination ul.page-numbers > li {
	display: block;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.eeg-resource-pagination ul.page-numbers > li::before,
.eeg-resource-pagination ul.page-numbers > li::after {
	display: none !important;
	content: none !important;
}

/* =============================================
   RESOURCE INCLUDED DOWNLOADS
   ============================================= */

.eeg-resource-downloads {
	width: 100%;
	max-width: 1200px;
	margin: 48px auto 72px;
	padding: 28px;
	border: 1px solid rgba(30, 61, 72, 0.1);
	border-radius: 14px;
	background: #ffffff;
	box-shadow: 0 8px 28px rgba(30, 61, 72, 0.05);
}

.eeg-resource-downloads__heading {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 20px;
}

.eeg-resource-downloads__heading h2 {
	margin: 0;
	font-size: 25px;
	line-height: 1.3;
}

.eeg-resource-downloads__heading-icon,
.eeg-resource-download__icon {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #eaf5f5;
	color: #239da3;
}

.eeg-resource-downloads__heading-icon {
	width: 42px;
	height: 42px;
}

.eeg-resource-download__icon {
	width: 40px;
	height: 40px;
}

.eeg-resource-downloads svg {
	width: 21px;
	height: 21px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.eeg-resource-downloads__list {
	overflow: hidden;
	border: 1px solid rgba(30, 61, 72, 0.12);
	border-radius: 10px;
}

.eeg-resource-download {
	display: grid;
	grid-template-columns:
		40px
		minmax(0, 1fr)
		auto;
	align-items: center;
	gap: 16px;
	padding: 18px 20px;
	background: #ffffff;
}

.eeg-resource-download + .eeg-resource-download {
	border-top: 1px solid rgba(30, 61, 72, 0.1);
}

.eeg-resource-download__content {
	min-width: 0;
}

.eeg-resource-download__content h3 {
	margin: 0 0 4px;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.35;
}

.eeg-resource-download__content p {
	margin: 0;
	color: #5e6670;
	font-size: 14px;
	line-height: 1.55;
}

.eeg-resource-download__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 11px 17px;
	border: 0;
	border-radius: 7px;
	background: #239da3;
	color: #ffffff !important;
	font-family: "Plus Jakarta Sans", sans-serif !important;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: normal;
	white-space: nowrap;
	text-decoration: none !important;
	transition:
		background-color 0.2s ease,
		transform 0.2s ease;
}

.eeg-resource-download__button-text,
.eeg-resource-download__button-icon {
	display: inline-flex;
	align-items: center;
}

.eeg-resource-download__button-icon {
	flex: 0 0 auto;
}

.eeg-resource-download__button-icon svg {
	width: 17px;
	height: 17px;
}

.eeg-resource-download__button:hover,
.eeg-resource-download__button:focus {
	background: #1d858b;
	color: #ffffff !important;
	transform: translateY(-1px);
}

.eeg-resource-download__button:focus-visible {
	outline: 3px solid rgba(35, 157, 163, 0.22);
	outline-offset: 3px;
}

@media (max-width: 767px) {
	.eeg-resource-downloads {
		margin-top: 32px;
		margin-bottom: 48px;
		padding: 20px;
	}

	.eeg-resource-downloads__heading h2 {
		font-size: 22px;
	}

	.eeg-resource-download {
		grid-template-columns: 40px minmax(0, 1fr);
		gap: 12px;
		padding: 18px;
	}

	.eeg-resource-download__button {
		grid-column: 1 / -1;
		width: 100%;
		margin-top: 4px;
	}
}


/* =========================================================
   EEXG RESOURCES GUEST MEMBERSHIP GATE
   Blur, overlay, interaction and sticky panel behaviour
   ========================================================= */

/*
 * Main guest gate.
 *
 * The blurred Resources content and the access overlay occupy
 * the same grid area. The blurred content determines the
 * complete height of the section.
 */
.eexg-guest-gate {
	position: relative !important;
	display: grid !important;
	grid-template-columns: minmax(0, 1fr);
	grid-template-rows: auto;
	align-items: stretch !important;

	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;

	/*
	 * Sticky positioning can fail when an ancestor uses
	 * overflow hidden or overflow auto.
	 */
	overflow: visible !important;
	isolation: isolate;
}

/*
 * Place the blurred Resources library and access overlay into
 * the same grid position.
 */
.eexg-guest-blur,
.eexg-access-panel-wrap {
	grid-column: 1;
	grid-row: 1;
}

/* =========================================================
   BLURRED RESOURCES CONTENT
   ========================================================= */

.eexg-guest-blur {
	position: relative;
	z-index: 1;

	display: flex;
	flex-direction: column;
	gap: 0;

	width: 100%;
	max-width: none;
	min-width: 0;
	margin: 0;
	padding: 0;

	filter: blur(6px);
	opacity: 0.5;
	transform: scale(1.012);
	transform-origin: center;

	/*
	 * This clips the slightly enlarged blurred content without
	 * interfering with the sticky panel, because it is a sibling.
	 */
	overflow: hidden;

	pointer-events: none !important;
	user-select: none;
}

/*
 * Ensure forms, buttons and links behind the overlay cannot
 * accidentally be selected or clicked.
 */
.eexg-guest-blur,
.eexg-guest-blur * {
	pointer-events: none !important;
}

/*
 * Light veil covering the complete gated section.
 */
.eexg-guest-gate::after {
	content: "";
	position: absolute;
	z-index: 2;
	inset: 0;

	background: rgba(226, 243, 246, 0.22);

	pointer-events: none;
}

/* =========================================================
   FULL-HEIGHT ACCESS OVERLAY
   ========================================================= */

/*
 * This is the invisible full-height track containing the
 * Members Only panel.
 *
 * Elementor currently treats this as a boxed container, so
 * these rules override its generated width and alignment.
 */
.eexg-access-panel-wrap {
	--align-self: stretch !important;
	--content-width: 100% !important;

	position: relative !important;
	inset: auto !important;
	z-index: 20 !important;

	display: block !important;
	place-self: stretch !important;
	align-self: stretch !important;
	justify-self: stretch !important;

	width: 100% !important;
	max-width: none !important;
	min-width: 0 !important;

	height: 100% !important;
	min-height: 100% !important;

	margin: 0 !important;
	padding: 0 !important;

	overflow: visible !important;
	pointer-events: none !important;
}

/*
 * Make Elementor's generated inner container span the full
 * height of the blurred Resources section.
 *
 * This parent is deliberately not sticky. The visible dark
 * panel itself becomes sticky below.
 */
.eexg-access-panel-wrap > .e-con-inner {
	position: relative !important;

	display: block !important;

	width: 100% !important;
	max-width: none !important;

	height: 100% !important;
	min-height: 100% !important;

	margin: 0 !important;
	padding: 0 !important;

	box-sizing: border-box;
	overflow: visible !important;
	pointer-events: none !important;
}

/* =========================================================
   VISIBLE MEMBERS ONLY PANEL
   ========================================================= */

/*
 * The panel begins at the top of the blurred section.
 *
 * As the visitor scrolls, it becomes sticky at approximately
 * the vertical centre of the usable viewport. It releases
 * automatically when the blurred section ends.
 *
 * The desktop calculation accounts for:
 * - approximately 91px sticky header
 * - approximately 450px panel height
 */
.eexg-access-panel {
	position: sticky !important;

	top: clamp(
		110px,
		calc(50vh - 180px),
		420px
	) !important;

	top: clamp(
		110px,
		calc(50svh - 180px),
		420px
	) !important;

	z-index: 22 !important;

	width: 100% !important;
	max-width: 550px !important;
	min-width: 0;

	margin-right: auto !important;
	margin-left: auto !important;

	flex: 0 0 auto !important;
	align-self: center !important;

	box-sizing: border-box;

	pointer-events: auto !important;
	user-select: text;
}

/*
 * Prevent Elementor's generated 1200px inner content width
 * from making the dark panel stretch.
 */
.eexg-access-panel > .e-con-inner {
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box;
}

/*
 * Restore click interaction for all controls inside the panel.
 */
.eexg-access-panel a,
.eexg-access-panel button,
.eexg-access-panel input,
.eexg-access-panel select,
.eexg-access-panel textarea {
	position: relative;
	z-index: 23;

	pointer-events: auto !important;
	cursor: pointer;
}

/*
 * Elementor and Pixfort decorative layers must not intercept
 * clicks intended for the buttons.
 */
.eexg-access-panel::before,
.eexg-access-panel::after,
.eexg-access-panel > .elementor-background-overlay,
.eexg-access-panel > .elementor-motion-effects-container {
	pointer-events: none !important;
}

/* =========================================================
   TABLET
   ========================================================= */

@media only screen and (max-width: 1024px) {
	.eexg-guest-blur {
		filter: blur(5px);
		opacity: 0.48;
		transform: scale(1.016);
	}

	/*
	 * Pixfort switches to its approximately 50px mobile header
	 * around this breakpoint.
	 */
	.eexg-access-panel {
		top: clamp(
			70px,
			calc(50vh - 200px),
			340px
		) !important;

		top: clamp(
			70px,
			calc(50svh - 200px),
			340px
		) !important;

		max-width: 500px !important;
	}
}

/* =========================================================
   MOBILE
   ========================================================= */

@media only screen and (max-width: 767px) {
	.eexg-guest-blur {
		filter: blur(5px);
		opacity: 0.46;
		transform: scale(1.02);
	}

	.eexg-access-panel-wrap > .e-con-inner {
		padding-right: 16px !important;
		padding-left: 16px !important;
	}

	.eexg-access-panel {
		top: clamp(
			65px,
			calc(50vh - 200px),
			250px
		) !important;

		top: clamp(
			65px,
			calc(50svh - 200px),
			250px
		) !important;

		width: 100% !important;
		max-width: 420px !important;
	}
}

/* =========================================================
   EEXG GUEST GATE FINAL SPACING AND BACKGROUND REFINEMENTS
   ========================================================= */

/*
 * Add breathing room when the gated section first appears,
 * and before the sticky panel reaches the end of the section.
 */
.eexg-access-panel-wrap > .e-con-inner {
	padding-top: 48px !important;
	padding-bottom: 48px !important;
}

/*
 * Give the background artwork enough vertical space and show
 * the complete image rather than cropping it with "cover".
 */
.eexg-access-panel {
	min-height: 520px !important;

	background-size: contain !important;
	background-position: center center !important;
	background-repeat: no-repeat !important;
}

/*
 * Apply the same background behaviour if Elementor places
 * the image on its motion-effects background layer.
 */
.eexg-access-panel
	> .elementor-motion-effects-container
	> .elementor-motion-effects-layer {
	background-size: contain !important;
	background-position: center center !important;
	background-repeat: no-repeat !important;
}

/* Tablet */
@media only screen and (max-width: 1024px) {
	.eexg-access-panel-wrap > .e-con-inner {
		padding-top: 36px !important;
		padding-bottom: 36px !important;
	}

	.eexg-access-panel {
		min-height: 500px !important;
	}
}

/* Mobile */
@media only screen and (max-width: 767px) {
	.eexg-access-panel-wrap > .e-con-inner {
		padding-top: 28px !important;
		padding-bottom: 28px !important;
	}

	.eexg-access-panel {
		min-height: 480px !important;
		background-position: center center !important;
	}
}