/* 
Theme Name: simpletor
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: simpletor
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

body {
	margin: 0;
	background: #F2F2F7;
	color: #121826;
	font-family: "Varela Round","Segoe UI", Arial, sans-serif;
}

html {
	scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

#navbar.site-header {
	margin: 0;
	padding: 0;
	width: 100%;
	max-width: none;
	position: sticky;
	top: 0;
	left: 0;
	right: 0;
	z-index: 400;
	background: #F2F2F7;
	border-bottom: 0;
	box-shadow: none;
	transition: box-shadow 0.2s ease;
}

#navbar.site-header.is-scrolled {
	box-shadow: 0 6px 16px rgba(9, 23, 77, 0.08);
}

#navbar .site-header-inner {
	width: 100%;
	height: 68px;
	margin: 0 auto;
	padding: 0 10px;
	display: flex;
	direction: ltr;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.header-left,
.header-right {
	display: flex;
	align-items: center;
}

/* Remove parent theme spacing around the custom header */
body .site,
body .site-main,
body .page-content,
body .site-content,
body .elementor-location-header,
body .elementor-section-wrap {
	margin-top: 0;
	padding-top: 0;
}

.header-left {
	gap: 22px;
}

.header-right {
	gap: 7px;
	position: relative;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.75rem;
	color: #151b2d;
	text-decoration: none;
	white-space: nowrap;
	direction: ltr;
}

.brand-icon {
	width: 28px;
	height: 28px;
	object-fit: contain;
}

.brand-text {
	font-size: 1.25rem;
	line-height: 1.75rem;
	display: inline-flex;
	align-items: center;
}

.brand-text p {
	margin: 0;
}

.main-nav {
	display: inline-flex;
	direction: rtl;
	align-items: center;
	gap: 10px;
}

#navbar.site-header[dir="ltr"] .main-nav {
	direction: ltr;
}

.main-nav a {
	color: #101827;
	text-decoration: none;
	height: 2rem;
	min-height: 2rem;
	padding-left: 0.75rem;
	padding-right: 0.75rem;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1;
	display: inline-flex;
	align-items: center;
}

.main-nav a:hover {
	color: #0f60d4;
}

.cta-btn {
	height: 38px;
	padding: 0 12px;
	border-radius: 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 3px;
	background: #0f86ff;
	color: #ffffff;
	text-decoration: none;
	font-size: 16px;
	font-weight: 600;
	line-height: 1;
	white-space: nowrap;
	box-shadow: 0 2px 8px rgba(15, 134, 255, 0.28);
	-webkit-tap-highlight-color: transparent;
}

.cta-btn:hover {
	filter: brightness(1.06);
}

#navbar.site-header a.cta-btn:focus,
#navbar.site-header a.cta-btn:active,
#navbar.site-header a.cta-btn:focus:active {
	outline: none !important;
	background-color: #0f86ff !important;
	background-image: none !important;
	color: #fff !important;
	box-shadow: 0 2px 8px rgba(15, 134, 255, 0.28) !important;
}

#navbar.site-header a.cta-btn:focus-visible {
	outline: 2px solid #fff !important;
	outline-offset: 2px;
	box-shadow: 0 0 0 3px #0f86ff, 0 2px 8px rgba(15, 134, 255, 0.35) !important;
}

.cta-icon {
	width: 20px;
	height: 20px;
	fill: currentColor;
}

/* Header: ACF dropdown (next to CTA) */
.header-dropdown {
	position: relative;
	flex-shrink: 0;
}

.header-dropdown-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 38px;
	padding: 0 14px;
	margin: 0;
	border: 1px solid #dfe1e8;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.85);
	color: #101827;
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
	-webkit-tap-highlight-color: transparent;
	appearance: none;
	-webkit-appearance: none;
}

.header-dropdown-toggle:hover {
	background: #fff;
	border-color: #cfd4e0;
	color: #0f60d4;
}

/* Override Hello / Elementor / browser default button :focus/:active (e.g. pink tint). */
#navbar.site-header .header-dropdown-toggle:focus,
#navbar.site-header .header-dropdown-toggle:active,
#navbar.site-header .header-dropdown-toggle:focus:active {
	outline: none !important;
	background-color: rgba(255, 255, 255, 0.85) !important;
	background-image: none !important;
	color: #101827 !important;
	border-color: #dfe1e8 !important;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06) !important;
}

#navbar.site-header .header-dropdown-toggle:hover:focus,
#navbar.site-header .header-dropdown-toggle:hover:active {
	background-color: #fff !important;
	border-color: #cfd4e0 !important;
	color: #0f60d4 !important;
}

#navbar.site-header .header-dropdown.is-open .header-dropdown-toggle {
	background-color: #fff !important;
	border-color: #cfd4e0 !important;
	color: #0f60d4 !important;
}

#navbar.site-header .header-dropdown.is-open .header-dropdown-toggle:active {
	background-color: #fff !important;
	color: #0f60d4 !important;
}

#navbar.site-header .header-dropdown-toggle:focus-visible {
	outline: 2px solid #0f86ff !important;
	outline-offset: 2px;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06) !important;
}

