/*
Theme Name: Tan Hukuk
Author: Codex
Description: Tan Hukuk Avukatlık Bürosu için koyu, altın vurgulu ve WordPress uyumlu ana sayfa teması.
Version: 1.0.1
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: tan-hukuk
*/

:root {
	--color-ink: #091521;
	--color-ink-soft: #132230;
	--color-gold: #a97848;
	--color-gold-light: #c59a66;
	--color-gold-deep: #7a5e22;
	--color-paper: #f8f7f4;
	--color-paper-2: #f0efec;
	--color-text: #29313a;
	--color-muted: #6f7780;
	--color-border: #ddd8d1;
	--font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
	--font-sans: "Inter", "Segoe UI", Arial, sans-serif;
	--container: 1240px;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scrollbar-width: thin;
	scrollbar-color: var(--color-gold) var(--color-ink);
}

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

::-webkit-scrollbar {
	width: 12px;
}

::-webkit-scrollbar-track {
	background: var(--color-ink);
}

::-webkit-scrollbar-thumb {
	background: var(--color-gold);
	border: 3px solid var(--color-ink);
}

::-webkit-scrollbar-thumb:hover {
	background: var(--color-gold-light);
}

body {
	margin: 0;
	background: var(--color-paper);
	color: var(--color-text);
	font-family: var(--font-sans);
	font-size: 16px;
	line-height: 1.65;
}

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

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

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

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.site-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 20;
	color: #fff;
	background: linear-gradient(180deg, rgba(4, 14, 23, 0.93), rgba(4, 14, 23, 0.55) 64%, rgba(4, 14, 23, 0));
	transition: background 300ms ease, box-shadow 300ms ease;
}

.site-header.is-scrolled {
	background: rgba(6, 19, 31, 0.50);
	box-shadow: 0 2px 24px rgba(0, 0, 0, 0.14);
}

.site-header__top {
	width: min(calc(100% - 64px), 1370px);
	margin-inline: auto;
	display: flex;
	justify-content: center;
	overflow: hidden;
	padding-top:    calc(22px * (1 - var(--shrink, 0)));
	padding-bottom: calc(14px * (1 - var(--shrink, 0)));
	max-height: calc(120px * (1 - var(--shrink, 0)));
	opacity: calc(1 - var(--shrink, 0));
}

/* logo scales proportionally (uniform X+Y) */
.site-header__top .site-logo {
	transform: scale(calc(1 - var(--shrink, 0) * 0.5));
	transform-origin: top center;
}

.site-header__bottom {
	width: min(calc(100% - 64px), 1370px);
	margin-inline: auto;
	padding-bottom: 14px;
	padding-top: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0;
	border-top: 1px solid rgba(197, 154, 102, 0.18);
	position: relative;
	transition: padding 320ms ease, border-color 320ms ease;
}

.site-header.is-scrolled .site-header__bottom {
	padding-top: 10px;
	padding-bottom: 10px;
	border-top-color: transparent;
}

.site-header.is-scrolled .primary-menu a {
	font-size: 0.72rem;
}

.site-header.is-scrolled .lang-switcher {
	font-size: 15px;
}

.site-header__bottom .primary-navigation {
	margin-left: 0;
}

.site-header__bottom .lang-switcher {
	margin-left: clamp(18px, 2vw, 34px);
}

.site-logo {
	display: inline-flex;
	flex-direction: column;
	align-items: stretch;
	color: #fff;
	text-transform: uppercase;
	letter-spacing: 0.16em;
	flex: 0 0 auto;
}

.site-logo__name {
	font-family: var(--font-serif);
	font-size: clamp(1.55rem, 2.4vw, 2.38rem);
	line-height: 1;
	text-align: center;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.42);
}

.site-logo__tagline {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 10px;
	color: var(--color-gold-light);
	font-size: 0.69rem;
	font-weight: 700;
	letter-spacing: 0.42em;
}

.site-logo__tagline::before,
.site-logo__tagline::after {
	content: "";
	flex: 1;
	min-width: 12px;
	height: 1px;
	background: var(--color-gold);
}

.primary-navigation {
	margin-left: auto;
}

