/* =========================================================
   DMAY — Layout CSS
   Page containers, section spacing, grid systems
   ========================================================= */

/* =========================================================
   FAZ J — Header altı banner sıfır boşluk (0.3)
   ========================================================= */

.dmay-site-main > *:first-child,
.dmay-site-main .wp-block-dmay-hero:first-child,
.dmay-main > .wp-block-dmay-hero:first-child {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.dmay-site-header + .dmay-site-main {
  margin-top: 0;
  padding-top: 0;
}

/* =========================================================
   SECTION WRAPPERS
   ========================================================= */

.dmay-section {
	padding-block: clamp(4rem, 8vw, 7rem);
}

.dmay-section--sm {
	padding-block: clamp(2rem, 4vw, 3.5rem);
}

.dmay-section--lg {
	padding-block: clamp(6rem, 12vw, 10rem);
}

.dmay-section--flush-top {
	padding-top: 0;
}

.dmay-section--flush-bottom {
	padding-bottom: 0;
}

.dmay-section--surface {
	background: var(--dmay-surface);
}

.dmay-section--surface-2 {
	background: var(--dmay-surface-2);
}

/* =========================================================
   SECTION HEADER (eyebrow + title pattern)
   ========================================================= */

.dmay-section-header {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.dmay-section-header--centered {
	align-items: center;
	text-align: center;
}

.dmay-section-header__eyebrow {
	display: inline-block;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--dmay-accent);
}

.dmay-section-header__title {
	font-family: var(--dmay-font-display);
	font-size: clamp(2rem, 4.5vw, 3.25rem);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.02em;
}

.dmay-section-header__desc {
	font-size: 1.0625rem;
	color: var(--dmay-muted);
	max-width: 60ch;
	line-height: 1.7;
}

/* =========================================================
   GRIDS
   ========================================================= */

/* 2 columns */
.dmay-grid-2 {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: clamp(1.5rem, 3vw, 2.5rem);
}

/* 3 columns */
.dmay-grid-3 {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(1.25rem, 2.5vw, 2rem);
}

/* 4 columns */
.dmay-grid-4 {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: clamp(1rem, 2vw, 1.5rem);
}

/* Auto-fit responsive grid */
.dmay-grid-auto {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
	gap: clamp(1.25rem, 2.5vw, 2rem);
}

/* =========================================================
   SPLIT LAYOUT (left content + right visual)
   ========================================================= */

.dmay-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(2rem, 5vw, 5rem);
	align-items: center;
}

.dmay-split--60-40 {
	grid-template-columns: 3fr 2fr;
}

.dmay-split--40-60 {
	grid-template-columns: 2fr 3fr;
}

.dmay-split--reverse {
	direction: rtl;
}

.dmay-split--reverse > * {
	direction: ltr;
}

/* =========================================================
   BLOG GRID
   ========================================================= */

.dmay-blog-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
	gap: 2rem;
}

/* =========================================================
   PORTFOLIO CASE GRID
   ========================================================= */

.dmay-case-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr));
	gap: 1.5rem;
}

/* =========================================================
   CASE CARD — Faz J sarı border
   ========================================================= */

.dmay-case-card {
	background: var(--dmay-surface);
	border: 1px solid var(--dmay-accent);
	border-radius: 16px;
	overflow: hidden;
	transition: border-color var(--dmay-transition), transform var(--dmay-transition), box-shadow var(--dmay-transition);
}

.dmay-case-card:hover {
	border-color: var(--dmay-accent);
	transform: translateY(-4px);
	box-shadow: 0 12px 32px rgba(228, 255, 3, 0.15);
}

.dmay-case-card[data-category].is-hidden {
	display: none;
}

.dmay-case-card__thumb {
	display: block;
	overflow: hidden;
	aspect-ratio: 4 / 3;
}

.dmay-case-card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 400ms ease;
}

.dmay-case-card:hover .dmay-case-card__thumb img {
	transform: scale(1.03);
}

