/* Memur Atamaları child theme */

/* ---------- Header ad row ---------- */
.memur-header-ad {
	padding: 10px 0;
	border-bottom: 1px solid rgba(127, 127, 127, 0.15);
}

.memur-header-ad-inner {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: var(--memur-header-ad-height, 90px); /* reserved height: no layout shift when the ad loads */
	overflow: hidden;
}

.memur-header-ad-widget {
	max-width: 100%;
	text-align: center;
}

@media (max-width: 767px) {
	.memur-hide-mobile {
		display: none !important;
	}

	.memur-header-ad-inner {
		min-height: 100px; /* 320x100 mobile banner */
	}
}

/* ---------- Extra header elements ---------- */
.memur-el {
	display: flex;
	align-items: center;
	min-width: 0;
}

.memur-el-widgets-1,
.memur-el-widgets-2 {
	gap: 12px;
}

.memur-header-widget p {
	margin: 0;
}

/* ---------- Logo group (main logo + dark-mode logo) ---------- */
.memur-logo-group {
	position: relative;
	display: inline-flex;
	align-items: center;
	vertical-align: middle;
	max-width: 100%;
}

/* ---------- Dark mode logo ---------- */
.memur-dark-logo {
	display: none;
}

body.newsx-dark-mode.memur-has-dark-logo .custom-logo-link {
	display: none;
}

body.newsx-dark-mode.memur-has-dark-logo .memur-dark-logo {
	display: inline-block;
}

/* ---------- Mobile menu toggle styles ---------- */
.newsx-mobile-menu-toggle.style-filled,
.newsx-mobile-menu-toggle.style-outline {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border-radius: 6px;
}