.primary-menu {
	display: flex;
	align-items: center;
	gap: clamp(18px, 2vw, 34px);
	padding: 0;
	margin: 0;
	list-style: none;
}

.primary-menu a {
	position: relative;
	display: inline-flex;
	padding: 12px 0;
	color: rgba(255, 255, 255, 0.82);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	transition: color 180ms ease;
}

.primary-menu a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -13px;
	height: 2px;
	background: var(--color-gold-light);
	transform: scaleX(0);
	transform-origin: center;
	transition: transform 180ms ease;
}

.primary-menu a:hover,
.primary-menu .current-menu-item > a {
	color: var(--color-gold-light);
}

.primary-menu .current-menu-item > a::after,
.primary-menu a:hover::after {
	transform: scaleX(1);
}

.lang-switcher {
	display: flex;
	align-items: center;
	gap: 2px;
	margin-left: 16px;
	font-size: 18px;
	white-space: nowrap;
}

.lang-switcher__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	padding: 10px 10px;
	min-width: 44px;
	min-height: 44px;
	color: var(--color-muted);
	text-decoration: none;
	transition: color 180ms ease;
	-webkit-tap-highlight-color: transparent;
}

.lang-switcher__link--active {
	color: var(--color-gold-light);
}

.lang-switcher__link:hover {
	color: var(--color-gold-light);
}

.lang-switcher__sep {
	color: var(--color-border);
	font-weight: 400;
}

.menu-toggle {
	display: none;
	width: 44px;
	height: 44px;
	border: 1px solid rgba(197, 154, 102, 0.62);
	background: rgba(6, 18, 29, 0.3);
	color: #fff;
	cursor: pointer;
}

.menu-toggle span:not(.screen-reader-text) {
	display: block;
	width: 18px;
	height: 2px;
	margin: 4px auto;
	background: currentColor;
}

.hero {
	position: relative;
	min-height: 800px;
	display: flex;
	align-items: center;
	overflow: hidden;
	color: #fff;
	background-color: var(--color-ink);
}

.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: url('assets/images/hero-office.jpg');
	background-image: -webkit-image-set(url('assets/images/hero-office.webp') type('image/webp'), url('assets/images/hero-office.jpg') type('image/jpeg'));
	background-image: image-set(url('assets/images/hero-office.webp') type('image/webp'), url('assets/images/hero-office.jpg') type('image/jpeg'));
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center right;
	animation: hero-zoom 28s ease-out both;
}

@keyframes hero-zoom {
	from {
		transform: scale(1);
	}
	to {
		transform: scale(1.07);
	}
}

.hero__overlay {
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 20% 45%, rgba(197, 154, 102, 0.08), rgba(6, 17, 27, 0) 32%), linear-gradient(90deg, rgba(5, 17, 28, 0.98) 0%, rgba(5, 17, 28, 0.92) 25%, rgba(5, 17, 28, 0.58) 49%, rgba(5, 17, 28, 0.08) 75%);
	pointer-events: none;
}

.hero__inner {
	position: relative;
	z-index: 1;
	padding-top: 172px;
	padding-bottom: 48px;
}

.hero__content {
	width: min(560px, 100%);
}

