/*
 * Leading Mountains Widgets – Stylesheet
 * Brand tokens: rood #CC0000 · donker #2D3142 · taupe #8B8480 · wit #fff
 */

:root {
	--lm-red:    #CC0000;
	--lm-dark:   #2D3142;
	--lm-taupe:  #8B8480;
	--lm-white:  #ffffff;
	--lm-radius: 20px;
}

/* ─────────────────────────────────────────────────────────────────────────────
   VIDEO TESTIMONIAL WIDGET
───────────────────────────────────────────────────────────────────────────── */

.lm-video-card {
	position: relative;
	overflow: hidden;
	border-radius: var(--lm-radius);
	background-color: var(--lm-dark);
	background-size: cover;
	background-position: center top;
	aspect-ratio: 9 / 16;
	max-width: 380px;
	cursor: default;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	height: 441px;
	margin-top: 10px;
}

.lm-video-card.lm-has-video {
	cursor: pointer;
}

/* Dark gradient overlay at bottom */
.lm-video-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to bottom,
		transparent 40%,
		rgba(0, 0, 0, 0.75) 100%
	);
	pointer-events: none;
}

/* Play button */
.lm-video-play {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 72px;
	height: 72px;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.lm-video-play svg {
	width: 100%;
	height: 100%;
	filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
}

.lm-video-card.lm-has-video:hover .lm-video-play,
.lm-video-card.lm-has-video:focus-visible .lm-video-play {
	transform: translate(-50%, -50%) scale(1.1);
}

/* Bottom content */
.lm-video-bottom {
	position: relative;
	z-index: 1;
	padding: 24px 24px 28px;
	display: flex;
	flex-direction: column;
	gap: 16px;
	transition: opacity 0.45s ease, transform 0.45s ease;
}

/* ── Inline video modus ──────────────────────────────────────────────────── */

/* Elementen die verdwijnen als de video start */
.lm-video-card.is-playing .lm-video-overlay,
.lm-video-card.is-playing .lm-video-play,
.lm-video-card.is-playing .lm-video-bottom {
	opacity: 0;
	pointer-events: none;
	transform: translateY(8px);
}

.lm-video-card.is-playing .lm-video-play {
	transform: translate(-50%, -50%) scale(0.85);
}

/* Achtergrondafbeelding vervagen via pseudo-element opacity */
.lm-video-card {
	transition: background-color 0.5s ease;
}
.lm-video-card.is-playing {
	background-image: none !important;
	background-color: #000;
	cursor: default;
}

/* Inline video container */
.lm-video-inline {
	position: absolute;
	inset: 0;
	z-index: 10;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.5s ease 0.25s; /* vertraagd zodat fade-out eerst klaar is */
}

.lm-video-card.is-playing .lm-video-inline {
	opacity: 1;
	pointer-events: auto;
}

.lm-video-inline iframe,
.lm-video-inline video {
	width: 100%;
	height: 100%;
	border: none;
	display: block;
}

.lm-video-quote {
	margin: 0;
	font-size: 11px;
	font-style: italic;
	line-height: 1.5;
	color: var(--lm-white);
}

.lm-video-author {
	display: flex;
	align-items: center;
	gap: 12px;
}

.lm-video-author-img {
	width: 36px !important;
	height: 36px !important;
	border-radius: 50px;
	object-fit: cover;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3);
	flex-shrink: 0;
	border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

.lm-video-author-info {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

/* ─────────────────────────────────────────────────────────────────────────────
   TESTIMONIAL WIDGET
───────────────────────────────────────────────────────────────────────────── */

.lm-testimonial-card {
	background-color: var(--lm-dark);
	border-radius: var(--lm-radius);
	padding: 36px 40px 32px;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

/* Header: stars + badge */
.lm-testimonial-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.lm-stars {
	display: flex;
	gap: 4px;
	align-items: center;
}

/* SVG star */
.lm-star-svg {
	width: 22px;
	height: 22px;
	flex-shrink: 0;
	overflow: visible;
}

.lm-star-base {
	fill: rgba(255,255,255,0.18);
}

.lm-star-fill {
	fill: var(--lm-red);
}

.lm-testimonial-badge {
	display: inline-block;
	padding: 6px 14px;
	border-radius: 999px;
	border: 1px solid;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	background-color: rgba(204, 0, 0, 0.15);
	color: var(--lm-red);
	border-color: rgba(204, 0, 0, 0.3);
	white-space: nowrap;
}

/* Quote */
.lm-testimonial-quote {
	margin: 0;
	padding: 0;
	font-size: 17px;
	font-style: italic;
	line-height: 1.55;
	color: var( --e-global-color-09e96d9 );
	flex: 1;
}

/* Author */
.lm-testimonial-author {
	display: flex;
	align-items: center;
	gap: 14px;
}

.lm-testimonial-author-img {
	width: 48px;
	height: 48px !important;
	border-radius: 50px !important;
	object-fit: cover;
	border: 1px solid var(--e-global-color-primary) !important;
	flex-shrink: 0;
}



.lm-testimonial-author-info {
	display: flex;
	flex-direction: column;
	gap: 3px;
}


.review-txt-listing .jet-listing-grid .prev-arrow, .review-txt-listing .jet-listing-grid .next-arrow{
    border-radius: 50px;
}

.review-txt-listing .jet-listing-grid .prev-arrow:hover, .review-txt-listing .jet-listing-grid .next-arrow:hover{
    background: var(--e-global-color-secondary) !important
}

.review-txt-listing .jet-listing-grid .prev-arrow{
    background: var(--e-global-color-7b76f6f) !important;
    border: 1px solid rgba(30, 34, 48, 0.082) !important;
}


.review-txt-listing .jet-listing-grid .prev-arrow svg path{
    fill: var(--e-global-color-secondary) !important;
}

.jet-listing-grid .prev-arrow:hover svg path{
    fill: var(--e-global-color-7b76f6f) !important;
}

.review-txt-listing .jet-listing-grid .jet-engine-swiper-pagination-wrapper {
    justify-content: left !important;
}

.review-txt-listing .jet-listing-grid .jet-engine-swiper-pagination-wrapper .swiper-pagination-bullet-active, .review-txt-listing.white-bg .jet-listing-grid .jet-engine-swiper-pagination-wrapper .swiper-pagination-bullet.swiper-pagination-bullet-active{
    width: 28px;
    border-radius: 10px;
    background: var( --e-global-color-primary );
}

.review-txt-listing.white-bg .jet-listing-grid .jet-listing-grid__item .elementor-element .e-con-inner .elementor-element .elementor-widget-container .lm-testimonial-card{
    background: var(--e-global-color-7b76f6f);
}

.review-txt-listing.white-bg .jet-listing-grid .jet-listing-grid__item .elementor-element .e-con-inner .elementor-element .elementor-widget-container .lm-testimonial-card .lm-testimonial-quote .wp-block-paragraph, .review-txt-listing.white-bg .jet-listing-grid .jet-listing-grid__item .elementor-element .e-con-inner .elementor-element .elementor-widget-container .lm-testimonial-card .lm-testimonial-quote .lm-testimonial-author .lm-testimonial-author-info .lm-author-name{
    color: var(--e-global-color-secondary);
}

.review-txt-listing.white-bg .lm-testimonial-quote p,
.review-txt-listing.white-bg .lm-author-name {
    color: var(--e-global-color-secondary);
}

.review-txt-listing.white-bg .jet-listing-grid .jet-listing-grid__item .elementor-element .e-con-inner .elementor-element .elementor-widget-container .lm-testimonial-card .lm-testimonial-quote .lm-testimonial-author .lm-testimonial-author-info .lm-author-title{
	color: var(--e-global-color-805e854);
}

.review-txt-listing.white-bg .jet-listing-grid .jet-engine-swiper-pagination-wrapper .swiper-pagination-bullet{
    background-color: rgba(255, 255, 255, 0.145);
}

.lm-testimonial-author-img{
    border-radius: 50px;
    border: 1px solid var(--e-global-color-primary);
}


/* Shared author typography */
.lm-author-name {
	display: block;
	font-size: 12px;
	font-weight: 700;
	color: var(--lm-white);
	margin-bottom: -5px;
}

.lm-author-title {
	display: block;
	font-size: 11px;
	color: var(--lm-taupe);
}

/* Slider footer: progress + nav */
.lm-slider-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 20px;
	padding: 0 4px;
}

/* Dots pagination */
.lm-slider-dots {
	display: flex;
	align-items: center;
	gap: 6px;
}

.lm-dot {
	width: 8px;
	height: 8px;
	border-radius: 99px;
	background-color: rgba(255,255,255,0.25);
	border: none;
	padding: 0;
	cursor: pointer;
	transition: width 0.3s ease, background-color 0.3s ease;
	flex-shrink: 0;
}

.lm-dot.is-active {
	width: 24px;
	background-color: var(--lm-red);
}

.lm-slider-nav {
	display: flex;
	gap: 10px;
}

.lm-slider-btn {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	border: none;
	background: var(--lm-white);
	color: var(--lm-dark);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.15s ease;
	flex-shrink: 0;
}

.lm-slider-btn:hover {
	transform: scale(1.05);
}

.lm-slider-btn:focus-visible {
	outline: 2px solid var(--lm-red);
	outline-offset: 2px;
}

.lm-slider-btn svg {
	width: 18px;
	height: 18px;
}

.lm-btn-red {
	background: var(--lm-red);
	color: var(--lm-white);
}

/* ─────────────────────────────────────────────────────────────────────────────
   LIGHTBOX
───────────────────────────────────────────────────────────────────────────── */

.lm-lightbox {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
}

.lm-lightbox[hidden] {
	display: none;
}

.lm-lightbox-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.88);
	cursor: pointer;
}

