/* Online Almanca — Blog arşiv + sidebar widget’lar */

:root {
	--oa-blog-navy: #001a4d;
	--oa-blog-orange: #f5a623;
	--oa-blog-muted: #6b7280;
	--oa-blog-border: #e7ebf0;
}

body.oa-blog-listing.oa-hide-page-title .top_site_main,
body.oa-blog-listing .page-title-wrapper {
	display: none !important;
}

body.oa-blog-listing .content-area,
body.oa-blog-listing .site-content {
	padding-top: 0 !important;
	margin-top: 0 !important;
}

body.oa-blog-listing .content-area > .oa-blog-hero {
	margin-top: 0;
}

/* ——— Hero (tam genişlik, sidebar dışı) ——— */
.oa-blog-hero {
	position: relative;
	overflow: hidden;
	width: 100%;
	box-sizing: border-box;
	background: var(--oa-blog-hero-bg, linear-gradient(90deg, #fff 0%, #f7f9fc 55%, #eef3f8 100%));
	margin: 0 0 28px;
	border-radius: 0;
	min-height: 180px;
}

/* content-area içinde tam bleed */
body.oa-blog-listing .content-area > .oa-blog-hero {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

.oa-blog-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image: var(--oa-blog-hero-img, none);
	background-size: cover;
	background-position: center right;
	background-repeat: no-repeat;
	opacity: var(--oa-blog-hero-opacity, 0.28);
	pointer-events: none;
	mask-image: linear-gradient(90deg, transparent 0%, #000 55%);
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 55%);
}

.oa-blog-hero__inner {
	position: relative;
	z-index: 1;
	max-width: 1170px;
	margin: 0 auto;
	padding: 32px 15px 28px;
	box-sizing: border-box;
}

body.size_wide .oa-blog-hero__inner {
	max-width: 1320px;
}

.oa-blog-hero__crumb,
.oa-blog-hero__crumb #breadcrumbs,
.oa-blog-hero__crumb a {
	color: var(--oa-blog-muted) !important;
	font-size: 13px !important;
	margin-bottom: 10px;
}

.oa-blog-hero__title {
	margin: 0 0 10px !important;
	font-size: clamp(26px, 3vw, 38px) !important;
	line-height: 1.2 !important;
	font-weight: 800 !important;
	color: var(--oa-blog-navy) !important;
	max-width: 18ch;
}

.oa-blog-hero__desc {
	margin: 0;
	max-width: 42ch;
	color: var(--oa-blog-muted);
	font-size: 15px;
	line-height: 1.6;
}

/* ——— Pills ——— */
.oa-blog-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 24px;
}

.oa-blog-pill {
	display: inline-flex;
	align-items: center;
	min-height: 38px;
	padding: 8px 16px;
	border-radius: 999px;
	border: 1px solid var(--oa-blog-border);
	background: #fff;
	color: var(--oa-blog-navy) !important;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none !important;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.oa-blog-pill:hover,
.oa-blog-pill.is-active {
	background: var(--oa-blog-navy);
	border-color: var(--oa-blog-navy);
	color: #fff !important;
}

/* ——— Grid + cards ——— */
.oa-blog-archive {
	width: 100%;
}

.oa-blog-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px;
	margin-bottom: 28px;
}

.oa-bcard {
	background: #fff;
	border: 1px solid var(--oa-blog-border);
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
	display: flex;
	flex-direction: column;
	height: 100%;
	margin: 0 !important;
	padding: 0 !important;
}

.oa-bcard__media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #eef2f7;
}

