/*
Theme Name: Sampath Securities (Pvt) Ltd
Theme URI: #
Template: hello-elementor
Author: Ceylon Exchange Mentoring (Pvt) Ltd
Author URI: https://cem.lk/
Description: Sampath Securities (Pvt) Ltd is a premier stock brokerage and investment firm in Sri Lanka, fully owned by Sampath Bank PLC. We combine the stability of a leading national bank with cutting-edge market research to help you navigate the Colombo Stock Exchange with confidence.
Tags: corporate,business,finance,banking,grid-layout,four-columns,full-width-template,footer-widgets,portfolio,news,education,theme-options,editor-style,wide-blocks,block-patterns
Version: 1.0.0
Updated: 2025-12-30 00:00:00

*/

/*--------------------------------------------------------------
# Scroll Margin
--------------------------------------------------------------*/
:target {
	scroll-margin-top: 100px !important;
}

/*--------------------------------------------------------------
# Overlay Pseudo Elements
--------------------------------------------------------------*/
.overlay-before::before, .overlay-after::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
@media (min-width: 1200px) {
	.sampath-header-inner {
		width: 90%;
	}
	.nav-cds-acc, .nav-contact {
		display: none !important;
	}
}
@media (max-width: 1199px) and (min-width: 1100px) {
	.sampath-header-inner {
		width: calc(100% - 40px);
	}
	.nav-cds-acc {
		display: none !important;
	}
	.hdr-contact {
		display: none;
	}
}
@media (max-width: 1099px) and (min-width: 1025px) {
	.sampath-header-inner {
		width: calc(100% - 40px);
	}
	.iso-cert-logo {
		display: none;
	}
	.hdr-action-btn {
		display: none;
	}
}
@media (max-width: 1024px) and (min-width: 768px) {
	.sampath-header-inner {
		width: 90%;
	}
}
@media (max-width: 767px) {
	.sampath-header-inner {
		width: 90%;
	}
	.hdr-action-btn {
		display: none;
	}
}

/*--------------------------------------------------------------
# Carnelian - Button
--------------------------------------------------------------*/
.elementor-button {
	z-index: 1;
	position: relative;
	background-color: var(--e-global-color-primary) !important;
	color: var(--e-global-color-ee59406) !important;
	fill: var(--e-global-color-ee59406) !important;
	border-color: var(--e-global-color-primary) !important;
}
.elementor-button::before {
	z-index: -1;
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	border-radius: 14px;
	background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.15) 100%);
	opacity:1;
	transition: opacity 0.3s ease;
}
.elementor-button::after {
	z-index: -2;
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	border-radius: 14px;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.26) 0%, transparent 100%);
	opacity:0;
	transition: opacity 0.3s ease;
}
.elementor-button:hover::before {
	opacity:0;
}
.elementor-button:hover::after {
	opacity:1;
}
.elementor-button-icon {
	display: flex;
}
.elementor-button-icon svg {
	height: 0.9em;
}

/*--------------------------------------------------------------
# Quartz - Button
--------------------------------------------------------------*/
.custom-btn-quartz .elementor-button {
	background-color: var(--e-global-color-ee59406) !important;
	color: var(--e-global-color-secondary) !important;
	fill: var(--e-global-color-secondary) !important;
	border-color: var(--e-global-color-ee59406) !important;
}

/*--------------------------------------------------------------
# Obsidian - Button
--------------------------------------------------------------*/
.custom-btn-obsidian .elementor-button {
	z-index: 1;
	position: relative;
	background-color: var(--e-global-color-secondary) !important;
	color: var(--e-global-color-ee59406) !important;
	fill: var(--e-global-color-ee59406) !important;
	border-color: var(--e-global-color-secondary) !important;
}
.custom-btn-obsidian .elementor-button::before {
	z-index: -1;
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	border-radius: 14px;
	background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.16) 100%);
	opacity:1;
	transition: opacity 0.3s ease;
}
.custom-btn-obsidian .elementor-button::after {
	z-index: -2;
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	border-radius: 14px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, transparent 100%);
	opacity:0;
	transition: opacity 0.3s ease;
}
.custom-btn-obsidian .elementor-button:hover::before {
	opacity:0;
}
.custom-btn-obsidian .elementor-button:hover::after {
	opacity:1;
}