.hero__content > * {
	animation: hero-rise 900ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero__content h1 { animation-delay: 180ms; }
.hero__content .section-rule { animation-delay: 380ms; }
.hero__content p { animation-delay: 530ms; }
.hero__content .button { animation-delay: 700ms; }

@keyframes hero-rise {
	from {
		opacity: 0;
		transform: translateY(26px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.hero h1 {
	margin: 0;
	font-family: var(--font-serif);
	font-size: clamp(3rem, 5.1vw, 5.35rem);
	font-weight: 500;
	line-height: 1.12;
	letter-spacing: 0;
	text-shadow: 0 4px 22px rgba(0, 0, 0, 0.42);
}

.hero h1 em {
	font-style: italic;
	font-weight: 400;
}

.section-rule {
	display: block;
	width: 78px;
	height: 3px;
	margin: 34px 0;
	background: var(--color-gold-light);
}

.hero p {
	max-width: 540px;
	margin: 0 0 42px;
	color: rgba(255, 255, 255, 0.82);
	font-size: 1.05rem;
	line-height: 1.85;
}

.button {
	display: inline-flex;
	align-items: center;
	gap: 22px;
	min-height: 58px;
	padding: 0 28px;
	font-size: 0.88rem;
	font-weight: 800;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.button--outline {
	border: 1px solid var(--color-gold-light);
	color: #fff;
	background: rgba(5, 17, 28, 0.2);
	transition: background 180ms ease, color 180ms ease;
}

.button--outline:hover {
	background: var(--color-gold-light);
	color: var(--color-ink);
}

.section-band {
	padding: 74px 0;
	background: var(--color-paper-2);
	border-top: 3px solid transparent;
	border-image: linear-gradient(90deg, transparent 0%, var(--color-gold) 50%, transparent 100%) 1;
}

.section-band--light {
	background: var(--color-paper);
}

.section-heading h2,
.articles__head h2 {
	margin: 0;
	color: var(--color-ink);
	font-family: var(--font-serif);
	font-size: clamp(1.7rem, 2.3vw, 2.25rem);
	font-weight: 500;
	line-height: 1.2;
	text-transform: uppercase;
}

.section-heading--center {
	text-align: center;
}

.section-heading--center .section-rule {
	margin: 18px auto 0;
	width: 48px;
	height: 2px;
}

.section-kicker {
	display: inline-block;
	margin-bottom: 16px;
	color: var(--color-gold-deep);
	font-family: var(--font-sans);
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.24em;
	text-transform: uppercase;
}

.section-kicker::before {
	content: "";
	display: inline-block;
	width: 26px;
	height: 1px;
	margin-right: 13px;
	vertical-align: middle;
	background: currentColor;
	opacity: 0.7;
}

.section-heading .section-rule {
	width: 48px;
	margin: 18px 0 0;
}

.practice-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 190px));
	justify-content: center;
	margin-top: 46px;
}

.practice-card {
	min-height: 214px;
	padding: 12px 28px 6px;
	text-align: center;
	border-right: 1px solid var(--color-border);
	transition: background 220ms ease, box-shadow 220ms ease;
}

.practice-card:hover {
	background: #fff;
	box-shadow: 0 8px 32px rgba(16, 25, 32, 0.07);
}

.practice-card::after {
	content: "";
	display: block;
	width: 0;
	height: 2px;
	margin: 18px auto 0;
	background: var(--color-gold-light);
	transition: width 260ms ease;
}

.practice-card:hover::after {
	width: 48px;
}

.practice-card:hover .practice-card__icon {
	color: var(--color-gold);
}

.practice-card__icon {
	transition: color 220ms ease;
}

.practice-card:last-child {
	border-right: 0;
}

.practice-card__icon {
	width: 44px;
	height: 44px;
	margin: 0 auto 22px;
	color: #aa815e;
}

.practice-card svg,
.footer-contact svg {
	width: 100%;
	height: 100%;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.55;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.practice-card h3 {
	min-height: 48px;
	margin: 0 0 16px;
	color: var(--color-ink);
	font-family: var(--font-serif);
	font-size: 1.18rem;
	font-weight: 500;
	line-height: 1.3;
}

.practice-card p {
	margin: 0;
	color: var(--color-muted);
	font-size: 0.91rem;
	line-height: 1.75;
}

.team__inner {
	display: grid;
	grid-template-columns: 300px minmax(0, 1fr);
	gap: 72px;
	align-items: center;
}

.team__intro p {
	max-width: 270px;
	margin: 0 0 36px;
	color: #4d5864;
	font-size: 1rem;
	line-height: 1.85;
}

.team__intro .section-rule {
	width: 62px;
	height: 2px;
	margin: 20px 0 36px;
}

.text-link {
	display: inline-flex;
	align-items: center;
	gap: 18px;
	color: var(--color-gold-deep);
	font-size: 0.89rem;
	font-weight: 800;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	transition: color 180ms ease;
}

.text-link:hover {
	color: var(--color-ink);
}

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

.team-card {
	padding: 0 34px;
	text-align: center;
	border-left: 1px solid var(--color-border);
}

.team-card img {
	width: min(220px, 100%);
	aspect-ratio: 1 / 1.08;
	margin: 0 auto 24px;
	object-fit: cover;
	object-position: top center;
	filter: grayscale(1);
	transition: filter 400ms ease, transform 400ms ease;
}

.team-card:hover img {
	filter: grayscale(0);
	transform: scale(1.03);
}

.team-card h3 {
	margin: 0 0 6px;
	color: var(--color-ink);
	font-family: var(--font-serif);
	font-size: 1.16rem;
	font-weight: 500;
}

.team-card p {
	margin: 0 0 22px;
	color: var(--color-muted);
	font-size: 0.91rem;
}

.team-card a,
.article-card__link {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	color: #39414a;
	font-size: 0.88rem;
	font-weight: 700;
}

.team-card a:hover,
.article-card__link:hover {
	color: var(--color-gold-deep);
}

.articles__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 34px;
}

.article-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 350px));
	justify-content: center;
	gap: 58px;
}

