:root {
	/* REQUIRED */
	--sys-space: 3rem;
	--bs-offcanvas-zindex: 1065;
	--sys-transition-time-shortest: 0.2s;
	--sys-transition-time-short: 0.3s;
	--sys-transition-time-normal: 0.4s;
	--sys-transition-time-long: 0.5s;
	--sys-transition-time-longest: 0.6s;
	
	/* OPTIONAL */
	/*
	--bs-border-radius: 0;
	--bs-border-radius-md: var(--bs-border-radius);
	--bs-border-radius-sm: var(--bs-border-radius);
	--bs-border-radius-lg: var(--bs-border-radius);
	--bs-border-radius-xl: var(--bs-border-radius);
	--bs-border-radius-xxl: var(--bs-border-radius);
	 */
}

.accordion {
	/* OPTIONAL */
	--bs-accordion-btn-focus-box-shadow: 0 0 0 2px rgba(13, 110, 253, .25) !important;
}

img {
	max-width: 100%;
	height: auto;
}

.mainPopup .fancybox-close-small {
	background-color: rgba(0, 0, 0, .4);
	color: #fff !important;
}

.mainPopup .fancybox-slide > *, .mainPopup .fancybox__slide > * {
	padding: 0;
}

.mainPopup .fancybox-slide .video-16x9, .mainPopup .fancybox__slide .video-16x9 {
	width: 1280px;
	height: 720px;
}

.container-16x9 {
	position: relative;
	overflow: hidden;
	width: 100%;
	padding-top: 56.25%;
}

.container-16x9 iframe {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	width: 100%;
	height: 100%;
	max-width: 100%;
}

#block_ui {
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	z-index: 999999999;
	background-color: rgba(0, 0, 0, .8);
	cursor: wait;
	display: flex;
	align-items: center;
	justify-content: center;
}

#block_ui.d-none {
	display: none !important;
}

.sys-loader {
	border: 20px solid #f3f3f3;
	border-radius: 50%;
	border-top: 20px solid #3498db;
	border-bottom: 20px solid #3498db;
	width: 100px;
	height: 100px;
	-webkit-animation: spin .9s linear infinite; /* Safari */
	animation: spin .9s linear infinite; /* .9s windows mouse cursor wait ile aynı */
}

@-webkit-keyframes spin {
	0% { -webkit-transform: rotate(0deg); }
	100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

.in-page-loader {
	display: flex;
	justify-content: center;
	align-items: center;
}

html.no_scroll {
	margin: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.sys-map {
	height: 450px;
}

.leaflet-pane, .leaflet-bottom, .leaflet-top {
	z-index: 0 !important;
}

.sys_dev_mode, .admin_status_danger {
	position: fixed;
	padding: 15px 25px;
	background-color: darkred;
	color: whitesmoke;
	opacity: .5;
	z-index: 9999999;
	pointer-events: none;
}

.sys_dev_mode {
	left: 10px;
	bottom: 10px;
}

.admin_status_danger {
	top: 0;
	text-align: center;
	opacity: .7;
	width: 100%;
}

.sys-gallery .title {
	text-align: center;
	font-size: 2.5rem;
}

.sys-gallery .item_image {
	display: block;
	position: relative;
}

.sys-gallery .play_button {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	background-color: #00000066;
	color: whitesmoke;
}

.sys-gallery .play_button img {
	max-width: 20%;
	max-height: 20%;
}

.disabled,
.disabled * {
	pointer-events: none !important;
	user-select: none !important;
	cursor: none !important;
	opacity: .7;
}

.sys-form.use_ph label.removable {
	display: none;
}

.sys-space {
	margin-top: var(--sys-space);
	margin-bottom: var(--sys-space);
}

.sys-space-top {
	margin-top: var(--sys-space);
}

.sys-space-bottom {
	margin-bottom: var(--sys-space);
}

.sys-space-x {
	margin-left: var(--sys-space);
	margin-right: var(--sys-space);
}

.sys-space-y {
	margin-top: var(--sys-space);
	margin-bottom: var(--sys-space);
}

.over_hidden {
	overflow: hidden;
}

.sys_modal {
	display: none;
	position: fixed;
	width: 100%;
	height: 100%;
	z-index: 999999;
	left: 0;
	top: 0;
	background-color: #232327;
	color: whitesmoke;
	overflow-y: scroll;
}

.sys_modal .text * {
	color: whitesmoke;
}

.sys_modal .btn_close {
	position: fixed;
	left: 0;
	top: 0;
	background-color: whitesmoke;
	color: #232327;
	width: 100%;
	height: 50px;
	border: 0;
}

.sys_modal.active {
	display: block;
}

.sys_modal .text {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 70px 20px 30px;
}

#cc-main {
	z-index: 999999 !important;
}

#cc-main .cm:not(.cm--bar) {
	max-width: clamp(0em, 50em, 100%) !important;
}