.lm-lightbox-inner {
	position: relative;
	z-index: 1;
	width: min(90vw, 960px);
}

.lm-lightbox-close {
	position: absolute;
	top: -44px;
	right: 0;
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 6px;
	line-height: 1;
}

.lm-lightbox-close svg {
	width: 28px;
	height: 28px;
}

.lm-lightbox-video-wrap {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	border-radius: 12px;
	background: #000;
}

.lm-lightbox-video-wrap iframe,
.lm-lightbox-video-wrap video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: none;
}

/* ─────────────────────────────────────────────────────────────────────────────
   AGENDA CARD WIDGET
───────────────────────────────────────────────────────────────────────────── */

.lm-agenda-card {
	background-color: var(--lm-dark);
	border-radius: 20px;
	overflow: hidden;
	color: var(--lm-white);
}

/* ── Hoofdkaart layout ───────────────────────────────────────────────────── */

.lm-agenda-main {
	display: grid;
	grid-template-columns: 340px 1fr;
	gap: 0;
}

@media (max-width: 768px) {
	.lm-agenda-main {
		grid-template-columns: 1fr;
	}
}

/* ── Afbeelding links ────────────────────────────────────────────────────── */

.lm-agenda-image-wrap {
	position: relative;
	overflow: hidden;
}

