/* ── Author block ────────────────────────────────────────────── */
.module-videos-b-author {
	display: flex;
	align-items: center;
	gap: 20px;
	margin-bottom: 36px;

	@media (max-width: 615px) {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}
}

.module-videos-b-author-photo {
	width: 180px;
	height: 180px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;

	@media (max-width: 615px) {
		width: 100px;
		height: 100px;
	}
}

.module-videos-b-author-info {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.module-videos-b-author-name {
	margin: 0;
	font-size: 30px;
    line-height: 1;
    margin-bottom: 6px;
}

/* ── Description collapsed row ───────────────────────────────── */
.module-videos-b-author-desc-row {
	position: relative;
	padding-right: 56px;
}

.module-videos-b-author-desc {
	margin: 0;
	font-size: 18px;
	line-height: 1.5;
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* ── "more" / "and X more links" triggers ────────────────────── */
.mvb-info-trigger {
	font-weight: 600;
	opacity: 0.65;
	cursor: pointer;
	white-space: nowrap;
}

.mvb-info-trigger:hover {
	opacity: 1;
}

.module-videos-b-author-desc-row .mvb-info-trigger {
	position: absolute;
    right: 7px;
    top: 0;
    line-height: 1.6;
    font-size: 16px;
}

/* ── Popup ───────────────────────────────────────────────────── */
.mvb-info-popup {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.25s ease;
}

.mvb-info-popup.is-open {
	pointer-events: all;
	opacity: 1;
}

.mvb-info-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
	cursor: pointer;
}

.mvb-info-popup-inner {
	position: relative;
	z-index: 1;
	background: #fff;
	width: 100%;
	max-width: 640px;
	max-height: 70vh;
	overflow-y: auto;
	padding: 32px 24px 40px;
	transform: translateY(24px);
	transition: transform 0.3s ease;
}

.mvb-info-popup.is-open .mvb-info-popup-inner {
	transform: translateY(0);
}

@media screen and (min-width: 700px) {
	.mvb-info-popup {
		align-items: center;
	}

	.mvb-info-popup-inner {
		transform: translateY(12px) scale(0.97);
	}

	.mvb-info-popup.is-open .mvb-info-popup-inner {
		transform: translateY(0) scale(1);
	}
}

.mvb-info-close {
	position: absolute;
	top: 14px;
	right: 18px;
	font-size: 24px;
	line-height: 1;
	opacity: 0.4;
	cursor: pointer;
}

.mvb-info-close:hover {
	opacity: 1;
}

.mvb-info-popup-desc {
	margin: 0 0 20px;
	font-size: 16px;
	line-height: 1.6;
}

.mvb-info-popup-links {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.mvb-info-popup-links a {
	font-size: 14px;
}

.module-videos-b-author-meta {
	margin: 0;
	font-size: 16px;
    opacity: 0.6;
	margin-bottom: 6px;
}

.module-videos-b-author-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 4px;
}

.module-videos-b-author-link {
	font-size: 16px;
}

.module-videos-b-author-link--more::after {
	content: ' \203A';
}

/* ── Toolbar ─────────────────────────────────────────────────── */
.module-videos-b-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 32px;
}

.mvb-sort-select {
	background: transparent;
    cursor: pointer;
    opacity: 0.7;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='7' viewBox='0 0 13 7'%3E%3Cpath d='M1 1l5.5 5 5.5-5' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding: 9px 40px 9px 15px;
    border: 1px solid #061d3b;
    cursor: pointer;
	font-weight: 600;
}

.mvb-sort-select:hover,
.mvb-sort-select:focus {
	opacity: 1;
	outline: none;
}

/* ── Filter tabs ─────────────────────────────────────────────── */
.module-videos-b-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.module-videos-b-tab {
	padding: 9px 15px;
	border: 1px solid #071C3B;
	background: transparent;
	cursor: pointer;
	transition: opacity 0.15s ease, background 0.15s ease;
	border-radius: 0px;
    font-size: 18px;
    text-transform: none;
    letter-spacing: 0;
    line-height: 1;
    color: #071C3B;
	outline: none;
}

.module-videos-b-tab:hover {
	background: #071C3B;
	color: #fff;
	border: 1px solid;
}

.module-videos-b-tab.is-active {
	opacity: 1;
	background: #071C3B;
	border: 1px solid;
}

.module-videos-b-tab:hover span,
.module-videos-b-tab:hover {
	opacity: 1;
	background: #071C3B;
	border: 1px solid;
}

.module-videos-b-tab.is-active span,
.module-videos-b-tab.is-active {
	color: #fff;
}

/* ── Category sections ───────────────────────────────────────── */
.module-videos-b-category {
	margin-bottom: 20px;
}

.module-videos-b-category-title {
	margin-bottom: 8px;
    padding-bottom: 6px;
    font-size: 24px;
}

/* ── Video grid ──────────────────────────────────────────────── */
.module-videos-b-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
}

@media screen and (min-width: 600px) {
	.module-videos-b-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media screen and (min-width: 900px) {
	.module-videos-b-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.module-videos-b-single {
	display: flex;
	flex-direction: column;
}

.module-videos-b-thumb-wrap {
	display: block;
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #000;
}

.module-videos-b-thumb-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: opacity 0.2s ease;
}

.module-videos-b-thumb-wrap:hover img {
	opacity: 0.8;
}

.module-videos-b-play {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
	background: #FF0101;
    width: 74px;
    height: 50px;
    border-radius: 16px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.module-videos-b-play::after {
	content: '';
	display: block;
	width: 32px;
	height: 32px;
	background: #ffffff;
	border-radius: 12px;
	clip-path: polygon(30% 20%, 80% 50%, 30% 80%);
}

.module-videos-b-thumb-wrap--embed iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.module-videos-b-video-title {
	margin-top: 16px;
	margin-bottom: 2px;
	font-size: 16px;
	line-height: 1;
	font-weight: 600;
}

.module-videos-b-video-time {
	font-size: 0.78em;
	opacity: 0.5;
}

/* ── Loading state ───────────────────────────────────────────── */
.module-videos-b-sections.is-loading {
	opacity: 0.4;
	pointer-events: none;
	transition: opacity 0.2s ease;
}

.module-videos-b-video-title a {
	text-decoration: none;
	color: #071C3B;
	font-weight: 600;
	transition: color 0.2s ease;
}

.module-videos-b-video-title a:hover {
	color: #B6171E;
}

/* ── Modal ───────────────────────────────────────────────────── */
.mvb-modal {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 99999;
	background: rgba(0, 0, 0, 0.85);
	align-items: center;
	justify-content: center;
}

.mvb-modal.is-open {
	display: flex;
}

.mvb-modal-inner {
	position: relative;
	width: 90vw;
	max-width: 960px;
}

.mvb-modal-video {
	position: relative;
	aspect-ratio: 16 / 9;
	background: #000;
}

.mvb-modal-video iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.mvb-modal-close {
	position: absolute;
	top: -40px;
	right: 0;
	background: transparent;
	border: none;
	color: #fff;
	font-size: 32px;
	line-height: 1;
	cursor: pointer;
	padding: 4px 8px;
	opacity: 0.8;
}

.mvb-modal-close:hover {
	opacity: 1;
}

.button.videos {
	background: #CC29361A;
    color: #B6171E;
    text-transform: none;
    font-size: 18px;
    letter-spacing: 0;
    border-radius: 0px;
    border: 0px;
    padding: 9px 15px;
    margin-top: 20px;
	transition: background 0.2s ease, color 0.2s ease;
}

.button.videos:hover {
	background: #B6171E;
    color: #fff;
}