/*
Theme Name: Mustafa Yıldız Hukuk
Theme URI: https://avyildiz.test/
Author: Mustafa Yıldız Hukuk Bürosu
Description: Ceza hukuku ve savunma alanları için SEO odaklı, hızlı ve erişilebilir özel WordPress teması.
Version: 1.4.4
Requires at least: 6.6
Tested up to: 7.0
Requires PHP: 8.1
Text Domain: mustafa-yildiz-hukuk
Tags: custom-logo, custom-menu, featured-images, blog, accessibility-ready
*/

:root {
	--navy-950: #071523;
	--navy-900: #0b1d33;
	--navy-800: #102943;
	--navy-700: #173854;
	--gold: #c8a460;
	--gold-light: #e1c789;
	--cream: #f5f1e8;
	--warm-white: #fcfaf5;
	--white: #fff;
	--ink: #16202b;
	--muted: #69727c;
	--border: #dedbd3;
	--shadow: 0 18px 55px rgba(7, 21, 35, 0.12);
	--display: "Plus Jakarta Sans", arial, sans-serif;
	--sans: "Inter", arial, sans-serif;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 92px;
}

body {
	margin: 0;
	color: var(--ink);
	background: var(--warm-white);
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

body.menu-open {
	overflow: hidden;
}

::selection {
	color: var(--white);
	background: var(--gold);
}

a {
	color: inherit;
	text-decoration: none;
}

img {
	display: block;
	max-width: 100%;
}

button,
input,
select,
textarea {
	font: inherit;
}

:where(a, button, input, select, textarea):focus-visible {
	outline: 3px solid var(--gold);
	outline-offset: 3px;
}

.wrap {
	width: min(1180px, calc(100% - 48px));
	margin-inline: auto;
}

.topbar {
	min-height: 42px;
	color: rgba(255, 255, 255, 0.74);
	background: var(--navy-950);
	font-size: 13px;
	letter-spacing: 0.03em;
}

.topbar-inner {
	min-height: 42px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
}

.topbar-group {
	display: flex;
	align-items: center;
	gap: 24px;
}

.topbar-item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.topbar-item i {
	width: 14px;
	color: var(--gold-light);
}

.topbar a:hover {
	color: var(--white);
}

.site-header {
	position: sticky;
	z-index: 100;
	top: 0;
	height: 84px;
	display: flex;
	align-items: center;
	color: var(--navy-900);
	background: rgba(252, 250, 245, 0.98);
	border-bottom: 1px solid rgba(11, 29, 51, 0.08);
	transition:
		height 0.25s ease,
		box-shadow 0.25s ease;
}

.site-header.scrolled {
	height: 72px;
	box-shadow: 0 8px 35px rgba(7, 21, 35, 0.1);
}

.header-inner {
	display: flex;
	align-items: center;
	gap: 34px;
}

.logo {
	display: inline-flex;
	align-items: center;
	gap: 13px;
	flex-shrink: 0;
}

.logo-emblem {
	position: relative;
	width: 47px;
	height: 47px;
	display: grid;
	place-items: center;
	color: var(--gold-light);
	background: var(--navy-900);
	border: 1px solid var(--navy-700);
	border-radius: 50%;
	font-family: var(--display);
	font-size: 18px;
	font-weight: 700;
	letter-spacing: -0.05em;
}

.logo-emblem::after {
	content: "";
	position: absolute;
	inset: 4px;
	border: 1px solid rgba(225, 199, 137, 0.42);
	border-radius: inherit;
}

.logo-text {
	display: grid;
	gap: 3px;
}

.logo-text strong {
	font-family: var(--display);
	font-size: 19px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.035em;
}

.logo-text small {
	color: #79818a;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.main-nav {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: 29px;
}

.main-nav a {
	position: relative;
	padding: 31px 0;
	font-size: 14px;
	font-weight: 600;
}

.main-nav a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 22px;
	height: 1px;
	background: var(--gold);
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 0.25s ease;
}

.main-nav a:hover::after {
	transform: scaleX(1);
	transform-origin: left;
}

.header-cta,
.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	border: 0;
	cursor: pointer;
	transition:
		color 0.25s ease,
		background 0.25s ease,
		border-color 0.25s ease,
		transform 0.25s ease;
}

.header-cta {
	min-height: 46px;
	padding: 0 22px;
	color: var(--white);
	background: var(--navy-900);
	border-radius: 7px;
	font-size: 13px;
	font-weight: 700;
}

.header-cta:hover {
	color: var(--navy-900);
	background: var(--gold-light);
}

.header-cta i,
.button i {
	width: 15px;
}

.menu-button {
	width: 44px;
	height: 44px;
	margin-left: auto;
	display: none;
	place-items: center;
	color: var(--navy-900);
	background: transparent;
	border: 1px solid rgba(11, 29, 51, 0.2);
	cursor: pointer;
}

.menu-button i {
	width: 21px;
}

.mobile-nav {
	position: fixed;
	z-index: 95;
	inset: 0;
	padding: 125px 26px 40px;
	overflow-y: auto;
	color: var(--white);
	background: var(--navy-950);
	visibility: hidden;
	opacity: 0;
	transform: translateY(-12px);
	transition: 0.28s ease;
}

.menu-open .mobile-nav {
	visibility: visible;
	opacity: 1;
	transform: none;
}

.mobile-nav a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	font-family: var(--display);
	font-size: 30px;
	font-weight: 600;
	letter-spacing: -0.035em;
}

.mobile-nav a::after {
	content: "↗";
	color: var(--gold);
	font-family: var(--sans);
	font-size: 16px;
}

.mobile-nav-contact {
	margin-top: 32px;
	color: rgba(255, 255, 255, 0.66);
	font-size: 15px;
	line-height: 1.8;
}

.hero {
	position: relative;
	height: clamp(540px, calc(100vh - 200px), 780px);
	height: clamp(540px, calc(100svh - 200px), 780px);
	min-height: 540px;
	color: var(--white);
	background: var(--navy-900);
	overflow: hidden;
}

.hero-grid {
	position: relative;
	height: 100%;
	display: block;
}

.hero-content {
	position: relative;
	z-index: 2;
	width: 100%;
	height: 100%;
	padding:
		42px max(54px, calc((100vw - 1180px) / 2)) 42px
		max(24px, calc((100vw - 1180px) / 2));
	display: flex;
	flex-direction: column;
	justify-content: center;
	background:
		radial-gradient(circle at 78% 20%, rgba(200, 164, 96, 0.12), transparent 32%),
		linear-gradient(90deg, rgba(7, 21, 35, 0.97) 0%, rgba(7, 21, 35, 0.91) 42%, rgba(7, 21, 35, 0.52) 70%, rgba(7, 21, 35, 0.18) 100%);
}

.hero-content::before {
	display: none;
}

.hero-image {
	position: absolute;
	z-index: 0;
	inset: 0;
	width: 100%;
	height: 100%;
	min-height: 0;
	overflow: hidden;
}

.hero-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 48%;
}

.hero-image::before {
	content: "";
	position: absolute;
	z-index: 1;
	inset: 0;
	background: linear-gradient(0deg, rgba(7, 21, 35, 0.32), transparent 50%);
}