.dmay-case-card__body {
	padding: 1.25rem;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.dmay-case-card__cat {
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--dmay-accent);
}

.dmay-case-card__title {
	font-family: var(--dmay-font-display);
	font-size: 1.125rem;
	font-weight: 600;
	line-height: 1.3;
}

.dmay-case-card__title a {
	color: var(--dmay-fg);
	text-decoration: none;
	transition: color var(--dmay-transition);
}

.dmay-case-card__title a:hover {
	color: var(--dmay-accent);
}

.dmay-case-card__excerpt {
	font-size: 0.875rem;
	color: var(--dmay-muted);
	line-height: 1.6;
	max-width: none;
}

/* =========================================================
   POST CARD
   ========================================================= */

.dmay-post-card {
	background: var(--dmay-surface);
	border: 1px solid var(--dmay-border);
	border-radius: var(--dmay-radius-lg);
	overflow: hidden;
	transition: border-color var(--dmay-transition);
}

.dmay-post-card:hover {
	border-color: var(--dmay-muted);
}

.dmay-post-card__thumb {
	display: block;
	overflow: hidden;
	aspect-ratio: 16 / 9;
}

.dmay-post-card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 400ms ease;
}

.dmay-post-card:hover .dmay-post-card__thumb img {
	transform: scale(1.03);
}

.dmay-post-card__body {
	padding: 1.5rem;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.dmay-post-card__meta {
	display: flex;
	align-items: center;
	gap: 1rem;
	font-size: 0.8125rem;
	color: var(--dmay-muted);
}

.dmay-post-card__read::before {
	content: '·';
	margin-right: 0.5rem;
}

.dmay-post-card__title {
	font-family: var(--dmay-font-display);
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1.35;
}

.dmay-post-card__title a {
	color: var(--dmay-fg);
	text-decoration: none;
	transition: color var(--dmay-transition);
}

.dmay-post-card__title a:hover {
	color: var(--dmay-accent);
}

.dmay-post-card__excerpt {
	font-size: 0.9375rem;
	color: var(--dmay-muted);
	line-height: 1.65;
	max-width: none;
}

/* =========================================================
   FILTER TABS
   ========================================================= */

.dmay-filter-tabs {
	border-bottom: 1px solid var(--dmay-border);
	padding-bottom: 0;
}

.dmay-filter-tabs__inner {
	display: flex;
	align-items: center;
	gap: 0.25rem;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	padding-bottom: 1.25rem;
}

.dmay-filter-tabs__inner::-webkit-scrollbar {
	display: none;
}

.dmay-filter-tab {
	display: inline-flex;
	align-items: center;
	padding: 0.5rem 1.125rem;
	border-radius: var(--dmay-radius-pill);
	border: 1px solid var(--dmay-border);
	background: transparent;
	font-family: var(--dmay-font-body);
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--dmay-muted);
	cursor: pointer;
	white-space: nowrap;
	transition: color var(--dmay-transition), border-color var(--dmay-transition), background var(--dmay-transition);
}

.dmay-filter-tab:hover {
	color: var(--dmay-fg);
	border-color: var(--dmay-muted);
}

.dmay-filter-tab.is-active {
	color: var(--dmay-accent);
	border-color: var(--dmay-accent-soft);
	background: var(--dmay-accent-soft);
}

/* =========================================================
   PORTFOLIO HERO
   ========================================================= */

.dmay-portfolio-hero {
	padding-block: clamp(4rem, 8vw, 7rem) clamp(3rem, 5vw, 5rem);
}

.dmay-portfolio-hero__inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(2rem, 5vw, 5rem);
	align-items: center;
}

.dmay-portfolio-hero__content {
	max-width: none;
}

.dmay-portfolio-hero__visual {
	display: flex;
	align-items: center;
	justify-content: center;
}

