/*!
Theme Name: SupunSam
Theme URI: https://supunsamarakoon.com/
Author: Supun Samarakoon
Author URI: https://supunsamarakoon.com/
Description: SupunSam is a carefully crafted flexible, high performance CV/Resume & Portfolio WordPress Theme for personal and corporate use, modernized for PHP 8.x and WordPress 6.x.
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: supunsam
Tags: one-column, two-columns, right-sidebar, flexible-header, accessibility-ready, custom-colors, custom-header, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, post-formats, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready
*/

:root {
	--p1: #cf000f;
	--wp--preset--color--accent: var(--p1, #cf000f);
}

.has-accent-color {
	color: var(--p1, #cf000f) !important;
}

.has-accent-background-color {
	background-color: var(--p1, #cf000f) !important;
}

.has-accent-border-color {
	border-color: var(--p1, #cf000f) !important;
}

html {
	overflow-y: scroll;
}

body {
	margin: 0;
	font-family: 'Arial', sans-serif;
	font-size: 16px;
	color: rgba(255, 255, 255, 0.6);
}

/* WordPress API Elements */

.wp-caption {
	margin: 30px 0;
	font-size: 16px;
	text-align: center;
	font-style: italic;
	max-width: 100%;
}

.wp-caption p,
.wp-caption-text {
	margin: 0;
	margin-top: 5px;
}

.wp-caption-text,
.sticky,
.gallery-caption,
.bypostauthor,
.screen-reader-text {
	visibility: visible;
}

.screen-reader-text {
	display: none;
}

.aligncenter {
	margin: 30px auto;
	display: block;
}

.alignright {
	margin: 10px 0 10px 30px;
	float: right;
}

.alignleft {
	margin: 10px 30px 10px 0;
	float: left;
}

/* ==========================================================================
   Aesop 4-Section Single Portfolio Styles
   ========================================================================== */

.vlt-portfolio-single--aesop {
	background-color: #161616;
	color: rgba(255, 255, 255, 0.7);
	position: relative;
	overflow: hidden;
}

/* Section 1: Hero & Metadata */
.vlt-portfolio-single--aesop .vlt-product-hero-title {
	position: relative;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #161616;
	overflow: hidden;
	padding: 180px 0 80px;
}

.vlt-hero-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(180deg, rgba(22, 22, 22, 0.75) 0%, rgba(22, 22, 22, 0.85) 60%, rgba(22, 22, 22, 0.98) 100%);
	pointer-events: none;
	z-index: 1;
}

.vlt-portfolio-single--aesop .vlt-product-hero-title .container {
	z-index: 2;
}

.vlt-hero-spacer-top {
	height: 80px;
}

.vlt-hero-spacer-bottom {
	height: 40px;
}

.vlt-portfolio-single--aesop .vlt-product-hero-title__details {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-gap: 3.75rem;
	text-align: left;
	max-width: 1100px;
	margin: 0 auto;
}

@media (max-width: 991px) {
	.vlt-portfolio-single--aesop .vlt-product-hero-title__details {
		grid-template-columns: repeat(2, 1fr);
		grid-gap: 2.5rem;
	}
}

@media (max-width: 575px) {
	.vlt-portfolio-single--aesop .vlt-product-hero-title__details {
		grid-template-columns: repeat(1, 1fr);
		grid-gap: 2rem;
	}
}

.vlt-product-hero-meta-item h6 {
	font-size: 0.9375rem;
	font-weight: 600;
	color: #ffffff;
	margin-top: 0;
	margin-bottom: 0.625rem;
	letter-spacing: -0.01em;
}

.vlt-product-hero-meta-item p {
	font-size: 0.9375rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.7);
	margin-bottom: 0;
}

/* Section 2 & 4 Typography & Showcases */
.vlt-lead-intro-text {
	font-size: 1.375rem !important;
	color: rgba(255, 255, 255, 0.8) !important;
	line-height: 1.65 !important;
	max-width: 690px;
	margin-left: auto;
	margin-right: auto;
}

.vlt-section-title {
	font-size: 2.5rem;
	font-weight: 600;
	color: #ffffff;
	letter-spacing: -0.02em;
	margin: 0 auto;
}

.vlt-section-body-text {
	max-width: 690px;
	font-size: 1rem;
	line-height: 1.85;
	color: rgba(255, 255, 255, 0.6);
	margin-left: auto;
	margin-right: auto;
}

.vlt-portfolio-showcase-image {
	max-width: 1100px;
	margin: 0 auto;
}

.vlt-portfolio-showcase-image img {
	width: 100%;
	height: auto;
	display: block;
}

/* Section 3: Full-Width Embedded Video */
.vlt-portfolio-section--video {
	width: 100%;
	background-color: #000000;
	overflow: hidden;
	position: relative;
	margin: 0;
}

.vlt-portfolio-full-video {
	width: 100%;
	position: relative;
	background: #000;
}

.vlt-fullwidth-video-player {
	width: 100%;
	height: auto;
	max-height: 90vh;
	object-fit: cover;
	display: block;
	background: #000;
}

.vlt-video-aspect-ratio-wrapper {
	position: relative;
	width: 100%;
	padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
	height: 0;
	overflow: hidden;
	background: #000;
}

.vlt-video-aspect-ratio-wrapper iframe,
.vlt-video-aspect-ratio-wrapper object,
.vlt-video-aspect-ratio-wrapper embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* ==========================================================================
   Spacers & Gap Utilities (Aligned with Aesop Spacious Design)
   ========================================================================== */
.vlt-gap-30 { height: 1.875rem; }
.vlt-gap-40 { height: 2.5rem; }
.vlt-gap-60 { height: 3.75rem; }
.vlt-gap-80 { height: 5rem; }
.vlt-gap-100 { height: 6.25rem; }
.vlt-gap-120 { height: 7.5rem; }
.vlt-gap-140 { height: 8.75rem; }
.vlt-gap-160 { height: 10rem; }
.vlt-gap-200 { height: 12.5rem; }

@media (max-width: 991px) {
	.vlt-gap-140, .vlt-gap-160, .vlt-gap-200 { height: 6rem; }
	.vlt-gap-120, .vlt-gap-100 { height: 4.5rem; }
	.vlt-gap-80, .vlt-gap-60 { height: 3rem; }
}

@media (max-width: 767px) {
	.vlt-gap-140, .vlt-gap-160, .vlt-gap-200 { height: 4.5rem; }
	.vlt-gap-120, .vlt-gap-100 { height: 3.5rem; }
	.vlt-gap-80, .vlt-gap-60 { height: 2.5rem; }
	.vlt-section-title {
		font-size: 2rem;
	}
	.vlt-lead-intro-text {
		font-size: 1.15rem !important;
	}
}

/* ==========================================================================
   Tech Partners Grid
   ========================================================================== */
.tech-partners-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	grid-gap: 2.5rem 1.5rem;
	align-items: stretch;
	justify-items: center;
	max-width: 1200px;
	margin: 0 auto;
	padding: 1.5rem 0;
}

.tech-partner-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	text-decoration: none;
	text-align: center;
	width: 100%;
	padding: 0.875rem 0.5rem;
	border-radius: 0.75rem;
	background: transparent;
	transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s ease;
	cursor: pointer;
}

