/* ---------- Panels ---------- */
.shift-tabs-panel {
	display: none;
}

.shift-tabs-panel.active {
	display: block;
}

.shift-tabs-panel-content {
	margin-bottom: 32px;
}

/* ---------- Grid Repeater ---------- */
.shift-tabs-grid-wrap {
	display: flex;
	flex-wrap: wrap;
	gap:16px;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
}

.shift-tabs-grid-row-item {
	width: 442px;
	box-sizing: border-box;
}

.shift-tabs-grid-divider {
	width: 100%;
	height: 2px;
	margin: 44px 0 55px;
	border-radius: 2px;
	background: linear-gradient( 105deg, rgba( 10, 207, 177, 0.35 ) 0.52%, rgba( 255, 255, 255, 0.7 ) 101.72% );
}
.shift-tabs-grid-title a {
	color: inherit;
	text-decoration: none;
}

.shift-tabs-grid-item {
	border-radius: 8px;
	overflow: hidden;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.shift-tabs-grid-media {
	overflow: hidden;
	border-radius: 8px;
}

.shift-tabs-grid-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.shift-tabs-grid-video-wrap {
	position: relative;
	width: 100%;
	height: 248px;
}

.shift-tabs-grid-video-wrap iframe {
	width: 100%;
	height: 100%;
	display: block;
	border: 0;
}

.shift-tabs-grid-wistia-wrap {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	background-color: #000;
	background-size: cover;
	background-position: center;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 248px;
}

.shift-tabs-grid-wistia-wrap.is-playing {
	cursor: default;
}

.shift-tabs-grid-wistia-wrap wistia-player {
	display: block;
	width: 100%;
	height: 100%;
}

.shift-tabs-wistia-play {
	border: none;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #241e46;
	cursor: pointer;
	transition: transform 0.2s ease, background 0.2s ease;
	border-radius: 6.7689px;
	height: 81px;
	position: absolute;
	width: 127px;
	z-index: 1;
	background-color: rgba(40, 50, 196, 0.8);
	left: auto;
	top: 95px;
}

.shift-tabs-wistia-play:hover {
	transform: scale( 1.06 );
}

.shift-tabs-wistia-play svg {
	margin-left: 3px;
	fill: #fff;
	width: 127px;
	height: 41px;
}
.shift-tabs-wistia-play svg path{
	fill:#fff;
}

.shift-tabs-grid-media-link {
	display: block;
	width: 100%;
	height: 100%;
}

.shift-tabs-grid-title a {
	color: inherit;
	text-decoration: none;
}

.shift-tabs-panel-content p a {
	font-weight: 600;
	color: inherit;
}

.shift-tabs-grid-title {
	margin: 25px 0px 25px 0px;
	color: var(--Dark-Navy, #1C124F);
	font-size: 20px;
	font-style: normal;
	font-weight: 600;
	line-height: 28px; /* 140% */
	width: 431px;
    min-height: 84px;
	margin-bottom: 10px;
}

.shift-tabs-grid-author {
	display: flex;
	flex-direction: column;
	margin: 0 0px 20px;
	gap: 6px;
}

.shift-tabs-author-name {
	color: var(--Midnight-Navy, #0C0821);
	font-size: 20px;
	font-style: normal;
	font-weight: 500;
	line-height: 28px; /* 140% */
}

.shift-tabs-author-designation {
	color: var(--Midnight-Navy, #0C0821);
	font-size: 20px;
	font-style: normal;
	font-weight: 400;
	line-height: 28px; /* 140% */
}

.shift-tabs-author-content-wrap {
	margin: 0 0px 0px;
	margin-top: auto;
}

.shift-tabs-author-content {
	color: var(--Base-Gray, #615E70);
	font-size: 20px;
	font-style: normal;
	font-weight: 400;
	line-height: 28px; /* 140% */
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.shift-tabs-author-content p {
	margin: 0 0 0.5em;
}

.shift-tabs-author-content-wrap.is-expanded .shift-tabs-author-content {
	-webkit-line-clamp: unset;
	overflow: visible;
}

.shift-tabs-readmore {
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
	color: var(--Light-Gray, #C0BFC6);
	font-size: 20px;
	font-style: normal;
	font-weight: 400;
	line-height: 28px;
	text-transform: lowercase;
}

.shift-tabs-readmore:hover {
	text-decoration: underline;
}

/* ---------- Photo Gallery ---------- */
.shift-tabs-gallery-grid {
	display: grid;
	grid-template-columns: repeat( 3, 1fr );
	gap: 20px;
}

.shift-tabs-gallery-item {
	border-radius: 12px;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	border: none;
	padding: 0;
	background: none;
	cursor: zoom-in;
	display: block;
}

.shift-tabs-gallery-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
}

.shift-tabs-gallery-item:hover .shift-tabs-gallery-image {
	transform: scale( 1.04 );
}

/* ---------- Lightbox ---------- */
.shift-tabs-lightbox {
	position: fixed;
	inset: 0;
	background: rgba( 0, 0, 0, 0.9 );
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 40px;
	box-sizing: border-box;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s ease;
	z-index: 100000;
}

.shift-tabs-lightbox.is-open {
	opacity: 1;
	visibility: visible;
}

.shift-tabs-lightbox-image {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	box-shadow: 0 10px 40px rgba( 0, 0, 0, 0.5 );
	border-radius: 6px;
}

.shift-tabs-lightbox-close {
	position: absolute;
	top: 20px;
	right: 28px;
	background: none;
	border: none;
	color: #fff;
	font-size: 2.5rem;
	line-height: 1;
	cursor: pointer;
	padding: 8px;
}

body.shift-tabs-lightbox-open {
	overflow: hidden;
}

@media ( max-width: 900px ) {
	.shift-tabs-grid-row-item {
		width: 50%;
	}

	.shift-tabs-gallery-grid {
		grid-template-columns: repeat( 2, 1fr );
	}
}

@media ( max-width: 600px ) {
	.shift-tabs-grid-row-item {
		width: 100%;
	}

	.shift-tabs-gallery-grid {
		grid-template-columns: 1fr;
	}
}