.hero-photo-note {
	position: absolute;
	z-index: 2;
	right: 18px;
	top: 18px;
	color: rgba(255, 255, 255, 0.7);
	font-size: 10px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.eyebrow {
	position: relative;
	z-index: 1;
	margin-bottom: 18px;
	display: flex;
	align-items: center;
	gap: 13px;
	color: var(--gold-light);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

.eyebrow::before {
	content: "";
	width: 35px;
	height: 1px;
	background: currentcolor;
}

.hero h1 {
	position: relative;
	z-index: 1;
	max-width: 680px;
	margin: 0 0 20px;
	color: var(--white);
	font-family: var(--display);
	font-size: clamp(52px, 4.8vw, 74px);
	font-weight: 600;
	line-height: 1.03;
	letter-spacing: -0.035em;
}

.hero h1 em {
	color: var(--gold-light);
	font-style: normal;
}

.hero-lead {
	position: relative;
	z-index: 1;
	max-width: 610px;
	margin: 0 0 26px;
	color: rgba(255, 255, 255, 0.7);
	font-size: 17px;
	line-height: 1.7;
}

.hero-actions {
	position: relative;
	z-index: 1;
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.button {
	min-height: 58px;
	padding: 0 27px;
	border-radius: 7px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.03em;
}

.button-gold {
	color: var(--navy-950);
	background: var(--gold-light);
}

.button-gold:hover {
	background: var(--white);
	transform: translateY(-2px);
}

.button-light {
	color: var(--white);
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.28);
}

.button-light:hover {
	border-color: var(--gold-light);
	color: var(--gold-light);
	transform: translateY(-2px);
}

.button-navy {
	color: var(--white);
	background: var(--navy-900);
}

.button-navy:hover {
	background: var(--gold);
	transform: translateY(-2px);
}

.trust-strip {
	color: var(--white);
	background: var(--navy-800);
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.trust-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
}

.trust-item {
	min-height: 96px;
	padding: 19px 26px;
	display: flex;
	align-items: center;
	gap: 16px;
	border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-item:last-child {
	border-right: 0;
}

.trust-icon {
	width: 44px;
	height: 44px;
	flex: 0 0 44px;
	display: grid;
	place-items: center;
	color: var(--gold-light);
	border: 1px solid rgba(225, 199, 137, 0.42);
	border-radius: 50%;
}

.trust-icon i {
	width: 18px;
}

.trust-item strong {
	display: block;
	margin-bottom: 3px;
	font-family: var(--display);
	font-size: 18px;
	font-weight: 600;
	letter-spacing: -0.025em;
}

.trust-item span {
	color: rgba(255, 255, 255, 0.65);
	font-size: 13px;
}

.section {
	padding: 88px 0;
}

.section-cream {
	background: var(--cream);
}

.section-navy {
	color: var(--white);
	background: var(--navy-900);
}

.section-tag {
	display: flex;
	align-items: center;
	gap: 12px;
	color: var(--gold);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.section-tag::before {
	content: "";
	width: 30px;
	height: 1px;
	background: currentcolor;
}

.section-title {
	max-width: 720px;
	margin: 12px 0 16px;
	font-family: var(--display);
	font-size: clamp(40px, 4.2vw, 58px);
	font-weight: 600;
	line-height: 1.08;
	letter-spacing: -0.035em;
}

.section-title em {
	color: var(--gold);
	font-style: normal;
}

.section-intro {
	max-width: 620px;
	margin: 0;
	color: var(--muted);
	font-size: 17px;
	line-height: 1.8;
}

.section-navy .section-intro {
	color: rgba(255, 255, 255, 0.62);
}

.services-heading {
	margin-bottom: 36px;
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 40px;
}

.services-heading .section-intro {
	max-width: 420px;
}

.services-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}

.service-card {
	position: relative;
	min-height: 315px;
	padding: 28px;
	display: flex;
	flex-direction: column;
	background: var(--warm-white);
	border: 1px solid var(--border);
	border-radius: 12px;
	box-shadow: 0 8px 28px rgba(7, 21, 35, 0.055);
	overflow: hidden;
	transition:
		color 0.35s ease,
		background 0.35s ease,
		transform 0.35s ease,
		box-shadow 0.35s ease;
}

.service-card::after {
	content: "";
	position: absolute;
	right: -80px;
	bottom: -80px;
	width: 160px;
	height: 160px;
	border: 1px solid rgba(200, 164, 96, 0.28);
	border-radius: 50%;
	transition: transform 0.45s ease;
}

.service-card:hover {
	z-index: 2;
	color: var(--white);
	background: var(--navy-900);
	transform: translateY(-7px);
	box-shadow: var(--shadow);
}

.service-card:hover::after {
	transform: scale(1.55);
}

.service-icon {
	width: 50px;
	height: 50px;
	margin-bottom: 25px;
	display: grid;
	place-items: center;
	color: var(--gold);
	background: var(--cream);
	border: 1px solid var(--border);
	border-radius: 9px;
	transition:
		background 0.35s ease,
		border-color 0.35s ease;
}

.service-card:hover .service-icon {
	background: rgba(255, 255, 255, 0.07);
	border-color: rgba(255, 255, 255, 0.18);
}

.service-icon i {
	width: 23px;
}

.service-card h2,
.service-card h3 {
	margin: 0 0 12px;
	color: inherit;
	font-family: var(--display);
	font-size: 24px;
	font-weight: 600;
	line-height: 1.24;
	letter-spacing: -0.035em;
}

.service-card p {
	margin: 0 0 18px;
	color: var(--muted);
	font-size: 14px;
	line-height: 1.68;
	transition: color 0.35s ease;
}

.service-card:hover p {
	color: rgba(255, 255, 255, 0.62);
}

.service-detail {
	margin-top: auto;
	color: var(--gold);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.about-grid {
	display: grid;
	grid-template-columns: 0.92fr 1.08fr;
	gap: 64px;
	align-items: center;
}

.about-visual {
	position: relative;
	min-height: 500px;
}

.about-image-main {
	position: absolute;
	inset: 0 60px 55px 0;
	border-radius: 18px;
	overflow: hidden;
}

.about-image-main img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.about-image-main::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(7, 21, 35, 0.38), transparent 55%);
}

.about-frame {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 64%;
	height: 45%;
	border: 1px solid var(--gold);
	pointer-events: none;
}

.about-seal {
	position: absolute;
	z-index: 3;
	right: 13px;
	top: 44px;
	width: 126px;
	height: 126px;
	display: grid;
	place-items: center;
	color: var(--gold-light);
	background: var(--navy-900);
	border: 1px solid rgba(225, 199, 137, 0.35);
	border-radius: 50%;
	box-shadow: var(--shadow);
	text-align: center;
}

.about-seal::before {
	content: "";
	position: absolute;
	inset: 8px;
	border: 1px dashed rgba(225, 199, 137, 0.42);
	border-radius: inherit;
}

.about-seal span {
	position: relative;
	font-family: var(--display);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -0.02em;
}

.about-copy .section-title {
	max-width: 580px;
}

.about-copy > p {
	margin: 0 0 19px;
	color: var(--muted);
	font-size: 16px;
	line-height: 1.85;
}

.principles {
	margin: 24px 0 28px;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0;
	border-top: 1px solid var(--border);
}

.principle {
	padding: 16px 14px 16px 0;
	display: flex;
	align-items: center;
	gap: 11px;
	border-bottom: 1px solid var(--border);
	font-size: 14px;
	font-weight: 600;
}

.principle:nth-child(odd) {
	border-right: 1px solid var(--border);
}

.principle:nth-child(even) {
	padding-left: 20px;
}

.principle i {
	width: 17px;
	color: var(--gold);
}

.quote-line {
	padding: 16px 0 16px 22px;
	border-left: 3px solid var(--gold);
}

.quote-line p {
	margin: 0 0 7px;
	font-family: var(--display);
	font-size: 22px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: -0.035em;
}

.quote-line span {
	color: var(--muted);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.process-heading {
	max-width: 740px;
	margin: 0 auto 42px;
	text-align: center;
}

.process-heading .section-tag {
	justify-content: center;
}

.process-heading .section-title {
	margin-inline: auto;
}

.process-heading .section-intro {
	margin-inline: auto;
}

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

.step {
	position: relative;
	padding: 0 20px;
	text-align: center;
}

.step::before {
	content: "";
	position: absolute;
	top: 35px;
	left: 0;
	width: 100%;
	height: 1px;
	background: rgba(225, 199, 137, 0.26);
}

.step:first-child::before {
	left: 50%;
	width: 50%;
}

.step:last-child::before {
	width: 50%;
}

.step-number {
	position: relative;
	z-index: 1;
	width: 64px;
	height: 64px;
	margin: 0 auto 21px;
	display: grid;
	place-items: center;
	color: var(--gold-light);
	background: var(--navy-900);
	border: 1px solid rgba(225, 199, 137, 0.42);
	border-radius: 50%;
	font-family: var(--display);
	font-size: 17px;
	font-weight: 700;
}

.step h3 {
	margin: 0 0 12px;
	font-family: var(--display);
	font-size: 23px;
	font-weight: 600;
	letter-spacing: -0.03em;
}

.step p {
	margin: 0;
	color: rgba(255, 255, 255, 0.65);
	font-size: 14px;
	line-height: 1.75;
}

.cta-band {
	position: relative;
	padding: 48px 0;
	color: var(--navy-950);
	background: var(--gold-light);
	overflow: hidden;
}

.cta-band::before {
	content: "§";
	position: absolute;
	right: 7%;
	top: -90px;
	color: rgba(11, 29, 51, 0.08);
	font-family: var(--display);
	font-size: 310px;
	font-weight: 700;
}

.cta-inner {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 50px;
}

.cta-band h2 {
	max-width: 760px;
	margin: 0;
	font-family: var(--display);
	font-size: clamp(34px, 4.5vw, 54px);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.045em;
}

.cta-band .button {
	flex-shrink: 0;
}

.articles-heading {
	margin-bottom: 32px;
	display: flex;
	justify-content: space-between;
	align-items: end;
	gap: 30px;
}

.articles-grid {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - 44px) / 3);
	gap: 22px;
	padding: 6px 2px 16px;
	margin: -6px -2px -16px;
	overflow-x: auto;
	overscroll-behavior-inline: contain;
	scroll-behavior: smooth;
	scroll-snap-type: inline mandatory;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.articles-grid::-webkit-scrollbar {
	display: none;
}

.article-card {
	min-width: 0;
	min-height: 0;
	display: flex;
	flex-direction: column;
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: 12px;
	box-shadow: 0 8px 28px rgba(7, 21, 35, 0.05);
	overflow: hidden;
	scroll-snap-align: start;
	scroll-snap-stop: always;
	transition:
		transform 0.3s ease,
		box-shadow 0.3s ease;
}

.article-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow);
}