.article-card {
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--color-border);
	box-shadow: 0 18px 42px rgba(16, 25, 32, 0.04);
	transition: transform 260ms ease, box-shadow 260ms ease;
}

.article-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 28px 56px rgba(16, 25, 32, 0.10);
}

.article-card img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

.article-card:hover img {
	transform: scale(1.05);
}

.article-card__body {
	padding: 28px 24px 24px;
}

.eyebrow {
	margin: 0 0 10px;
	color: var(--color-gold-deep);
	font-size: 0.78rem;
	font-weight: 900;
	letter-spacing: 0.07em;
	text-transform: uppercase;
}

.article-card h3 {
	min-height: 74px;
	margin: 0 0 12px;
	color: var(--color-ink);
	font-family: var(--font-serif);
	font-size: 1.22rem;
	font-weight: 500;
	line-height: 1.33;
}

.article-card time {
	display: block;
	margin-bottom: 16px;
	color: #4e5862;
	font-size: 0.9rem;
}

.section-band--dark {
	background: var(--color-ink);
}

.section-band--dark .section-kicker {
	color: var(--color-gold-light);
}

.section-band--dark .section-heading h2 {
	color: #f3f1ec;
}

.section-band--dark .team__intro p {
	color: #aeb5bf;
}

.section-band--dark .text-link {
	color: var(--color-gold-light);
}

.section-band--dark .text-link:hover {
	color: #ffffff;
}

.section-band--dark .team-card {
	border-color: rgba(255, 255, 255, 0.12);
}

.section-band--dark .team-card h3 {
	color: #f3f1ec;
}

.section-band--dark .team-card p {
	color: #aeb5bf;
}

.section-band--dark .team-card a {
	color: rgba(255, 255, 255, 0.74);
}

.section-band--dark .team-card a:hover {
	color: var(--color-gold-light);
}

.site-footer {
	padding-top: 56px;
	color: rgba(255, 255, 255, 0.78);
	background: radial-gradient(circle at 20% 0%, rgba(37, 62, 82, 0.34), rgba(7, 19, 30, 0) 28%), #06131f;
}

.site-footer__inner {
	width: min(calc(100% - 64px), 1320px);
	margin-inline: auto;
	display: grid;
	grid-template-columns: 1.45fr 0.9fr 1.25fr;
	gap: 72px;
	padding-bottom: 36px;
}

.site-logo--footer .site-logo__name {
	font-size: 2rem;
}

.footer-brand p {
	max-width: 360px;
	margin: 28px 0 0;
	color: rgba(255, 255, 255, 0.72);
	font-size: 0.93rem;
	line-height: 1.8;
}