.lm-agenda-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

@media (max-width: 768px) {
	.lm-agenda-image {
		aspect-ratio: 4 / 3;
	}
}

/* Badges */
.lm-agenda-badge {
	position: absolute;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 16px;
	border-radius: 999px;
	background-color: var(--lm-red);
	color: var(--lm-white);
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
}

.lm-agenda-badge--date {
	top: 20px;
	left: 20px;
}

.lm-agenda-badge--guarantee {
	bottom: 20px;
	left: 20px;
	gap: 8px;
}

.lm-guarantee-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: rgba(255,255,255,0.9);
	flex-shrink: 0;
}

.lm-guarantee-check {
	width: 14px;
	height: 14px;
	flex-shrink: 0;
}

/* ── Content rechts ──────────────────────────────────────────────────────── */

.lm-agenda-content {
	padding: 32px 36px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.lm-agenda-title {
	margin: 0;
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 800;
	line-height: 1.15;
	color: var(--lm-white);
}

/* Meta rij */
.lm-agenda-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
}

.lm-agenda-meta-item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.875rem;
	color: rgba(255,255,255,0.7);
}

.lm-meta-icon {
	width: 15px;
	height: 15px;
	color: var(--lm-red);
	flex-shrink: 0;
}

/* Beschrijving */
.lm-agenda-description {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.65;
	color: rgba(255,255,255,0.85);
}

/* Divider */
.lm-agenda-divider {
	height: 1px;
	background: rgba(255,255,255,0.1);
	margin: 4px 0;
}

/* Team */
.lm-agenda-team {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
}

.lm-team-label {
	font-size: 0.8125rem;
	color: var(--lm-taupe);
	letter-spacing: 0.03em;
	min-width: 120px;
}

.lm-team-avatars {
	display: flex;
}

.lm-team-avatar {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid var(--lm-dark);
	margin-right: -10px;
	flex-shrink: 0;
}

.lm-team-avatar:last-child {
	margin-right: 0;
}

.lm-team-names {
	font-size: 0.9rem;
	color: var(--lm-white);
	margin-left: 14px;
}

/* Footer knoppen */
.lm-agenda-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 4px;
}

/* Details toggle knop */
.lm-agenda-details-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: transparent;
	border: 1.5px solid rgba(255,255,255,0.2);
	color: var(--lm-white);
	border-radius: 999px;
	padding: 10px 18px;
	font-size: 0.9rem;
	font-weight: 500;
	cursor: pointer;
	transition: border-color 0.2s ease;
}