/*#cc-main .pm--box {*/
/*	max-width: clamp(43em, 55em, 100%) !important;*/
/*}*/

#cc-main .cm__desc *,
#cc-main .pm__section-desc * {
	all: revert;
}

#cc-main .cm__desc p,
#cc-main .pm__section-desc p {
	margin-top: 0;
	margin-bottom: 10px;
}

#cc-main .cm__desc p:last-child,
#cc-main .pm__section-desc p:last-child {
	margin-bottom: 0;
}

.youtube-embed-wrapper {
	padding-top: 0 !important;
}

.sys-form a {
	font-weight: bold;
	text-decoration: underline;
}

.sys-form .form-floating > textarea.form-control {
	height: 140px;
}

.form-floating > label {
	color: rgba(var(--bs-body-color-rgb), .65); /* bootstrap default */
}

.form-control:focus, .form-select:focus {
	box-shadow: none;
}

.swiper-slide video {
	width: 100%;
	object-fit: cover;
	display: block;
}

.sys-back-icon:before {
	transform: scaleX(-1);
}

.sys-lazy {
	min-width: clamp(50px, 50px, 100%);
	min-height: clamp(50px, 50px, 100%);
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><rect fill="%23999999" stroke="%23999999" stroke-width="9" width="30" height="30" x="25" y="85"><animate attributeName="opacity" calcMode="spline" dur="1" values="1;0;1;" keySplines=".5 0 .5 1;.5 0 .5 1" repeatCount="indefinite" begin="-.4"></animate></rect><rect fill="%23999999" stroke="%23999999" stroke-width="9" width="30" height="30" x="85" y="85"><animate attributeName="opacity" calcMode="spline" dur="1" values="1;0;1;" keySplines=".5 0 .5 1;.5 0 .5 1" repeatCount="indefinite" begin="-.2"></animate></rect><rect fill="%23999999" stroke="%23999999" stroke-width="9" width="30" height="30" x="145" y="85"><animate attributeName="opacity" calcMode="spline" dur="1" values="1;0;1;" keySplines=".5 0 .5 1;.5 0 .5 1" repeatCount="indefinite" begin="0"></animate></rect></svg>');
}

.sys-divider {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 1rem;
}

.sys-divider::before,
.sys-divider::after {
	content: "";
	height: 1px;
	background-color: #ccc;
}

.offcanvas {
	z-index: 1065;
}

.offcanvas-backdrop {
	z-index: 1064;
}

.offcanvas-header {
	background-color: var(--bs-success);
	color: var(--bs-light);
}

.offcanvas-header .btn-close {
	filter: brightness(0) invert(1);
	opacity: .8;
}

.swal2-container {
	z-index: 1070;
}

.btn.w-100 {
	max-width: 100%;
}

.sys-form .terms-label {
	display: inline;
}

.sys-youtube {
	background-color: #000000;
	cursor: pointer;
}

.sys-youtube .img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
}

.sys-youtube .button {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 20%;
	height: 20%;
	aspect-ratio: 1;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 10;
	transition: background-color 0.3s ease;
	opacity: .7;
	filter: drop-shadow(0px 0px 3px #000);
}

.sys-youtube:hover .button {
	opacity: 1;
}

#sys-popup {
	z-index: 999999;
}