.oa-bcard__media img,
.oa-bcard__media-ph {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.oa-bcard__media-ph {
	background: linear-gradient(135deg, #dbe3ef, #f1f5f9);
}

.oa-bcard__badge {
	position: absolute;
	top: 14px;
	left: 14px;
	display: inline-flex;
	padding: 6px 10px;
	border-radius: 8px;
	background: var(--oa-blog-orange);
	color: #111;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.02em;
	line-height: 1.2;
}

.oa-bcard__body {
	padding: 16px 18px 20px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 1;
}

.oa-bcard__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	color: var(--oa-blog-muted);
	font-size: 13px;
}

.oa-bcard__meta-item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.oa-bcard__meta-item svg {
	width: 15px;
	height: 15px;
	flex-shrink: 0;
}

.oa-bcard__title {
	margin: 0 !important;
	font-size: 20px !important;
	line-height: 1.3 !important;
	font-weight: 800 !important;
}

.oa-bcard__title a {
	color: var(--oa-blog-navy) !important;
	text-decoration: none !important;
}

.oa-bcard__title a:hover {
	color: #002966 !important;
}

.oa-bcard__excerpt {
	margin: 0;
	color: #4a5568;
	font-size: 14px;
	line-height: 1.6;
}

.oa-bcard__more {
	margin-top: auto;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--oa-blog-navy) !important;
	font-weight: 800;
	font-size: 14px;
	text-decoration: none !important;
	padding-top: 4px;
}

.oa-bcard__more:hover {
	color: #002966 !important;
}

/* ——— Pagination ——— */
.oa-blog-pager {
	margin: 8px 0 24px;
}

.oa-blog-pager__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.oa-blog-pager__item a,
.oa-blog-pager__item span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	min-height: 40px;
	padding: 0 12px;
	border-radius: 10px;
	border: 1px solid var(--oa-blog-border);
	background: #fff;
	color: var(--oa-blog-navy) !important;
	font-weight: 700;
	font-size: 14px;
	text-decoration: none !important;
	box-sizing: border-box;
}

.oa-blog-pager__item.is-active span,
.oa-blog-pager__item .current {
	background: var(--oa-blog-navy) !important;
	border-color: var(--oa-blog-navy) !important;
	color: #fff !important;
}

.oa-blog-pager__item.is-next a {
	min-width: auto;
	padding: 0 16px;
}

/* ——— Sidebar widgets ——— */
.widget.widget_oa_blog_search,
.widget.widget_oa_popular_posts,
.widget.widget_oa_blog_cta,
.widget.widget_oa_blog_categories {
	margin-bottom: 18px;
}

.widget.widget_oa_blog_search .widget-title,
.widget.widget_oa_popular_posts .widget-title,
.widget.widget_oa_blog_cta .widget-title,
.widget.widget_oa_blog_categories .widget-title {
	display: none;
}

.oa-blog-search {
	display: flex;
	align-items: stretch;
	gap: 0;
	background: #fff;
	border: 1px solid var(--oa-blog-border);
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}

.oa-blog-search__input {
	flex: 1;
	border: 0 !important;
	outline: none !important;
	box-shadow: none !important;
	padding: 14px 16px !important;
	font-size: 14px !important;
	min-width: 0;
	background: transparent !important;
}

.oa-blog-search__btn {
	width: 52px;
	border: 0 !important;
	background: var(--oa-blog-navy) !important;
	color: #fff !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	flex-shrink: 0;
	padding: 0 !important;
	font-size: 0 !important;
	line-height: 0 !important;
	box-shadow: none !important;
	text-indent: 0 !important;
}

.oa-blog-search__btn::before,
.oa-blog-search__btn::after {
	content: none !important;
	display: none !important;
}

.oa-blog-search__icon {
	display: block !important;
	width: 18px;
	height: 18px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='6.5' fill='none' stroke='%23ffffff' stroke-width='2'/%3E%3Cpath d='M16.5 16.5L21 21' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 18px 18px;
}

.oa-pop,
.oa-bcats {
	background: #fff;
	border: 1px solid var(--oa-blog-border);
	border-radius: 16px;
	padding: 18px 16px;
	box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}

.oa-pop__title,
.oa-bcats__title {
	margin: 0 0 14px !important;
	font-size: 18px !important;
	font-weight: 800 !important;
	color: var(--oa-blog-navy) !important;
}

.oa-pop__list,
.oa-bcats__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.oa-pop__item {
	display: flex;
	gap: 12px;
	align-items: flex-start;
}

.oa-pop__thumb {
	position: relative;
	width: 64px;
	height: 64px;
	border-radius: 12px;
	overflow: hidden;
	flex-shrink: 0;
	display: block;
	background: #eef2f7;
}