.tech-partner-item:hover {
	text-decoration: none;
}

.tech-partner-item:hover .tech-partner-logo img {
	opacity: 1;
	filter: grayscale(0%) brightness(1.1) drop-shadow(0 4px 15px rgba(255, 255, 255, 0.25));
	transform: scale(1.1) translateY(-3px);
}

.tech-partner-item:hover .tech-partner-name {
	color: var(--vlt-color-01, #ffffff);
}

.tech-partner-logo {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 4rem;
	width: 100%;
	margin-bottom: 0.75rem;
}

.tech-partner-logo img {
	width: 3.5rem;
	height: 3.5rem;
	max-width: 3.5rem;
	max-height: 3.5rem;
	object-fit: contain;
	opacity: 0.55;
	filter: grayscale(100%) brightness(0.85);
	transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.tech-partner-logo .tech-partner-placeholder {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3.25rem;
	height: 3.25rem;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	font-weight: 600;
	font-size: 1.1rem;
}

.tech-partner-name {
	display: block;
	font-size: 1.25rem;
	font-weight: 500;
	line-height: 1.35;
	color: var(--vlt-color-02, #a0a0a0);
	text-align: center;
	transition: color 0.3s ease;
	word-break: break-word;
}



@media (max-width: 991px) {
	.tech-partners-grid {
		grid-template-columns: repeat(4, 1fr);
		grid-gap: 2rem 1.25rem;
	}
}

@media (max-width: 767px) {
	.tech-partners-grid {
		grid-template-columns: repeat(3, 1fr);
		grid-gap: 1.75rem 1rem;
	}
}

@media (max-width: 480px) {
	.tech-partners-grid {
		grid-template-columns: repeat(2, 1fr);
		grid-gap: 1.5rem 0.875rem;
	}
}

/* ==========================================================================
   Testimonials Slider & Left Quote Sync
   ========================================================================== */

.vlt-testimonial-slider {
	position: relative;
	/* Fade away right edge before reaching fixed scroll progress bar */
	-webkit-mask-image: linear-gradient(to right, #000000 0%, #000000 75%, rgba(0, 0, 0, 0) 98%);
	mask-image: linear-gradient(to right, #000000 0%, #000000 75%, rgba(0, 0, 0, 0) 98%);
}

/* ==========================================================================
   WIDGET: TESTIMONIAL SHOWCASE (UNIFIED DUAL-PANE)
   ========================================================================== */

.vlt-testimonial-showcase {
	position: relative;
	width: 100%;
	min-height: 550px;
	display: flex;
	flex-direction: row;
	align-items: stretch;
	justify-content: space-between;
	gap: 50px;
	--testi-gap: 50px;
	box-sizing: border-box;
}

.vlt-testimonial-showcase__left {
	flex: 0 0 55%;
	max-width: 55%;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}

.vlt-testimonial-showcase__quote-icon,
.vlt-testimonial-showcase__quote-icon.has-accent-color {
	color: var(--p1, var(--vlt-color-accent, #cf000f));
	margin-bottom: 2rem;
	display: flex;
	align-items: center;
	height: 75px;
}

.vlt-testimonial-showcase__quote-icon svg {
	height: 75px !important;
	width: auto;
	fill: currentColor;
}

.vlt-testi-swiper-quotes {
	width: 100%;
	overflow: hidden;
}

.vlt-testi-swiper-quotes .swiper-slide {
	display: flex;
	align-items: flex-start;
	box-sizing: border-box;
}

.vlt-testimonial-showcase__quote {
	font-size: 2.1rem;
	line-height: 1.35;
	font-weight: 400;
	color: #ffffff;
	letter-spacing: -0.01em;
	word-break: break-word;
}

.vlt-testimonial-showcase__right {
	position: relative;
	flex: 0 0 calc(45% - 50px);
	max-width: calc(45% - 50px);
	min-height: 100%;
	display: flex;
	flex-direction: column;
	padding-top: calc(75px + 2rem);
	padding-bottom: 45px;
	box-sizing: border-box;
}

.vlt-testi-swiper-metas {
	width: 100%;
	overflow: hidden;
}

.vlt-testi-swiper-metas .swiper-slide {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.vlt-testimonial-showcase__meta {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	margin-bottom: 1.5rem;
}

.vlt-testimonial-showcase__name {
	font-size: 1.25rem;
	font-weight: 600;
	color: #ffffff;
	margin: 0 0 0.4rem 0;
	letter-spacing: 0.02em;
}

.vlt-testimonial-showcase__function {
	font-size: 0.95rem;
	line-height: 1.45;
	color: #a0a0a0;
	margin-bottom: 0.75rem;
}

.vlt-testimonial-showcase__linkedin {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.85rem;
	color: #a0a0a0;
	text-decoration: none;
	transition: all 0.3s ease;
	margin-top: 0.25rem;
}

.vlt-testimonial-showcase__linkedin svg {
	width: 14px;
	height: 14px;
	fill: currentColor;
	transition: transform 0.3s ease;
}

.vlt-testimonial-showcase__linkedin:hover {
	color: var(--p1, var(--vlt-color-accent, #cf000f));
	text-decoration: none;
}

.vlt-testimonial-showcase__linkedin:hover svg {
	transform: scale(1.15);
}

.vlt-testimonial-showcase__controls {
	position: absolute;
	bottom: 0;
	left: 0;
	display: flex;
	align-items: center;
	width: auto;
	padding: 0;
	z-index: 5;
}

.vlt-testimonial-showcase__controls .vlt-slider-controls {
	display: inline-flex;
	align-items: center;
	line-height: 1;
	font-size: 0;
}

.vlt-testimonial-showcase__controls .vlt-swiper-pagination {
	display: inline-flex;
	align-items: center;
	position: static;
	width: auto;
	line-height: 1;
}

.vlt-testimonial-showcase__controls .vlt-swiper-pagination .swiper-pagination-bullet {
	width: 12px;
	height: 12px;
	display: inline-block;
	border-radius: 50%;
	background-color: #ffffff;
	opacity: 1;
	margin: 0 !important;
	transition: all 0.3s ease;
	cursor: pointer;
}

.vlt-testimonial-showcase__controls .vlt-swiper-pagination .swiper-pagination-bullet + .swiper-pagination-bullet {
	margin-left: 22px !important;
}

.vlt-testimonial-showcase__controls .vlt-swiper-pagination .swiper-pagination-bullet:hover,
.vlt-testimonial-showcase__controls .vlt-swiper-pagination .swiper-pagination-bullet:focus {
	background-color: var(--p1, #cf000f);
	outline: none;
}

.vlt-testimonial-showcase__controls .vlt-swiper-pagination .swiper-pagination-bullet-active {
	background-color: var(--p1, #cf000f) !important;
	opacity: 1 !important;
}

@media (max-width: 991px) {
	.vlt-testimonial-showcase {
		min-height: auto;
		flex-direction: column;
		gap: 24px;
	}

	.vlt-testimonial-showcase__left {
		flex: 0 0 100%;
		max-width: 100%;
	}

	.vlt-testimonial-showcase__quote {
		font-size: 1.6rem;
	}

	.vlt-testimonial-showcase__right {
		flex: 0 0 100%;
		max-width: 100%;
		padding-top: 0;
		padding-bottom: 0;
		position: static;
	}

	.vlt-testimonial-showcase__controls {
		position: static;
		margin-top: 1.5rem;
		padding-top: 0;
	}
}

	.vlt-testimonial-showcase__meta {
		margin-bottom: 1rem;
	}

	.vlt-testimonial-showcase__controls {
		margin-top: 1.5rem;
		padding-top: 1rem;
		padding-bottom: 0;
	}
}

.vlt-testimonial-controls {
	margin-top: 1.5rem !important;
}

/* ==========================================================================
   Experience Timeline Slider & Company Logo
   ========================================================================== */

.vlt-timeline-slider {
	position: relative;
	width: 100%;
	max-width: 100%;
	overflow: hidden;
	box-sizing: border-box;
}

.vlt-timeline-slider .swiper-container,
.vlt-timeline-slider .swiper {
	width: 100%;
	max-width: 100%;
	overflow: hidden;
}

.vlt-timeline-item {
	box-sizing: border-box;
	padding: 1.5rem 0;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.vlt-timeline-item:first-child {
	border-top: none;
	padding-top: 0;
}

.vlt-timeline-item:last-child {
	padding-bottom: 0;
}

.vlt-timeline-item__logo {
	max-height: 42px;
	width: auto;
	max-width: 130px;
	object-fit: contain;
	display: block;
	filter: brightness(0.92);
	transition: filter 0.3s ease, transform 0.3s ease;
}

.vlt-timeline-item__company-link {
	display: inline-block;
	text-decoration: none;
}

.vlt-timeline-item__company-link:hover .vlt-timeline-item__logo {
	filter: brightness(1.2) drop-shadow(0 2px 10px rgba(255, 255, 255, 0.2));
	transform: scale(1.05);
}

.vlt-timeline-item__company-name {
	font-size: 1.125rem;
	font-weight: 600;
	color: #ffffff;
	margin: 0;
}

.vlt-timeline-item__company-name-link {
	text-decoration: none;
	color: #ffffff;
	transition: color 0.3s ease;
}

.vlt-timeline-item__company-name-link:hover {
	color: var(--p1, #cf000f);
}

.vlt-timeline-item__date {
	font-size: 0.9375rem;
	font-weight: 500;
	color: var(--p1, #cf000f);
	margin-bottom: 0.35rem;
}

.vlt-timeline-item__title {
	font-size: 1.25rem;
	font-weight: 600;
	color: #ffffff;
	margin: 0;
}

.vlt-timeline-item__text {
	font-size: 0.9375rem;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.65);
}

.vlt-timeline-item__text p:last-of-type {
	margin-bottom: 0;
}

/* Portfolio Slider Title & Clean Background */
.vlt-project-title,
h3.vlt-project-title,
.vlt-project-title h3 {
	font-size: 3.5rem !important;
	font-weight: 600 !important;
	line-height: 1.2 !important;
}

@media only screen and (max-width: 767px) {
	.vlt-project-title,
	h3.vlt-project-title,
	.vlt-project-title h3 {
		font-size: 2.25rem !important;
	}
}

.vlt-section__projects-background {
	display: none !important;
}

/* Single Blog Post Hero & Date Spacing */
.vlt-post-hero-title {
	position: relative;
	display: flex;
	align-items: flex-end;
	padding: 160px 0 70px !important;
	background-color: #1b1b1b;
}

.vlt-post-hero-title--has-thumbnail {
	min-height: 55vh !important;
	padding-top: 180px !important;
	padding-bottom: 80px !important;
}

@media only screen and (max-width: 767px) {
	.vlt-post-hero-title,
	.vlt-post-hero-title--has-thumbnail {
		min-height: auto !important;
		padding-top: 140px !important;
		padding-bottom: 50px !important;
	}
}

.vlt-post-hero-title .vlt-post-meta {
	display: block;
	margin-bottom: 1rem;
	color: #ffffff;
}

.vlt-page-title {
	padding-top: 160px !important;
	padding-bottom: 60px !important;
}