.header-dropdown-toggle-text {
	white-space: nowrap;
	max-width: min(42vw, 280px);
	overflow: hidden;
	text-overflow: ellipsis;
}

.header-dropdown-chevron {
	flex-shrink: 0;
	display: block;
	transition: transform 0.25s ease;
}

.header-dropdown.is-open .header-dropdown-chevron {
	transform: rotate(180deg);
}

.header-dropdown-panel {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	left: auto;
	min-width: min(100%, 320px);
	width: max-content;
	max-width: min(92vw, 360px);
	padding: 8px 0;
	margin: 0;
	list-style: none;
	background: #f7f1f2;
	border: 1px solid #fff;
	border-radius: 16px;
	box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
	z-index: 220;
}

.header-dropdown-item {
	display: block;
	padding: 10px 16px;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.35;
	color: #101827;
	text-decoration: none;
	transition: background-color 0.15s ease;
	white-space: normal;
}

.header-dropdown-item:hover,
.header-dropdown-item:focus-visible {
	background-color: #0000001a;
	outline: none;
}

#navbar.site-header[dir="rtl"] .header-dropdown-toggle {
	direction: rtl;
	text-align: right;
}

#navbar.site-header[dir="ltr"] .header-dropdown-toggle {
	direction: ltr;
	text-align: left;
}

#navbar.site-header[dir="rtl"] .header-dropdown-item {
	text-align: right;
}

#navbar.site-header[dir="ltr"] .header-dropdown-item {
	text-align: left;
}

.icon-link {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	background: #f3f4f8;
	color: #0d111d;
	border: 1px solid #dfe1e8;
	line-height: 1;
}

.circle-icon {
	width: 22px;
	height: 22px;
	fill: currentColor;
}

.icon-link:hover {
	background: #0f86ff;
	color: #ffffff;
	border-color: #0f86ff;
}

@media (max-width: 1024px) {
	.site-header-inner {
		height: 62px;
		padding: 0 10px;
	}

	.brand {
		font-size: 28px;
	}

	.brand-text {
		font-size: 28px;
	}

	.main-nav a {
		font-size: 16px;
	}

	.cta-btn {
		font-size: 14px;
		padding: 0 10px;
		height: 34px;
	}

	.icon-link {
		width: 34px;
		height: 34px;
	}

	.circle-icon {
		width: 19px;
		height: 19px;
	}
}

/* Mobile menu: hamburger + full drawer (≤780px) */
.header-burger {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 0;
	border: none;
	border-radius: 12px;
	background: transparent;
	color: #0d111d;
	cursor: pointer;
	flex-shrink: 0;
	-webkit-tap-highlight-color: transparent;
	appearance: none;
	-webkit-appearance: none;
}

.header-burger-icons {
	position: relative;
	display: block;
	width: 26px;
	height: 26px;
}

.header-burger-svg {
	position: absolute;
	inset: 0;
	display: block;
	width: 26px;
	height: 26px;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.header-burger-svg--close {
	opacity: 0;
	transform: scale(0.85);
}

.header-burger[aria-expanded="true"] .header-burger-svg--menu {
	opacity: 0;
	transform: scale(0.85);
}

.header-burger[aria-expanded="true"] .header-burger-svg--close {
	opacity: 1;
	transform: scale(1);
}

#navbar.site-header .header-burger:hover,
#navbar.site-header .header-burger:focus,
#navbar.site-header .header-burger:active,
#navbar.site-header .header-burger:focus:active {
	outline: none !important;
	box-shadow: none !important;
	background-color: transparent !important;
	background-image: none !important;
	color: #0d111d !important;
	border: none !important;
}

#navbar.site-header .header-burger:hover {
	background-color: rgba(0, 0, 0, 0.06) !important;
}

#navbar.site-header .header-burger:focus-visible {
	outline: 2px solid #0f86ff !important;
	outline-offset: 2px;
	background-color: transparent !important;
}

.header-mobile-drawer {
	position: fixed;
	top: var(--header-mobile-offset, 56px);
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 350;
	background: #f2f2f7;
	overflow: hidden;
	box-sizing: border-box;
}

.header-mobile-drawer-scroll {
	max-height: 100%;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	padding-bottom: max(24px, env(safe-area-inset-bottom));
}

.header-mobile-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 12px 12px;
	position: sticky;
	top: 0;
	background: #f2f2f7;
	z-index: 2;
	border-bottom: 1px solid #e5e7eb;
}

.header-mobile-brand {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
	flex: 1;
	text-decoration: none;
	color: #151b2d;
	font-weight: 700;
	font-size: 1.05rem;
	line-height: 1.3;
}

.header-mobile-brand-icon {
	width: 28px;
	height: 28px;
	object-fit: contain;
	flex-shrink: 0;
}

.header-mobile-brand-text {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	min-width: 0;
}

.header-mobile-brand-text--rich {
	white-space: normal;
	display: -webkit-box;
	line-clamp: 2;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: 0.95rem;
	line-height: 1.25;
}

.header-mobile-brand-text--rich p {
	margin: 0;
}

.header-mobile-close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 0;
	border: none;
	border-radius: 12px;
	background: transparent;
	color: #0d111d;
	cursor: pointer;
	flex-shrink: 0;
	-webkit-tap-highlight-color: transparent;
	appearance: none;
	-webkit-appearance: none;
}

