/*
Theme Name: Numerique Child
Theme URI: https://endustri.digital/
Description: Dijital Endüstri için Numerique child theme.
Author: Dijital Endüstri
Author URI: https://endustri.digital/
Template: numerique
Version: 1.0.0
Text Domain: numerique-child
*/

/* =========================================================
   GENEL
   ========================================================= */

html,
body {
	max-width: 100% !important;
	overflow-x: hidden !important;
}

body {
	background: #ffffff !important;
}

/* =========================================================
   HEADER ÇİFT GÖRÜNME DÜZELTMESİ
   ========================================================= */

.elementor-location-header .vamtam-sticky-header--spacer {
	display: none !important;
	visibility: hidden !important;
	height: 0 !important;
	min-height: 0 !important;
	max-height: 0 !important;
	overflow: hidden !important;
	pointer-events: none !important;
}

/* =========================================================
   SINGLE BLOG DETAY SAYFASI
   ========================================================= */

body.single-post {
	background: #ffffff !important;
}

body.single-post .de-single-post {
	background: #ffffff !important;
	color: #111111 !important;
	overflow-x: hidden !important;
	padding-top: 0 !important;
}

body.single-post .de-container {
	width: min(1180px, calc(100% - 40px)) !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

body.single-post .de-content-container {
	width: min(860px, calc(100% - 40px)) !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

/* =========================================================
   SINGLE BLOG HERO
   ========================================================= */

body.single-post .de-post-hero {
	padding: 82px 0 48px !important;
	background: linear-gradient(180deg, #f3efff 0%, #ffffff 74%) !important;
	text-align: center !important;
}

body.single-post .de-post-hero .de-container {
	text-align: center !important;
}

body.single-post .de-post-category {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	padding: 8px 18px !important;
	border-radius: 999px !important;
	background: #f5f3ff !important;
	color: #6754e9 !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	line-height: 1 !important;
	margin: 0 auto 20px !important;
	text-align: center !important;
}

body.single-post .de-post-title {
	max-width: 980px !important;
	margin: 0 auto 18px !important;
	text-align: center !important;
	font-size: clamp(32px, 3.8vw, 54px) !important;
	line-height: 1.12 !important;
	letter-spacing: -0.8px !important;
	font-weight: 700 !important;
	color: #000000 !important;
}

body.single-post .de-post-meta {
	text-align: center !important;
	font-size: 15px !important;
	color: #5f6470 !important;
	margin-bottom: 32px !important;
}

body.single-post .de-featured-image {
	max-width: 980px !important;
	margin: 0 auto !important;
	border-radius: 28px !important;
	overflow: hidden !important;
	box-shadow: 0 22px 60px rgba(0, 0, 0, 0.08) !important;
	background: #f4f4f4 !important;
}

body.single-post .de-featured-image img {
	display: block !important;
	width: 100% !important;
	height: auto !important;
	object-fit: contain !important;
	margin: 0 !important;
	border-radius: 0 !important;
}

/* =========================================================
   SINGLE BLOG İÇERİK
   ========================================================= */

body.single-post .de-post-content-section {
	padding: 56px 0 74px !important;
	background: #ffffff !important;
}

body.single-post .de-post-content {
	font-size: 18px !important;
	line-height: 1.82 !important;
	color: #222222 !important;
	font-weight: 300 !important;
}

body.single-post .de-post-content p {
	margin: 0 0 24px !important;
}

body.single-post .de-post-content h2 {
	font-size: clamp(28px, 3vw, 36px) !important;
	line-height: 1.18 !important;
	letter-spacing: -0.4px !important;
	margin: 46px 0 18px !important;
	color: #000000 !important;
	font-weight: 700 !important;
}

body.single-post .de-post-content h3 {
	font-size: clamp(22px, 2.4vw, 28px) !important;
	line-height: 1.2 !important;
	margin: 34px 0 14px !important;
	color: #000000 !important;
	font-weight: 700 !important;
}

body.single-post .de-post-content h4 {
	font-size: 20px !important;
	line-height: 1.25 !important;
	margin: 28px 0 12px !important;
	color: #000000 !important;
	font-weight: 700 !important;
}

body.single-post .de-post-content ul,
body.single-post .de-post-content ol {
	margin: 0 0 26px 22px !important;
	padding: 0 !important;
}

body.single-post .de-post-content li {
	margin-bottom: 9px !important;
}

body.single-post .de-post-content a {
	color: #6754e9 !important;
	text-decoration: underline !important;
	text-underline-offset: 4px !important;
}

body.single-post .de-post-content strong,
body.single-post .de-post-content b {
	font-weight: 700 !important;
	color: #000000 !important;
}

body.single-post .de-post-content img {
	max-width: 100% !important;
	height: auto !important;
	object-fit: contain !important;
	border-radius: 22px !important;
	margin: 24px 0 !important;
}

body.single-post .de-post-content blockquote {
	margin: 34px 0 !important;
	padding: 24px 28px !important;
	border-left: 5px solid #6754e9 !important;
	background: #f7f7fa !important;
	border-radius: 18px !important;
	font-size: 20px !important;
	line-height: 1.55 !important;
	color: #111111 !important;
}

/* =========================================================
   SINGLE BLOG ETİKETLER
   ========================================================= */

body.single-post .de-post-tags {
	margin-top: 40px !important;
	padding-top: 22px !important;
	border-top: 1px solid #eeeeee !important;
	font-size: 15px !important;
	color: #666666 !important;
}

body.single-post .de-post-tags span {
	display: block !important;
	font-weight: 700 !important;
	color: #111111 !important;
	margin-bottom: 10px !important;
}

body.single-post .de-post-tags a {
	display: inline-block !important;
	margin: 6px 6px 0 0 !important;
	padding: 7px 13px !important;
	border-radius: 999px !important;
	background: #f7f7fa !important;
	color: #111111 !important;
	text-decoration: none !important;
	font-size: 13px !important;
	line-height: 1.2 !important;
}

body.single-post .de-post-tags a:hover {
	background: #6754e9 !important;
	color: #ffffff !important;
}

/* =========================================================
   SINGLE BLOG ÖNCEKİ / SONRAKİ
   ========================================================= */

body.single-post .de-post-navigation {
	display: flex !important;
	justify-content: space-between !important;
	align-items: center !important;
	gap: 20px !important;
	margin-top: 32px !important;
	padding-top: 22px !important;
	border-top: 1px solid #eeeeee !important;
}

body.single-post .de-post-navigation a {
	color: #111111 !important;
	font-weight: 700 !important;
	text-decoration: none !important;
}

body.single-post .de-post-navigation a:hover {
	color: #6754e9 !important;
}

/* =========================================================
   SINGLE BLOG DİĞER YAZILAR
   ========================================================= */

body.single-post .de-related-posts {
	padding: 58px 0 76px !important;
	margin-top: 0 !important;
	background: #fafafa !important;
	overflow: visible !important;
}

body.single-post .de-related-posts .de-container {
	text-align: center !important;
}

body.single-post .de-section-label {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	padding: 8px 18px !important;
	border-radius: 999px !important;
	background: #f5f3ff !important;
	color: #6754e9 !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	line-height: 1 !important;
	margin-bottom: 12px !important;
}

body.single-post .de-section-title {
	margin: 0 0 24px !important;
	font-size: clamp(26px, 2.8vw, 34px) !important;
	line-height: 1.14 !important;
	letter-spacing: -0.4px !important;
	color: #000000 !important;
	text-align: center !important;
	font-weight: 700 !important;
}

body.single-post .de-related-grid {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: 24px !important;
	text-align: left !important;
	align-items: stretch !important;
	overflow: visible !important;
}

body.single-post .de-related-card {
	display: flex !important;
	flex-direction: column !important;
	background: #ffffff !important;
	border: 1px solid #eeeeee !important;
	border-radius: 22px !important;
	overflow: hidden !important;
	box-shadow: none !important;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease !important;
}

body.single-post .de-related-card:hover {
	transform: translateY(-4px) !important;
	box-shadow: 0 16px 38px rgba(0, 0, 0, 0.07) !important;
	border-color: #e5e5e5 !important;
}

body.single-post .de-related-image {
	display: block !important;
	width: 100% !important;
	background: #f3efff !important;
	overflow: hidden !important;
	line-height: 0 !important;
}

body.single-post .de-related-image img {
	display: block !important;
	width: 100% !important;
	height: auto !important;
	object-fit: contain !important;
	object-position: center center !important;
	margin: 0 !important;
	border-radius: 0 !important;
}

body.single-post .de-related-card-content {
	display: flex !important;
	flex-direction: column !important;
	flex: 1 !important;
	padding: 16px 20px 18px !important;
}

body.single-post .de-related-date {
	color: #777777 !important;
	font-size: 12px !important;
	line-height: 1.3 !important;
	margin-bottom: 8px !important;
}

body.single-post .de-related-card h3 {
	margin: 0 0 14px !important;
	font-size: 15px !important;
	line-height: 1.4 !important;
	letter-spacing: 0 !important;
	font-weight: 600 !important;
	color: #111111 !important;
}

body.single-post .de-related-card h3 a {
	color: #111111 !important;
	text-decoration: none !important;
}

body.single-post .de-related-card h3 a:hover {
	color: #6754e9 !important;
}

body.single-post .de-read-more {
	display: inline-block !important;
	width: fit-content !important;
	margin-top: auto !important;
	color: #000000 !important;
	font-size: 11px !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	text-transform: uppercase !important;
	text-decoration: none !important;
	border-bottom: 2px solid #6754e9 !important;
	padding-bottom: 4px !important;
}

body.single-post .de-read-more:hover {
	color: #6754e9 !important;
}

/* =========================================================
   ANA SAYFA BLOG ALANI
   Elementor başlığı kullanılacak.
   CSS başlık üretmeyecek.
   En güncel ilk 3 blog yazısı görünür.
   ========================================================= */

body.home .elementor-widget-loop-carousel {
	width: 100% !important;
	max-width: 1180px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	position: relative !important;
	overflow: visible !important;
	padding-top: 0 !important;
}

/* CSS ile üretilen ekstra Blog / Blog Yazıları başlığını kapat */
body.home .elementor-widget-loop-carousel::before,
body.home .elementor-widget-loop-carousel::after {
	content: none !important;
	display: none !important;
}

/* Swiper alanını grid gibi kullan */
body.home .elementor-widget-loop-carousel .swiper,
body.home .elementor-widget-loop-carousel .elementor-swiper {
	width: 100% !important;
	max-width: 100% !important;
	overflow: visible !important;
}

body.home .elementor-widget-loop-carousel .swiper-wrapper {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: 24px !important;
	width: 100% !important;
	transform: none !important;
	transition: none !important;
	align-items: stretch !important;
}

/* Kartlar */
body.home .elementor-widget-loop-carousel .swiper-slide {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
	margin: 0 !important;
	box-sizing: border-box !important;
	transform: none !important;
}

/* Sadece ilk 3 yazı görünsün */
body.home .elementor-widget-loop-carousel .swiper-slide:nth-child(n+4) {
	display: none !important;
}

/* Okları ve noktaları tamamen kapat */
body.home .elementor-widget-loop-carousel .elementor-swiper-button,
body.home .elementor-widget-loop-carousel .swiper-button-prev,
body.home .elementor-widget-loop-carousel .swiper-button-next,
body.home .elementor-widget-loop-carousel .elementor-swiper-button-prev,
body.home .elementor-widget-loop-carousel .elementor-swiper-button-next,
body.home .elementor-widget-loop-carousel .swiper-pagination {
	display: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

/* Ana sayfa kart gövdesi */
body.home .elementor-widget-loop-carousel .e-loop-item .elementor-section-wrap {
	height: 100% !important;
}

body.home .elementor-widget-loop-carousel .e-loop-item section.elementor-section,
body.home .elementor-widget-loop-carousel .e-loop-item .elementor-section {
	background: #ffffff !important;
	border: 1px solid #eeeeee !important;
	border-radius: 24px !important;
	overflow: hidden !important;
	height: 100% !important;
	box-shadow: none !important;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease !important;
}

body.home .elementor-widget-loop-carousel .e-loop-item section.elementor-section:hover,
body.home .elementor-widget-loop-carousel .e-loop-item .elementor-section:hover {
	transform: translateY(-4px) !important;
	box-shadow: 0 16px 38px rgba(0, 0, 0, 0.07) !important;
	border-color: #e5e5e5 !important;
}

body.home .elementor-widget-loop-carousel .e-loop-item .elementor-container {
	display: flex !important;
	flex-direction: column !important;
	width: 100% !important;
	max-width: 100% !important;
	height: 100% !important;
}

body.home .elementor-widget-loop-carousel .e-loop-item .elementor-column {
	width: 100% !important;
	max-width: 100% !important;
	height: 100% !important;
}

body.home .elementor-widget-loop-carousel .e-loop-item .elementor-widget-wrap {
	display: flex !important;
	flex-direction: column !important;
	align-items: stretch !important;
	height: 100% !important;
	padding: 0 !important;
}

/* Ana sayfa blog görselleri */
body.home .elementor-widget-loop-carousel .e-loop-item .elementor-widget-image {
	width: 100% !important;
	margin: 0 !important;
}

body.home .elementor-widget-loop-carousel .e-loop-item .elementor-widget-image .elementor-widget-container {
	width: 100% !important;
	background: #f3efff !important;
	overflow: hidden !important;
	line-height: 0 !important;
}

body.home .elementor-widget-loop-carousel .e-loop-item .elementor-widget-image img {
	display: block !important;
	width: 100% !important;
	height: auto !important;
	object-fit: contain !important;
	object-position: center center !important;
	margin: 0 !important;
	border-radius: 0 !important;
}

/* Ana sayfa blog metinleri */
body.home .elementor-widget-loop-carousel .e-loop-item .elementor-widget-heading,
body.home .elementor-widget-loop-carousel .e-loop-item .elementor-widget-button {
	padding-left: 22px !important;
	padding-right: 22px !important;
}

body.home .elementor-widget-loop-carousel .e-loop-item .elementor-widget-heading:first-of-type {
	padding-top: 18px !important;
	margin: 0 !important;
}

body.home .elementor-widget-loop-carousel .e-loop-item .elementor-widget-heading:first-of-type .elementor-heading-title {
	font-size: 12px !important;
	font-weight: 400 !important;
	line-height: 1.3 !important;
	color: #777777 !important;
	margin: 0 !important;
}

body.home .elementor-widget-loop-carousel .e-loop-item h2,
body.home .elementor-widget-loop-carousel .e-loop-item h2 a,
body.home .elementor-widget-loop-carousel .e-loop-item h3,
body.home .elementor-widget-loop-carousel .e-loop-item h3 a,
body.home .elementor-widget-loop-carousel .e-loop-item .elementor-heading-title a {
	font-size: 18px !important;
	font-weight: 600 !important;
	line-height: 1.35 !important;
	letter-spacing: 0 !important;
	color: #111111 !important;
	text-decoration: none !important;
	margin: 0 !important;
}

body.home .elementor-widget-loop-carousel .e-loop-item .elementor-widget-button {
	padding-top: 20px !important;
	padding-bottom: 22px !important;
	margin-top: auto !important;
}

body.home .elementor-widget-loop-carousel .e-loop-item .elementor-button {
	background: transparent !important;
	padding: 0 !important;
	border-radius: 0 !important;
	color: #000000 !important;
}

body.home .elementor-widget-loop-carousel .e-loop-item .elementor-button-text {
	font-size: 11px !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	text-transform: uppercase !important;
	border-bottom: 2px solid #6754e9 !important;
	padding-bottom: 4px !important;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1024px) {
	body.single-post .de-container,
	body.single-post .de-content-container {
		width: min(100% - 40px, 100%) !important;
	}

	body.single-post .de-post-hero {
		padding: 68px 0 40px !important;
	}

	body.single-post .de-post-title {
		font-size: clamp(32px, 5vw, 48px) !important;
		letter-spacing: -0.8px !important;
	}

	body.single-post .de-related-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}

	body.home .elementor-widget-loop-carousel {
		max-width: calc(100% - 40px) !important;
	}

	body.home .elementor-widget-loop-carousel .swiper-wrapper {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}

	body.home .elementor-widget-loop-carousel .swiper-slide:nth-child(n+3) {
		display: none !important;
	}
}

/* =========================================================
   MOBİL
   ========================================================= */

@media (max-width: 767px) {
	body.single-post .de-container,
	body.single-post .de-content-container {
		width: min(100% - 28px, 100%) !important;
	}

	body.single-post .de-post-hero {
		padding: 44px 0 30px !important;
	}

	body.single-post .de-post-hero .de-container {
		text-align: left !important;
	}

	body.single-post .de-post-category {
		margin-bottom: 14px !important;
	}

	body.single-post .de-post-title {
		font-size: 30px !important;
		line-height: 1.1 !important;
		letter-spacing: -0.6px !important;
		text-align: left !important;
	}

	body.single-post .de-post-meta {
		text-align: left !important;
		margin-bottom: 24px !important;
	}

	body.single-post .de-featured-image {
		border-radius: 20px !important;
	}

	body.single-post .de-post-content-section {
		padding: 34px 0 52px !important;
	}

	body.single-post .de-post-content {
		font-size: 17px !important;
		line-height: 1.75 !important;
	}

	body.single-post .de-post-content h2 {
		font-size: 26px !important;
	}

	body.single-post .de-post-content h3 {
		font-size: 22px !important;
	}

	body.single-post .de-post-navigation {
		flex-direction: column !important;
		align-items: flex-start !important;
	}

	body.single-post .de-related-posts {
		padding: 46px 0 58px !important;
	}

	body.single-post .de-related-posts .de-container {
		text-align: left !important;
	}

	body.single-post .de-section-title {
		text-align: left !important;
		font-size: 28px !important;
		margin-bottom: 22px !important;
		letter-spacing: -0.4px !important;
	}

	body.single-post .de-related-grid {
		grid-template-columns: 1fr !important;
		gap: 22px !important;
	}

	body.single-post .de-related-card h3 {
		font-size: 16px !important;
		line-height: 1.38 !important;
	}

	body.home .elementor-widget-loop-carousel {
		max-width: calc(100% - 28px) !important;
	}

	body.home .elementor-widget-loop-carousel .swiper-wrapper {
		grid-template-columns: 1fr !important;
		gap: 22px !important;
	}

	body.home .elementor-widget-loop-carousel .swiper-slide:nth-child(n+2) {
		display: none !important;
	}

	body.home .elementor-widget-loop-carousel .e-loop-item h2,
	body.home .elementor-widget-loop-carousel .e-loop-item h2 a,
	body.home .elementor-widget-loop-carousel .e-loop-item h3,
	body.home .elementor-widget-loop-carousel .e-loop-item h3 a,
	body.home .elementor-widget-loop-carousel .e-loop-item .elementor-heading-title a {
		font-size: 17px !important;
		line-height: 1.35 !important;
	}
}