/*--------------------------------------------------------------
# Join Us Banner
--------------------------------------------------------------*/
@media (max-width: 1024px) { /* Woman Green Graph Image */
	.girl-graph {
		aspect-ratio: 716 / 669;
	}
}
.banner-inv-join {
	background: linear-gradient(180deg, #F80 0%, transparent 100%), var(--e-global-color-d6bbcff);
}
.banner-inv-join::before { /* Background Glow */
	background: radial-gradient(circle at 75% 95%, white 0%, rgba(255,255,255,0) 40%);
}
.banner-inv-join .elementor-button {
	box-shadow: 0 6px 20px 0 rgba(0, 0, 0, 0.35);
}
@media (max-width: 1024px) {
	.banner-inv-join::before {
		background: radial-gradient(circle at 50% 90%, white 0%, rgba(255,255,255,0) 50%);
	}
}

/*--------------------------------------------------------------
# Post Archive
--------------------------------------------------------------*/
.loading-posts {
	text-align: center;
	padding: 20px;
	font-style: italic;
	color: #666;
}
.tag-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 20px;
	justify-content: center;
}
/*
.tag-filter {

}
.tag-filter:hover {

}
*/
.tag-filter.active {
	background-color: var(--e-global-color-e466b8e) !important;
	color: var(--e-global-color-2e22a0c) !important;
	fill: var(--e-global-color-2e22a0c) !important;
	border-color: var(--e-global-color-e466b8e) !important;
}

.custom-archive-posts {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
}

/* Individual Post Item */
.archive-post-item {
	width: calc(33.33% - 16px);
	background-color: var(--e-global-color-ee59406);
	border-radius: 24px;
	box-shadow: 2px 4px 18px 4px rgba(0, 0, 0, 0.07);
}

.post-inner {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.post-thumbnail-container {
	width: 100%;
	border-radius: 24px 24px 0px 0px;
	position: relative;
	overflow: hidden;
	aspect-ratio: 16/9;
}
.post-thumbnail-background {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	transition: transform 0.5s ease;
}
.post-thumbnail-link:hover .post-thumbnail-background {
	transform: scale(1.08);
}

.post-thumbnail-link {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	text-indent: -9999px;
}

.archive-post-item:hover .post-thumbnail img {
	transform: scale(1.03);
}

.post-content {
	padding: 24px;
}

.post-title {
	margin-bottom: 8px;
}

.post-title a {
	color: var( --e-global-color-57cd6c4 ) !important;
	text-decoration: none;
	transition: color 0.2s;
}

.post-title:hover a {
	color: var( --e-global-color-text ) !important;
}

.post-title a:hover {
	color: #0073aa;
}

.post-meta {
	color: #666;
	font-size: 0.9rem;
	margin-bottom: 8px;
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
}

.post-meta a {
	color: #555;
	text-decoration: none;
	transition: color 0.2s;
}

.post-meta a:hover {
	color: #d54e21;
	text-decoration: underline;
}

.post-excerpt {
	margin-bottom: 8px;
	color: var(--e-global-color-text);
}

.read-more {
	display: flex;
	gap: 8px;
	align-items: center;
}

/* Pagination */
.pagination {
	margin-top: 3rem;
	text-align: center;
}

/* Tablet: 1024px to 768px */
@media (max-width: 1024px) and (min-width: 768px) {
	.archive-post-item {
		width: calc(50% - 12px);
	}
}

/* Mobile: 767px and below */
@media (max-width: 767px) {
	.archive-post-item {
		width: 100%;
	}
	.post-inner {
		flex-direction: column;
	}
	
	.post-thumbnail {
		flex: 0 0 100%;
		width: 100%;
	}
}