#navbar.site-header .header-mobile-close:hover,
#navbar.site-header .header-mobile-close:focus,
#navbar.site-header .header-mobile-close:active,
#navbar.site-header .header-mobile-close:focus:active {
	outline: none !important;
	box-shadow: none !important;
	background-color: transparent !important;
	background-image: none !important;
	color: #0d111d !important;
	border: none !important;
}

#navbar.site-header .header-mobile-close:hover {
	background-color: rgba(0, 0, 0, 0.06) !important;
}

#navbar.site-header .header-mobile-close:focus-visible {
	outline: 2px solid #0f86ff !important;
	outline-offset: 2px;
	background-color: transparent !important;
}

.header-mobile-nav {
	padding: 0 16px 24px;
	font-family: "Varela Round", "Segoe UI", Arial, sans-serif;
}

.header-mobile-group {
	margin-bottom: 0;
}

/* MAIN: collapsed by default; tap summary to show SUB links */
.header-mobile-details {
	margin-bottom: 0;
	border-radius: 0;
}

.header-mobile-summary {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 10px;
	padding: 14px 12px;
	font-size: 16px;
	font-weight: 600;
	color: #101827;
	cursor: pointer;
	list-style: none;
	border-radius: 0;
	transition: background-color 0.15s ease;
	border-bottom: 1px solid #e5e7eb;
}

.header-mobile-summary::-webkit-details-marker {
	display: none;
}

.header-mobile-summary::marker {
	display: none;
}

.header-mobile-summary:hover,
.header-mobile-summary:focus-visible {
	background: rgba(0, 0, 0, 0.06);
	outline: none;
}

.header-mobile-summary-text {
	flex: 1;
	min-width: 0;
	text-align: start;
}

.header-mobile-row-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	color: currentColor;
}

.header-mobile-summary-chevron {
	flex-shrink: 0;
	display: block;
	transition: transform 0.25s ease;
	opacity: 0.75;
}

.header-mobile-details[open] .header-mobile-summary-chevron {
	transform: rotate(180deg);
}

.header-mobile-sublist {
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0;
}

.header-mobile-row {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 10px;
	padding: 14px 12px;
	font-size: 16px;
	font-weight: 600;
	color: #101827;
	text-decoration: none;
	border-radius: 0;
	transition: background-color 0.15s ease;
	border-bottom: 1px solid #e5e7eb;
}

.header-mobile-row-text {
	flex: 1;
	min-width: 0;
	text-align: start;
}

.header-mobile-row--sub {
	padding-inline-start: 20px;
	font-size: .875rem;
	font-weight: 500;
	color: #374151;
}

.header-mobile-row:hover,
.header-mobile-row:focus-visible {
	background: rgba(0, 0, 0, 0.06);
	outline: none;
}

.header-mobile-group .header-mobile-row:last-child {
	border-bottom: none;
}

.header-mobile-details + .header-mobile-group,
.header-mobile-group + .header-mobile-group {
	border-top: none;
	padding-top: 0;
	margin-top: 0;
}

.header-mobile-cta-wrap {
	margin-top: 0;
	padding-top: 0;
	border-top: none;
}

.header-mobile-cta-icon {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
}

.header-mobile-row--cta {
	border-top: 1px solid #e5e7eb;
}

body.header-mobile-open {
	overflow: hidden;
}

/* Keep top bar (logo + burger) above the drawer; avoid theme pink tap on bar */
body.header-mobile-open #navbar.site-header .site-header-inner {
	position: relative;
	z-index: 360;
	background: #f2f2f7;
}

@media (min-width: 781px) {
	.header-burger,
	.header-mobile-drawer {
		display: none !important;
	}
}

@media (max-width: 780px) {
	.main-nav {
		display: none;
	}

	.header-right--desktop {
		display: none !important;
	}

	.header-burger {
		display: inline-flex;
	}

	#navbar .site-header-inner {
		height: 56px;
	}

	/* Avoid duplicate logo + close icon when drawer is open */
	body.header-mobile-open .header-mobile-toolbar {
		display: none;
	}

	.brand {
		font-size: 22px;
	}

	.brand-text {
		font-size: 22px;
	}

	.cta-btn {
		font-size: 13px;
		height: 30px;
	}

	.icon-link {
		width: 30px;
		height: 30px;
	}

	.circle-icon {
		width: 16px;
		height: 16px;
	}
}

/* ==========================================================================
   Blog Page
   ========================================================================== */

.blog-page {
	max-width: 1300px;
	margin: 0 auto;
	padding: 30px 20px 60px;
	font-family: "Varela Round", "Segoe UI", Arial, sans-serif;
}

/* Breadcrumbs */
.blog-breadcrumbs {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 20px;
	font-family: "Varela Round", sans-serif;
	font-size: 14px;
	font-weight: 400;
	color: #000;
	direction: rtl;
}

.breadcrumb-home {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	color: #000;
}

.breadcrumb-arrow {
	color: #007AFF;
	font-size: 14px;
	font-family: "Varela Round", sans-serif;
}