#sys-popup .sys-close {
	--btn-width: 3rem;
	--btn-height: 3rem;
	
	outline: none;
	position: absolute;
	width: var(--btn-width);
	height: var(--btn-height);
	right: .25rem;
	top: .25rem;
	opacity: .5;
	background-color: black;
	overflow: hidden;
	border-radius: 50%;
}

#sys-popup .btn-close {
	padding: 0;
	width: var(--btn-width);
	height: var(--btn-height);
	border-radius: 0;
}

#sys-popup .sys-close:hover {
	opacity: .8;
}

.sys-form-group {
	margin-bottom: 1rem;
}

.sys-form-info {
	padding: .25rem .5rem !important;
	color: #055160;
	background-color: #cff4fc;
	font-size: .85rem;
}

.text-multiple .sys-form-info {
	margin-bottom: .5rem;
}

@media (max-width: 576px) {
	.text-multiple {
		border: none;
	}
	
	.text-multiple .card-header {
		border: 1px solid rgba(0, 0, 0, 0.25);
	}
	
	.text-multiple .input-group-text, .text-multiple .btn-remove-row {
		padding: .375rem;
	}
	
	.text-multiple .card-body {
		padding-left: 0;
		padding-right: 0;
		padding-bottom: 0;
	}
}

.social-logins > a:last-child {
	margin-bottom: 0 !important;
}

.turnstile-container {
	margin: 1rem 0 0 0;
}

[data-animate] {
	opacity: 0;
}

/* ARTICLE CARD START */
.sys-article-card {
	background: var(--bs-body-bg);
	border: 1px solid var(--bs-secondary);
	transition: all var(--sys-transition-time-normal) ease;
	padding: 1rem;
	position: relative;
	height: 100%;
}

.sys-article-card:hover {
	border-color: var(--bs-primary);
}

.sys-article-card .image {
	position: relative;
}

.sys-article-card .date {
	font-size: 0.85rem;
	color: var(--bs-white);
	font-weight: 600;
	display: flex;
	justify-content: space-between;
	position: absolute;
	left: 5px;
	top: 5px;
	padding: 3px 8px;
	border-radius: 5px;
	background-color: var(--bs-primary);
	opacity: .6;
}

.sys-article-card .title {
	font-size: 1.25rem;
	margin: 0.75rem 0;
	transition: all var(--sys-transition-time-normal) ease;
	color: var(--bs-secondary);
}

.sys-article-card:hover .title,
.sys-article-card:hover .more {
	color: var(--bs-primary);
}

.sys-article-card .spot {
	font-size: 0.9rem;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
	margin-bottom: 0.75rem;
}

.sys-article-card .more {
	color: var(--bs-secondary);
	text-decoration: none;
	transition: all var(--sys-transition-time-normal) ease;
}
/* ARTICLE CARD END */

.article-item .spot {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	word-break: break-word;
}

/* BLOG SIDEBAR START */
.sidebar-card {
	background: var(--bs-body-bg);
	padding: 1.875rem;
	margin-bottom: 1.875rem;
	border-radius: var(--bs-border-radius);
	box-shadow: 0 0.625rem 1.875rem rgba(0, 0, 0, .05);
	border: 1px solid var(--bs-border-color);
}

.container .sidebar-card {
	padding: 1rem;
}

.sidebar-title {
	font-size: 1.25rem;
	font-weight: 400;
	margin-bottom: 1.5rem;
	padding-bottom: 1rem;
	position: relative;
	color: var(--bs-emphasis-color);
}

.sidebar-title:after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 40px;
	height: 3px;
	background: var(--bs-primary);
}

.sidebar-cats {
	list-style: none;
	padding: 0;
	margin: 0;
}

.sidebar-cats li {
	padding: 0.75rem 0;
	border-bottom: 1px solid #f5f5f5;
}

.sidebar-cats li:last-child {
	border-bottom: none;
}