.footer-links,
.footer-contact {
	padding-left: 56px;
	border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer h2 {
	margin: 0 0 18px;
	color: #fff;
	font-size: 0.95rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.site-footer ul {
	padding: 0;
	margin: 0;
	list-style: none;
}

.site-footer li {
	margin-bottom: 8px;
	font-size: 0.93rem;
	line-height: 1.45;
}

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

.footer-contact li {
	display: grid;
	grid-template-columns: 18px 1fr;
	gap: 18px;
	align-items: start;
	margin-bottom: 14px;
}

.footer-contact svg {
	width: 18px;
	height: 18px;
	color: var(--color-gold-light);
	margin-top: 2px;
}

.site-footer__bottom {
	width: min(calc(100% - 64px), 1320px);
	margin-inline: auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 18px 0 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	color: rgba(255, 255, 255, 0.5);
	font-size: 0.82rem;
}

.site-footer__bottom a {
	display: inline-flex;
	margin-right: 18px;
	padding-right: 18px;
	border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.site-footer__bottom a:last-child {
	border-right: 0;
}

.site-footer__bottom p {
	margin: 0;
}

/* Scroll-to-top */
.scroll-top {
	position: fixed;
	bottom: 32px;
	right: 32px;
	z-index: 90;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--color-ink);
	border: 1px solid var(--color-gold);
	color: var(--color-gold-light);
	cursor: pointer;
	opacity: 0;
	transform: translateY(12px);
	transition: opacity 280ms ease, transform 280ms ease, background 180ms ease;
	pointer-events: none;
}

.scroll-top.is-visible {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}

.scroll-top:hover {
	background: var(--color-gold);
	color: var(--color-ink);
}

.scroll-top svg {
	width: 18px;
	height: 18px;
	stroke: currentColor;
	stroke-width: 2;
	fill: none;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.default-content {
	padding: 170px 0 80px;
	background: var(--color-paper);
}

.page-content {
	max-width: 800px;
	margin-inline: auto;
	padding: 48px;
	background: #fff;
	border: 1px solid var(--color-border);
}

.page-content h1 {
	margin-top: 0;
	font-family: var(--font-serif);
	color: var(--color-ink);
}

/* Animations */
.animate-on-scroll {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 800ms cubic-bezier(0.16, 1, 0.3, 1), transform 800ms cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.practice-grid .animate-on-scroll:nth-child(2) { transition-delay: 100ms; }
.practice-grid .animate-on-scroll:nth-child(3) { transition-delay: 200ms; }
.practice-grid .animate-on-scroll:nth-child(4) { transition-delay: 300ms; }
.practice-grid .animate-on-scroll:nth-child(5) { transition-delay: 400ms; }
.practice-grid .animate-on-scroll:nth-child(6) { transition-delay: 500ms; }

.team-grid .animate-on-scroll:nth-child(2),
.article-grid .animate-on-scroll:nth-child(2) { transition-delay: 150ms; }
.team-grid .animate-on-scroll:nth-child(3),
.article-grid .animate-on-scroll:nth-child(3) { transition-delay: 300ms; }

@media (prefers-reduced-motion: reduce) {
	.hero::before,
	.hero__content > * {
		animation: none;
	}

	.animate-on-scroll {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

/* Contact Page */
.contact-layout {
	display: grid;
	grid-template-columns: 380px 1fr;
	gap: 64px;
	align-items: start;
}

.contact-info {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.contact-card {
	display: grid;
	grid-template-columns: 48px 1fr;
	gap: 20px;
	align-items: start;
	padding: 20px 0;
	border-bottom: 1px solid var(--color-border);
	color: var(--color-text);
	text-decoration: none;
	transition: color 180ms ease;
}

a.contact-card:hover {
	color: var(--color-gold);
}

.contact-card__icon {
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--color-gold);
	flex-shrink: 0;
}

.contact-card__icon svg {
	width: 22px;
	height: 22px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.contact-card__label {
	margin: 0 0 4px;
	color: var(--color-muted);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.contact-card__value {
	margin: 0;
	font-size: 0.97rem;
	line-height: 1.65;
}

.contact-map {
	position: sticky;
	top: 120px;
	height: 520px;
	border: 1px solid var(--color-border);
	overflow: hidden;
}

.contact-map iframe {
	width: 100%;
	height: 100%;
	display: block;
}

@media (max-width: 1120px) {
	.contact-layout {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.contact-map {
		position: static;
		height: 380px;
	}
}

/* Single Post */
.single-hero {
	position: relative;
	min-height: 480px;
	display: flex;
	align-items: flex-end;
	overflow: hidden;
	color: #fff;
	background-color: var(--color-ink);
}

.single-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: var(--single-image, none);
	background-size: cover;
	background-position: center;
}

.single-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(5, 17, 28, 0.96) 0%, rgba(5, 17, 28, 0.55) 100%);
	pointer-events: none;
}

.single-hero__inner {
	position: relative;
	z-index: 1;
	padding: 172px 0 52px;
	max-width: 800px;
}

.single-hero h1 {
	margin: 12px 0 16px;
	font-family: var(--font-serif);
	font-size: clamp(1.9rem, 3.5vw, 3rem);
	font-weight: 500;
	line-height: 1.18;
}

.single-hero time {
	color: rgba(255, 255, 255, 0.55);
	font-size: 0.9rem;
}

.single-content-wrap {
	max-width: 760px;
}

/* Entry Content — Gutenberg blocks */
.entry-content {
	font-size: 1.05rem;
	line-height: 1.85;
	color: var(--color-text);
}

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

.entry-content h2 {
	font-family: var(--font-serif);
	font-size: 1.55rem;
	font-weight: 500;
	color: var(--color-ink);
}

.entry-content h3 {
	font-family: var(--font-serif);
	font-size: 1.22rem;
	font-weight: 500;
	color: var(--color-ink);
}

.entry-content a {
	color: var(--color-gold);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.entry-content ul,
.entry-content ol {
	padding-left: 1.5em;
}

.entry-content blockquote {
	padding: 1.2em 1.6em;
	border-left: 3px solid var(--color-gold);
	background: var(--color-paper-2);
	font-style: italic;
	color: var(--color-muted);
}

.single-back {
	margin-top: 48px;
	padding-top: 32px;
	border-top: 1px solid var(--color-border);
}

/* Archive */
.archive-hero {
	position: relative;
	min-height: 340px;
	display: flex;
	align-items: center;
	overflow: hidden;
	color: #fff;
	background: var(--color-ink);
}

.archive-hero__overlay {
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 20% 45%, rgba(197, 154, 102, 0.1), transparent 40%);
	pointer-events: none;
}

.archive-hero__inner {
	position: relative;
	z-index: 1;
	padding-top: 160px;
}

.archive-hero h1 {
	margin: 0;
	font-family: var(--font-serif);
	font-size: clamp(2.2rem, 4vw, 3.5rem);
	font-weight: 500;
	text-transform: uppercase;
}

.archive-pagination {
	margin-top: 52px;
	text-align: center;
}

.archive-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	justify-content: center;
}

.archive-pagination .page-numbers a,
.archive-pagination .page-numbers span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border: 1px solid var(--color-border);
	color: var(--color-text);
	font-size: 0.9rem;
	transition: background 180ms ease, border-color 180ms ease;
}

.archive-pagination .page-numbers a:hover,
.archive-pagination .page-numbers .current {
	background: var(--color-gold);
	border-color: var(--color-gold);
	color: #fff;
}

/* Single Ekip */
.single-ekip {
	padding: 160px 0 80px;
	background: var(--color-paper);
}

.single-ekip__inner {
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: 64px;
	align-items: start;
}

.single-ekip__photo-wrap img {
	width: 100%;
	aspect-ratio: 1 / 1.08;
	object-fit: cover;
	object-position: top center;
	filter: grayscale(1);
}

.single-ekip h1 {
	margin: 0 0 8px;
	font-family: var(--font-serif);
	font-size: clamp(2rem, 3.5vw, 3rem);
	font-weight: 500;
	color: var(--color-ink);
}

.single-ekip__role {
	margin: 0 0 32px;
	color: var(--color-gold);
	font-size: 0.88rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

/* Misc */
.team-card__no-photo {
	width: min(220px, 100%);
	aspect-ratio: 1 / 1.08;
	margin: 0 auto 24px;
	background: var(--color-paper-2);
	border: 1px solid var(--color-border);
}

.no-content {
	color: var(--color-muted);
	font-style: italic;
}

@media (max-width: 1120px) {
	.site-header__top,
	.site-header__bottom {
		width: min(calc(100% - 40px), 1370px);
	}

	.site-header__top {
		transition: max-height 280ms ease, opacity 200ms ease, padding 280ms ease;
	}

	.site-header.is-scrolled .site-header__top {
		max-height: 0;
		opacity: 0;
		padding-top: 0;
		padding-bottom: 0;
	}

	.menu-toggle {
		display: block;
		position: relative;
		z-index: 30;
	}

	.primary-navigation {
		position: absolute;
		left: 20px;
		right: 20px;
		top: 88px;
		display: none;
		padding: 22px;
		background: rgba(7, 19, 31, 0.97);
		border: 1px solid rgba(197, 154, 102, 0.35);
		box-shadow: 0 22px 48px rgba(0, 0, 0, 0.28);
	}

	.site-header.is-open .primary-navigation {
		display: block;
	}

	.primary-menu {
		display: grid;
		gap: 2px;
	}

	.primary-menu a {
		width: 100%;
		padding: 9px 12px;
	}

	.primary-menu a::after {
		display: none;
	}

	.practice-grid {
		grid-template-columns: repeat(3, 1fr);
		row-gap: 38px;
	}

	.practice-card:nth-child(3n) {
		border-right: 0;
	}

	.team__inner {
		grid-template-columns: 1fr;
		gap: 42px;
	}

	.team__intro {
		display: grid;
		grid-template-columns: minmax(0, 320px) 1fr;
		gap: 24px;
		align-items: end;
	}

	.team__intro p {
		max-width: none;
		margin-bottom: 0;
	}

	.article-grid {
		gap: 24px;
	}

	.site-footer__inner {
		grid-template-columns: 1fr 1fr;
		gap: 40px;
	}

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

	.footer-links {
		padding-left: 0;
		border-left: 0;
	}
}

@media (max-width: 760px) {
	.container,
	.site-footer__inner,
	.site-footer__bottom {
		width: min(calc(100% - 32px), var(--container));
	}

	.site-header__top {
		padding-top: 16px;
		padding-bottom: 10px;
	}

	.site-header__bottom {
		padding-bottom: 10px;
		justify-content: space-between;
	}

	.site-header__bottom .lang-switcher {
		position: static;
		font-size: 22px;
	}

	.site-header.is-scrolled .lang-switcher {
		font-size: 18px;
	}

	.site-logo__name {
		font-size: 1.38rem;
	}

	.site-logo__tagline {
		padding-inline: 17px;
		font-size: 0.58rem;
		letter-spacing: 0.3em;
	}

	.site-logo__tagline::before,
	.site-logo__tagline::after {
		min-width: 8px;
	}

	.hero {
		min-height: 720px;
	}

	.hero__overlay {
		background: linear-gradient(90deg, rgba(5, 17, 28, 0.98), rgba(5, 17, 28, 0.84));
	}

	.hero__inner {
		padding-top: 150px;
	}

	.hero h1 {
		font-size: 2.75rem;
	}

	.hero p {
		font-size: 1rem;
	}

	.section-band {
		padding: 54px 0;
	}

	.practice-grid,
	.team-grid,
	.article-grid,
	.site-footer__inner {
		grid-template-columns: 1fr;
	}

	.practice-card,
	.practice-card:nth-child(3n),
	.team-card {
		border-right: 0;
		border-left: 0;
		border-bottom: 1px solid var(--color-border);
	}

	.practice-card:last-child,
	.team-card:last-child {
		border-bottom: 0;
	}

	.team__intro {
		display: block;
	}

	.team__intro p {
		margin-bottom: 28px;
	}

	.team-card {
		padding: 32px 0;
	}

	.articles__head,
	.site-footer__bottom {
		display: block;
	}

	.single-ekip {
		padding: 120px 0 60px;
	}

	.single-ekip__inner {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.single-ekip__photo-wrap img {
		max-width: 260px;
	}

	.articles__head .text-link {
		margin-top: 18px;
	}

	.article-card h3 {
		min-height: auto;
	}

	.footer-links,
	.footer-contact {
		padding-left: 0;
		border-left: 0;
	}

	.site-footer__bottom a {
		margin-bottom: 8px;
	}

	.site-footer__bottom p {
		margin-top: 12px;
	}

	.page-content {
		padding: 28px 20px;
	}

	.single-hero__inner {
		padding-top: 120px;
		padding-bottom: 36px;
	}

	.default-content {
		padding: 120px 0 60px;
	}
}