.breadcrumb-current {
	color: #000;
}

/* Page Title */
.blog-title {
	text-align: center;
	color: #000;
	font-family: "Varela Round", sans-serif;
	font-size: 42px;
	font-weight: 400;
	line-height: 56.355px;
	margin: 0 0 30px;
}

/* Search Bar */
.blog-search {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-bottom: 40px;
	direction: rtl;
}

.blog-page[dir="ltr"] .blog-search,
.blog-page[dir="ltr"] .blog-breadcrumbs,
.blog-page[dir="ltr"] .post-featured-content,
.blog-page[dir="ltr"] .post-featured-author,
.blog-page[dir="ltr"] .post-card-content,
.blog-page[dir="ltr"] .post-card-meta-row {
	direction: ltr;
	text-align: left;
}

.blog-page[dir="ltr"] .blog-search-input {
	direction: ltr;
	text-align: left;
	padding: 0 18px 0 52px;
}

.blog-page[dir="ltr"] .blog-search-btn {
	left: auto;
	right: 12px;
}

.blog-page[dir="ltr"] .blog-search-meta {
	flex-direction: row-reverse;
}

.blog-page[dir="ltr"] .blog-cat-item {
	text-align: left;
}

.blog-page[dir="ltr"] .post-featured-footer {
	flex-direction: row-reverse;
}

.blog-page[dir="ltr"] .post-read-more {
	flex-direction: row;
}

.blog-page[dir="ltr"] .post-read-more svg {
	transform: rotate(180deg);
}

.blog-search-box {
	position: relative;
	display: flex;
	align-items: center;
	background: #fff;
	box-shadow: 0 6px 12px #E0E0ED;
	border-radius: 20px;
	height: 55px;
	overflow: hidden;
	border: none !important;
}

.blog-search-btn {
	position: absolute;
	left: 12px;
	top: 50%;
	transform: translateY(-50%);
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	border: none !important;
	cursor: pointer;
	color: #000;
	flex-shrink: 0;
	padding: 0;
	box-shadow: none !important;
	outline: none;
	z-index: 2;
	-webkit-tap-highlight-color: transparent;
	appearance: none;
	-webkit-appearance: none;
	transition: color 0.2s ease;
}

/* Override theme default button hover (pink / accent) on blog search icon */
.blog-page .blog-search-btn:hover,
.blog-page .blog-search-btn:focus,
.blog-page .blog-search-btn:active,
.blog-page .blog-search-btn:focus:active {
	background: transparent !important;
	background-color: transparent !important;
	background-image: none !important;
	color: #0f60d4 !important;
	border: none !important;
	box-shadow: none !important;
	outline: none !important;
}

.blog-page .blog-search-btn:focus-visible {
	outline: 2px solid #0f86ff !important;
	outline-offset: 2px;
	color: #0f60d4 !important;
}

.blog-search-input {
	width: 100%;
	height: 100%;
	border: none !important;
	outline: none;
	padding: 0 52px 0 18px;
	font-family: "Varela Round", sans-serif;
	font-size: 20px;
	font-weight: 400;
	color: #4A4A4C;
	background: transparent;
	direction: rtl;
	text-align: right;
	box-shadow: none !important;
	appearance: none;
}

.blog-search-input::placeholder {
	color: #4A4A4C;
}

.blog-search-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 14px;
	border-top: 1px solid #D3D3E6;
}

.blog-article-count {
	font-family: "Varela Round", sans-serif;
	font-size: 17px;
	font-weight: 400;
	color: #000;
}

.blog-category-wrapper {
	position: relative;
}

.blog-category-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: rgba(255, 255, 255, 0.70);
	border: none;
	border-radius: 16px;
	padding: 10px 16px;
	font-family: "Varela Round", sans-serif;
	font-size: 17px;
	font-weight: 400;
	color: #000;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.blog-category-btn:hover,
.blog-category-btn:focus,
.blog-category-btn:active {
	background: rgba(255, 255, 255, 0.9);
	color: #007AFF;
}

.blog-category-list {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	min-width: 200px;
	margin: 4px 0 0;
	padding: 6px 0;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
	list-style: none;
	z-index: 50;
}

.blog-category-list.open {
	display: block;
}

.blog-cat-item {
	display: block;
	width: 100%;
	padding: 10px 16px;
	border: none;
	background: #fff;
	font-family: "Varela Round", sans-serif;
	font-size: 15px;
	color: #111 !important;
	cursor: pointer;
	text-align: right;
}

.blog-cat-item:hover {
	background: #eef5ff;
	color: #007AFF !important;
}

.blog-cat-item.active {
	color: #007AFF;
	font-weight: 700;
	background: #eef5ff;
}

#blog-posts-container {
	transition: opacity 0.2s ease;
}

/* Posts Container */
.blog-posts {
	display: flex;
	flex-direction: column;
	gap: 40px;
}

/* Featured Post */
.post-featured {
	display: flex;
	direction: ltr;
	background: #fff;
	border-radius: 20px;
	border: 0.94px solid #E8E8EC;
	overflow: hidden;
	min-height: 415px;
}

.post-featured-content {
	flex: 1;
	padding: 40px 40px 30px;
	display: flex;
	flex-direction: column;
	position: relative;
	direction: rtl;
	text-align: right;
}