.article-card-image,
.archive-card-image {
	position: relative;
	aspect-ratio: 16 / 9;
	display: block;
	flex: 0 0 auto;
	background: var(--navy-900);
	overflow: hidden;
}

.article-card-image img,
.archive-card-image img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.article-card:hover .article-card-image img,
.archive-card:hover .archive-card-image img {
	transform: scale(1.04);
}

.article-image-fallback {
	width: 100%;
	height: 100%;
	display: grid;
	place-items: center;
	color: var(--gold-light);
	background: radial-gradient(circle at 65% 30%, var(--navy-700), var(--navy-950));
}

.article-image-fallback i {
	width: 42px;
}

.article-card-content {
	padding: 22px;
	display: flex;
	flex: 1;
	flex-direction: column;
}

.article-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	color: var(--muted);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.article-category {
	color: var(--gold);
}

.article-number {
	position: absolute;
	right: 13px;
	bottom: 13px;
	margin: 0;
	padding: 7px 10px;
	color: var(--white);
	background: rgba(7, 21, 35, 0.78);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 6px;
	backdrop-filter: blur(8px);
	font-family: var(--display);
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.04em;
}

.article-card h3 {
	margin: 17px 0 10px;
	font-family: var(--display);
	font-size: 23px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: -0.035em;
}