.dmay-portfolio-hero__visual img {
	width: 100%;
	max-width: 560px;
	height: auto;
	object-fit: contain;
}

@media (max-width: 768px) {
	.dmay-portfolio-hero__inner {
		grid-template-columns: 1fr;
	}
	.dmay-portfolio-hero__visual {
		order: -1;
	}
}

.dmay-portfolio-hero__title {
	font-size: clamp(2.5rem, 6vw, 4.5rem);
	font-weight: 800;
	line-height: 1.1;
	margin-block: 1rem 1.25rem;
}

.dmay-portfolio-hero__accent {
	color: var(--dmay-accent);
}

.dmay-portfolio-hero__desc {
	font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
	color: var(--dmay-muted);
	line-height: 1.65;
	margin-bottom: 1.5rem;
}

.dmay-portfolio-hero__cta {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	font-weight: 700;
	font-size: 0.8125rem;
	letter-spacing: 0.08em;
	color: var(--dmay-fg);
	text-decoration: none;
	border-bottom: 1px solid var(--dmay-border);
	padding-bottom: 0.25rem;
	transition: color 0.2s, border-color 0.2s;
	margin-bottom: 2.5rem;
}

.dmay-portfolio-hero__cta:hover {
	color: var(--dmay-accent);
	border-color: var(--dmay-accent);
}

.dmay-portfolio-hero__quote {
	border-left: 3px solid var(--dmay-accent);
	padding-left: 1.25rem;
	margin: 0;
}

.dmay-portfolio-hero__quote p {
	font-size: 0.9375rem;
	color: var(--dmay-muted);
	font-style: italic;
	line-height: 1.6;
	margin: 0;
}

.dmay-portfolio-empty {
	color: var(--dmay-muted);
	text-align: center;
	padding-block: 4rem;
}

/* Case card placeholder (no thumbnail) */
.dmay-case-card__thumb-link {
	display: block;
}

.dmay-case-card__thumb-placeholder {
	width: 100%;
	aspect-ratio: 4 / 3;
	background: var(--dmay-surface);
	border-bottom: 1px solid var(--dmay-border);
	display: flex;
	align-items: flex-end;
	padding: 1rem;
}

.dmay-case-card__thumb-label {
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--dmay-accent);
}

.dmay-case-card__link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	font-size: 0.8125rem;
	font-weight: 700;
	color: var(--dmay-accent);
	text-decoration: none;
	margin-top: 0.25rem;
	transition: gap 0.2s;
}

.dmay-case-card__link-arrow:hover {
	gap: 0.5rem;
}

/* =========================================================
   SINGLE CASE
   ========================================================= */

.dmay-case-header {
	padding-block: clamp(3rem, 6vw, 5rem);
	background: var(--dmay-surface);
	border-bottom: 1px solid var(--dmay-border);
}

.dmay-case-header__breadcrumb {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 1.25rem;
	font-size: 0.8125rem;
}

.dmay-case-header__breadcrumb a {
	color: var(--dmay-muted);
	text-decoration: none;
	transition: color 0.2s;
}

.dmay-case-header__breadcrumb a:hover {
	color: var(--dmay-accent);
}

.dmay-case-header__breadcrumb-sep {
	color: var(--dmay-border);
}

.dmay-case-header__title {
	font-size: clamp(2rem, 5vw, 3.5rem);
	font-weight: 800;
	line-height: 1.1;
	margin-block: 0.75rem 1rem;
}

.dmay-case-header__excerpt {
	font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
	color: var(--dmay-muted);
	line-height: 1.7;
	max-width: 600px;
}

.dmay-case-hero-img {
	width: 100%;
	max-height: 600px;
	overflow: hidden;
}

.dmay-case-hero-img__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.dmay-container--narrow {
	max-width: 760px;
}

.dmay-case-body {
	font-size: 1.0625rem;
	line-height: 1.8;
	color: var(--dmay-muted);
}