.post-badge {
	display: inline-block;
	background: rgba(0, 122, 255, 0.20);
	border-radius: 37.57px;
	padding: 4px 18px;
	font-family: "Varela Round", sans-serif;
	font-size: 16px;
	font-weight: 400;
	color: #000;
	line-height: 26.3px;
	text-align: center;
	align-self: flex-start;
	margin-bottom: 16px;
}

.post-featured-title {
	margin: 0 0 16px;
	font-family: "Varela Round", sans-serif;
	font-size: 36px;
	font-weight: 400;
	line-height: 41.33px;
	color: #000;
}

.post-featured-title a {
	color: inherit;
	text-decoration: none;
	transition: color 0.25s ease;
}

.post-featured:hover .post-featured-title a {
	color: #007AFF;
}

.post-featured-excerpt {
	margin: 0 0 auto;
	font-family: "Varela Round", sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 26px;
	color: #4A4A4C;
}

.post-featured-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	direction: ltr;
	margin-top: 24px;
}

.post-featured-author {
	display: flex;
	align-items: center;
	gap: 10px;
	direction: rtl;
}

.author-avatar {
	width: 47px;
	height: 47px;
	border-radius: 9999px;
	object-fit: cover;
}

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

.author-name {
	font-family: "Varela Round", sans-serif;
	font-size: 18px;
	font-weight: 400;
	color: #000;
	line-height: 18.79px;
}

.post-date {
	font-family: "Varela Round", sans-serif;
	font-size: 14px;
	font-weight: 400;
	color: #4A4A4C;
	line-height: 24.42px;
}

.post-read-more {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-direction: row-reverse;
	gap: 4px;
	background: #007AFF;
	color: #fff;
	border-radius: 10px;
	padding: 12px 24px;
	font-family: "Varela Round", sans-serif;
	font-size: 18px;
	font-weight: 400;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
}

.post-read-more:hover {
	filter: brightness(1.08);
}

.post-featured-image {
	width: 49%;
	flex-shrink: 0;
	display: block;
	overflow: hidden;
}

.post-featured-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border-radius: 0;
	transition: transform 0.45s ease;
}

.post-featured-image:hover img,
.post-featured-image:focus-visible img {
	transform: scale(1.08);
}

/* Posts Grid (3 columns) */
.posts-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.post-card {
	background: #fff;
	border-radius: 20px;
	border: 0.94px solid #C3C3C3;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.post-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.1);
}

.post-card-image {
	display: block;
	width: 100%;
	height: 270px;
	overflow: hidden;
}

.post-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border-radius: 20px 20px 0 0;
	transition: transform 0.45s ease;
}

.post-card-image:hover img,
.post-card-image:focus-visible img {
	transform: scale(1.08);
}

.post-card-content {
	padding: 15px;
	display: flex;
	flex-direction: column;
	flex: 1;
	direction: rtl;
}

.post-card-meta-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 12px;
	width: 100%;
	font-family: "Varela Round", sans-serif;
	font-size: 12px;
	line-height: 1.35;
	color: #4A4A4C;
}

.post-card-meta-row--single {
	justify-content: flex-start;
}

.blog-page[dir="rtl"] .post-card-meta-row--single {
	justify-content: flex-end;
}

.post-card-meta-reading,
.post-card-meta-tags {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	min-width: 0;
}

.post-card-meta-tags {
	max-width: 58%;
	text-align: start;
}

.post-card-meta-icon {
	flex-shrink: 0;
	display: block;
	opacity: 0.8;
}

.post-card-meta-text {
	opacity: 0.85;
	word-break: break-word;
}

.post-card:hover .post-card-title a {
	color: #007AFF;
}

.post-card-title {
	margin: 0 0 10px;
	font-family: "Varela Round", sans-serif;
	font-size: 24px;
	font-weight: 400;
	line-height: 32px;
	color: #000;
}

.post-card-title a {
	color: inherit;
	text-decoration: none;
	transition: color 0.25s ease;
}

.post-card-excerpt {
	margin: 0 0 auto;
	font-family: "Varela Round", sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 26px;
	color: #4A4A4C;
}

.post-card-footer.post-featured-footer {
	margin-top: 20px;
	gap: 12px;
	flex-wrap: wrap;
}

.post-card .post-read-more {
	margin-top: 0;
	padding: 10px 20px;
	font-size: 16px;
}

/* Pagination */
.blog-pagination {
	display: flex;
	justify-content: center;
	gap: 6px;
	margin-top: 50px;
	font-family: "Varela Round", sans-serif;
	font-size: 16px;
}

.blog-pagination a,
.blog-pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 10px;
	border-radius: 8px;
	text-decoration: none;
	color: #000;
	background: #fff;
	border: 1px solid #E8E8EC;
}

.blog-pagination .current {
	background: #007AFF;
	color: #fff;
	border-color: #007AFF;
}

.blog-pagination a:hover {
	background: #f0f4ff;
}