.article-card p {
	margin: 0 0 20px;
	display: -webkit-box;
	color: var(--muted);
	font-size: 14px;
	line-height: 1.7;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.article-link {
	margin-top: auto;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--navy-900);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.article-link i {
	width: 13px;
	color: var(--gold);
	transition: transform 0.2s ease;
}

.article-card:hover .article-link i {
	transform: translateX(4px);
}

.articles-controls {
	margin-top: 24px;
	display: flex;
	justify-content: flex-end;
	gap: 10px;
}

.articles-control {
	width: 46px;
	height: 46px;
	display: grid;
	place-items: center;
	color: var(--navy-900);
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: 50%;
	cursor: pointer;
	transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.articles-control:hover:not(:disabled),
.articles-control:focus-visible {
	color: var(--white);
	background: var(--navy-900);
	border-color: var(--navy-900);
}

.articles-control:disabled {
	cursor: not-allowed;
	opacity: 0.35;
}

.articles-control i {
	width: 17px;
}

.faq-grid {
	display: grid;
	grid-template-columns: 0.78fr 1.22fr;
	gap: 60px;
}

.faq-intro {
	align-self: start;
}

.faq-intro .section-title {
	max-width: 420px;
}

.faq-intro .button {
	margin-top: 28px;
}

.faq-list {
	border-top: 1px solid rgba(255, 255, 255, 0.17);
}

.faq-item {
	border-bottom: 1px solid rgba(255, 255, 255, 0.17);
}

.faq-question {
	width: 100%;
	padding: 19px 0;
	display: grid;
	grid-template-columns: 1fr 38px;
	gap: 22px;
	align-items: center;
	color: var(--white);
	background: transparent;
	border: 0;
	text-align: left;
	cursor: pointer;
}

.faq-question > span:first-child {
	font-family: var(--display);
	font-size: 22px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: -0.025em;
}

.faq-toggle {
	width: 34px;
	height: 34px;
	display: grid;
	place-items: center;
	color: var(--gold-light);
	border: 1px solid rgba(225, 199, 137, 0.36);
	border-radius: 50%;
	transition:
		transform 0.25s ease,
		background 0.25s ease;
}

.faq-toggle i {
	width: 15px;
}

.faq-item.open .faq-toggle {
	color: var(--navy-950);
	background: var(--gold-light);
	transform: rotate(45deg);
}

.faq-answer {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 0.35s ease;
}

.faq-answer > div {
	overflow: hidden;
}

.faq-answer p {
	max-width: 650px;
	margin: 0;
	padding: 0 55px 28px 0;
	color: rgba(255, 255, 255, 0.66);
	font-size: 15px;
	line-height: 1.8;
}

.faq-item.open .faq-answer {
	grid-template-rows: 1fr;
}

.contact-section {
	background: var(--cream);
}

.wp-block-mustafa-yildiz-hukuk-contact-form {
	border-radius: 14px;
	overflow: hidden;
}

.contact-grid {
	display: grid;
	grid-template-columns: 0.88fr 1.12fr;
	gap: 56px;
	align-items: start;
}

.contact-copy .section-title {
	max-width: 500px;
}

.contact-copy > p {
	max-width: 500px;
	margin: 0 0 34px;
	color: var(--muted);
	font-size: 16px;
	line-height: 1.8;
}

.contact-list {
	display: grid;
	gap: 0;
	border-top: 1px solid var(--border);
}

.contact-item {
	padding: 14px 0;
	display: grid;
	grid-template-columns: 44px 1fr;
	gap: 15px;
	align-items: center;
	border-bottom: 1px solid var(--border);
}

.contact-item-icon {
	width: 40px;
	height: 40px;
	display: grid;
	place-items: center;
	color: var(--gold);
	background: var(--warm-white);
	border: 1px solid var(--border);
}

.contact-item-icon i {
	width: 17px;
}

.contact-item small {
	display: block;
	margin-bottom: 4px;
	color: var(--muted);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.contact-item a,
.contact-item span {
	font-family: var(--display);
	font-size: 19px;
	font-weight: 600;
	letter-spacing: -0.02em;
}

.contact-form {
	padding: 34px;
	background: var(--white);
	border-top: 4px solid var(--gold);
	border-radius: 14px;
	box-shadow: var(--shadow);
}

.contact-form h3 {
	margin: 0 0 8px;
	font-family: var(--display);
	font-size: 34px;
	font-weight: 600;
	letter-spacing: -0.04em;
}

.form-lead {
	margin: 0 0 29px;
	color: var(--muted);
	font-size: 14px;
	line-height: 1.7;
}

.form-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 17px;
}

.field {
	display: grid;
	gap: 7px;
}

.field-full {
	grid-column: 1 / -1;
}

.field label {
	color: var(--navy-900);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
	width: 100%;
	color: var(--ink);
	background: #faf9f6;
	border: 1px solid var(--border);
	border-radius: 0;
	outline: none;
	transition:
		border-color 0.2s ease,
		box-shadow 0.2s ease;
}

.field input,
.field select {
	height: 54px;
	padding: 0 15px;
	font-size: 15px;
}

.field textarea {
	min-height: 125px;
	padding: 15px;
	font-size: 15px;
	resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
	border-color: var(--gold);
	box-shadow: 0 0 0 3px rgba(200, 164, 96, 0.12);
}

.consent {
	grid-column: 1 / -1;
	display: flex;
	align-items: flex-start;
	gap: 9px;
	color: var(--muted);
	font-size: 12px;
	line-height: 1.55;
}

.consent input {
	margin-top: 2px;
	accent-color: var(--navy-900);
}

.form-submit {
	grid-column: 1 / -1;
	width: 100%;
}

.form-status {
	grid-column: 1 / -1;
	min-height: 18px;
	margin: 0;
	color: var(--muted);
	font-size: 12px;
}

.site-footer {
	color: rgba(255, 255, 255, 0.68);
	background: var(--navy-950);
}

.footer-main {
	padding: 52px 0 38px;
	display: grid;
	grid-template-columns: 1.35fr 0.7fr 0.9fr 1fr;
	gap: 38px;
}

.footer-brand .logo-text strong {
	color: var(--white);
}

.footer-logo-link {
	display: inline-flex;
	max-width: 250px;
}

.footer-logo-image {
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 72px;
	object-fit: contain;
}

.footer-brand p {
	max-width: 320px;
	margin: 23px 0 0;
	color: rgba(255, 255, 255, 0.56);
	font-size: 13px;
	line-height: 1.75;
}

.footer-column h3 {
	margin: 0 0 22px;
	color: var(--gold-light);
	font-size: 12px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.footer-column nav {
	display: grid;
	gap: 13px;
}

.footer-column a,
.footer-column p {
	margin: 0;
	font-size: 13px;
	line-height: 1.7;
}

.footer-column a:hover {
	color: var(--gold-light);
}

.footer-socials {
	margin-top: 18px;
	display: flex;
	gap: 8px;
}

.footer-socials a {
	width: 34px;
	height: 34px;
	display: grid;
	place-items: center;
	border: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-socials a:hover {
	color: var(--navy-950);
	background: var(--gold-light);
	border-color: var(--gold-light);
}

.footer-socials i {
	width: 14px;
}

.footer-bottom {
	padding: 24px 0;
	display: flex;
	justify-content: center;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	color: rgba(255, 255, 255, 0.48);
	font-size: 12px;
	line-height: 1.65;
	text-align: center;
}

.footer-credits {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	flex-wrap: wrap;
	white-space: nowrap;
}

.footer-credits a {
	color: rgba(255, 255, 255, 0.62);
	font-size: 12.5px;
	font-weight: 500;
	text-decoration: none;
	transition: color 0.2s ease;
}

.footer-credits a strong {
	color: #c8ff4c;
	font-size: 13px;
	font-weight: 700;
}

.footer-credits a:hover,
.footer-credits a:focus-visible {
	color: var(--white);
}

.footer-credits a:focus-visible {
	outline: 2px solid rgba(200, 255, 76, 0.55);
	outline-offset: 3px;
}

.back-top {
	position: fixed;
	z-index: 80;
	right: 18px;
	bottom: 18px;
	width: 43px;
	height: 43px;
	display: grid;
	place-items: center;
	color: var(--navy-950);
	background: var(--gold-light);
	border: 0;
	box-shadow: 0 8px 25px rgba(7, 21, 35, 0.2);
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px);
	transition: 0.25s ease;
}

.back-top.visible {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.back-top i {
	width: 17px;
}

.js .reveal {
	opacity: 0;
	transform: translateY(24px);
	transition:
		opacity 0.7s ease,
		transform 0.7s ease;
}

.js .reveal.is-visible {
	opacity: 1;
	transform: none;
}

@media (max-width: 1040px) {

	.main-nav,
	.header-cta {
		display: none;
	}

	.menu-button {
		display: grid;
	}

	.hero {
		height: clamp(540px, calc(100vh - 190px), 720px);
		height: clamp(540px, calc(100svh - 190px), 720px);
	}

	.hero-content {
		padding: 38px 46px 38px 32px;
	}

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

	.about-grid {
		gap: 42px;
	}

	.footer-main {
		grid-template-columns: 1.2fr 1fr 1fr;
	}

	.footer-brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 820px) {

	.topbar-group:first-child .topbar-item:last-child {
		display: none;
	}

	.hero {
		height: clamp(610px, calc(100vh - 160px), 730px);
		height: clamp(610px, calc(100svh - 160px), 730px);
		min-height: 610px;
	}

	.hero-grid {
		position: relative;
		z-index: 1;
		height: 100%;
	}

	.hero-content {
		height: 100%;
		min-height: 0;
		padding: 44px 30px;
		background: linear-gradient(90deg, #071523f7 0%, #071523e6 62%, #071523a6 100%);
	}

	.hero-image {
		position: absolute;
		z-index: 0;
		inset: 0;
		width: 100%;
		height: 100%;
		min-height: 0;
	}

	.hero-image img {
		object-position: 62% center;
	}

	.trust-grid {
		grid-template-columns: 1fr;
	}

	.trust-item {
		min-height: 88px;
		border-right: 0;
		border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	}

	.services-heading,
	.articles-heading {
		display: block;
	}

	.services-heading .section-intro {
		margin-top: 18px;
	}

	.about-grid {
		grid-template-columns: 1fr;
	}

	.about-visual {
		min-height: 450px;
	}

	.steps {
		grid-template-columns: repeat(2, 1fr);
		row-gap: 36px;
	}

	.step:nth-child(2)::before {
		width: 50%;
	}

	.step:nth-child(3)::before {
		left: 50%;
		width: 50%;
	}

	.cta-inner {
		display: grid;
	}

	.articles-heading .button {
		margin-top: 25px;
	}

	.articles-grid {
		grid-auto-columns: min(82vw, 390px);
	}

	.article-number {
		margin-top: 28px;
	}

	.faq-grid,
	.contact-grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}
}

@media (max-width: 590px) {

	.wrap {
		width: min(100% - 28px, 1180px);
	}

	.topbar {
		display: none;
	}

	.site-header {
		height: 72px;
	}

	.logo-emblem {
		width: 43px;
		height: 43px;
	}

	.logo-text strong {
		font-size: 17px;
	}

	.logo-text small {
		font-size: 7px;
	}

	.hero {
		height: clamp(650px, calc(100vh - 125px), 730px);
		height: clamp(650px, calc(100svh - 125px), 730px);
		min-height: 650px;
	}

	.hero-content {
		height: 100%;
		min-height: 0;
		padding: 42px 20px 38px;
	}

	.hero h1 {
		margin-bottom: 18px;
		font-size: 44px;
	}

	.hero-lead {
		margin-bottom: 24px;
		font-size: 15px;
		line-height: 1.65;
	}

	.hero .eyebrow {
		margin-bottom: 16px;
	}

	.hero .button {
		min-height: 54px;
	}

	.hero-actions {
		display: grid;
	}

	.hero-actions .button {
		width: 100%;
	}

	.hero-image {
		height: 100%;
		min-height: 0;
	}

	.section {
		padding: 62px 0;
	}

	.section-title {
		font-size: 36px;
	}

	.articles-grid {
		grid-auto-columns: min(88vw, 350px);
		gap: 14px;
	}

	.articles-controls {
		justify-content: space-between;
	}

	.services-grid {
		grid-template-columns: 1fr;
	}

	.service-card {
		min-height: 285px;
	}

	.about-visual {
		min-height: 390px;
	}

	.about-image-main {
		right: 28px;
		bottom: 35px;
	}

	.about-seal {
		width: 105px;
		height: 105px;
		right: 0;
	}

	.principles {
		grid-template-columns: 1fr;
	}

	.principle:nth-child(odd) {
		border-right: 0;
	}

	.principle:nth-child(even) {
		padding-left: 0;
	}

	.steps {
		grid-template-columns: 1fr;
		gap: 38px;
	}

	.step::before {
		display: none;
	}

	.cta-band {
		padding: 52px 0;
	}

	.cta-inner .button {
		width: 100%;
	}

	.contact-form {
		padding: 28px 20px;
	}

	.form-grid {
		grid-template-columns: 1fr;
	}

	.field-full,
	.consent,
	.form-submit,
	.form-status {
		grid-column: auto;
	}

	.footer-main {
		grid-template-columns: 1fr 1fr;
		gap: 38px 25px;
	}

	.footer-brand {
		grid-column: 1 / -1;
	}

	.footer-contact {
		grid-column: 1 / -1;
	}

	.footer-bottom {
		flex-direction: column;
	}

	.footer-credits {
		justify-content: center;
	}
}

@media (prefers-reduced-motion: reduce) {

	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
	}

	.js .reveal {
		opacity: 1;
		transform: none;
	}
}

/* WordPress template and accessibility enhancements */
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	word-break: normal;
	border: 0;
}

.screen-reader-text:focus {
	z-index: 100000;
	top: 8px;
	left: 8px;
	width: auto;
	height: auto;
	padding: 14px 18px;
	clip: auto;
	color: var(--navy-950);
	background: var(--gold-light);
	font-weight: 700;
}

.admin-bar .site-header {
	top: 32px;
}

.custom-logo-link img {
	width: auto;
	max-height: 48px;
}

.main-nav .menu,
.footer-column .menu {
	display: flex;
	align-items: center;
	gap: 29px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.main-nav .menu li,
.footer-column .menu li,
.mobile-menu-list li,
.mobile-nav .menu li {
	list-style: none;
}

.mobile-menu-list,
.mobile-nav .menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-column .menu {
	display: grid;
	gap: 13px;
}

.page-hero {
	padding: 82px 0 70px;
	color: var(--white);
	background:
		linear-gradient(90deg, rgba(7, 21, 35, 0.98), rgba(7, 21, 35, 0.78)),
		var(--navy-900);
}

.page-hero .section-title {
	max-width: 820px;
	margin-bottom: 12px;
}

.breadcrumbs {
	margin-bottom: 22px;
	color: rgba(255, 255, 255, 0.65);
	font-size: 13px;
}

.breadcrumbs a:hover {
	color: var(--gold-light);
}

.content-shell {
	width: min(900px, calc(100% - 48px));
	margin-inline: auto;
}

.entry-content {
	color: #34404c;
	font-size: 17px;
	line-height: 1.85;
}

.entry-content > * + * {
	margin-top: 1.4em;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
	color: var(--navy-900);
	font-family: var(--display);
	font-weight: 650;
	letter-spacing: -0.035em;
	line-height: 1.25;
}

.entry-content h2 {
	margin-top: 1.8em;
	font-size: clamp(30px, 4vw, 43px);
}

.entry-content h3 {
	margin-top: 1.6em;
	font-size: clamp(24px, 3vw, 31px);
}

.entry-content a {
	color: #7d5c1f;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.entry-content img {
	height: auto;
	border-radius: 12px;
}

.entry-content blockquote {
	margin-inline: 0;
	padding: 20px 24px;
	background: var(--cream);
	border-left: 4px solid var(--gold);
}

.archive-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
}

.archive-card {
	display: flex;
	flex-direction: column;
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: 12px;
	box-shadow: 0 8px 28px rgba(7, 21, 35, 0.055);
	overflow: hidden;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.archive-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--shadow);
}

.archive-card-content {
	padding: 22px;
	display: flex;
	flex: 1;
	flex-direction: column;
}

.archive-card h2 {
	margin: 16px 0 10px;
	font-family: var(--display);
	font-size: 25px;
	line-height: 1.3;
	letter-spacing: -0.035em;
}

.archive-card p {
	margin: 0 0 18px;
	display: -webkit-box;
	color: var(--muted);
	font-size: 14px;
	line-height: 1.7;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.archive-card .article-link {
	margin-top: auto;
}

.post-thumbnail {
	margin-bottom: 30px;
}

.post-thumbnail img {
	width: 100%;
	max-height: 560px;
	object-fit: cover;
	border-radius: 14px;
}

.post-meta {
	color: var(--muted);
	font-size: 13px;
}

.navigation.pagination {
	margin-top: 40px;
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.page-numbers {
	min-width: 42px;
	height: 42px;
	display: grid;
	place-items: center;
	padding: 0 12px;
	background: var(--white);
	border: 1px solid var(--border);
}

.page-numbers.current {
	color: var(--white);
	background: var(--navy-900);
	border-color: var(--navy-900);
}

.contact-alert {
	margin-bottom: 20px;
	padding: 14px 16px;
	border-left: 4px solid var(--gold);
	background: var(--cream);
	font-size: 14px;
}

.contact-alert.success {
	border-color: #3b8a55;
}

.contact-alert.error {
	border-color: #b54a4a;
}

.contact-alert:focus {
	outline: 3px solid rgba(200, 164, 96, 0.42);
	outline-offset: 4px;
}

.honeypot {
	position: absolute;
	left: -9999px;
}

.error-page {
	min-height: 58vh;
	display: grid;
	place-items: center;
	text-align: center;
}

.error-code {
	color: var(--gold);
	font-family: var(--display);
	font-size: clamp(80px, 15vw, 170px);
	font-weight: 800;
	line-height: 1;
}

.wp-caption,
.gallery-caption {
	max-width: 100%;
}

.sticky {
	position: relative;
}

.bypostauthor {
	outline: none;
}

@media (max-width: 820px) {

	.admin-bar .site-header {
		top: 46px;
	}

	.archive-grid {
		grid-template-columns: 1fr 1fr;
	}

	.main-nav .menu {
		display: none;
	}
}

@media (max-width: 590px) {

	.content-shell {
		width: min(100% - 28px, 900px);
	}

	.page-hero {
		padding: 60px 0 50px;
	}

	.archive-grid {
		grid-template-columns: 1fr;
	}

	.admin-bar .site-header {
		top: 46px;
	}
}

/* Keep headings readable on dark WordPress content surfaces. */
.section-navy .section-title,
.section-navy h2,
.section-navy h3,
.page-hero .section-title {
	color: var(--white);
}

.cta-band h2,
.contact-form h3 {
	color: var(--navy-950);
}

/* WordPress menu data and nested menu presentation. */
.main-nav .menu > li {
	position: relative;
}

.main-nav .menu > li > a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	white-space: nowrap;
}

.menu-parent-icon {
	width: 14px;
	height: 14px;
	flex: 0 0 auto;
	color: var(--gold);
	transition: transform 0.2s ease;
}

.main-nav .menu-item-has-children:hover > a .menu-parent-icon,
.main-nav .menu-item-has-children:focus-within > a .menu-parent-icon {
	transform: rotate(180deg);
}

.main-nav .current-menu-item > a::after,
.main-nav .current-menu-ancestor > a::after {
	transform: scaleX(1);
}

.main-nav .menu > .menu-item-has-children::before {
	content: "";
	position: absolute;
	z-index: 119;
	top: 100%;
	left: -20px;
	width: min(370px, calc(100vw - 40px));
	height: 8px;
}

.main-nav .sub-menu {
	position: absolute;
	z-index: 120;
	top: calc(100% + 7px);
	left: -20px;
	width: min(370px, calc(100vw - 40px));
	max-height: min(560px, calc(100vh - 150px));
	margin: 0;
	padding: 10px;
	overflow-y: auto;
	color: var(--navy-900);
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: 10px;
	box-shadow: 0 20px 50px rgba(7, 21, 35, 0.18);
	list-style: none;
	visibility: hidden;
	opacity: 0;
	transform: translateY(8px);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.main-nav .menu-item-has-children:hover > .sub-menu,
.main-nav .menu-item-has-children:focus-within > .sub-menu {
	visibility: visible;
	opacity: 1;
	transform: none;
}

.main-nav .sub-menu a {
	display: block;
	padding: 10px 12px;
	border-radius: 6px;
	font-size: 13px;
	line-height: 1.45;
}

.main-nav .sub-menu a:hover,
.main-nav .sub-menu a:focus-visible {
	color: var(--navy-900);
	background: var(--cream);
}

.main-nav .sub-menu a::after {
	display: none;
}

.mobile-menu-list .sub-menu {
	margin: 0;
	padding: 0 0 8px 18px;
	list-style: none;
}

.mobile-menu-list .sub-menu a {
	padding: 12px 0;
	color: rgba(255, 255, 255, 0.76);
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.45;
	letter-spacing: 0;
}

.mobile-menu-list .sub-menu a::after {
	font-size: 12px;
}

.mobile-menu-list > .menu-item-has-children > a::after {
	display: none;
}

.mobile-menu-list > .menu-item-has-children > a .menu-parent-icon {
	width: 19px;
	height: 19px;
	margin-left: auto;
}

/* Modern single blog post. */
.reading-progress {
	position: fixed;
	z-index: 150;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	pointer-events: none;
}

.reading-progress span {
	width: 100%;
	height: 100%;
	display: block;
	background: var(--gold);
	transform: scaleX(0);
	transform-origin: left center;
	will-change: transform;
}

.admin-bar .reading-progress {
	top: 32px;
}

.single-hero {
	position: relative;
	padding: 40px 0 44px;
	color: var(--white);
	background:
		radial-gradient(circle at 82% 16%, rgba(200, 164, 96, 0.2), transparent 30%),
		linear-gradient(125deg, var(--navy-950), var(--navy-800));
	overflow: hidden;
}

.single-hero::after {
	content: "";
	position: absolute;
	right: -90px;
	bottom: -230px;
	width: 400px;
	height: 400px;
	border: 1px solid rgba(225, 199, 137, 0.13);
	border-radius: 50%;
	box-shadow: 0 0 0 55px rgba(225, 199, 137, 0.035), 0 0 0 110px rgba(225, 199, 137, 0.025);
	pointer-events: none;
}

.single-hero-inner {
	position: relative;
	z-index: 1;
	max-width: 1000px;
}

.single-hero .breadcrumbs {
	margin-bottom: 14px;
}

.single-categories {
	margin-bottom: 10px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.single-categories a,
.single-categories span {
	padding: 7px 11px;
	color: var(--gold-light);
	background: rgba(225, 199, 137, 0.08);
	border: 1px solid rgba(225, 199, 137, 0.25);
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.single-hero h1 {
	max-width: 900px;
	margin: 0;
	color: var(--white);
	font-family: var(--display);
	font-size: clamp(40px, 5vw, 60px);
	font-weight: 650;
	line-height: 1.08;
	letter-spacing: -0.045em;
}

.single-lead {
	max-width: 760px;
	margin: 12px 0 0;
	display: -webkit-box;
	color: rgba(255, 255, 255, 0.7);
	font-size: 16px;
	line-height: 1.6;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.single-meta {
	margin-top: 16px;
	display: flex;
	flex-wrap: wrap;
	gap: 14px 28px;
	color: rgba(255, 255, 255, 0.7);
	font-size: 13px;
}

.single-meta span {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.single-meta i {
	width: 15px;
	color: var(--gold-light);
}

.single-article {
	padding: 34px 0 72px;
	background: var(--warm-white);
}

.single-featured {
	position: relative;
	z-index: 2;
	aspect-ratio: 16 / 9;
	margin: 0 0 18px;
	background: var(--navy-800);
	border: 1px solid var(--border);
	border-radius: 16px;
	box-shadow: 0 14px 42px rgba(7, 21, 35, 0.12);
	overflow: hidden;
}

.single-featured img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
}

.single-featured-placeholder {
	width: 100%;
	height: 100%;
	display: grid;
	place-items: center;
	color: var(--gold-light);
	background: radial-gradient(circle, var(--navy-700), var(--navy-950));
}

.single-featured-placeholder i {
	width: 70px;
}

.single-layout {
	margin-top: 0;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 40px;
	align-items: start;
}

.single-main-column {
	min-width: 0;
}

.single-content-card {
	padding: clamp(24px, 3.2vw, 40px);
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: 16px;
	box-shadow: 0 16px 50px rgba(7, 21, 35, 0.055);
}

.single-post-content {
	color: #2f3d4a;
	font-size: 18px;
	line-height: 1.9;
}

.single-post-content > :first-child {
	margin-top: 0 !important;
	padding-top: 0;
}

.single-post-content > * + * {
	margin-top: 1.15em;
}

.single-post-content > p:first-of-type {
	color: var(--navy-800);
	font-size: 20px;
	line-height: 1.85;
}

.single-post-content h2,
.single-post-content h3 {
	scroll-margin-top: 110px;
}

.single-post-content h2 {
	margin-top: 1.4em;
	padding-top: 2px;
	font-size: clamp(30px, 3.5vw, 42px);
}

.single-post-content h3 {
	margin-top: 1.25em;
	font-size: clamp(23px, 2.7vw, 30px);
}

.single-post-content ul,
.single-post-content ol {
	padding-left: 1.3em;
}

.single-post-content li + li {
	margin-top: 0.6em;
}

.single-post-content table {
	width: 100%;
	border-spacing: 0;
	border: 1px solid var(--border);
	border-radius: 10px;
	overflow: hidden;
}

.single-post-content th,
.single-post-content td {
	padding: 13px 15px;
	border-right: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
	text-align: left;
}

.single-post-content th {
	color: var(--navy-900);
	background: var(--cream);
}

.single-post-content tr:last-child td {
	border-bottom: 0;
}

.single-post-content th:last-child,
.single-post-content td:last-child {
	border-right: 0;
}

.single-sidebar {
	position: sticky;
	top: 98px;
	display: grid;
	gap: 16px;
}

.post-sidebar-card {
	padding: 20px;
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: 12px;
}

.post-sidebar-card h2 {
	margin: 0 0 16px;
	color: var(--navy-900);
	font-family: var(--display);
	font-size: 19px;
	line-height: 1.25;
}

.post-share-links {
	display: flex;
	gap: 9px;
}

.post-share-links a,
.post-share-links button {
	width: 42px;
	height: 42px;
	display: grid;
	place-items: center;
	color: var(--navy-900);
	background: var(--cream);
	border: 1px solid var(--border);
	border-radius: 50%;
	cursor: pointer;
	transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.post-share-links a:hover,
.post-share-links button:hover,
.post-share-links button.is-copied {
	color: var(--white);
	background: var(--navy-900);
	border-color: var(--navy-900);
}

.post-share-links i {
	width: 17px;
}

.post-toc {
	display: none;
}

.post-toc.is-ready {
	display: block;
}

.post-toc ol {
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
	list-style: none;
}

.post-toc a {
	display: block;
	color: #52606d;
	font-size: 13px;
	line-height: 1.45;
	transition: color 0.2s ease;
}

.post-toc a:hover {
	color: var(--gold);
}

.post-toc .toc-level-3 {
	padding-left: 13px;
}

.post-contact-card {
	color: var(--white);
	background: var(--navy-900);
	border-color: var(--navy-800);
}

.post-contact-card .post-contact-icon {
	width: 42px;
	height: 42px;
	margin-bottom: 18px;
	display: grid;
	place-items: center;
	color: var(--navy-950);
	background: var(--gold-light);
	border-radius: 50%;
}

.post-contact-card .post-contact-icon i {
	width: 18px;
}

.post-contact-card h2 {
	color: var(--white);
}

.post-contact-card p {
	margin: 0 0 18px;
	color: rgba(255, 255, 255, 0.66);
	font-size: 14px;
	line-height: 1.65;
}

.post-contact-card .button {
	width: 100%;
	min-height: 46px;
	padding-inline: 14px;
	font-size: 12px;
}

.post-author-card {
	margin-top: 18px;
	padding: 22px;
	display: grid;
	grid-template-columns: 58px 1fr;
	gap: 20px;
	align-items: start;
	background: var(--cream);
	border: 1px solid var(--border);
	border-radius: 14px;
}

.post-author-mark {
	width: 58px;
	height: 58px;
	display: grid;
	place-items: center;
	color: var(--gold-light);
	background: var(--navy-900);
	border-radius: 50%;
}

.post-author-mark i {
	width: 24px;
}

.post-author-label {
	color: var(--gold);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.post-author-card h2 {
	margin: 3px 0 8px;
	color: var(--navy-900);
	font-family: var(--display);
	font-size: 24px;
}

.post-author-card p {
	margin: 0;
	color: var(--muted);
	font-size: 14px;
	line-height: 1.7;
}

.post-navigation-modern {
	margin-top: 18px;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.post-navigation-link {
	min-height: 132px;
	padding: 22px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	color: var(--navy-900);
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: 12px;
	transition: transform 0.2s ease, border-color 0.2s ease;
}

.post-navigation-link:hover {
	border-color: var(--gold);
	transform: translateY(-3px);
}

.post-navigation-link.next {
	text-align: right;
}

.post-navigation-link.next:only-child {
	grid-column: 2;
}

.post-navigation-link span {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--gold);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.post-navigation-link.next span {
	justify-content: flex-end;
}

.post-navigation-link span i {
	width: 14px;
}

.post-navigation-link strong {
	font-family: var(--display);
	font-size: 16px;
	line-height: 1.4;
}

.related-posts-heading {
	margin-bottom: 26px;
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 30px;
}

.related-posts-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.related-post-card {
	min-width: 0;
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: 14px;
	box-shadow: 0 10px 35px rgba(7, 21, 35, 0.05);
	overflow: hidden;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.related-post-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--shadow);
}

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

.related-post-image img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.related-post-card:hover .related-post-image img {
	transform: scale(1.035);
}

.related-post-image > span {
	width: 100%;
	height: 100%;
	display: grid;
	place-items: center;
	color: var(--gold-light);
	background: var(--navy-900);
}

.related-post-content {
	padding: 24px;
}

.related-posts {
	padding: 68px 0;
}

.related-post-content time {
	color: var(--gold);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.related-post-content h3 {
	margin: 12px 0 10px;
	color: var(--navy-900);
	font-family: var(--display);
	font-size: 22px;
	line-height: 1.3;
}

.related-post-content p {
	margin: 0 0 18px;
	color: var(--muted);
	font-size: 14px;
	line-height: 1.65;
}

@media (max-width: 1040px) {

	.single-layout {
		grid-template-columns: minmax(0, 1fr) 260px;
		gap: 28px;
	}
}

@media (max-width: 900px) {

	.single-layout {
		grid-template-columns: 1fr;
	}

	.single-sidebar {
		position: static;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.post-toc {
		grid-column: 1 / -1;
	}

	.related-posts-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.related-post-card:last-child:nth-child(odd) {
		grid-column: 1 / -1;
	}
}

@media (max-width: 782px) {

	.admin-bar .reading-progress {
		top: 46px;
	}
}

@media (max-width: 590px) {

	.single-hero {
		padding: 28px 0 34px;
	}

	.single-hero .breadcrumbs {
		margin-bottom: 14px;
	}

	.single-hero h1 {
		font-size: clamp(35px, 10.5vw, 46px);
	}

	.single-lead {
		font-size: 15px;
	}

	.single-meta {
		display: grid;
		gap: 10px;
	}

	.single-article {
		padding: 22px 0 54px;
	}

	.single-featured {
		aspect-ratio: 4 / 3;
		margin: 0 0 14px;
		border-radius: 13px;
	}

	.single-layout {
		margin-top: 0;
	}

	.single-content-card {
		padding: 22px 18px;
	}

	.single-post-content {
		font-size: 16px;
		line-height: 1.85;
	}

	.single-post-content > p:first-of-type {
		font-size: 18px;
	}

	.single-sidebar {
		grid-template-columns: 1fr;
	}

	.post-toc {
		grid-column: auto;
	}

	.post-author-card {
		grid-template-columns: 1fr;
	}

	.post-sidebar-card {
		padding: 18px;
	}

	.post-navigation-modern {
		grid-template-columns: 1fr;
	}

	.post-navigation-link.next:only-child {
		grid-column: auto;
	}

	.related-posts-heading {
		display: block;
	}

	.related-posts-heading .button {
		margin-top: 22px;
	}

	.related-posts-grid {
		grid-template-columns: 1fr;
	}

	.related-posts {
		padding: 50px 0;
	}

	.related-post-card:last-child:nth-child(odd) {
		grid-column: auto;
	}
}

/* Compact modern template for standard WordPress pages. */
.modern-page-hero {
	position: relative;
	padding: 42px 0 46px;
	background:
		radial-gradient(circle at 84% 12%, rgba(200, 164, 96, 0.18), transparent 28%),
		linear-gradient(120deg, var(--navy-950), var(--navy-800));
	overflow: hidden;
}

.modern-page-hero::after {
	content: "";
	position: absolute;
	right: 8%;
	bottom: -100px;
	width: 230px;
	height: 230px;
	border: 1px solid rgba(225, 199, 137, 0.12);
	border-radius: 50%;
	box-shadow: 0 0 0 38px rgba(225, 199, 137, 0.025);
	pointer-events: none;
}

.modern-page-hero .wrap {
	position: relative;
	z-index: 1;
}

.modern-page-hero .breadcrumbs {
	margin-bottom: 14px;
}

.modern-page-hero .section-tag {
	color: var(--gold-light);
}

.modern-page-hero .section-title {
	max-width: 850px;
	margin: 9px 0 0;
	color: var(--white);
	font-size: clamp(40px, 5vw, 60px);
}

.modern-page-body {
	padding: 34px 0 60px;
	background: var(--warm-white);
}

.modern-page-content {
	width: 100%;
	color: #33414e;
	font-size: 17px;
	line-height: 1.8;
}

.modern-page-content.has-standard-layout {
	width: min(900px, 100%);
	margin-inline: auto;
	padding: clamp(24px, 3.5vw, 40px);
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: 14px;
	box-shadow: 0 14px 42px rgba(7, 21, 35, 0.055);
}

.modern-page-content.has-uagb-layout {
	display: grid;
	gap: 18px;
}

.modern-page-content.has-uagb-layout > * {
	margin-top: 0;
}

.modern-page-content .wp-block-uagb-container.uagb-is-root-container {
	width: 100% !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: clamp(24px, 3.2vw, 38px) !important;
	background-color: var(--white);
	border: 1px solid var(--border) !important;
	border-radius: 14px;
	box-shadow: 0 14px 42px rgba(7, 21, 35, 0.05);
	overflow: hidden;
}

.modern-page-content .uagb-container-inner-blocks-wrap {
	width: 100% !important;
	max-width: 100% !important;
	margin-inline: auto !important;
}

.modern-page-content .wp-block-uagb-container:not(.uagb-is-root-container) {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

.modern-page-content h1,
.modern-page-content h2,
.modern-page-content h3,
.modern-page-content h4,
.modern-page-content h5 {
	color: var(--navy-900);
}

.modern-page-content h2 {
	font-size: clamp(30px, 3.7vw, 42px);
}

.modern-page-content h3 {
	font-size: clamp(24px, 3vw, 32px);
}

.modern-page-content h5 {
	margin: 14px 0 7px;
	font-family: var(--display);
	font-size: 19px;
}

.modern-page-content > :first-child,
.modern-page-content .uagb-container-inner-blocks-wrap > :first-child {
	margin-top: 0 !important;
}

.modern-page-content > :last-child,
.modern-page-content .uagb-container-inner-blocks-wrap > :last-child {
	margin-bottom: 0 !important;
}

.modern-page-content img {
	border-radius: 10px;
	box-shadow: 0 12px 35px rgba(7, 21, 35, 0.1);
}

.modern-page-content iframe {
	width: 100%;
	max-height: 420px;
	border-radius: 14px;
	box-shadow: 0 12px 35px rgba(7, 21, 35, 0.08);
}

/* UAGB controls the following class name. */
/* stylelint-disable-next-line selector-class-pattern */
.modern-page-content .wp-block-button__link,
.modern-page-content .uagb-infobox-cta-link {
	min-height: 46px;
	padding: 12px 20px !important;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	color: var(--white) !important;
	background: var(--navy-900) !important;
	border-radius: 7px !important;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
}

.modern-page-content .uagb-infobox-cta-link svg {
	width: 14px;
	height: 14px;
	fill: currentcolor;
}

.modern-page-cta {
	padding: 30px 0;
	color: var(--white);
	background: var(--navy-900);
}

.modern-page-cta-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
}

.modern-page-cta span {
	color: var(--gold-light);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.11em;
	text-transform: uppercase;
}

.modern-page-cta h2 {
	margin: 4px 0 0;
	color: var(--white);
	font-family: var(--display);
	font-size: clamp(25px, 3vw, 36px);
	line-height: 1.2;
	letter-spacing: -0.035em;
}

.modern-page-cta .button {
	flex-shrink: 0;
}

@media (max-width: 820px) {

	.modern-page-content .wp-block-uagb-container.uagb-is-root-container {
		padding: 26px !important;
	}
}

@media (max-width: 590px) {

	.modern-page-hero {
		padding: 28px 0 32px;
	}

	.modern-page-hero .breadcrumbs {
		margin-bottom: 11px;
	}

	.modern-page-hero .section-title {
		font-size: clamp(35px, 10vw, 46px);
	}

	.modern-page-body {
		padding: 22px 0 44px;
	}

	.modern-page-content {
		font-size: 16px;
	}

	.modern-page-content.has-standard-layout {
		padding: 22px 18px;
	}

	.modern-page-content .wp-block-uagb-container.uagb-is-root-container {
		padding: 20px 18px !important;
		border-radius: 11px;
	}

	.modern-page-content.has-uagb-layout {
		gap: 14px;
	}

	.modern-page-content iframe {
		max-height: 330px;
		border-radius: 10px;
	}

	.modern-page-cta {
		padding: 26px 0;
	}

	.modern-page-cta-inner {
		display: grid;
	}

	.modern-page-cta .button {
		width: 100%;
	}
}