.dmay-case-body p { margin-bottom: 1.5rem; }
.dmay-case-body h2, .dmay-case-body h3 { color: var(--dmay-fg); margin-top: 2.5rem; margin-bottom: 1rem; }
.dmay-case-body img { max-width: 100%; height: auto; border-radius: 0.5rem; margin-block: 1.5rem; }

.dmay-case-nav {
	border-top: 1px solid var(--dmay-border);
	padding-block: 2.5rem;
}

.dmay-case-nav__inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 1rem;
}

.dmay-case-nav__item {
	display: flex;
	flex-direction: column;
	gap: 0.375rem;
	text-decoration: none;
}

.dmay-case-nav__item--next {
	text-align: right;
}

.dmay-case-nav__label {
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	color: var(--dmay-muted);
}

.dmay-case-nav__title {
	font-weight: 700;
	font-size: 0.9375rem;
	color: var(--dmay-fg);
	transition: color 0.2s;
}

.dmay-case-nav__item:hover .dmay-case-nav__title {
	color: var(--dmay-accent);
}

.dmay-case-nav__all {
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--dmay-muted);
	text-decoration: none;
	text-align: center;
	border: 1px solid var(--dmay-border);
	padding: 0.5rem 1.25rem;
	border-radius: var(--dmay-radius-pill);
	white-space: nowrap;
	transition: color 0.2s, border-color 0.2s;
}

.dmay-case-nav__all:hover {
	color: var(--dmay-fg);
	border-color: var(--dmay-muted);
}

@media (max-width: 600px) {
	.dmay-case-nav__inner {
		grid-template-columns: 1fr 1fr;
		grid-template-rows: auto auto;
	}

	.dmay-case-nav__all {
		grid-column: 1 / -1;
		order: -1;
	}

	.dmay-case-nav__item--next {
		text-align: right;
	}
}

/* =========================================================
   SINGLE POST
   ========================================================= */

.dmay-single-post {
	max-width: 720px;
	margin-inline: auto;
}

.dmay-single-post__header {
	margin-bottom: 2.5rem;
	padding-bottom: 2rem;
	border-bottom: 1px solid var(--dmay-border);
}

.dmay-single-post__title {
	font-size: clamp(2rem, 5vw, 3rem);
	margin-bottom: 1rem;
}

.dmay-single-post__meta {
	font-size: 0.875rem;
	color: var(--dmay-muted);
}

.dmay-single-post__content {
	font-size: 1.0625rem;
	line-height: 1.8;
}

.dmay-single-post__content p {
	max-width: 65ch;
	margin-bottom: 1.5rem;
}

.dmay-single-post__content h2,
.dmay-single-post__content h3 {
	margin-top: 2.5rem;
	margin-bottom: 1rem;
}

/* =========================================================
   WP PAGINATION
   ========================================================= */

.nav-links {
	display: flex;
	gap: 0.5rem;
	align-items: center;
	margin-top: 3rem;
}

.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.5rem;
	height: 2.5rem;
	padding-inline: 0.75rem;
	border-radius: var(--dmay-radius);
	border: 1px solid var(--dmay-border);
	font-size: 0.875rem;
	color: var(--dmay-muted);
	text-decoration: none;
	transition: color var(--dmay-transition), border-color var(--dmay-transition), background var(--dmay-transition);
}

.page-numbers:hover {
	color: var(--dmay-fg);
	border-color: var(--dmay-muted);
}

.page-numbers.current {
	background: var(--dmay-accent);
	border-color: var(--dmay-accent);
	color: var(--dmay-bg);
}

/* =========================================================
   RESPONSIVE BREAKDOWNS
   ========================================================= */