/* Responsive */
@media (max-width: 1024px) {
	.post-featured {
		flex-direction: column-reverse;
	}

	.post-featured-image {
		width: 100%;
		height: 300px;
	}

	.post-featured-content {
		padding: 24px;
	}

	.post-featured-title {
		font-size: 28px;
		line-height: 36px;
	}

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

	.blog-title {
		font-size: 34px;
		line-height: 46px;
	}
}

@media (max-width: 640px) {
	.blog-title {
		font-size: 28px;
		line-height: 38px;
	}

	.post-featured-title {
		font-size: 22px;
		line-height: 30px;
	}

	.posts-grid {
		grid-template-columns: 1fr;
	}

	.post-card-image {
		height: 200px;
	}

	.post-featured-footer {
		flex-direction: column-reverse;
		align-items: flex-start;
		gap: 16px;
	}

	.blog-search-meta {
		flex-direction: column;
		gap: 10px;
		align-items: flex-start;
	}
}

/* ==========================================================================
   Single Post
   ========================================================================== */

.single-post-page {
	max-width: 1300px;
	margin: 0 auto;
	padding: 30px 20px 60px;
	font-family: "Varela Round", sans-serif;
}

.single-post-page[dir="ltr"] .sp-breadcrumbs,
.single-post-page[dir="ltr"] .sp-entry-content,
.single-post-page[dir="ltr"] .sp-author-info,
.single-post-page[dir="ltr"] .sp-toc-list li,
.single-post-page[dir="ltr"] .sp-sidebar-cta {
	direction: ltr;
	text-align: left;
}

.single-post-page[dir="ltr"] .sp-entry-content th,
.single-post-page[dir="ltr"] .sp-entry-content td {
	text-align: left;
}


.sp-breadcrumbs {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 24px;
	font-family: "Varela Round", sans-serif;
	font-size: 14px;
	font-weight: 400;
	color: #000;
}

.sp-breadcrumbs .breadcrumb-home {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	color: #000;
}

.sp-breadcrumbs .breadcrumb-arrow {
	color: #007AFF;
	font-size: 14px;
}

.sp-breadcrumbs .breadcrumb-cat {
	color: #000;
	text-decoration: none;
}

.sp-breadcrumbs .breadcrumb-cat:hover {
	color: #007AFF;
}

.sp-breadcrumbs .breadcrumb-current {
	color: #000;
}

.sp-layout {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	gap: 30px;
	align-items: flex-start;
	overflow: visible;
}

.sp-content {
	flex: 1 1 0% !important;
	min-width: 0 !important;
	width: auto !important;
	max-width: none !important;
}

.sp-white-box {
	background: #fff;
	border-radius: 10px;
	padding: 34px;
	margin-bottom: 40px;
}

.sp-title {
	color: #000;
	font-size: 36px;
	line-height: 46px;
	margin: 0 0 30px;
	font-weight: 400;
}

.sp-hero-img {
	width: 100%;
	height: auto;
	border-radius: 10px;
	margin-bottom: 30px;
	display: block;
}

.sp-entry-content h2 {
	color: #000;
	font-size: 30px;
	line-height: 54px;
	margin: 40px 0 20px;
	font-weight: 400;
	border-top: 1px solid #E1E1E1;
	padding-top: 20px;
	scroll-margin-top: 100px;
}

.sp-entry-content .sp-cta-banner h2,
.sp-entry-content .related-head .section-title {
	border-top: none;
	padding-top: 0;
}

.sp-entry-content p {
	font-size: 18px;
	line-height: 30px;
	margin-bottom: 20px;
	color: #4A4A4C;
}
/* 
.sp-entry-content a {
	color: #007AFF;
	text-decoration: underline;
} */

.sp-entry-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 30px 0;
	border: 1px solid #E1E1E1;
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
}

.sp-entry-content th,
.sp-entry-content td {
	padding: 15px 20px;
	text-align: right;
	border-bottom: 1px solid #E1E1E1;
	font-size: 18px;
}

.sp-entry-content th {
	background: #F2F2F7;
	color: #000;
	font-weight: 400;
}

.sp-entry-content tr:last-child td {
	border-bottom: none;
}

/* CTA banner inside white box */
.sp-cta-banner {
	background: #007AFF;
	border-radius: 10px;
	padding: 40px;
	text-align: center;
	margin-top: 40px;
	color: #fff;
}

.sp-cta-banner h2 {
	color: #fff;
	font-size: 30px;
	line-height: 38px;
	margin: 0 0 16px;
	font-weight: 400;
}

.sp-cta-banner p {
	font-size: 18px;
	line-height: 26px;
	margin-bottom: 30px;
	color: #fff;
}

.sp-cta-btn-white {
	display: inline-block;
	border: 1px solid #fff;
	border-radius: 10px;
	padding: 14px 30px;
	color: #fff;
	text-decoration: none;
	font-size: 18px;
	font-family: "Varela Round", sans-serif;
	transition: background 0.2s, color 0.2s;
}

.sp-cta-btn-white:hover {
	background: #fff;
	color: #007AFF;
}