.oa-pop__thumb img,
.oa-pop__ph {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.oa-pop__ph {
	background: #dbe3ef;
}

.oa-pop__rank {
	position: absolute;
	left: 4px;
	top: 4px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--oa-blog-orange);
	color: #111;
	font-size: 11px;
	font-weight: 800;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}

.oa-pop__name {
	display: block;
	color: var(--oa-blog-navy) !important;
	font-weight: 800;
	font-size: 14px;
	line-height: 1.35;
	text-decoration: none !important;
	margin-bottom: 4px;
}

.oa-pop__date {
	color: var(--oa-blog-muted);
	font-size: 12px;
}

.oa-blog-cta {
	background: var(--oa-blog-navy);
	border-radius: 16px;
	padding: 22px 18px 20px;
	color: #fff;
	box-shadow: 0 10px 28px rgba(0, 26, 77, 0.22);
	position: relative;
	overflow: hidden;
}

.oa-blog-cta__title {
	margin: 0 0 8px !important;
	font-size: 20px !important;
	line-height: 1.25 !important;
	font-weight: 800 !important;
	color: #fff !important;
}

.oa-blog-cta__desc {
	margin: 0 0 16px;
	font-size: 13px;
	line-height: 1.55;
	opacity: 0.9;
}

.oa-blog-cta__btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 10px 16px;
	border-radius: 10px;
	background: var(--oa-blog-orange);
	color: var(--oa-blog-navy) !important;
	font-weight: 800;
	font-size: 14px;
	text-decoration: none !important;
}

.oa-bcats__list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	color: var(--oa-blog-navy) !important;
	text-decoration: none !important;
	font-weight: 700;
	font-size: 14px;
	padding: 4px 0;
}

.oa-bcats__list em {
	font-style: normal;
	color: var(--oa-blog-muted);
	font-weight: 600;
}

/* Elementor blog grid wrapper */
.elementor-widget-thim-ekits-oa-blog-grid > .elementor-widget-container {
	max-width: 1170px;
	margin-left: auto;
	margin-right: auto;
	width: 100%;
	box-sizing: border-box;
	padding-left: 15px;
	padding-right: 15px;
}

body.size_wide .elementor-widget-thim-ekits-oa-blog-grid > .elementor-widget-container {
	max-width: 1320px;
}

.oa-blog-grid--el {
	margin-bottom: 0;
}

/* ——— Bülten abonelik (tam genişlik) ——— */
.oa-newsletter {
	margin: 0;
	padding: 0 0 8px;
	width: 100%;
	box-sizing: border-box;
}

body.oa-blog-listing .content-area > .oa-newsletter {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	margin-top: 8px;
	margin-bottom: 24px;
	padding: 0;
}

.oa-newsletter__shell {
	max-width: 1170px;
	margin: 0 auto;
	padding: 0 15px;
	box-sizing: border-box;
}

body.size_wide .oa-newsletter__shell {
	max-width: 1320px;
}

.oa-newsletter__inner {
	display: flex;
	align-items: center;
	gap: 20px 28px;
	flex-wrap: wrap;
	background: #f3f5f8;
	border-radius: 16px;
	padding: 22px 24px;
	box-sizing: border-box;
}

.oa-newsletter__icon {
	flex-shrink: 0;
	line-height: 0;
}

.oa-newsletter__copy {
	flex: 1 1 220px;
	min-width: 0;
}

.oa-newsletter__title {
	margin: 0 0 6px !important;
	font-size: 20px !important;
	line-height: 1.25 !important;
	font-weight: 800 !important;
	color: var(--oa-blog-navy) !important;
}

.oa-newsletter__desc {
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
	color: var(--oa-blog-muted);
}

.oa-newsletter__form {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	flex: 1 1 280px;
	justify-content: flex-end;
	position: relative;
}

.oa-newsletter__field {
	position: relative;
	flex: 1 1 180px;
	min-width: 160px;
	max-width: 280px;
}

.oa-newsletter__hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

.oa-newsletter__input {
	width: 100%;
	height: 48px;
	border: 1px solid #e2e8f0 !important;
	border-radius: 12px !important;
	padding: 0 16px !important;
	background: #fff !important;
	font-size: 14px !important;
	box-shadow: none !important;
	outline: none !important;
	box-sizing: border-box;
}