@media (max-width: 1024px) {
	.dmay-grid-4 {
		grid-template-columns: repeat(2, 1fr);
	}

	.dmay-split {
		grid-template-columns: 1fr;
	}

	.dmay-split--60-40,
	.dmay-split--40-60 {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 768px) {
	.dmay-grid-2,
	.dmay-grid-3 {
		grid-template-columns: 1fr;
	}

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

@media (max-width: 480px) {
	.dmay-grid-4 {
		grid-template-columns: 1fr;
	}
}

/* =========================================================
   BLOG — 2-column layout with sidebar
   ========================================================= */

.dmay-blog-layout {
	display: grid;
	grid-template-columns: 1fr 280px;
	gap: 3rem;
	align-items: flex-start;
}

@media (max-width: 1024px) {
	.dmay-blog-layout {
		grid-template-columns: 1fr;
	}

	.dmay-blog-layout__sidebar {
		display: none;
	}
}

.dmay-blog-pagination {
	margin-top: 3rem;
}

.dmay-blog-empty {
	color: var(--dmay-muted);
	font-size: 0.9rem;
}

.dmay-sidebar {
	display: flex;
	flex-direction: column;
	gap: 2rem;
	position: sticky;
	top: 5rem;
}

.dmay-sidebar__widget {
	background: var(--dmay-surface);
	border: 1px solid var(--dmay-border);
	border-radius: 0.75rem;
	padding: 1.25rem;
}

.dmay-sidebar__widget-title {
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--dmay-muted);
	margin: 0 0 1rem;
}

.dmay-sidebar__post-list,
.dmay-sidebar__cat-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0;
}

.dmay-sidebar__post-item {
	border-top: 1px solid var(--dmay-border);
}

.dmay-sidebar__post-item:first-child {
	border-top: none;
}

.dmay-sidebar__post-link {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	padding: 0.75rem 0;
	text-decoration: none;
	transition: opacity 0.2s;
}

.dmay-sidebar__post-link:hover {
	opacity: 0.75;
}

.dmay-sidebar__post-title {
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--dmay-fg);
	line-height: 1.4;
}

.dmay-sidebar__post-meta {
	font-size: 0.6875rem;
	color: var(--dmay-muted);
}

.dmay-sidebar__cat-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.625rem 0;
	font-size: 0.8125rem;
	color: var(--dmay-fg);
	text-decoration: none;
	border-top: 1px solid var(--dmay-border);
	transition: color 0.2s;
}

.dmay-sidebar__cat-list li:first-child .dmay-sidebar__cat-link {
	border-top: none;
}

.dmay-sidebar__cat-link:hover {
	color: var(--dmay-accent);
}

.dmay-sidebar__cat-count {
	font-size: 0.6875rem;
	color: var(--dmay-muted);
	background: var(--dmay-bg);
	padding: 0.15rem 0.45rem;
	border-radius: 0.25rem;
}

.dmay-sidebar__cta {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	background: radial-gradient(ellipse at top left, rgba(228,255,3,0.06) 0%, #141414 70%);
}

.dmay-sidebar__cta-text {
	font-size: 0.875rem;
	color: var(--dmay-fg);
	margin: 0;
	line-height: 1.5;
}

.dmay-sidebar__cta-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: var(--dmay-accent);
	color: #0a0a0a;
	font-family: var(--dmay-font-display);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	padding: 0.625rem 1.25rem;
	border-radius: 0.375rem;
	text-decoration: none;
	transition: opacity 0.2s;
}

.dmay-sidebar__cta-btn:hover {
	opacity: 0.85;
}

/* =========================================================
   SSS PAGE — 2-column layout
   ========================================================= */

.dmay-sss-grid {
	padding-block: clamp(3rem, 6vw, 5rem);
}

.dmay-sss-grid__inner {
	display: grid;
	grid-template-columns: 1fr 360px;
	gap: 3rem;
	align-items: flex-start;
}

@media (max-width: 1024px) {
	.dmay-sss-grid__inner {
		grid-template-columns: 1fr;
	}

	.dmay-sss-grid__col--card .wp-block-dmay-faq-process-card {
		position: static;
	}
}

/* =========================================================
   ILETISIM PAGE — section spacing
   ========================================================= */