.lm-agenda-details-btn:hover {
	border-color: rgba(255,255,255,0.5);
}

.lm-agenda-details-btn:focus-visible {
	outline: 2px solid var(--lm-red);
	outline-offset: 2px;
}

.lm-details-chevron {
	display: flex;
	align-items: center;
	width: 22px;
	height: 22px;
	border: 1.5px solid rgba(255,255,255,0.3);
	border-radius: 50%;
	padding: 3px;
	transition: transform 0.35s ease;
	flex-shrink: 0;
}

.lm-details-chevron svg {
	width: 100%;
	height: 100%;
}

.lm-agenda-details-btn[aria-expanded="true"] .lm-details-chevron {
	transform: rotate(180deg);
}

/* CTA knop */
.lm-agenda-cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--lm-red);
	color: var(--lm-white);
	text-decoration: none;
	border-radius: 999px;
	padding: 12px 24px;
	font-size: 0.9375rem;
	font-weight: 700;
	transition: opacity 0.2s ease, transform 0.15s ease;
}

.lm-agenda-cta:hover {
	opacity: 0.88;
	transform: translateY(-1px);
	color: var(--lm-white);
}

.lm-cta-arrow {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

/* ── Uitklapbare details ─────────────────────────────────────────────────── */

.lm-agenda-details {
	overflow: hidden;
	transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.lm-agenda-details[hidden] {
	display: block !important; /* override browser hidden – JS controls height */
	height: 0;
	visibility: hidden;
}

.lm-agenda-details.is-open {
	visibility: visible;
}

.lm-agenda-details-inner {
	display: grid;
	grid-template-columns: 1fr 320px;
	gap: 40px;
	padding: 36px 36px 40px;
	border-top: 1px solid rgba(255,255,255,0.1);
}

@media (max-width: 900px) {
	.lm-agenda-details-inner {
		grid-template-columns: 1fr;
	}
}

/* Programma sessies */
.lm-sessions-label,
.lm-practical-label {
	font-size: 0.8125rem;
	color: var(--lm-taupe);
	letter-spacing: 0.04em;
	margin: 0 0 20px;
	text-transform: none;
}

.lm-session-row {
	display: grid;
	grid-template-columns: 100px 36px 1fr;
	gap: 0 16px;
	align-items: start;
	padding-bottom: 28px;
	position: relative;
}

/* Verbindingslijn tussen sessies */
.lm-session-row:not(:last-child)::after {
	content: '';
	position: absolute;
	left: calc(100px + 16px + 18px); /* center of the number circle */
	top: 36px;
	bottom: 0;
	width: 1px;
	background: rgba(255,255,255,0.12);
}

.lm-session-date-col {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding-top: 6px;
}

.lm-session-date {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--lm-white);
}

.lm-session-phase {
	font-size: 0.75rem;
	color: var(--lm-taupe);
}

.lm-session-number {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background-color: var(--lm-red);
	color: var(--lm-white);
	font-size: 0.875rem;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	position: relative;
	z-index: 1;
}

.lm-session-body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding-top: 6px;
}

.lm-session-title {
	font-size: 1rem;
	font-weight: 700;
	color: var(--lm-white);
}

.lm-session-desc {
	margin: 0;
	font-size: 0.875rem;
	line-height: 1.6;
	color: rgba(255,255,255,0.7);
}

.lm-session-location {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 0.8125rem;
	color: var(--lm-taupe);
	margin-top: 2px;
}

.lm-session-location svg {
	width: 13px;
	height: 13px;
	color: var(--lm-red);
	flex-shrink: 0;
}

/* Praktisch grid */
.lm-practical-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.lm-practical-item {
	background: rgba(255,255,255,0.06);
	border-radius: 12px;
	padding: 16px 18px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.lm-practical-item-label {
	font-size: 0.75rem;
	color: var(--lm-taupe);
	letter-spacing: 0.02em;
}

.lm-practical-item-value {
	font-size: 1rem;
	font-weight: 700;
	color: var(--lm-white);
	line-height: 1.3;
}


/* ─────────────────────────────────────────────────────────────────────────────
   Responsive
───────────────────────────────────────────────────────────────────────────── */

/* Tablet en mobiel */
@media (max-width: 1024px) {
  .lm-video-card {
    width: 325px;
    max-width: 100%;
    flex: 0 0 100%;
  }

  .lm-video-quote {
	font-size: 16px;

  }

}

/* Mobiel */
@media (max-width: 767px) {
  .lm-testimonial-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    flex-direction: column-reverse;
  }

  .lm-testimonial-badge {
    margin-bottom: 35px;
  }

}