.sidebar-cats a {
	color: var(--bs-secondary-color);
	display: flex;
	justify-content: space-between;
	align-items: center;
	transition: all .3s ease;
	text-decoration: none;
}

.sidebar-cats a:hover {
	color: var(--bs-primary);
	padding-left: 5px;
}

.sidebar-cats span {
	background: var(--bs-tertiary-bg);
	padding: 2px 10px;
	border-radius: 1.25rem;
	font-size: 0.75rem;
}

.sidebar-post-item {
	display: flex;
	gap: 1rem;
	margin-bottom: 1.25rem;
	position: relative;
}

.container .sidebar-post-item {
	gap: 0.5rem;
}

.sidebar-post-item .thumb {
	width: 5rem;
	height: 5rem;
	flex-shrink: 0;
	border-radius: var(--bs-border-radius);
	overflow: hidden;
}

.container .sidebar-post-item .thumb {
	width: 4rem;
	height: 4rem;
}

.sidebar-post-item h4 {
	font-size: 1rem;
	font-weight: 400;
	margin-bottom: 0;
	line-height: 1.2;
}

.sidebar-post-item a {
	color: #222;
	transition: color .3s ease;
	text-decoration: none;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	word-break: break-word;
}

.sidebar-post-item a:hover {
	color: var(--bs-primary);
}

.sidebar-post-item .date {
	font-size: 0.875rem;
	color: #888;
}

.sidebar-search .form-control,
.sidebar-search .input-group-text {
	border-radius: var(--bs-border-radius);
}

.sidebar-search .form-control,
.sidebar-search .input-group-text {
	border-color: var(--bs-border-color);
}

.sidebar-search .form-control:focus,
.sidebar-search .form-control:focus + .input-group-text {
	border-color: var(--bs-focus-ring-color);
}
/* BLOG SIDEBAR END */

.accordion-body > p:last-child {
	margin-bottom: 0;
}

.toc-card {
	background-color: #fcfaf8; /* Very soft warm gray/beige */
	border: 1px solid #f2ebe5;
	border-radius: 1.5rem; /* Modern rounded corners */
	box-shadow: 0 4px 20px rgba(138, 115, 100, 0.05); /* Soft shadow */
}

.toc-title {
	color: #3b2f29;
	font-weight: 700;
	letter-spacing: -0.5px;
}

.toc-title-icon {
	color: #e07a5f; /* Warm terracotta color */
}

/* List styling */
.toc-list {
	padding-left: 1.2rem;
	margin-bottom: 0;
}

.toc-list li {
	margin-bottom: 0.6rem;
	color: #e07a5f; /* Color for the numbers */
}

.toc-list li::marker {
	font-weight: 700;
}

/* Link styling inside TOC */
.toc-link {
	color: #5c4e46;
	text-decoration: none;
	transition: all 0.25s ease-in-out;
	display: inline-block;
	font-weight: 600;
	font-size: 0.95rem;
}

.toc-link:hover {
	color: #e07a5f;
	transform: translateX(6px); /* Subtle nudge on hover */
}

/* Custom Toggle Button styling */
.btn-warm-outline {
	color: #e07a5f;
	border: 1.5px solid #e07a5f;
	background-color: transparent;
	font-weight: 600;
	padding: 0.5rem 1.25rem;
	transition: all 0.3s ease;
}

.btn-warm-outline:hover, .btn-warm-outline:focus, .btn-warm-outline:active {
	background-color: #e07a5f !important;
	color: #ffffff !important;
	border-color: #e07a5f !important;
	box-shadow: 0 4px 12px rgba(224, 122, 95, 0.2) !important;
}

.toggle-icon {
	transition: transform 0.3s ease;
}

.toggle-icon.rotated {
	transform: rotate(180deg);
}

/* Article dummy styling */
.article-section {
	padding-top: 5rem; /* Offset for sticky headers if any, and spacing */
	margin-top: -3rem;
}

.toc-hidden-placeholder {
	position: absolute;
	margin-top: -130px;
}

.brand-card img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}