.wp-block-dmay-offices-grid,
.wp-block-dmay-contact-form,
.wp-block-dmay-process-flow {
	margin-left: auto;
	margin-right: auto;
}

.wp-block-dmay-process-flow {
	max-width: 640px;
}

/* =========================================================
   404 PAGE
   ========================================================= */

.dmay-404 {
	min-height: 80vh;
	display: flex;
	align-items: center;
	padding-block: clamp(4rem, 8vw, 8rem);
}

.dmay-404__inner {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1.5rem;
	max-width: 640px;
}

.dmay-404__num {
	font-family: var(--dmay-font-display);
	font-size: clamp(6rem, 18vw, 14rem);
	font-weight: 800;
	line-height: 1;
	color: transparent;
	-webkit-text-stroke: 1px var(--dmay-border);
	user-select: none;
	margin-bottom: -1rem;
}

.dmay-404__title {
	font-family: var(--dmay-font-display);
	font-size: clamp(1.5rem, 3vw, 2.25rem);
	font-weight: 700;
	color: var(--dmay-fg);
	line-height: 1.25;
}

.dmay-404__desc {
	font-size: 1rem;
	color: var(--dmay-muted);
	line-height: 1.7;
	max-width: 480px;
}

.dmay-404__actions {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
	margin-top: 0.5rem;
}

/* =========================================================
   SEARCH
   ========================================================= */