.oa-newsletter__tip {
	position: absolute;
	left: 12px;
	bottom: calc(100% + 8px);
	z-index: 5;
	max-width: 260px;
	padding: 8px 12px;
	border-radius: 8px;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.35;
	box-shadow: 0 8px 20px rgba(15, 23, 42, 0.14);
	pointer-events: none;
	white-space: normal;
}

.oa-newsletter__tip::after {
	content: "";
	position: absolute;
	left: 16px;
	top: 100%;
	border: 6px solid transparent;
}

.oa-newsletter__tip.is-err {
	background: #fff1f0;
	color: #b42318;
	border: 1px solid #ffd0cb;
}

.oa-newsletter__tip.is-err::after {
	border-top-color: #ffd0cb;
}

.oa-newsletter__tip.is-ok {
	background: #ecfdf3;
	color: #0a7a3e;
	border: 1px solid #abefc6;
}

.oa-newsletter__tip.is-ok::after {
	border-top-color: #abefc6;
}

.oa-newsletter__btn {
	height: 48px;
	padding: 0 20px !important;
	border: 0 !important;
	border-radius: 12px !important;
	background: var(--oa-blog-navy) !important;
	color: #fff !important;
	font-weight: 800 !important;
	font-size: 14px !important;
	cursor: pointer;
	white-space: nowrap;
	box-shadow: none !important;
}

.oa-newsletter__btn:disabled {
	opacity: 0.7;
	cursor: wait;
}

.oa-newsletter__captcha {
	flex: 1 1 100%;
	display: flex;
	justify-content: flex-end;
}

/* ——— Single: TOC ——— */
.oa-toc {
	margin: 0 0 28px;
	padding: 18px 20px;
	background: #f7f9fc;
	border: 1px solid var(--oa-blog-border);
	border-radius: 14px;
}

.oa-toc__title {
	display: flex !important;
	align-items: center;
	gap: 8px;
	margin: 0 0 12px !important;
	font-size: 16px !important;
	font-weight: 800 !important;
	color: var(--oa-blog-navy) !important;
}

.oa-toc__icon {
	flex-shrink: 0;
	color: var(--oa-blog-navy);
}

.oa-toc__list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.oa-toc__item a {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	color: var(--oa-blog-navy) !important;
	text-decoration: none !important;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
}

.oa-toc__item a:hover {
	text-decoration: underline !important;
}

.oa-toc__bullet {
	width: 6px;
	height: 6px;
	margin-top: 6px;
	border-radius: 50%;
	background: var(--oa-blog-orange);
	flex-shrink: 0;
}

.oa-toc__item--h3 {
	padding-left: 14px;
}

.oa-toc__item--h3 .oa-toc__bullet {
	background: #94a3b8;
	width: 5px;
	height: 5px;
}

/* Single meta ikonları */
.oa-entry-meta,
body.oa-blog-single ul.entry-meta.oa-entry-meta {
	display: flex !important;
	flex-wrap: wrap;
	gap: 10px 18px;
	align-items: center;
	list-style: none !important;
	margin: 12px 0 0 !important;
	padding: 0 !important;
}

.oa-entry-meta__item {
	display: inline-flex !important;
	align-items: center;
	gap: 7px;
	color: var(--oa-blog-muted) !important;
	font-size: 13px;
	font-weight: 600;
	margin: 0 !important;
	padding: 0 !important;
}

.oa-entry-meta__item svg {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	color: var(--oa-blog-navy);
}

.oa-entry-meta__item a {
	color: var(--oa-blog-navy) !important;
	text-decoration: none !important;
}

body.oa-blog-single .entry-content h2[id],
body.oa-blog-single .entry-content h3[id] {
	scroll-margin-top: 96px;
}

@media (max-width: 991px) {
	.oa-blog-grid {
		grid-template-columns: 1fr;
	}

	.oa-blog-hero__title {
		max-width: none;
	}

	.oa-newsletter__inner {
		flex-direction: column;
		align-items: flex-start;
	}

	.oa-newsletter__form {
		width: 100%;
		justify-content: stretch;
	}

	.oa-newsletter__field {
		max-width: none;
		width: 100%;
	}

	.oa-newsletter__captcha {
		justify-content: flex-start;
	}
}