.newsx-mobile-menu-toggle.style-filled {
	background: var(--memur-accent-strong, #1f5fa6);
	color: #fff;
}

.newsx-mobile-menu-toggle.style-outline {
	border: 1px solid currentColor;
}

/* ---------- Header call-to-action ---------- */
.memur-cta-btn {
	display: inline-flex;
	align-items: center;
	min-height: 38px;
	padding: 0 16px;
	border-radius: 6px;
	background: var(--memur-accent-strong, #1f5fa6);
	color: #fff !important;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
}

.memur-cta-btn:hover,
.memur-cta-btn:focus-visible {
	filter: brightness(0.92);
}

/* ---------- Compact mobile header ---------- */
/* The parent's desktop sizes (120px logo, 45px title) stack into a ~450px header
   on phones and push the article below the fold. */
@media (max-width: 767px) {
	.newsx-middle-section-wrap .newsx-builder-grid-row {
		min-height: 0 !important;
		padding-top: 8px;
		padding-bottom: 8px;
		gap: 8px;
	}

	.newsx-middle-section-wrap .newsx-site-identity {
		min-width: 0;
		flex-wrap: nowrap;
	}

	/* Fixed height (not only max-height): the logo keeps its 52px box before the image loads,
	   so the header does not grow and push the page down (CLS 0.997, PageSpeed 10.10.2026). */
	.newsx-middle-section-wrap .site-logo img.custom-logo {
		width: auto !important;
		height: 52px;
		max-height: 52px;
	}

	.newsx-middle-section-wrap .site-title {
		font-size: 20px !important;
		line-height: 1.15;
		white-space: nowrap;
	}

	.newsx-middle-section-wrap .site-description {
		display: none;
	}

	.newsx-mobile-menu-toggle {
		white-space: nowrap;
	}
}

@media (max-width: 359px) {
	.newsx-middle-section-wrap .site-title {
		display: none;
	}
}

/* ---------- Sticky header ---------- */
@keyframes memur-slide-down {
	from { transform: translateY(-100%); }
	to { transform: translateY(0); }
}

.newsx-section-wrap.memur-stuck {
	position: fixed;
	top: var(--wp-admin--admin-bar--height, 0);
	left: 0;
	right: 0;
	z-index: 999;
	background: var(--newsx-bg-color, #fff);
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
	animation: memur-slide-down 0.25s ease-out;
}

/* Compact pinned row: a tall sticky bar would eat the reading area on laptops and phones. */
.newsx-section-wrap.memur-stuck .newsx-builder-grid-row {
	min-height: 60px !important;
	padding-top: 6px;
	padding-bottom: 6px;
}

.newsx-section-wrap.memur-stuck .site-logo img.custom-logo {
	width: auto !important;
	max-height: 46px;
}

.newsx-section-wrap.memur-stuck .site-title {
	font-size: 24px !important;
	line-height: 1.1;
}

.newsx-section-wrap.memur-stuck .site-description {
	display: none;
}

@media (max-width: 600px) {
	/* WordPress admin bar scrolls away on small screens */
	.newsx-section-wrap.memur-stuck {
		top: 0;
	}
}

body.memur-header-stuck .memur-progress {
	z-index: 1000;
}

/* ---------- Sticky sidebar (desktop) ---------- */
/* The sidebar scrolls with the page (it can be taller than the screen, so
   pinning all of it would hide its lower widgets); its last widget stays
   pinned while the content column continues. */
@media (min-width: 992px) {
	.memur-sticky-sidebar :is(.newsx-single-inner, .newsx-blog-page-inner, .newsx-archive-page-inner) > .newsx-sidebar {
		align-self: stretch;
	}
	.memur-sticky-sidebar :is(.newsx-single-inner, .newsx-blog-page-inner, .newsx-archive-page-inner) > .newsx-sidebar > :last-child {
		position: sticky;
		top: calc(var(--wp-admin--admin-bar--height, 0px) + 90px);
	}
}

/* ---------- News ticker icon ---------- */
.news-ticker-heading-icon.memur-ticker-icon svg {
	fill: currentColor;
}

/* =====================================================================
   Cards in the parent theme's language (see inc/cards.php)
   ===================================================================== */

/* Cover for posts without a featured image: the site's blues, a hairline
   texture and one drawn icon. Real featured images replace it automatically. */
.memur-cover {
	--c1: #10294d;
	--c2: #1f4f8a;
	position: relative;
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	color: #fff;
	background: linear-gradient(135deg, var(--c1), var(--c2));
}

.memur-cover--blue { --c1: #164f94; --c2: #2f7fcf; }
.memur-cover--steel { --c1: #1d3350; --c2: #3d6490; }
.memur-cover--azure { --c1: #1a5f9e; --c2: #4a9bdc; }

.memur-cover::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(120% 90% at 0% 0%, rgba(255, 255, 255, 0.16), transparent 55%),
		repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 12px);
}

.memur-cover.newsx-full-stretch {
	position: absolute;
	inset: 0;
	aspect-ratio: auto;
}

.memur-cover-icon {
	position: absolute;
	right: 7%;
	bottom: 9%;
	width: 34%;
	max-width: 170px;
	height: auto;
	color: rgba(255, 255, 255, 0.5);
	transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Magazine tiles carry the title over the lower part: the icon goes top-left,
   and the small tiles (little room above a 3-line title) drop it. */
.memur-cover.newsx-full-stretch .memur-cover-icon {
	top: 22px;
	right: auto;
	bottom: auto;
	left: 22px;
	width: 13%;
	max-width: 76px;
	color: rgba(255, 255, 255, 0.45);
}

.newsx-magazine-layout .newsx-grid-item:not(:first-child) .memur-cover-icon {
	display: none;
}

/* Small magazine tiles: listing titles are long, so the parent's size
   overflowed the tile and cut the first line. Smaller size, 3 lines max. */
.newsx-magazine-layout-1-3 .newsx-grid-item:not(:first-child) .newsx-grid-title :is(h2, h3) {
	display: -webkit-box;
	overflow: hidden;
	font-size: 17px;
	line-height: 1.2;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}

/* Magazine tiles: the status flag gets its own band at the top, so the
   bottom-aligned chips/title/meta can never slide under it (they did on the
   small tiles at 1366, 1024 and 700px). Category chips on the small tiles go:
   the listing page carries them, the tile has no room. */
.newsx-magazine-layout .newsx-grid-item:not(:first-child) .newsx-grid-over-media {
	padding-top: 44px !important;
	overflow: hidden;
}

.newsx-magazine-layout .newsx-grid-item:not(:first-child) .newsx-grid-categories {
	display: none;
}

/* At 1024px the small tiles are 237px wide: the author/date line wraps to two
   lines and pushes the title into the flag band. The status flag already says
   how much time is left, so the small tiles drop that line. */
.newsx-magazine-layout-1-3 .newsx-grid-item:nth-child(n+3) .newsx-grid-post-meta {
	display: none;
}

.newsx-grid-item:hover .memur-cover:not(.newsx-full-stretch) .memur-cover-icon {
	transform: scale(1.06) rotate(-3deg);
}

@media (prefers-reduced-motion: reduce) {
	.memur-cover-icon { transition: none; }
}

/* Listing flags on card media, shaped like the theme's category chips. */
.memur-flag {
	position: absolute;
	z-index: 3;
	padding: 1px 7px;
	border-radius: 3px;
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.6;
	white-space: nowrap;
	pointer-events: none;
}

.memur-flag--status { top: 12px; right: 12px; }
.memur-flag--deadline { top: 12px; left: 12px; background: rgba(17, 24, 39, 0.82); font-weight: 400; } /* the theme puts category chips at the bottom */
.memur-flag--deadline strong { font-weight: 700; }
.memur-flag--acik { background: #1e7b45; }
.memur-flag--yakinda { background: #8a5a00; }
.memur-flag--songun { background: #c62828; }
.memur-flag--bitti { background: #5b6470; }

.newsx-list-layout .memur-flag { top: 8px; right: 8px; font-size: 11px; }
.newsx-list-layout .memur-flag--deadline { display: none; }

/* Archive/search list: the status flag stays top-right, the deadline flag
   moves to the bottom-left (both used to take top/right, which stretched the
   deadline flag across the image under the status flag). */
.newsx-posts-feed .memur-flag--deadline {
	top: auto;
	right: auto;
	bottom: 8px;
	left: 8px;
}

/* Section titles: the theme's s0 style, on a blue that carries white text
   (the #65adec accent gives white text only 2.4:1). */
.newsx-s0.newsx-widget-title-wrap {
	border-bottom-color: var(--memur-accent-strong, #1f5fa6) !important;
}

.newsx-s0.newsx-widget-title-wrap .newsx-widget-title-text {
	background-color: var(--memur-accent-strong, #1f5fa6) !important;
}

.memur-section-title {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 12px;
}

.memur-section-title .newsx-widget-title {
	margin: 0;
	font-size: 16px;
}

.memur-section-more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 6px;
	color: var(--memur-accent-strong, #1f5fa6);
	font-family: "Encode Sans Condensed", sans-serif;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

.memur-section-more:hover,
.memur-section-more:focus-visible {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.memur-section-more svg { transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
.memur-section-more:hover svg { transform: translateX(3px); }

/* Home rows */
.memur-home .memur-home-row { margin: 0 0 44px; }
.memur-home .memur-home-row--lead { margin-top: 24px; }

/* Home below the lead: list blocks left, sidebar right (theme proportions:
   30% sidebar, 60px gap). Stacks under 1025px. */
.memur-home-cols {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 30%;
	gap: 60px;
	align-items: stretch;
}

.memur-home-main > .memur-home-block + .memur-home-block { margin-top: 44px; }

.memur-home .memur-home-sidebar {
	width: auto !important;
	padding-bottom: 0;
	align-self: stretch; /* the parent's .newsx-sidebar uses flex-start; the column must be as tall as the blocks for the last widget to stay pinned */
}

.memur-home-sidebar > section.widget + section.widget { margin-top: 36px; }

.memur-sticky-sidebar .memur-home-sidebar > :last-child {
	position: sticky;
	top: calc(var(--wp-admin--admin-bar--height, 0px) + 90px);
}

@media (max-width: 1024px) {
	.memur-home-cols { grid-template-columns: 1fr; gap: 44px; }
	.memur-sticky-sidebar .memur-home-sidebar > :last-child { position: static; }
}

@media (max-width: 600px) {
	.memur-home-main > .memur-home-block + .memur-home-block { margin-top: 32px; }
}

.memur-cards.newsx-grid-layout { gap: 24px 20px; }
.memur-cards .newsx-grid-media { margin-bottom: 12px; }
.memur-cards .newsx-grid-title h3 { margin: 0; line-height: 1.25; }

/* Category chips sit under the image, above the title (inc/cards.php), so the
   image stays clear. One row at most: a post filed under several categories
   shows the chips that fit, whole chips only. */
:is(.memur-cards, .memur-slider) .newsx-grid-below-media .newsx-grid-categories { margin: 0 0 8px; }
:is(.memur-cards, .memur-slider) .newsx-grid-below-media .post-categories {
	max-height: 22px;
	overflow: hidden;
}

@media (max-width: 1024px) {
	.memur-cards.newsx-grid-layout-4-column,
	.memur-cards.newsx-grid-layout-3-column {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* Phones: image beside the title, like a news app list. Scans faster than a
   column of full-width images and keeps each card one thumb-height. */
@media (max-width: 600px) {
	.memur-home .memur-home-row { margin-bottom: 32px; }

	.memur-cards.newsx-grid-layout {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.memur-cards .newsx-grid-item {
		display: grid;
		grid-template-columns: 128px 1fr;
		align-items: start;
		gap: 12px;
	}

	.memur-cards .newsx-grid-media { margin: 0; }
	.memur-cards .newsx-grid-media .memur-cover { aspect-ratio: 4 / 3; }
	.memur-cards .newsx-grid-media img { aspect-ratio: 4 / 3; object-fit: cover; }
	.memur-cards .newsx-grid-over-media,
	.memur-cards .newsx-grid-categories { display: none; }
	.memur-cards .newsx-grid-excerpt,
	.memur-cards .newsx-read-more { display: none; }
	.memur-cards .newsx-grid-title h3 { font-size: 16px; }
	.memur-cards .memur-flag { top: 6px; right: 6px; font-size: 11px; padding: 0 5px; }
	.memur-cards .memur-flag--deadline { display: none; }
	.memur-section-more { font-size: 14px; }
}

/* Selection in the site's blue */
::selection {
	background: rgba(101, 173, 236, 0.3);
	color: inherit;
}

/* Lead block up to 768px: the parent shrinks the 1+3 tiles to ~100px, which cut
   long listing titles and put the status flag on top of them. One column,
   tiles with a real height, title clamped to 3 lines. */
@media (max-width: 768px) {
	/* the parent forces 2 columns, fixed 101px rows and a fixed height with !important */
	.memur-home .newsx-magazine-layout-1-3 {
		display: grid;
		grid-template-areas: none !important;
		grid-template-columns: 1fr !important;
		grid-template-rows: none !important;
		grid-auto-rows: auto;
		gap: 10px;
		height: auto !important;
		min-height: 0 !important;
	}

	.memur-home .newsx-magazine-layout-1-3 .newsx-grid-item {
		position: relative;
		grid-column: auto !important;
		grid-row: auto !important;
		width: 100% !important;
		height: auto !important;
		min-height: 0;
		aspect-ratio: 16 / 10;
	}

	.memur-home .newsx-magazine-layout-1-3 .newsx-grid-item:not(:first-child) {
		aspect-ratio: 2 / 1;
	}

	.memur-home .newsx-magazine-layout-1-3 .newsx-grid-media {
		position: absolute;
		inset: 0;
		height: 100%;
	}

	.memur-home .newsx-magazine-layout-1-3 .newsx-grid-over-media {
		padding: 16px;
	}

	.memur-home .newsx-magazine-layout-1-3 .newsx-grid-title :is(h2, h3) {
		display: -webkit-box;
		overflow: hidden;
		font-size: 20px !important;
		line-height: 1.2;
		-webkit-line-clamp: 3;
		-webkit-box-orient: vertical;
	}

	.memur-home .newsx-magazine-layout-1-3 .newsx-grid-excerpt { display: none; }
	.memur-home .newsx-magazine-layout-1-3 .memur-flag { top: 10px; right: 10px; }
	.memur-home .newsx-magazine-layout-1-3 .memur-cover-icon { display: none; }
}

/* Card links: page content underlines links, cards should not. */
.memur-cards a,
.newsx-posts-feed .newsx-grid-title a,
.newsx-posts-feed .newsx-grid-meta a {
	text-decoration: none;
}

/* Archive feed (category, tag, search): the parent sizes the media column
   from the <img>, so covers collapsed to 0px. Give the column a width. */
.newsx-posts-feed.newsx-list-layout-list-7 .newsx-grid-media {
	width: 300px;
}

.newsx-posts-feed .memur-flag--deadline {
	display: inline-block;
}

@media (max-width: 768px) {
	.newsx-posts-feed.newsx-list-layout-list-7 .newsx-grid-media { width: 40%; }
}

@media (max-width: 600px) {
	.newsx-posts-feed.newsx-list-layout-list-7 .newsx-grid-item { gap: 12px; }
	.newsx-posts-feed.newsx-list-layout-list-7 .newsx-grid-media { width: 128px; }
	.newsx-posts-feed .memur-cover { aspect-ratio: 4 / 3; }
	.newsx-posts-feed .newsx-grid-media img { aspect-ratio: 4 / 3; object-fit: cover; }
	.newsx-posts-feed .newsx-grid-excerpt,
	.newsx-posts-feed .newsx-read-more,
	.newsx-posts-feed .memur-flag--deadline { display: none; }
	.newsx-posts-feed .newsx-grid-title :is(h2, h3) { font-size: 16px; line-height: 1.25; }
	.newsx-posts-feed .memur-flag { top: 6px; right: 6px; font-size: 11px; padding: 0 5px; }
}

/* Archive feed on phones: keep the image-left row (the parent stacks it into
   a full-width image per post, one screen per listing). */
@media (max-width: 600px) {
	.newsx-posts-feed.newsx-list-layout-list-7 .newsx-grid-item {
		flex-direction: row !important;
		align-items: flex-start;
	}

	.newsx-posts-feed.newsx-list-layout-list-7 .newsx-grid-media {
		flex: 0 0 128px;
		width: 128px !important;
		max-width: 128px;
	}

	.newsx-posts-feed.newsx-list-layout-list-7 .newsx-grid-below-media {
		flex: 1;
		min-width: 0;
	}

	.newsx-posts-feed .newsx-grid-categories { display: none; }
}

/* ---------- Single post: the listing's photo ---------- */
.memur-single-media {
	position: relative;
	margin: 0 0 24px;
	overflow: hidden;
	border-radius: 6px;
}

.memur-single-media img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 80vh;
	object-fit: contain;
	background: #f2f4f7;
}

.memur-single-media--cover img {
	aspect-ratio: 16 / 9;
	max-height: none;
	object-fit: cover;
}

/* Portrait photo (Instagram post): whole image in a landscape frame, on a
   blurred copy of itself instead of grey bands (template-parts/blog-single/media.php). */
.memur-single-media--dikey {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 16 / 10;
	background: #0f2744;
}

.memur-single-media-fon {
	position: absolute;
	inset: -24px;
	background-position: center;
	background-size: cover;
	filter: blur(22px) brightness(0.72);
	transform: scale(1.06);
}

.memur-single-media--dikey img {
	position: relative;
	width: auto;
	max-width: 100%;
	height: 100%;
	max-height: none;
	object-fit: contain;
	background: transparent;
	box-shadow: 0 10px 32px rgba(0, 0, 0, 0.35);
}

.memur-single-media--dikey .newsx-single-post-media-caption {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	margin: 0;
	padding: 6px 12px;
	background: rgba(0, 0, 0, 0.55);
	color: #fff;
}

@media (max-width: 600px) {
	/* On a phone the portrait image fills the 4:5 frame directly: soft neutral placeholder
	   instead of dark navy, and no hidden blurred duplicate download/GPU layer. */
	.memur-single-media--dikey {
		aspect-ratio: 4 / 5;
		background: #edf2f7;
	}
	body.newsx-dark-mode .memur-single-media--dikey {
		background: var(--memur-d-surface, #19202a);
	}
	.memur-single-media--dikey .memur-single-media-fon {
		display: none !important;
		background-image: none !important;
	}
	.memur-single-media--dikey img {
		width: 100%;
		height: 100%;
		box-shadow: none;
	}
}

.memur-cover--single {
	aspect-ratio: 16 / 7;
}

.memur-cover--single .memur-cover-icon {
	width: 18%;
	max-width: 150px;
}

.memur-single-media .memur-flag {
	top: 16px;
	right: 16px;
	padding: 3px 10px;
	font-size: 13px;
}

@media (max-width: 600px) {
	.memur-single-media { margin-bottom: 18px; border-radius: 4px; }
	.memur-cover--single { aspect-ratio: 16 / 9; }
	.memur-single-media .memur-flag { top: 10px; right: 10px; font-size: 12px; }
}

/* ---------- Single post: author card ---------- */
.memur-author {
	display: flex;
	align-items: center;
	gap: 18px;
	margin: 32px 0;
}

.memur-author--card {
	padding: 24px;
	border-radius: 12px;
	background: #f6f8fa;
}

.memur-author--compact {
	padding: 14px 0;
	border-top: 1px solid #e3e7ec;
	border-bottom: 1px solid #e3e7ec;
}

.memur-author-avatar {
	flex: none;
	width: var(--memur-author-size, 64px);
	height: var(--memur-author-size, 64px);
	border-radius: 50%;
	object-fit: cover;
	background: #fff;
}

.memur-author-text {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.memur-author-name {
	color: #292929;
	font-family: "Encode Sans Condensed", sans-serif;
	font-size: 19px;
	font-weight: 700;
	line-height: 1.2;
}

.memur-author-job {
	color: #4a5561;
	font-size: 14px;
}

.memur-author-desc {
	margin: 0 !important;
	color: #67737e;
	font-size: 13px;
	line-height: 1.5;
}

@media (max-width: 480px) {
	.memur-author--card { padding: 18px; gap: 14px; }
	.memur-author-name { font-size: 17px; }
}

/* ---------- Single post: "Sıradaki İlanlar" ---------- */
.memur-related {
	margin: 40px 0 12px;
}

.memur-related .newsx-grid-title h3 {
	margin: 0;
	font-size: 17px;
	line-height: 1.25;
}

.memur-related .newsx-grid-media { margin-bottom: 12px; }
.memur-related .newsx-grid-title a { text-decoration: none; }

/* Slider: native horizontal scroll with snap points (1.15 cards on phones, 2 on tablets, 3 on desktop). */
.memur-slider-track {
	--memur-slider-gap: 16px;
	display: flex;
	gap: var(--memur-slider-gap);
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}
.memur-slider-track::-webkit-scrollbar { display: none; }
.memur-slider-track:focus-visible { outline: 2px solid #174a82; outline-offset: 4px; }
.memur-slider-slide {
	flex: 0 0 calc((100% - var(--memur-slider-gap) * 0.15) / 1.15);
	min-width: 0;
	scroll-snap-align: start;
}
@media (min-width: 601px) {
	.memur-slider-track { --memur-slider-gap: 20px; }
	.memur-slider-slide { flex-basis: calc((100% - var(--memur-slider-gap)) / 2); }
}
@media (min-width: 1025px) {
	.memur-slider-track { --memur-slider-gap: 24px; }
	.memur-slider-slide { flex-basis: calc((100% - var(--memur-slider-gap) * 2) / 3); }
}

.memur-slider-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	margin-top: 18px;
}

.memur-slider-prev,
.memur-slider-next {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 1px solid #d5dbe2;
	border-radius: 50%;
	background: #fff;
	color: #292929;
	cursor: pointer;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.memur-slider-prev:hover,
.memur-slider-next:hover,
.memur-slider-prev:focus-visible,
.memur-slider-next:focus-visible {
	border-color: var(--memur-accent-strong, #1f5fa6);
	background: var(--memur-accent-strong, #1f5fa6);
	color: #fff;
}

.memur-slider-prev:focus-visible,
.memur-slider-next:focus-visible { outline: 2px solid #174a82; outline-offset: 2px; }

.memur-slider-prev.is-disabled,
.memur-slider-next.is-disabled { opacity: 0.35; cursor: default; pointer-events: none; }

.memur-slider-dots {
	display: flex;
	align-items: center;
	gap: 6px;
	width: auto !important;
}

.memur-slider-dot {
	display: block;
	width: 8px;
	height: 8px;
	padding: 0;
	border: 0;
	border-radius: 4px;
	background: #c9d1da;
	cursor: pointer;
	transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease;
}

.memur-slider-dot.is-active {
	width: 22px;
	background: var(--memur-accent-strong, #1f5fa6);
}

@media (prefers-reduced-motion: reduce) {
	.memur-slider-dot, .memur-slider-prev, .memur-slider-next { transition: none; }
	.memur-slider-track { scroll-behavior: auto; }
}

/* ---------- Single post: readable column ----------
   Without a sidebar the parent runs the article across 1260px: lines far past
   a comfortable measure and a photo the size of the screen. One centred
   860px column instead; a sidebar, when widgets are added, keeps its layout. */
/* the inner wrapper is itself a flex item that shrink-wraps, so it is the
   element to centre */
.single-post .newsx-single-inner:not(:has(.newsx-sidebar)) {
	width: 100%;
	max-width: 860px;
	margin-inline: auto;
}

.single-post .newsx-single-inner:not(:has(.newsx-sidebar)) > #primary {
	width: 100%;
}

/* ---------- Listing tables ("Hangi Kadrolar Var?") ---------- */
.single-post .wp-block-table table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}
.single-post .wp-block-table thead th {
	background: #f2f5f9;
	color: #292929;
	font-family: "Encode Sans Condensed", sans-serif;
	border-bottom: 2px solid #d9e2ec;
}
.single-post .wp-block-table tbody tr:nth-child(even) td {
	background: #fafbfc;
}
body.newsx-dark-mode.single-post .wp-block-table thead th {
	background: var(--memur-d-surface-2, #2a2f36);
	color: var(--memur-d-head, #f1f1f1);
	border-bottom-color: var(--memur-d-border-2, #3a414b);
}
body.newsx-dark-mode.single-post .wp-block-table tbody tr:nth-child(even) td {
	background: rgba(255, 255, 255, 0.03);
}

/* ---------- Magazine tiles with a real <img> (sharp on every screen) ---------- */
.newsx-magazine-layout .memur-tile {
	display: block;
	overflow: hidden;
}

.newsx-magazine-layout .memur-tile-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.newsx-magazine-layout .newsx-grid-item:hover .memur-tile-img {
	transform: scale(1.04);
}

@media (prefers-reduced-motion: reduce) {
	.newsx-magazine-layout .memur-tile-img { transition: none; }
}

/* ---------- Header search & live search dropdown ---------- */
.newsx-site-header {
	position: relative;
	z-index: 999;
}

.newsx-header-search.header-search-s1 .search-field {
	padding-right: 40px;
}

/* Parent sets overflow:hidden on .search-form even when .active, clipping .memur-live-results. */
.newsx-header-search.header-search-s1.active .search-form {
	overflow: visible;
	z-index: 20;
}

.newsx-header-search.header-search-s1.active .newsx-search-icon {
	z-index: 21;
}

.newsx-header-search .memur-live-results {
	top: calc(100% + 6px);
	right: 0;
	left: auto;
	z-index: 30;
	width: min(340px, calc(100vw - 64px));
	min-width: 240px;
	border-color: #dfe4ea;
	border-radius: 6px;
	background: #fff;
	color: #1f2328;
	box-shadow: 0 12px 32px rgba(15, 39, 68, 0.18);
}

.newsx-site-header .memur-live-results a {
	color: #1f2328 !important;
	border-bottom: 1px solid #f0f3f7;
}

.newsx-site-header .memur-live-results li:last-child a {
	border-bottom: 0;
}

.newsx-site-header .memur-live-results .memur-live-more a {
	color: var(--memur-accent-strong, #1f5fa6) !important;
	font-weight: 700;
}

body.newsx-dark-mode .newsx-header-search .memur-live-results {
	border-color: var(--memur-d-border-2, #2f3a48);
	background: var(--memur-d-surface, #19202a);
	color: var(--memur-d-head, #edf1f6);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

body.newsx-dark-mode .newsx-site-header .memur-live-results a {
	color: var(--memur-d-head, #edf1f6) !important;
	border-bottom-color: var(--memur-d-border, #242e3a);
}

body.newsx-dark-mode .newsx-site-header .memur-live-results .memur-live-more a {
	color: var(--memur-d-accent, #6aaef0) !important;
}

@media (max-width: 767px) {
	/* Prevents iOS Safari 300ms viewport auto-zoom when focusing the search box. */
	.newsx-header-search .search-field {
		font-size: 16px !important;
	}
}

/* ---------- Social icons: phone "follow us" button ---------- */
.memur-social-toggle {
	position: relative;
}

.memur-social-toggle summary {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 40px;
	padding: 0 8px;
	cursor: pointer;
	list-style: none;
	font-size: 13px;
	font-weight: 600;
}

.memur-social-toggle summary::-webkit-details-marker { display: none; }

.memur-social-toggle summary svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

.memur-social-pop {
	position: absolute;
	top: 100%;
	right: 0;
	z-index: 1000;
	margin-top: 6px;
	padding: 10px 12px;
	border: 1px solid #e8e8e8;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 10px 28px rgba(17, 24, 39, 0.14);
	width: max-content;
	max-width: calc(100vw - 32px);
}

.memur-social-pop .memur-social-list {
	flex-wrap: wrap;
}

/* The phone copy of the header icons keeps the theme's own classes (same
   size, spacing and colours as on desktop); only the theme's phone-hiding
   rule is undone for this copy. */
.newsx-site-header .memur-el-social .newsx-header-social-icons {
	display: flex !important;
}

.memur-el-social .memur-social-list .newsx-social-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 32px;
}

body.newsx-dark-mode .memur-social-pop {
	border-color: var(--memur-d-border-2, #3a414b);
	background: var(--memur-d-surface, #1f2329);
}

/* Brand colours (Memur Ayarları → Sosyal İkonlar → Marka renkleri). */
.memur-si-brand .newsx-social-icon-facebook-f svg,
.memur-si-brand .newsx-social-icon-facebook svg { fill: #1877f2; }
.memur-si-brand [class*="newsx-social-icon-instagram"] svg { fill: #e4405f; }
.memur-si-brand .newsx-social-icon-x-twitter svg { fill: #000; }
.memur-si-brand .newsx-social-icon-youtube svg { fill: #ff0000; }
.memur-si-brand .newsx-social-icon-pinterest-p svg { fill: #e60023; }
.memur-si-brand [class*="newsx-social-icon-linkedin"] svg { fill: #0a66c2; }
.memur-si-brand .newsx-social-icon-telegram svg { fill: #229ed9; }
.memur-si-brand .newsx-social-icon-whatsapp svg { fill: #25d366; }
body.newsx-dark-mode .memur-si-brand .newsx-social-icon-x-twitter svg { fill: #fff; }

/* Sidebar widget covers (memur-core widgets). */
.memur-cover--widget {
	position: absolute;
	inset: 0;
	height: 100%;
	aspect-ratio: auto;
}
.memur-wrow-thumb .memur-cover--widget .memur-cover-icon { width: 38%; right: 8%; bottom: 10%; }

/* ---------- Corporate footer (inc/footer.php) ----------
   Light grey by default. Every colour is a variable, set from
   Memur Ayarları → Footer (inc/design.php). */
.newsx-site-footer {
	--memur-ft-bg: #f4f5f7;
	--memur-ft-bottom-bg: #eaecef;
	--memur-ft-text: #5f6670;
	--memur-ft-heading: #8a9099;
	--memur-ft-link: #1f2328;
	--memur-ft-line: #dfe2e6;
}

body.newsx-dark-mode .newsx-site-footer {
	--memur-ft-bg: #0c1117;
	--memur-ft-bottom-bg: #090d12;
	--memur-ft-text: #a2acb8;
	--memur-ft-heading: #7c8795;
	--memur-ft-link: #edf1f6;
	--memur-ft-line: #1e2731;
}

.newsx-site-footer .memur-ft-main {
	padding: 48px 0 36px;
	border-top: 1px solid var(--memur-ft-line);
	color: var(--memur-ft-text);
	background: var(--memur-ft-bg);
}

/* Same 20px side gutter as the header rows, so the footer lines up with the
   rest of the page and never touches the screen edge on phones. */
.newsx-site-footer .memur-ft-grid,
.newsx-site-footer .memur-ft-bottom-inner {
	padding-right: 20px;
	padding-left: 20px;
}

.memur-ft-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) repeat(var(--memur-ft-cols, 3), minmax(0, 1fr));
	gap: 40px;
}

.memur-ft-identity {
	display: flex;
	align-items: center;
	gap: 12px;
}

.memur-ft-identity .custom-logo-link img {
	display: block;
	width: auto;
	max-height: 52px;
	border-radius: 50%;
}

.newsx-site-footer .memur-ft-name,
.newsx-site-footer .memur-ft-name:hover {
	color: var(--memur-ft-link);
	font-family: "Encode Sans Condensed", sans-serif;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
}

.newsx-site-footer .memur-ft-about {
	max-width: 42ch;
	margin: 14px 0 18px;
	color: var(--memur-ft-text);
	font-size: 14px;
	line-height: 1.7;
}

.memur-ft-social.newsx-social-icons {
	flex-wrap: wrap;
	gap: 8px;
}

.newsx-site-footer .memur-ft-social .newsx-social-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border: 1px solid var(--memur-ft-line);
	border-radius: 50%;
	background: transparent;
	transition: background-color 0.2s ease, border-color 0.2s ease;
}

.newsx-site-footer .memur-ft-social .newsx-social-icon svg {
	width: 15px;
	height: 15px;
	fill: var(--memur-ft-link);
}

.newsx-site-footer .memur-ft-social .newsx-social-icon:hover {
	border-color: var(--memur-ft-link);
	background: var(--memur-ft-link);
}

.newsx-site-footer .memur-ft-social .newsx-social-icon:hover svg { fill: var(--memur-ft-bg); }

.newsx-site-footer .memur-ft-title {
	margin: 0 0 6px;
	color: var(--memur-ft-heading);
	font-family: "Encode Sans Condensed", sans-serif;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
}

.memur-ft-links {
	margin: 0;
	padding: 0;
	list-style: none;
}

.memur-ft-links li { border-bottom: 1px solid var(--memur-ft-line); }
.memur-ft-links li:last-child { border-bottom: 0; }

.newsx-site-footer .memur-ft-links a {
	display: block;
	padding: 8px 0;
	color: var(--memur-ft-link);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}

.newsx-site-footer .memur-ft-links a:hover,
.newsx-site-footer .memur-ft-legal a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.newsx-site-footer .memur-ft-bottom {
	padding: 18px 0 20px;
	border-top: 1px solid var(--memur-ft-line);
	color: var(--memur-ft-text);
	background: var(--memur-ft-bottom-bg);
	font-size: 13px;
}

/* Copyright, legal links and the notice: centred, one under the other. */
.memur-ft-bottom-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	text-align: center;
}

.newsx-site-footer .memur-ft-bottom .newsx-copyright {
	width: auto;
	color: var(--memur-ft-text);
	text-align: center;
}

.memur-ft-legal-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.newsx-site-footer .memur-ft-legal a {
	color: var(--memur-ft-link);
	text-decoration: none;
}

.newsx-site-footer .memur-ft-notice {
	max-width: 760px;
	margin: 0;
	color: var(--memur-ft-heading);
	font-size: 12px;
	line-height: 1.6;
}

@media (max-width: 1024px) {
	.memur-ft-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.memur-ft-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
	.newsx-site-footer .memur-ft-main { padding: 36px 0 24px; }
	.memur-ft-grid { gap: 24px 20px; }
}

/* Floating share bar on posts with a sidebar: the article no longer sits in
   a centred 860px column, so the bar goes to the page gutter, and only where
   the gutter is wide enough for it not to cover the text. */
@media (min-width: 1100px) {
	body:has(.newsx-single-inner > .newsx-sidebar) .memur-share--float {
		left: max(8px, calc((100vw - 1300px) / 2 - 58px));
	}
}

@media (min-width: 1100px) and (max-width: 1419px) {
	body:has(.newsx-single-inner > .newsx-sidebar) .memur-share--float { display: none; }
}

/* Pages with a sidebar (posts, pages, archives): the parent's inner wrapper
   shrink-wraps its content, so a wide table or slider pushed the sidebar
   off-screen. Full width, content column takes the rest next to the 30%
   sidebar. */
:is(.newsx-single-inner, .newsx-archive-page-inner, .newsx-blog-page-inner):has(> .newsx-sidebar) {
	width: 100%;
}

:is(.newsx-single-inner, .newsx-archive-page-inner, .newsx-blog-page-inner):has(> .newsx-sidebar) > .content-area {
	flex: 1 1 0;
	min-width: 0;
}

/* ---------- Home: vitrin (section picture cards) ---------- */
.memur-home-row--vitrin .newsx-row-inner { padding-top: 18px; }
.memur-vitrin { display: grid; gap: 8px; }
.memur-vitrin--4 { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; height: 440px; }
.memur-vitrin--4 .memur-vtile--1 { grid-row: 1 / 3; }
.memur-vitrin--4 .memur-vtile--2 { grid-column: 2 / 4; }
.memur-vitrin--4.memur-vitrin--n3 .memur-vtile--3 { grid-column: 2 / 4; }
.memur-vitrin--4.memur-vitrin--n2 .memur-vtile--2 { grid-row: 1 / 3; }
.memur-vitrin--4.memur-vitrin--n1 { grid-template-columns: 1fr; }
.memur-vitrin--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 210px; }
.memur-vtile {
	position: relative;
	display: block;
	min-height: 0;
	overflow: hidden;
	border-radius: 3px;
	background: #1f3b5c;
	color: #fff;
	text-decoration: none;
	isolation: isolate;
}
.memur-vtile-media,
.memur-vtile-img,
.memur-vtile-cover,
.memur-vtile-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.memur-vtile-img { object-fit: cover; transition: transform 0.4s ease; }
.memur-vtile:hover .memur-vtile-img { transform: scale(1.04); }
.memur-vtile-cover { background: linear-gradient(135deg, #1f5fa6 0%, #0f2e52 100%); }
.memur-vtile-shade { background: linear-gradient(180deg, rgba(8, 20, 36, 0.05) 20%, rgba(8, 20, 36, 0.86) 100%); }
.memur-vtile-body {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	display: flex;
	flex-direction: column;
	gap: 5px;
	padding: 16px 18px;
}
.memur-vtile-count {
	align-self: flex-start;
	padding: 2px 8px;
	border-radius: 3px;
	background: var(--memur-accent-strong, #1f5fa6);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
}
.memur-vtile-title {
	margin: 0;
	color: #fff;
	font-family: "Encode Sans Condensed", sans-serif;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.15;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}
.memur-vitrin--4 .memur-vtile--1 .memur-vtile-title { font-size: 34px; }
.memur-vtile-latest {
	display: -webkit-box;
	overflow: hidden;
	color: rgba(255, 255, 255, 0.92);
	font-size: 13px;
	line-height: 1.4;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 1;
}
.memur-vitrin--4 .memur-vtile--1 .memur-vtile-latest { font-size: 15px; -webkit-line-clamp: 2; }
.memur-vtile-latest-label { font-weight: 700; }
.memur-vtile:focus-visible { outline: 3px solid #ffbf47; outline-offset: 2px; }

/* ---------- Home: "Ne Mezunusun?" (theme section title + tab-style buttons) ---------- */
.memur-home-row--egitim .newsx-row-inner { padding-top: 22px; padding-bottom: 0; }
.memur-egitim-row { margin-top: 12px; }
.memur-egitim-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.memur-egitim-btn {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	min-height: 48px;
	padding: 0 16px;
	border-radius: 3px;
	background: #f2f5f9;
	color: #292929;
	font-family: "Encode Sans Condensed", sans-serif;
	font-size: 16px;
	font-weight: 700;
	text-decoration: none;
	transition: background-color 0.15s, color 0.15s;
}
.memur-egitim-n { color: #67737e; font-family: Oxygen, sans-serif; font-size: 13px; font-weight: 400; white-space: nowrap; }
.memur-egitim-btn:hover,
.memur-egitim-btn:focus-visible { background: var(--memur-accent-strong, #1f5fa6); color: #fff; }
.memur-egitim-btn:hover .memur-egitim-n,
.memur-egitim-btn:focus-visible .memur-egitim-n { color: rgba(255, 255, 255, 0.85); }

/* ---------- Archives ---------- */
.newsx-archive-page-wrap > .memur-filter { margin-top: 0; margin-bottom: 18px; }
.memur-archive-empty-text { margin: 0 0 22px; padding: 16px 18px; border-radius: 6px; background: #f6f8fb; color: #4a5561; }

@media (max-width: 1024px) {
	.memur-vitrin--4 { height: 380px; }
	.memur-vitrin--4 .memur-vtile--1 .memur-vtile-title { font-size: 28px; }
}

@media (max-width: 768px) {
	.memur-home-row--vitrin .newsx-row-inner { padding-top: 12px; }
	.memur-vitrin--4 { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 132px; height: auto !important; }
	.memur-vitrin--4 .memur-vtile--1,
	.memur-vitrin--4 .memur-vtile--2,
	.memur-vitrin--4.memur-vitrin--n3 .memur-vtile--3 { grid-row: auto; grid-column: auto; }
	.memur-vitrin--4.memur-vitrin--n3 .memur-vtile--1 { grid-column: 1 / 3; }
	.memur-vitrin--6 { grid-template-columns: 1fr 1fr; grid-auto-rows: 116px; }
	.memur-vtile-body { gap: 3px; padding: 10px 12px; }
	.memur-vtile-count { font-size: 11px; }
	.memur-vtile-title,
	.memur-vitrin--4 .memur-vtile--1 .memur-vtile-title { font-size: 17px; }
	.memur-vtile-latest { display: none; }
	.memur-egitim-list { grid-template-columns: 1fr 1fr; }
	.memur-egitim-btn { min-height: 44px; padding: 0 12px; font-size: 15px; }
}

body.newsx-dark-mode .memur-egitim-btn { background: var(--memur-d-surface-2, #2a2f36); color: var(--memur-d-head, #e6e9ec); }
body.newsx-dark-mode .memur-egitim-n { color: var(--memur-d-meta, #aab4bf); }
body.newsx-dark-mode .memur-archive-empty-text { background: var(--memur-d-surface, #1f2329); color: var(--memur-d-text, #c9d1da); }

/* ---------- Home: vitrin icons and the strip of small cards ---------- */
.memur-vtile-cover { display: flex; align-items: center; justify-content: center; }
.memur-vtile-cover .memur-cover-icon { width: 34%; max-width: 150px; height: auto; color: rgba(255, 255, 255, 0.22); transform: translateY(-16%); }
.memur-vstrip { --n: 5; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.memur-vstrip--n1 { --n: 1; }
.memur-vstrip--n2 { --n: 2; }
.memur-vstrip--n3 { --n: 3; }
.memur-vstrip--n4 { --n: 4; }
.memur-vstrip--n6 { --n: 6; }
.memur-stile {
	position: relative;
	display: block;
	height: 130px;
	overflow: hidden;
	border-radius: 3px;
	background: #1f3b5c;
	color: #fff;
	text-decoration: none;
	isolation: isolate;
}
.memur-stile .memur-vtile-cover .memur-cover-icon { width: 30%; max-width: 64px; color: rgba(255, 255, 255, 0.3); transform: translateY(-22%); }
.memur-stile:hover .memur-vtile-img { transform: scale(1.04); }
.memur-stile:focus-visible { outline: 3px solid #ffbf47; outline-offset: 2px; }
.memur-stile-body { position: absolute; right: 0; bottom: 0; left: 0; display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; }
.memur-stile-title { color: #fff; font-family: "Encode Sans Condensed", sans-serif; font-size: 17px; font-weight: 700; line-height: 1.15; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35); }
.memur-stile-count { color: rgba(255, 255, 255, 0.85); font-size: 12px; }
.memur-stile-count.is-soon { color: #ffd479; font-weight: 700; }

@media (max-width: 768px) {
	.memur-vstrip { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scroll-snap-type: x mandatory; scrollbar-width: none; }
	.memur-vstrip::-webkit-scrollbar { display: none; }
	.memur-stile { flex: 0 0 42%; height: 104px; scroll-snap-align: start; }
	.memur-stile-title { font-size: 15px; }
}

/* ---------- Primary menu (desktop) ----------
   Each item reads as its own tab: more room between items, a thin divider
   in between and the section-title blue as a bar under the hovered and the
   current item. Size and colours still follow Memur Ayarları → Ana Menü
   (inc/header-css.php sets the --memur-pm-* variables). */
@media (min-width: 769px) {
	.newsx-site-header .newsx-header-menu-primary .newsx-desktop-menu { align-items: stretch; }
	.newsx-site-header .newsx-header-menu-primary .newsx-desktop-menu > .menu-item { position: relative; display: flex; margin: 0; }
	.newsx-site-header .newsx-header-menu-primary .newsx-desktop-menu > .menu-item + .menu-item::before {
		content: "";
		position: absolute;
		top: 50%;
		left: 0;
		width: 1px;
		height: 16px;
		margin-top: -8px;
		background: var(--memur-menu-divider, #dfe4ea);
	}
	.newsx-site-header .newsx-header-menu-primary .newsx-desktop-menu > .menu-item > a {
		position: relative;
		display: flex;
		align-items: center;
		min-height: 48px;
		padding: 0 17px;
		color: var(--memur-pm-color, #1f2328);
		font-size: var(--memur-pm-size, 16px);
		font-weight: 600;
		letter-spacing: 0.1px;
		line-height: 1.2;
		white-space: nowrap;
		transition: color 0.2s ease;
	}
	.newsx-site-header .newsx-header-menu-primary .newsx-desktop-menu > .menu-item:first-child > a { padding-left: 0; }
	.newsx-site-header .newsx-header-menu-primary .newsx-desktop-menu > .menu-item > a::after {
		content: "";
		position: absolute;
		right: 17px;
		bottom: 0;
		left: 17px;
		width: auto; /* the parent's pointer effect sets 100% */
		height: 3px;
		opacity: 1;
		background: var(--memur-pm-hover, var(--memur-accent-strong, #1f5fa6));
		transform: scaleX(0);
		transform-origin: left center;
		transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
	}
	.newsx-site-header .newsx-header-menu-primary .newsx-desktop-menu > .menu-item:first-child > a::after { left: 0; }
	.newsx-site-header .newsx-header-menu-primary .newsx-desktop-menu > .menu-item > a:hover,
	.newsx-site-header .newsx-header-menu-primary .newsx-desktop-menu > .menu-item > a:focus-visible,
	.newsx-site-header .newsx-header-menu-primary .newsx-desktop-menu > .current-menu-item > a,
	.newsx-site-header .newsx-header-menu-primary .newsx-desktop-menu > .current-menu-ancestor > a {
		color: var(--memur-pm-hover, var(--memur-accent-strong, #1f5fa6));
	}
	.newsx-site-header .newsx-header-menu-primary .newsx-desktop-menu > .menu-item > a:hover::after,
	.newsx-site-header .newsx-header-menu-primary .newsx-desktop-menu > .menu-item > a:focus-visible::after,
	.newsx-site-header .newsx-header-menu-primary .newsx-desktop-menu > .current-menu-item > a::after,
	.newsx-site-header .newsx-header-menu-primary .newsx-desktop-menu > .current-menu-ancestor > a::after { transform: scaleX(1); }
	.newsx-site-header .newsx-header-menu-primary .newsx-desktop-menu > .menu-item > a:focus-visible { outline: 2px solid var(--memur-accent-strong, #1f5fa6); outline-offset: -2px; }

	body.newsx-dark-mode .newsx-site-header .newsx-header-menu-primary .newsx-desktop-menu > .menu-item > a { color: var(--memur-d-head, #fff); }
	body.newsx-dark-mode .newsx-site-header .newsx-header-menu-primary .newsx-desktop-menu > .menu-item > a:hover,
	body.newsx-dark-mode .newsx-site-header .newsx-header-menu-primary .newsx-desktop-menu > .menu-item > a:focus-visible,
	body.newsx-dark-mode .newsx-site-header .newsx-header-menu-primary .newsx-desktop-menu > .current-menu-item > a,
	body.newsx-dark-mode .newsx-site-header .newsx-header-menu-primary .newsx-desktop-menu > .current-menu-ancestor > a { color: var(--memur-d-accent, #6aaef0); }
	body.newsx-dark-mode .newsx-site-header .newsx-header-menu-primary .newsx-desktop-menu > .menu-item > a::after { background: var(--memur-d-accent, #6aaef0); }
}

/* Small laptops and tablets in landscape: tighter, so the menu stays on one line. */
@media (min-width: 769px) and (max-width: 1180px) {
	.newsx-site-header .newsx-header-menu-primary .newsx-desktop-menu > .menu-item > a { padding: 0 11px; font-size: min(var(--memur-pm-size, 16px), 15px); }
	.newsx-site-header .newsx-header-menu-primary .newsx-desktop-menu > .menu-item > a::after { right: 11px; left: 11px; }
}

/* Narrow tablets (portrait): the menu may take two compact rows. */
@media (min-width: 769px) and (max-width: 1000px) {
	.newsx-site-header .newsx-header-menu-primary .newsx-desktop-menu { flex-wrap: wrap; }
	.newsx-site-header .newsx-header-menu-primary .newsx-desktop-menu > .menu-item > a { min-height: 40px; padding: 0 10px; font-size: min(var(--memur-pm-size, 16px), 14px); }
	.newsx-site-header .newsx-header-menu-primary .newsx-desktop-menu > .menu-item > a::after { right: 10px; left: 10px; }
}

/* ---------- Dark mode palette ----------
   A deep blue-grey instead of the parent theme's flat greys. inc/dark.php
   points the parent's dark-mode colours at these variables, so this block
   is the one place to change the dark palette. */
body.newsx-dark-mode {
	--memur-d-bg: #10151c;
	--memur-d-bg-2: #141a22;
	--memur-d-surface: #19202a;
	--memur-d-surface-2: #212a36;
	--memur-d-border: #242e3a;
	--memur-d-border-2: #2f3a48;
	--memur-d-text: #c2cbd5;
	--memur-d-meta: #8893a1;
	--memur-d-head: #edf1f6;
	--memur-d-accent: #6aaef0;
	--memur-d-accent-soft: #172a40;
	--memur-menu-divider: #2f3a48;
	color-scheme: dark;
}

/* Parent rules that sit outside its dark-mode block. */
body.newsx-dark-mode .newsx-desktop-menu .sub-menu .menu-item:not(:last-child) { border-bottom-color: var(--memur-d-border); }
body.newsx-dark-mode .newsx-mobile-menu-toggle + .newsx-mobile-menu-container { background-color: var(--memur-d-bg-2); }

/* Top news-ticker row keeps a hint of the brand blue. */
body.newsx-dark-mode .newsx-site-header .newsx-top-section-wrap { border-bottom-color: #1a2d45; background-color: #0d1d31; }

body.newsx-dark-mode .memur-section-more { color: var(--memur-d-accent); }
body.newsx-dark-mode ::selection { background: #24507f; color: #fff; }

/* The parent's dark block paints every footer row with the page colour; keep the footer a shade deeper. */
body.newsx-dark-mode .newsx-site-footer .memur-ft-main { background-color: var(--memur-ft-bg); }
body.newsx-dark-mode .newsx-site-footer .memur-ft-bottom { background-color: var(--memur-ft-bottom-bg); }

/* Recruitment cards and balanced quick-info rows. */
body .memur-quick dl.memur-quick-facts { display:flex; flex-wrap:wrap; }
body .memur-quick-facts > .memur-quick-row { flex:1 1 145px; min-width:0; }
body .memur-quick dl.memur-quick-dates { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); margin-top:1px; }
body .memur-quick-dates > :only-child { grid-column:1/-1; }
body .post-categories li a, body .newsx-category-list li a, body .memur-chip { background:#e6f0fc; color:#174a83; border-radius:4px; }
body .post-categories li a:hover, body .newsx-category-list li a:hover { background:#cce1fa; color:#0c3768; }
body .memur-flag--deadline, body .memur-wslide .memur-wbadge--date { background:#1d5791; color:#fff; }
body .memur-quick-row--bitis dd { color:#174a83; }
@media(max-width:380px) { body .memur-quick-facts > .memur-quick-row { flex-basis:120px; } }

/* Oxygen is loaded in 400 only, so every bold Oxygen label (counts, badges, flags) was drawn
   with the browser's synthetic bold and digits like "2" looked off. These labels use the
   Encode Sans Condensed 700 that is already loaded for the titles (10.10.2026). */
.memur-vtile-count,
.memur-stile-count,
.memur-vtile-latest-label,
.memur-wcat-count,
.memur-wbadge,
.memur-flag,
.memur-flag strong,
.memur-consent-btn {
	font-family: "Encode Sans Condensed", sans-serif;
}
.memur-vtile-count,
.memur-stile-count,
.memur-wcat-count,
.memur-wbadge,
.memur-flag { font-size: 1.08em; letter-spacing: 0.01em; }



/* memur-caption-remove: Resim alt metni / aciklama yazi icinde tamamen gizlenir */
.newsx-single-post-media-caption,
.wp-block-image figcaption,
.wp-caption-text {
	display: none !important;
	visibility: hidden !important;
	height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
}

/* Mobile GPU Performance Optimization: GPU acceleration & blur reduction */
.memur-single-media-fon {
	will-change: transform;
	transform: translateZ(0) scale(1.06);
}
@media (max-width: 768px) {
	.memur-single-media-fon {
		filter: blur(8px) brightness(0.8) !important;
		opacity: 0.75 !important;
	}
}

/* ---------- Instant navigation / search-submit feedback (assets/js/onyukle.js) ---------- */
.memur-nav-bar {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100000;
	height: 3px;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.15s ease;
}

.memur-nav-bar span {
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, var(--memur-accent-strong, #1f5fa6), #3b82f6);
	box-shadow: 0 0 8px rgba(59, 130, 246, 0.55);
	transform: scaleX(0);
	transform-origin: 0 50%;
}

.memur-nav-bar.is-active {
	opacity: 1;
}

.memur-nav-bar.is-active span {
	animation: memur-nav-load 4s cubic-bezier(0.1, 0.6, 0.2, 1) forwards;
}

@keyframes memur-nav-load {
	0% { transform: scaleX(0.08); }
	25% { transform: scaleX(0.45); }
	60% { transform: scaleX(0.72); }
	100% { transform: scaleX(0.88); }
}

a.is-opening {
	opacity: 0.72;
	transition: opacity 0.1s ease;
}

@media (prefers-reduced-motion: reduce) {
	.memur-nav-bar.is-active span {
		animation: none;
		transform: scaleX(0.6);
	}
}

/* ---------- Mobile performance & tap responsiveness ---------- */
a,
button,
input,
select,
summary,
[role="button"] {
	touch-action: manipulation;
}

@media (max-width: 768px) {
	/* Skip off-screen 4-column corporate footer layout/paint during initial mobile FCP/LCP. */
	.newsx-site-footer {
		content-visibility: auto;
		contain-intrinsic-size: auto 420px;
	}

	/* Keep header search >=16px on iOS Safari so focusing never zooms the viewport. */
	.newsx-site-header input[type="search"],
	.newsx-site-header input[name="s"] {
		font-size: 16px;
	}
}

/* ---------- Mobile bottom navigation bar & sections/search sheet (inc/mobile-nav.php) ---------- */
:root {
	--memur-alt-bar-h: 58px;
	--memur-alt-safe: max(env(safe-area-inset-bottom, 0px), 10px);
}

html.memur-pwa {
	--memur-alt-safe: max(env(safe-area-inset-bottom, 0px), 28px);
}

@media (display-mode: standalone) {
	:root {
		--memur-alt-safe: max(env(safe-area-inset-bottom, 0px), 28px);
	}
	html,
	body {
		overscroll-behavior-y: none;
	}
}

html.memur-pwa,
html.memur-pwa body {
	overscroll-behavior-y: none;
}

.memur-alt-bar,
.memur-alt-sheet {
	display: none;
}

.memur-alt-sheet[hidden],
.memur-alt-pane[hidden] {
	display: none !important;
}

@media (max-width: 768px) {
	html.memur-sheet-open,
	html.memur-sheet-open body {
		overflow: hidden;
	}

	body.memur-has-mobile-bar {
		padding-bottom: calc(var(--memur-alt-bar-h) + var(--memur-alt-safe));
	}

	body.memur-has-mobile-bar #newsx-back-to-top {
		right: 14px;
		bottom: calc(var(--memur-alt-bar-h) + var(--memur-alt-safe) + 12px);
	}

	.memur-alt-bar {
		position: fixed;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 9990;
		display: grid;
		grid-template-columns: repeat(5, minmax(0, 1fr));
		align-items: stretch;
		box-sizing: border-box;
		height: calc(var(--memur-alt-bar-h) + var(--memur-alt-safe));
		padding: 0 4px var(--memur-alt-safe);
		border-top: 1px solid #dfe4ea;
		background: #fff;
		box-shadow: 0 -2px 10px rgba(15, 23, 42, 0.06);
		transform: translate3d(0, 0, 0);
		-webkit-transform: translate3d(0, 0, 0);
		backface-visibility: hidden;
		-webkit-backface-visibility: hidden;
		will-change: transform;
		touch-action: manipulation;
		-webkit-tap-highlight-color: transparent;
	}

	/* Seamless bottom skirt so iOS 120Hz Safari/PWA viewport transitions never show a gap under the bar. */
	.memur-alt-bar::after {
		content: "";
		position: absolute;
		top: 100%;
		right: 0;
		left: 0;
		height: 80px;
		background: inherit;
		pointer-events: none;
	}

	.memur-alt-item {
		position: relative;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 4px;
		min-width: 0;
		margin: 0;
		padding: 6px 2px 5px;
		border: 0;
		border-radius: 0;
		background: transparent;
		color: #4a5561;
		font-family: "Encode Sans Condensed", sans-serif;
		font-size: 12px;
		font-weight: 700;
		line-height: 1.1;
		letter-spacing: 0.01em;
		text-decoration: none;
		cursor: pointer;
		user-select: none;
		-webkit-user-select: none;
		transition: color 0.15s ease, background-color 0.15s ease;
	}

	.memur-alt-item::before {
		content: "";
		position: absolute;
		top: 0;
		right: 18%;
		left: 18%;
		height: 3px;
		border-radius: 0 0 2px 2px;
		background: var(--memur-accent-strong, #1f5fa6);
		transform: scaleX(0);
		transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1);
	}

	.memur-alt-item:active {
		background: #f2f5f9;
	}

	.memur-alt-item:is(.is-active, .is-current-section, .is-open) {
		color: var(--memur-accent-strong, #1f5fa6);
	}

	.memur-alt-item:is(.is-active, .is-current-section, .is-open)::before {
		transform: scaleX(1);
	}

	.memur-alt-item:focus-visible {
		outline: 2px solid var(--memur-accent-strong, #1f5fa6);
		outline-offset: -2px;
	}

	.memur-alt-ico {
		flex: none;
		width: 20px;
		height: 20px;
	}

	.memur-alt-label {
		display: block;
		max-width: 100%;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	/* Sheet overlay (sits right under the bar for Bölümler, and at top for Ara so iOS keyboard never hides results). */
	.memur-alt-sheet:not([hidden]) {
		position: fixed;
		top: 0;
		right: 0;
		bottom: calc(var(--memur-alt-bar-h) + var(--memur-alt-safe));
		left: 0;
		z-index: 9989;
		display: flex;
		flex-direction: column;
		justify-content: flex-end;
		-webkit-tap-highlight-color: transparent;
	}

	.memur-alt-sheet[data-view="ara"]:not([hidden]) {
		justify-content: flex-start;
		padding: calc(env(safe-area-inset-top, 0px) + 10px) 10px 10px;
	}

	.memur-alt-backdrop {
		position: absolute;
		inset: 0;
		background: rgba(15, 23, 42, 0.46);
	}

	.memur-alt-dialog {
		position: relative;
		z-index: 1;
		display: flex;
		flex-direction: column;
		width: 100%;
		max-height: min(76vh, 560px);
		border-top: 1px solid #dfe4ea;
		border-radius: 10px 10px 0 0;
		background: #fff;
		box-shadow: 0 -8px 28px rgba(15, 23, 42, 0.18);
		overflow: hidden;
	}

	.memur-alt-sheet[data-view="ara"] .memur-alt-dialog {
		max-height: min(78vh, 520px);
		border: 1px solid #dfe4ea;
		border-radius: 8px;
		box-shadow: 0 12px 32px rgba(15, 23, 42, 0.22);
	}

	.memur-alt-head {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		padding: 11px 14px;
		border-bottom: 1px solid #e6ebf0;
	}

	.memur-alt-title {
		margin: 0;
		color: #1f2328;
		font-family: "Encode Sans Condensed", sans-serif;
		font-size: 18px;
		font-weight: 700;
		line-height: 1.2;
	}

	.memur-alt-close {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 36px;
		height: 36px;
		margin: -4px -6px -4px 0;
		padding: 0;
		border: 0;
		border-radius: 4px;
		background: transparent;
		color: #4a5561;
		cursor: pointer;
	}

	.memur-alt-close:active {
		background: #f2f5f9;
	}

	.memur-alt-pane {
		overflow-y: auto;
		overscroll-behavior: contain;
		-webkit-overflow-scrolling: touch;
		padding: 14px;
	}

	/* Search pane */
	.memur-alt-search {
		margin: 0;
	}

	.memur-alt-search-box {
		display: flex;
		gap: 8px;
	}

	.memur-alt-search-input {
		flex: 1 1 auto;
		min-width: 0;
		height: 44px;
		padding: 0 12px;
		border: 1px solid #cbd5e1;
		border-radius: 4px;
		background: #f8fafc;
		color: #1f2328;
		font-family: Oxygen, sans-serif;
		font-size: 16px !important; /* >=16px stops iOS Safari auto-zoom */
		line-height: 1.3;
		appearance: none;
		-webkit-appearance: none;
	}

	.memur-alt-search-input:focus {
		outline: 2px solid var(--memur-accent-strong, #1f5fa6);
		outline-offset: -1px;
		border-color: var(--memur-accent-strong, #1f5fa6);
		background: #fff;
	}

	.memur-alt-search-btn {
		flex: none;
		height: 44px;
		padding: 0 18px;
		border: 0;
		border-radius: 4px;
		background: var(--memur-accent-strong, #1f5fa6);
		color: #fff;
		font-family: "Encode Sans Condensed", sans-serif;
		font-size: 16px;
		font-weight: 700;
		cursor: pointer;
	}

	/* Live search results inside the mobile search card flow naturally under the input. */
	.memur-alt-search .memur-live-results {
		position: static;
		margin: 10px 0 0;
		max-height: min(42vh, 300px);
		overflow-y: auto;
		border-radius: 4px;
		box-shadow: none;
	}

	.memur-alt-shortcuts {
		margin-top: 12px;
		padding-top: 12px;
		border-top: 1px solid #edf1f5;
	}

	.memur-alt-shortcuts-label {
		display: block;
		margin-bottom: 8px;
		color: #67737e;
		font-family: "Encode Sans Condensed", sans-serif;
		font-size: 13px;
		font-weight: 700;
		text-transform: uppercase;
		letter-spacing: 0.03em;
	}

	.memur-alt-chips {
		display: flex;
		flex-wrap: wrap;
		gap: 6px;
	}

	.memur-alt-chip {
		display: inline-flex;
		align-items: center;
		min-height: 34px;
		padding: 0 11px;
		border-radius: 3px;
		background: #eef4fb;
		color: #174a83;
		font-family: "Encode Sans Condensed", sans-serif;
		font-size: 14px;
		font-weight: 700;
		text-decoration: none;
	}

	.memur-alt-chip:active {
		background: var(--memur-accent-strong, #1f5fa6);
		color: #fff;
	}

	/* Sections (Bölümler) pane */
	.memur-alt-group + .memur-alt-group {
		margin-top: 16px;
	}

	.memur-alt-group-title {
		display: block;
		margin: 0 0 8px;
		color: #67737e;
		font-family: "Encode Sans Condensed", sans-serif;
		font-size: 13px;
		font-weight: 700;
		text-transform: uppercase;
		letter-spacing: 0.04em;
	}

	.memur-alt-list {
		display: grid;
		grid-template-columns: 1fr;
		gap: 6px;
		margin: 0;
		padding: 0;
		list-style: none;
	}

	.memur-alt-list--2col {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.memur-alt-link {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 8px;
		min-height: 42px;
		padding: 6px 12px;
		border-radius: 4px;
		background: #f4f7fa;
		color: #1f2328;
		font-family: "Encode Sans Condensed", sans-serif;
		font-size: 15px;
		font-weight: 700;
		line-height: 1.2;
		text-decoration: none;
	}

	.memur-alt-link:active,
	.memur-alt-link.is-active {
		background: var(--memur-accent-strong, #1f5fa6);
		color: #fff;
	}

	.memur-alt-link-label {
		min-width: 0;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.memur-alt-link-count {
		flex: none;
		padding: 1px 7px;
		border-radius: 3px;
		background: rgba(31, 95, 166, 0.11);
		color: #174a83;
		font-size: 12px;
		font-weight: 700;
	}

	.memur-alt-link:is(:active, .is-active) .memur-alt-link-count {
		background: rgba(255, 255, 255, 0.22);
		color: #fff;
	}

	/* Dark mode */
	body.newsx-dark-mode .memur-alt-bar {
		border-top-color: var(--memur-d-border, #242e3a);
		background: var(--memur-d-bg-2, #141a22);
		box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.35);
	}

	body.newsx-dark-mode .memur-alt-item {
		color: var(--memur-d-meta, #8893a1);
	}

	body.newsx-dark-mode .memur-alt-item:active {
		background: var(--memur-d-surface, #19202a);
	}

	body.newsx-dark-mode .memur-alt-item:is(.is-active, .is-current-section, .is-open) {
		color: var(--memur-d-accent, #6aaef0);
	}

	body.newsx-dark-mode .memur-alt-item::before {
		background: var(--memur-d-accent, #6aaef0);
	}

	body.newsx-dark-mode .memur-alt-dialog {
		border-color: var(--memur-d-border, #242e3a);
		background: var(--memur-d-bg-2, #141a22);
	}

	body.newsx-dark-mode .memur-alt-head,
	body.newsx-dark-mode .memur-alt-shortcuts {
		border-color: var(--memur-d-border, #242e3a);
	}

	body.newsx-dark-mode .memur-alt-title {
		color: var(--memur-d-head, #edf1f6);
	}

	body.newsx-dark-mode .memur-alt-close {
		color: var(--memur-d-text, #c2cbd5);
	}

	body.newsx-dark-mode .memur-alt-search-input {
		border-color: var(--memur-d-border-2, #2f3a48);
		background: var(--memur-d-surface, #19202a);
		color: var(--memur-d-head, #edf1f6);
	}

	body.newsx-dark-mode .memur-alt-chip {
		background: var(--memur-d-surface-2, #212a36);
		color: var(--memur-d-accent, #6aaef0);
	}

	body.newsx-dark-mode .memur-alt-group-title,
	body.newsx-dark-mode .memur-alt-shortcuts-label {
		color: var(--memur-d-meta, #8893a1);
	}

	body.newsx-dark-mode .memur-alt-link {
		background: var(--memur-d-surface, #19202a);
		color: var(--memur-d-head, #edf1f6);
	}

	body.newsx-dark-mode .memur-alt-link:is(:active, .is-active) {
		background: var(--memur-accent-strong, #1f5fa6);
		color: #fff;
	}

	body.newsx-dark-mode .memur-alt-link-count {
		background: var(--memur-d-surface-2, #212a36);
		color: var(--memur-d-accent, #6aaef0);
	}
}

/* ---------- Single post Q&A / comments (#comments) ---------- */
.single-post .comments-area {
	margin-top: 28px;
	padding: 22px 24px;
	border: 1px solid #dfe5ec;
	border-radius: 8px;
	background: #fafbfd;
}

.memur-comments-heading,
.single-post .comment-reply-title {
	margin: 0 0 12px;
	font-family: "Encode Sans Condensed", sans-serif;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
	color: #1c2430;
}

.memur-comments-list {
	list-style: none;
	margin: 0 0 24px;
	padding: 0;
}

.memur-comment-item {
	margin: 0 0 14px;
}

.memur-comment-item .children {
	list-style: none;
	margin: 12px 0 0 20px;
	padding: 0 0 0 14px;
	border-left: 2px solid #dfe5ec;
}

.memur-comment-card {
	display: flex;
	gap: 12px;
	padding: 14px 16px;
	border: 1px solid #e3e8ee;
	border-radius: 6px;
	background: #fff;
}

.memur-comment-card .comment-avatar img {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	object-fit: cover;
}

.memur-comment-card .comment-content {
	flex: 1 1 auto;
	min-width: 0;
}

.memur-comment-card .comment-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 6px;
}

.memur-comment-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.memur-comment-head .comment-author {
	font-weight: 700;
	font-size: 14px;
	color: #1c2430;
}

.memur-comment-badge {
	display: inline-block;
	padding: 1px 7px;
	border-radius: 3px;
	background: var(--memur-accent-strong, #1f5fa6);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
}

.memur-comment-head .comment-date {
	font-size: 12px;
	color: #64707d;
	text-decoration: none;
}

.memur-comment-card .comment-reply-link {
	font-size: 12px;
	font-weight: 700;
	color: var(--memur-accent-strong, #1f5fa6);
	text-decoration: none;
}

.memur-comment-card .comment-text p {
	margin: 0 0 8px;
	font-size: 14.5px;
	line-height: 1.6;
	color: #2c3540;
}

.memur-comment-card .comment-text p:last-child {
	margin-bottom: 0;
}

.memur-comment-card .awaiting-moderation {
	padding: 8px 12px;
	border-left: 3px solid #d97706;
	border-radius: 4px;
	background: #fffbeb;
	color: #92400e !important;
	font-size: 13px !important;
}

.single-post .comment-form .comment-notes,
.single-post .comment-form .logged-in-as {
	margin: 0 0 14px;
	font-size: 13.5px;
	line-height: 1.55;
	color: #4f5b67;
}

.single-post .comment-form label {
	display: block;
	margin-bottom: 5px;
	font-size: 13.5px;
	font-weight: 700;
	color: #29323d;
}

.single-post .comment-form .required {
	color: #c53030;
}

.single-post .comment-form input[type="text"],
.single-post .comment-form input[type="email"],
.single-post .comment-form textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 10px 12px;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	background: #fff;
	color: #1c2430;
	font-family: inherit;
	font-size: 16px;
	line-height: 1.5;
	transition: border-color 0.15s;
}

.single-post .comment-form textarea {
	min-height: 110px;
	resize: vertical;
}

.single-post .comment-form input[type="text"]:focus,
.single-post .comment-form input[type="email"]:focus,
.single-post .comment-form textarea:focus {
	outline: none;
	border-color: var(--memur-accent-strong, #1f5fa6);
	box-shadow: 0 0 0 3px rgba(31, 95, 166, 0.14);
}

.single-post .comment-form .comment-form-author,
.single-post .comment-form .comment-form-email,
.single-post .comment-form .comment-form-comment {
	margin: 0 0 14px;
}

@media (min-width: 640px) {
	.single-post .comment-form {
		display: flex;
		flex-wrap: wrap;
		column-gap: 14px;
	}
	.single-post .comment-form > * {
		flex: 1 1 100%;
	}
	.single-post .comment-form > .comment-form-author,
	.single-post .comment-form > .comment-form-email {
		flex: 1 1 calc(50% - 7px);
	}
}

.single-post .comment-form .comment-form-cookies-consent {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 0 0 16px;
}

.single-post .comment-form .comment-form-cookies-consent input {
	margin-top: 3px;
}

.single-post .comment-form .comment-form-cookies-consent label {
	margin: 0;
	font-size: 13px;
	font-weight: 400;
	color: #4f5b67;
}

.single-post .comment-form .submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 0 22px;
	border: 0;
	border-radius: 6px;
	background: var(--memur-accent-strong, #1f5fa6);
	color: #fff;
	font-family: "Encode Sans Condensed", sans-serif;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.02em;
	cursor: pointer;
	transition: opacity 0.15s;
}

.single-post .comment-form .submit:hover {
	opacity: 0.9;
}

@media (max-width: 600px) {
	.single-post .comments-area {
		padding: 16px;
	}
	.memur-comment-item .children {
		margin-left: 8px;
		padding-left: 10px;
	}
}

body.newsx-dark-mode.single-post .comments-area {
	border-color: var(--memur-d-border, #2b3440);
	background: var(--memur-d-surface, #19202a);
}

body.newsx-dark-mode .memur-comments-heading,
body.newsx-dark-mode.single-post .comment-reply-title,
body.newsx-dark-mode .memur-comment-head .comment-author,
body.newsx-dark-mode.single-post .comment-form label {
	color: var(--memur-d-head, #edf1f6);
}

body.newsx-dark-mode .memur-comment-card {
	border-color: var(--memur-d-border, #2b3440);
	background: var(--memur-d-bg-2, #141a22);
}

body.newsx-dark-mode .memur-comment-item .children {
	border-left-color: var(--memur-d-border, #2b3440);
}

body.newsx-dark-mode .memur-comment-card .comment-text p,
body.newsx-dark-mode.single-post .comment-form .comment-notes,
body.newsx-dark-mode.single-post .comment-form .logged-in-as,
body.newsx-dark-mode.single-post .comment-form .comment-form-cookies-consent label {
	color: var(--memur-d-text, #c2cbd5);
}

body.newsx-dark-mode .memur-comment-head .comment-date {
	color: var(--memur-d-meta, #8893a1);
}

body.newsx-dark-mode .memur-comment-card .comment-reply-link {
	color: #6aaef0;
}

body.newsx-dark-mode .memur-comment-card .awaiting-moderation {
	background: rgba(217, 119, 6, 0.15);
	color: #fcd34d !important;
}

body.newsx-dark-mode.single-post .comment-form input[type="text"],
body.newsx-dark-mode.single-post .comment-form input[type="email"],
body.newsx-dark-mode.single-post .comment-form textarea {
	border-color: var(--memur-d-border-2, #333e4c);
	background: var(--memur-d-bg-2, #141a22);
	color: var(--memur-d-head, #edf1f6);
}