/* Author section */
.sp-author-section {
	padding: 0;
	padding-right: 6px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

.sp-author-section h3 {
	font-size: 24px;
	color: #000;
	font-weight: 400;
	margin: 0 0 20px;
	padding-left: 20px;
}

.sp-author-divider {
	flex: 1;
	min-width: 60px;
	height: 1px;
	background: #007AFF;
	margin: 0 0 20px 12px;
}

.sp-author-content {
	flex-basis: 100%;
	display: flex;
	align-items: flex-start;
	gap: 25px;
	background: #fff;
	padding: 20px;
	border-radius: 10px;
}

.sp-author-img {
	width: 124px;
	height: 124px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
}

.sp-author-info h4 {
	font-size: 28px;
	color: #000;
	margin: 0 0 5px;
	font-weight: 400;
}

.sp-author-info p {
	font-size: 18px;
	line-height: 26px;
	color: #4A4A4C;
	margin: 0;
	max-width: 624px;
}

/* Sidebar */
.sp-sidebar {
	flex: 0 0 386px !important;
	width: 386px !important;
	align-self: stretch;
	overflow: visible;
}

.sp-sidebar-sticky {
	display: flex;
	flex-direction: column;
	gap: 20px;
	overflow: visible;
	position: -webkit-sticky;
	position: sticky;
	top: 85px;
}

.sp-sidebar-cta {
	background: #007AFF;
	border-radius: 10px;
	padding: 34px 28px;
	text-align: center;
}

.sp-sidebar-cta h2 {
	color: #fff;
	font-size: 30px;
	line-height: 38px;
	margin: 0 0 14px;
	font-weight: 400;
}

.sp-sidebar-cta p {
	color: #fff;
	font-size: 18px;
	line-height: 26px;
	margin: 0 0 24px;
}

.sp-sidebar-cta-btn {
	display: block;
	border: 1px solid #fff;
	border-radius: 10px;
	padding: 14px 20px;
	color: #fff;
	text-decoration: none;
	font-size: 16px;
	font-family: "Varela Round", sans-serif;
	text-align: center;
	transition: background 0.2s, color 0.2s;
}

.sp-sidebar-cta-btn:hover {
	background: #fff;
	color: #007AFF;
}

/* Table of Contents */
.sp-toc {
	background: #FBFBFD;
	border-radius: 10px;
	padding: 24px;
}

.sp-toc-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.sp-toc-title {
	font-size: 20px;
	color: #000;
	font-weight: 400;
}

.sp-toc-toggle {
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
	display: flex;
	align-items: center;
	transition: transform 0.2s;
}

.sp-toc-toggle.is-collapsed {
	transform: rotate(180deg);
}

.sp-toc-toggle:hover,
.sp-toc-toggle:focus,
.sp-toc-toggle:active {
	background: none !important;
	color: inherit;
	outline: none;
}

.sp-toc-toggle svg {
	stroke: #000;
	transition: stroke 0.2s;
}

.sp-toc-list.is-hidden {
	display: none;
}

.sp-toc-divider.is-hidden {
	display: none;
}

.sp-toc-divider {
	height: 1px;
	background: #F2F2F7;
	margin: 14px 0;
}

.sp-toc-list {
	list-style: none;
	counter-reset: toc-counter;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.sp-toc-list li {
	counter-increment: toc-counter;
	display: flex;
	gap: 6px;
	font-size: 18px;
	line-height: 24px;
	color: #000;
}

.sp-toc-list li::before {
	content: counter(toc-counter) ".";
	flex-shrink: 0;
	color: #000;
}

.sp-toc-list a {
	color: #000;
	text-decoration: none;
}

.sp-toc-list a:hover {
	color: #007AFF;
}

/* Responsive */
@media (max-width: 1024px) {
	.sp-sidebar {
		flex: 0 0 320px !important;
		width: 320px !important;
	}

	.sp-sidebar-cta h2 {
		font-size: 24px;
		line-height: 32px;
	}

	.sp-title {
		font-size: 30px;
		line-height: 40px;
	}
}

@media (max-width: 780px) {
	.sp-layout {
		flex-direction: column !important;
	}

	.sp-sidebar {
		flex: 0 0 auto !important;
		width: 100% !important;
		order: -1;
	}

	.sp-sidebar-sticky {
		position: static;
	}

	.sp-white-box {
		padding: 20px;
	}

	.sp-title {
		font-size: 26px;
		line-height: 34px;
	}

	.sp-entry-content h2 {
		font-size: 24px;
		line-height: 36px;
	}

	.sp-author-content {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.sp-cta-banner {
		padding: 24px;
	}
}

/* ==========================================================================
   Related Posts Shortcode [posts]
   ========================================================================== */

.related-container {
	width: 100%;
	max-width: 764px;
	font-family: "Varela Round", sans-serif;
	margin-top: 40px;
}

.related-head {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 24px;
}

.related-head .section-title {
	margin: 0;
	color: #000;
	font-size: 30px;
	font-weight: 400;
	line-height: 36px;
	white-space: nowrap;
}

.related-head .section-line {
	flex: 1;
	height: 1px;
	background: #E1E1E1;
}

.related-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.related-card {
	background: #fff;
	border-radius: 8.32px;
	border: 0.83px solid #C3C3C3;
	overflow: hidden;
}

.related-card-link {
	display: block;
	text-decoration: none;
	color: inherit;
}

.related-card .card-img {
	width: 100%;
	aspect-ratio: 365 / 240;
	object-fit: cover;
	display: block;
}

.related-card .card-bg {
	padding: 14px 16px 16px;
}

.related-card .card-title {
	margin: 0;
	color: #000;
	font-size: 21.27px;
	font-weight: 400;
	text-transform: uppercase;
	line-height: 28.36px;
	text-align: right;
}

@media (max-width: 780px) {
	.related-container {
		max-width: 100%;
	}

	.related-head .section-title {
		font-size: 24px;
		line-height: 30px;
	}

	.related-grid {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.related-card .card-title {
		font-size: 18px;
		line-height: 24px;
	}
}

/* ==========================================================================
   Footer
   ========================================================================== */

body footer.site-footer {
	font-family: "Varela Round", sans-serif;
	background-color: #ffffff;
	color: #01030D;
	display: block;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0;
	padding: 40px 0 20px 0;
	box-sizing: border-box;
	position: static;
	left: auto;
	right: auto;
	margin-left: 0 !important;
	margin-right: 0 !important;
	overflow-x: clip;
}

body footer.site-footer .footer-top {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 28px;
	align-items: start;
	width: 100%;
	max-width: none !important;
	margin: 0 auto;
	padding: 0 40px;
	box-sizing: border-box;
}

.footer-col {
	display: flex;
	flex-direction: column;
	text-align: right;
	min-width: 0;
}

.site-footer[dir="ltr"] .footer-col,
.site-footer[dir="ltr"] .footer-col a,
.site-footer[dir="ltr"] .footer-col button {
	text-align: left;
}

.footer-title {
	color: #737373;
	font-size: 16px;
	font-weight: bold;
	margin-bottom: 16px;
}

.footer-col .footer-title .footer-title-link {
	color: inherit;
	font-weight: inherit;
	text-decoration: none;
}

.footer-col .footer-title .footer-title-link:hover {
	opacity: 0.75;
}

.footer-col .footer-title .footer-title-link::after {
	display: none;
}

.footer-col a,
.footer-col button {
	color: #01030D;
	text-decoration: none;
	font-size: .875rem;
	margin-bottom: 12px;
	background: none;
	border: none;
	padding: 0;
	font-family: inherit;
	cursor: pointer;
	text-align: right;
	transition: opacity 0.2s;
	position: relative;
	display: block;
	width: 100%;
	max-width: 100%;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.footer-col a:hover,
.footer-col button:hover {
	opacity: 0.7;
}

.footer-col a::after {
	display: none;
}

.site-footer[dir="ltr"] .footer-col a::after {
	right: auto;
	left: 0;
	transform-origin: left center;
}

.footer-col a:hover {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

body footer.site-footer .footer-divider {
	width: calc(100% - 80px);
	max-width: none !important;
	height: 1px;
	background-color: #E1E1E1;
	margin: 30px auto;
	border-radius: 10px;
}

body footer.site-footer .footer-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	max-width: none !important;
	margin: 0 auto;
	padding: 0 40px;
	position: relative;
	box-sizing: border-box;
}

.company-name,
.footer-logo-wrap {
	font-size: 14px;
	color: #01030D;
	display: flex;
	align-items: center;
	gap: 10px;
}

.footer-logo-img {
	display: block;
	height: 32px;
	width: auto;
	max-width: 160px;
	object-fit: contain;
}

.footer-logo-text {
	font-size: 14px;
	line-height: 1.35;
}

.footer-logo-text p {
	margin: 0;
}

.footer-btn {
	background-color: #007AFF;
	color: #ffffff;
	font-size: 18px;
	text-decoration: none;
	padding: 12px 24px;
	border-radius: 8px;
	font-weight: 400;
	transition: opacity 0.2s;
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
}

.footer-btn:hover {
	opacity: 0.85;
}

.social-icons {
	display: flex;
	gap: 15px;
	align-items: center;
}

.social-icons a {
	color: #01030D;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: opacity 0.2s;
	text-decoration: none;
}

.social-icons a:hover {
	opacity: 0.6;
}

.social-icons-img {
	display: block;
	width: 30px;
	height: 30px;
	object-fit: contain;
}

.social-icons-svg {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	flex-shrink: 0;
	color: #01030D;
}

.social-icons-svg svg {
	display: block;
	width: 30px;
	height: 30px;
	max-width: 100%;
	max-height: 100%;
}

@media (max-width: 768px) {
	body footer.site-footer .footer-top {
		grid-template-columns: 1fr;
		gap: 30px;
		text-align: right;
	}

	.footer-col {
		text-align: right;
	}

	.footer-col a,
	.footer-col button {
		text-align: right;
	}

	.site-footer[dir="ltr"] .footer-top,
	.site-footer[dir="ltr"] .footer-col,
	.site-footer[dir="ltr"] .footer-col a,
	.site-footer[dir="ltr"] .footer-col button {
		text-align: left;
	}

	.footer-bottom {
		flex-direction: column;
		gap: 20px;
	}

	.footer-btn {
		position: static;
		transform: none;
		width: 100%;
		text-align: center;
		box-sizing: border-box;
	}

	.social-icons {
		order: 3;
	}
}