.dmay-search-header {
	margin-bottom: 3rem;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.dmay-search-header__title {
	font-family: var(--dmay-font-display);
	font-size: clamp(1.5rem, 3vw, 2.5rem);
	font-weight: 700;
	color: var(--dmay-fg);
}

.dmay-search-header__count {
	font-size: 0.875rem;
	color: var(--dmay-muted);
}

.dmay-search-results {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.dmay-search-result {
	display: flex;
	flex-direction: column;
	gap: 0.625rem;
	padding: 1.75rem 0;
	border-bottom: 1px solid var(--dmay-border);
}

.dmay-search-result:first-child {
	border-top: 1px solid var(--dmay-border);
}

.dmay-search-result__meta {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.dmay-search-result__type {
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--dmay-accent);
}

.dmay-search-result__date {
	font-size: 0.75rem;
	color: var(--dmay-muted);
}

.dmay-search-result__title {
	font-family: var(--dmay-font-display);
	font-size: clamp(1rem, 1.5vw, 1.25rem);
	font-weight: 700;
}

.dmay-search-result__title a {
	color: var(--dmay-fg);
	transition: color 0.2s;
}

.dmay-search-result__title a:hover {
	color: var(--dmay-accent);
}

.dmay-search-result__excerpt {
	font-size: 0.9rem;
	color: var(--dmay-muted);
	line-height: 1.65;
}

.dmay-search-result__link {
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--dmay-accent);
	transition: opacity 0.2s;
}

.dmay-search-result__link:hover {
	opacity: 0.75;
}

.dmay-search-pagination {
	margin-top: 3rem;
}

.dmay-search-empty {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	max-width: 500px;
}

.dmay-search-empty__text {
	font-size: 1rem;
	color: var(--dmay-muted);
}

.dmay-search-form {
	display: flex;
	gap: 0;
	border: 1px solid var(--dmay-border);
	border-radius: 0.5rem;
	overflow: hidden;
	transition: border-color 0.2s;
}

.dmay-search-form:focus-within {
	border-color: var(--dmay-accent);
}

.dmay-search-form__input {
	flex: 1;
	background: var(--dmay-surface);
	border: none;
	color: var(--dmay-fg);
	font-family: var(--dmay-font-body);
	font-size: 0.9rem;
	padding: 0.75rem 1rem;
	outline: none;
}

.dmay-search-form__input::placeholder {
	color: var(--dmay-muted);
}

.dmay-search-form__btn {
	background: var(--dmay-surface);
	border: none;
	border-left: 1px solid var(--dmay-border);
	color: var(--dmay-muted);
	padding: 0 1rem;
	cursor: pointer;
	display: flex;
	align-items: center;
	transition: color 0.2s, background 0.2s;
}

.dmay-search-form__btn:hover {
	color: var(--dmay-accent);
	background: var(--dmay-surface-2);
}

.dmay-search-empty__links {
	display: flex;
	gap: 0.75rem;
	flex-wrap: wrap;
}

/* =========================================================
   FAZ J — Blog büyük sidebar (Adım 6.1)
   ========================================================= */

.dmay-blog-sidebar {
	background: var(--dmay-surface);
	border: 1px solid var(--dmay-border);
	border-radius: 16px;
	padding: 32px 24px;
	display: flex;
	flex-direction: column;
	gap: 0;
	position: sticky;
	top: 5rem;
}

.dmay-sidebar-section {
	padding-bottom: 24px;
	margin-bottom: 24px;
	border-bottom: 1px solid var(--dmay-border);
}

.dmay-sidebar-section:last-child {
	border-bottom: none;
	margin-bottom: 0;
}

.dmay-sidebar-heading {
	color: var(--dmay-accent);
	font-family: var(--dmay-font-display);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	margin-bottom: 16px;
	margin-top: 0;
	display: flex;
	align-items: center;
	gap: 8px;
}

.dmay-sidebar-heading::before {
	content: '';
	width: 8px;
	height: 8px;
	background: var(--dmay-accent);
	border-radius: 50%;
	flex-shrink: 0;
}

.dmay-sidebar-category-pills {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}

.dmay-sidebar-pill {
	padding: 8px 16px;
	border: 1px solid var(--dmay-accent);
	border-radius: 999px;
	background: transparent;
	color: #fff;
	font-size: 13px;
	text-align: center;
	text-decoration: none;
	transition: all 0.2s;
}

.dmay-sidebar-pill:hover,
.dmay-sidebar-pill.is-active {
	background: var(--dmay-accent);
	color: #0a0a0a;
}

.dmay-sidebar-quote {
	border: 1px solid var(--dmay-border);
	border-radius: 12px;
	padding: 16px;
	position: relative;
}

.dmay-sidebar-quote::before {
	content: '"';
	color: var(--dmay-accent);
	font-size: 32px;
	font-family: var(--dmay-font-display);
	line-height: 1;
	display: block;
	margin-bottom: 4px;
}

/* =========================================================
   FAZ J — İletişim ofisler grid (Adım 7.1)
   ========================================================= */

.dmay-offices-grid {
	text-align: center;
}

.dmay-offices-title {
	font-family: var(--dmay-font-display);
	font-size: clamp(1.5rem, 3vw, 2.25rem);
	letter-spacing: 0.15em;
	margin-bottom: 48px;
	color: var(--dmay-fg);
}

.dmay-offices-list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
}

.dmay-office-card {
	border: 1px solid var(--dmay-accent);
	border-radius: 16px;
	padding: 24px;
	background: var(--dmay-surface);
}

.dmay-office-illustration {
	height: 120px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 16px;
}

.dmay-office-illustration img {
	width: 100%;
	height: 120px;
	object-fit: contain;
}

.dmay-office-card h3 {
	font-family: var(--dmay-font-display);
	font-size: 1.125rem;
	font-weight: 700;
	color: #fff;
	margin-top: 0;
	margin-bottom: 8px;
}

.dmay-office-card p {
	color: var(--dmay-muted);
	font-size: 14px;
	margin: 0;
}

@media (max-width: 768px) {
	.dmay-offices-list {
		grid-template-columns: 1fr;
		max-width: 360px;
		margin-inline: auto;
	}
}

/* =========================================================
   FAZ J — İletişim form büyük kutu (Adım 7.2)
   ========================================================= */

.wp-block-dmay-contact-form {
	background: var(--dmay-surface);
	border: 1px solid var(--dmay-border);
	border-radius: 16px;
}

/* =========================================================
   FAZ J — SSS FAQ heading (Adım 8.1)
   ========================================================= */

.dmay-faq-heading {
	text-align: center;
}

.dmay-faq-label {
	color: var(--dmay-accent);
	font-family: var(--dmay-font-display);
	font-size: 18px;
	font-weight: 700;
	letter-spacing: 0.1em;
	margin-bottom: 8px;
}

.dmay-faq-title {
	color: #fff;
	font-family: var(--dmay-font-display);
	font-size: clamp(1.75rem, 3vw, 2.5rem);
	font-weight: 800;
	letter-spacing: 0.1em;
	margin: 0;
}

/* =========================================================
   FAZ J — FAQ accordion nokta bar (Adım 8.2)
   ========================================================= */

.wp-block-dmay-faq-accordion__list {
	position: relative;
	padding-left: 60px;
	list-style: none;
}

.wp-block-dmay-faq-accordion__list::before {
	content: '';
	position: absolute;
	left: 30px;
	top: 0;
	bottom: 0;
	width: 1px;
	background: var(--dmay-border);
}

.wp-block-dmay-faq-accordion__item {
	position: relative;
	margin-bottom: 0;
}

.wp-block-dmay-faq-accordion__item::before {
	content: '';
	position: absolute;
	left: -37px;
	top: 22px;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--dmay-accent);
	box-shadow: 0 0 10px var(--dmay-accent);
}

.wp-block-dmay-faq-accordion__trigger {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 1rem;
}

.wp-block-dmay-faq-accordion__num {
	position: absolute;
	left: -60px;
	top: 18px;
	color: #fff;
	font-family: var(--dmay-font-display);
	font-weight: 600;
	font-size: 14px;
	width: 24px;
	text-align: center;
}

/* =========================================================
   FAZ K — Blog Hero Banner
   ========================================================= */

.dmay-blog-hero {
	padding-block: clamp(4rem, 8vw, 7rem);
}

.dmay-blog-hero__inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(2rem, 5vw, 5rem);
	align-items: center;
	min-height: clamp(360px, 55vh, 600px);
}

.dmay-blog-hero__content {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.dmay-blog-hero__title {
	font-family: var(--dmay-font-display);
	font-size: clamp(2.5rem, 6vw, 4.5rem);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.03em;
	margin: 0;
}

.dmay-blog-hero__desc {
	font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
	color: var(--dmay-muted);
	line-height: 1.65;
	margin: 0;
}

.dmay-blog-hero__visual {
	display: flex;
	align-items: center;
	justify-content: center;
	align-self: stretch;
}

.dmay-blog-hero__visual img {
	width: 100%;
	height: 100%;
	min-height: 320px;
	object-fit: contain;
	object-position: center;
}

@media (max-width: 768px) {
	.dmay-blog-hero__inner {
		grid-template-columns: 1fr;
		min-height: auto;
	}
	.dmay-blog-hero__visual {
		order: -1;
		min-height: 240px;
	}
}

/* =========================================================
   POST NAVIGATION (single.php)
   ========================================================= */

.dmay-post-nav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem;
	margin-top: 3rem;
}

.dmay-post-nav__link {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.5rem;
	padding: 1.25rem 1.5rem;
	text-decoration: none;
	min-height: 88px;
}

.dmay-post-nav__link--next {
	align-items: flex-end;
	text-align: right;
}

.dmay-post-nav__label {
	font-size: 0.875rem;
	opacity: 0.7;
	font-weight: 500;
}

.dmay-post-nav__title {
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.3;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.dmay-post-nav__placeholder {
	/* boş slot, layout'u korur */
}

@media (max-width: 600px) {
	.dmay-post-nav {
		grid-template-columns: 1fr;
	}
	.dmay-post-nav__link--next {
		align-items: flex-start;
		text-align: left;
	}
}
