/* ==========================================================================
   MNK Akademik Klinik — lacivert & altın
   ========================================================================== */

:root {
	--navy: #0f1f3b;
	--navy-deep: color-mix(in srgb, var(--navy) 80%, #000);
	--navy-card: color-mix(in srgb, var(--navy) 86%, #fff);
	--navy-line: color-mix(in srgb, var(--navy) 70%, #fff);
	--gold: #c39a52;
	--gold-soft: color-mix(in srgb, var(--gold) 70%, #fff);
	--cream: #f6f3ee;
	--white: #fff;
	--ink: #2b303b;
	--muted: #5d6270;
	--line: #e6e0d6;
	--serif: "Libre Caslon Text", Georgia, "Times New Roman", serif;
	--sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--radius: 4px;
	--shadow: 0 6px 24px rgba(15, 31, 59, .07);
	--container: 1200px;
	--header-h: 88px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--cream);
	color: var(--ink);
	font: 400 15px/1.7 var(--sans);
	-webkit-font-smoothing: antialiased;
}

img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s, background-color .2s, border-color .2s, transform .2s; }
a:hover { color: var(--gold); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.2; margin: 0 0 .6em; color: var(--navy); }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 860px; }
.center { text-align: center; }

.skip-link { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--gold); color: var(--navy); padding: 8px 14px; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.mnk-icon { width: 1em; height: 1em; flex: none; }

/* ---------- Brand ---------- */
.brand { display: flex; align-items: center; gap: 10px; color: var(--white); }
.brand:hover { color: var(--white); }
.brand__mark {
	font-family: var(--serif);
	font-size: 42px;
	line-height: 1;
	letter-spacing: -.12em;
	color: var(--gold);
	padding-right: .12em;
	display: flex;
	align-items: center;
}
.brand__mark img { height: 47px; width: auto; max-width: none; flex: none; }
.brand__mark--default { flex: none; padding-right: 0; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__title { font-family: var(--serif); font-size: 12px; letter-spacing: .08em; }
.brand__name { font-family: var(--serif); font-size: 18px; letter-spacing: .03em; margin: 2px 0 3px; white-space: nowrap; }
.brand__sub { font-size: 9px; letter-spacing: .14em; color: var(--gold); font-weight: 500; }

/* ---------- Header ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--navy);
	transition: box-shadow .3s;
}
.admin-bar .site-header { top: 32px; }
.site-header.is-scrolled { box-shadow: 0 4px 20px rgba(0, 0, 0, .25); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 16px; }

.main-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.main-nav .menu > li { position: relative; }
.main-nav .menu > li > a {
	display: flex;
	align-items: center;
	gap: 4px;
	padding: 33px 12px 31px;
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: .02em;
	text-transform: uppercase;
	color: var(--white);
	border-bottom: 2px solid transparent;
	white-space: nowrap;
}
.main-nav .menu > li > a:hover,
.main-nav .menu > .current-menu-item > a,
.main-nav .menu > .current-menu-ancestor > a,
.main-nav .menu > .current_page_item > a { color: var(--gold); }
.main-nav .menu > .current-menu-item > a,
.main-nav .menu > .current_page_item > a { border-bottom-color: var(--gold); }
.menu-chevron { width: 12px; height: 12px; }

.main-nav .sub-menu {
	list-style: none;
	margin: 0;
	padding: 10px 0;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 240px;
	background: var(--navy-deep);
	border-top: 2px solid var(--gold);
	box-shadow: 0 16px 30px rgba(0, 0, 0, .25);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity .2s, transform .2s, visibility .2s;
}
.main-nav .menu > li:hover > .sub-menu,
.main-nav .menu > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.main-nav .sub-menu a { display: block; padding: 9px 20px; font-size: 13px; color: rgba(255, 255, 255, .85); }
.main-nav .sub-menu a:hover,
.main-nav .sub-menu .current-menu-item > a { color: var(--gold); background: rgba(255, 255, 255, .03); }

.nav-toggle { display: none; background: none; border: 0; color: var(--white); padding: 8px; cursor: pointer; }
.nav-toggle .mnk-icon { width: 28px; height: 28px; }
.nav-toggle__close { display: none; }

/* ---------- Buttons & links ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 13px 26px;
	border-radius: 3px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .06em;
	border: 1px solid transparent;
	cursor: pointer;
}
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--gold); color: var(--navy); }
.btn--gold { background: var(--gold); color: var(--navy); }
.btn--gold:hover { background: var(--white); color: var(--navy); }

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .04em;
	color: var(--navy);
}
.link-arrow .mnk-icon { width: 18px; height: 18px; color: var(--gold); transition: transform .2s; }
.link-arrow:hover .mnk-icon { transform: translateX(4px); }

.rule { display: block; width: 44px; height: 1px; background: var(--gold); margin: 18px auto 0; }
.rule--left { margin-left: 0; }

/* ---------- Section ---------- */
.section { padding: 64px 0; }
.section--cream { background: var(--cream); }
.section--white { background: var(--white); }
.section--navy { background: var(--navy); color: var(--white); }
.section__more { text-align: center; margin: 36px 0 0; }

.section-title { font-size: 32px; text-align: center; margin: 0 0 36px; }
.section-title::after { content: ""; display: block; width: 40px; height: 1px; background: var(--gold); margin: 14px auto 0; }
.section-title--gold { color: var(--gold); font-size: 25px; }
.section-title--left { text-align: left; }
.section-title--left::after { margin-left: 0; }

/* ---------- Hero ---------- */
.hero {
	position: relative;
	overflow: hidden;
	color: var(--white);
	background:
		radial-gradient(ellipse 60% 70% at 75% 55%, rgba(195, 154, 82, .18), transparent 70%),
		linear-gradient(100deg, var(--navy-deep) 0%, var(--navy) 55%, var(--navy-card) 100%);
	border-bottom: 5px solid transparent;
	border-image: linear-gradient(90deg, var(--gold), var(--gold-soft) 60%, var(--gold)) 1;
}
.hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
	align-items: end;
	min-height: 456px;
}
.hero__content { padding: 72px 0 48px; position: relative; z-index: 2; }
.hero__kicker { font-family: var(--serif); color: var(--gold); font-size: 27px; margin: 0 0 4px; }
.hero__title { font-size: clamp(40px, 5.6vw, 62px); color: var(--white); margin: 0; letter-spacing: -.005em; }
.hero__content .rule { margin-top: 28px; margin-bottom: 28px; }
.hero__text { max-width: 470px; font-size: 16px; line-height: 1.75; color: rgba(255, 255, 255, .92); margin-bottom: 32px; }
.hero .btn { margin-bottom: 36px; }

.hero__features { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; }
.hero__features li { padding: 0 24px; border-left: 1px solid rgba(195, 154, 82, .35); }
.hero__features li:first-child { padding-left: 0; border-left: 0; }
.feature { display: flex; flex-direction: column; gap: 2px; color: var(--white); }
.feature__icon { width: 30px; height: 30px; color: var(--gold); margin-bottom: 14px; }
.feature__title { font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.feature__text { font-size: 14px; color: var(--gold); }
a.feature:hover .feature__title { color: var(--gold); }

.hero__media { align-self: stretch; display: flex; align-items: flex-end; justify-content: flex-end; margin-right: -24px; }
.hero__media img {
	width: 100%;
	max-width: 620px;
	max-height: 520px;
	object-fit: cover;
	object-position: top center;
	-webkit-mask-image: linear-gradient(to right, transparent 0, #000 22%, #000 78%, transparent 100%);
	mask-image: linear-gradient(to right, transparent 0, #000 22%, #000 78%, transparent 100%);
}

/* ---------- Spec cards ---------- */
.card-grid { display: grid; gap: 20px; }
.card-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }

.section--spec { padding-top: 40px; padding-bottom: 28px; }
.section--spec .section-title { margin-bottom: 24px; }

.spec-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	background: var(--white);
	padding: 22px 22px 20px;
	border-radius: var(--radius);
	box-shadow: 0 1px 2px rgba(15, 31, 59, .04);
	border: 1px solid rgba(15, 31, 59, .03);
	color: var(--ink);
	height: 100%;
}
.spec-card:hover { color: var(--ink); transform: translateY(-4px); box-shadow: var(--shadow); }
.spec-card__icon { width: 44px; height: 44px; color: var(--gold); margin-bottom: 14px; stroke-width: 1.4; }
.spec-card__thumb { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; margin-bottom: 14px; }
.spec-card__title { font-size: 21px; margin: 0 0 12px; }
.spec-card__text { font-size: 14px; line-height: 1.6; color: var(--muted); margin: 0; }

/* ---------- Academic ---------- */
.section--acad { padding: 30px 0 28px; }
.section--acad .section-title { margin-bottom: 16px; }
.section--acad .section-title::after { margin-top: 10px; }
.acad-grid { display: grid; grid-template-columns: 1fr 1fr 1.08fr; gap: 12px; }
.acad-card {
	display: flex;
	align-items: center;
	gap: 22px;
	padding: 18px 26px;
	background: var(--navy-card);
	border: 1px solid rgba(255, 255, 255, .05);
	border-radius: var(--radius);
	color: var(--white);
}
.acad-card:hover { color: var(--white); background: color-mix(in srgb, var(--navy-card) 90%, var(--gold)); border-color: rgba(195, 154, 82, .4); }
.acad-card__icon { width: 50px; height: 50px; color: var(--gold); stroke-width: 1.2; }
.acad-card__body { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.acad-card__title { font-family: var(--serif); color: var(--gold); font-size: 19px; }
.acad-card__text { font-size: 14px; line-height: 1.6; color: var(--gold-soft); }
.acad-card__arrow { width: 22px; height: 22px; color: var(--gold); transition: transform .2s; }
.acad-card:hover .acad-card__arrow { transform: translateX(4px); }

/* ---------- About + Press ---------- */
.section--about { padding: 32px 0 40px; }
.about-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.4fr; gap: 24px 28px; align-items: start; }
.no-press .about-grid { grid-template-columns: 1.4fr 1fr; }
.about__text { padding-top: 22px; }
.about__text .section-title { font-size: 28px; margin-bottom: 28px; }
.about__body { font-size: 14px; line-height: 1.9; color: var(--ink); margin-bottom: 18px; }
.about__body p { margin-bottom: 0; }
.about__photo { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about__photo img { width: 100%; aspect-ratio: 242 / 290; object-fit: cover; }

.press__title { font-size: 28px; margin: 0 0 16px; }
.press__list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 12px; }
.press-item { display: flex; gap: 16px; align-items: flex-start; color: var(--navy); }
.press-item:hover { color: var(--navy); }
.press-item:hover .press-item__title { color: var(--gold); }
.press-item__img {
	flex: none;
	width: 120px;
	aspect-ratio: 104 / 64;
	border-radius: 2px;
	overflow: hidden;
	background: var(--navy);
	color: var(--gold);
	display: grid;
	place-items: center;
}
.press-item__img img { width: 100%; height: 100%; object-fit: cover; }
.press-item__img .mnk-icon { width: 26px; height: 26px; }
.press-item__body { display: flex; flex-direction: column; padding-top: 2px; }
.press-item__title { font-family: var(--serif); font-size: 14px; line-height: 1.35; margin-bottom: 6px; transition: color .2s; }
.press-item__source { font-size: 12.5px; font-weight: 600; color: var(--gold); }
.press-item__date { font-size: 12.5px; color: var(--muted); }
.press .link-arrow { font-size: 12.5px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: var(--white); padding: 28px 0; }
.site-footer__grid { display: grid; grid-template-columns: 1.15fr .8fr .8fr 1.3fr; }
.site-footer__grid > div { padding: 6px 28px 6px; border-left: 1px solid rgba(255, 255, 255, .1); }
.site-footer__grid > div:first-child { border-left: 0; padding-left: 36px; }
.brand--footer { margin-top: 18px; }
.brand--footer .brand__mark { font-size: 34px; }
.brand--footer .brand__name { font-size: 16px; }
.brand--footer .brand__title { font-size: 11px; }
.brand--footer .brand__sub { font-size: 9px; }
.site-footer__copy { font-size: 13.5px; line-height: 1.85; margin: 46px 0 0; color: rgba(255, 255, 255, .92); }
.site-footer__title { font-family: var(--sans); font-size: 12.5px; font-weight: 600; color: var(--gold); letter-spacing: .04em; margin: 16px 0 18px; }
.footer-menu { list-style: none; margin: 0; padding: 0; }
.footer-menu a { display: block; font-size: 14px; line-height: 1.7; color: rgba(255, 255, 255, .92); }
.site-footer__col:nth-child(3) .footer-menu a { line-height: 1.85; }
.footer-menu a:hover { color: var(--gold); }

.contact-list { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 12px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 13px; line-height: 1.6; }
.contact-list .mnk-icon { width: 17px; height: 17px; color: var(--gold); margin-top: 1px; }
.social { display: flex; gap: 18px; flex-wrap: wrap; }
.social a { color: var(--gold); display: inline-flex; }
.social a:hover { color: var(--white); }
.social .mnk-icon { width: 24px; height: 24px; }

/* ---------- Inner page hero ---------- */
.page-hero {
	background:
		radial-gradient(ellipse 50% 120% at 90% 0%, rgba(195, 154, 82, .14), transparent 60%),
		linear-gradient(100deg, var(--navy-deep), var(--navy));
	color: var(--white);
	padding: 54px 0 50px;
	border-bottom: 4px solid var(--gold);
}
.page-hero__title { color: var(--white); font-size: clamp(30px, 4vw, 44px); margin: 0; }
.page-hero__sub { color: var(--gold-soft); max-width: 680px; margin: 14px 0 0; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; padding: 0; font-size: 12px; color: rgba(255, 255, 255, .6); }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: var(--gold); }
.breadcrumbs a:hover { color: var(--gold); }

/* ---------- Content ---------- */
.entry-content { font-size: 16px; line-height: 1.8; }
.entry-content > * { margin-top: 0; margin-bottom: 1.1em; }
.entry-content h2 { font-size: 26px; margin-top: 1.6em; }
.entry-content h3 { font-size: 21px; margin-top: 1.4em; }
.entry-content a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.entry-content a:hover { color: var(--navy); }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li::marker { color: var(--gold); }
.entry-content blockquote { margin-left: 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--gold); font-family: var(--serif); font-size: 19px; color: var(--navy); }
.entry-content img { border-radius: var(--radius); }
.entry-content .alignwide { margin-left: -60px; margin-right: -60px; max-width: none; }
.entry-content--full > .alignfull { max-width: none; }
.entry-content--full > *:not(.alignfull) { max-width: var(--container); margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; }
.entry-thumb { margin: 0 0 28px; border-radius: var(--radius); overflow: hidden; }
.entry-embed { position: relative; aspect-ratio: 16 / 9; margin-bottom: 28px; }
.entry-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.single-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
.single-main { background: var(--white); padding: 40px 44px; border-radius: var(--radius); box-shadow: var(--shadow); }
.single-main .btn { margin-top: 12px; }

.details { display: grid; grid-template-columns: 160px 1fr; margin: 28px 0 0; border-top: 1px solid var(--line); }
.details dt, .details dd { padding: 12px 0; border-bottom: 1px solid var(--line); margin: 0; font-size: 14px; }
.details dt { font-weight: 600; color: var(--navy); }
.details dd a { color: var(--gold); }

.sidebar { display: grid; gap: 24px; position: sticky; top: calc(var(--header-h) + 24px); }
.side-box { background: var(--white); padding: 26px 28px; border-radius: var(--radius); box-shadow: var(--shadow); }
.side-box__title { font-size: 19px; margin-bottom: 14px; }
.side-list { list-style: none; margin: 0 0 16px; padding: 0; }
.side-list li { border-bottom: 1px solid var(--line); }
.side-list a { display: block; padding: 10px 0; font-size: 14px; }
.side-box--navy { background: var(--navy); color: var(--white); }
.side-box--navy .side-box__title { color: var(--gold); }
.side-box--navy p { font-size: 14px; color: rgba(255, 255, 255, .85); }
.side-phone { display: flex; align-items: center; gap: 10px; font-size: 18px; font-family: var(--serif); margin-bottom: 18px; }
.side-phone .mnk-icon { width: 20px; height: 20px; color: var(--gold); }

/* ---------- Archive cards & lists ---------- */
.filter-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter-tabs a { padding: 8px 18px; border: 1px solid var(--line); border-radius: 30px; font-size: 13px; background: var(--white); }
.filter-tabs a small { color: var(--muted); margin-left: 2px; }
.filter-tabs a.is-active, .filter-tabs a:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.filter-tabs a.is-active small { color: var(--gold); }

.post-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .2s; }
.post-card:hover { transform: translateY(-4px); }
.post-card__media { display: grid; place-items: center; aspect-ratio: 16 / 10; background: var(--navy); color: var(--gold); overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__media .mnk-icon { width: 56px; height: 56px; stroke-width: 1.2; }
.post-card__body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.post-card__cat { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.post-card__title { font-size: 19px; margin-bottom: 10px; }
.post-card__text { font-size: 14px; color: var(--muted); flex: 1; }
.post-card__date { font-size: 13px; color: var(--muted); }
.post-card__ext { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--gold); margin-top: 10px; }
.post-card__ext .mnk-icon { width: 14px; height: 14px; }

.list { display: grid; gap: 14px; }
.list-item { display: flex; gap: 24px; padding: 24px 28px; background: var(--white); border-radius: var(--radius); box-shadow: 0 1px 2px rgba(15, 31, 59, .04); border-left: 3px solid transparent; transition: border-color .2s, box-shadow .2s; }
.list-item:hover { border-left-color: var(--gold); box-shadow: var(--shadow); }
.list-item__icon { flex: none; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--cream); color: var(--gold); }
.list-item__icon .mnk-icon { width: 26px; height: 26px; }
.list-item__body { flex: 1; min-width: 0; }
.list-item__title { font-size: 18px; margin: 6px 0 8px; }
.list-item__meta { font-size: 13.5px; color: var(--muted); margin: 0 0 4px; }
.list-item__meta--em { color: var(--navy); font-style: italic; }
.list-item__links { display: flex; flex-wrap: wrap; gap: 18px; margin: 8px 0 0; font-size: 13px; }
.list-item__links a { color: var(--gold); display: inline-flex; align-items: center; gap: 5px; }
.list-item__links .mnk-icon { width: 13px; height: 13px; }
.badge { display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 10px; border-radius: 20px; background: var(--navy); color: var(--gold); }
.badge--outline { background: transparent; border: 1px solid var(--gold); color: var(--navy); }

.date-box { flex: none; width: 74px; text-align: center; background: var(--navy); color: var(--white); border-radius: var(--radius); padding: 10px 6px; display: flex; flex-direction: column; line-height: 1.1; align-self: flex-start; }
.date-box__day { font-family: var(--serif); font-size: 26px; color: var(--gold); }
.date-box__mon { font-size: 11px; font-weight: 700; letter-spacing: .08em; margin-top: 4px; }
.date-box__year { font-size: 11px; color: rgba(255, 255, 255, .7); }

.empty { text-align: center; color: var(--muted); padding: 40px 0; }

.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }
.pagination .page-numbers { min-width: 40px; height: 40px; padding: 0 12px; display: inline-grid; place-items: center; border-radius: var(--radius); background: var(--white); font-size: 14px; }
.pagination .page-numbers.current, .pagination a.page-numbers:hover { background: var(--navy); color: var(--gold); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 48px; align-items: start; }
.contact-info { display: grid; gap: 14px; }
.contact-info .social { margin-top: 10px; }
.info-card { display: flex; gap: 16px; padding: 20px 22px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
.info-card > .mnk-icon { width: 26px; height: 26px; color: var(--gold); }
.info-card h3 { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin: 2px 0 6px; }
.info-card p { margin: 0; font-size: 14.5px; }
.contact-main { background: var(--white); padding: 36px 40px; border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-note { color: var(--muted); font-size: 14px; }
.map iframe { display: block; width: 100%; height: 420px; border: 0; filter: grayscale(.4) contrast(1.05); }

.contact-form { display: grid; gap: 16px; }
.contact-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--navy); }
.contact-form input:not([type=checkbox]), .contact-form select, .contact-form textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--cream);
	color: var(--ink);
	font-weight: 400;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--gold); background: var(--white); }
.contact-form .form-check { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; color: var(--muted); }
.contact-form .form-check input { margin-top: 4px; accent-color: var(--navy); }
.contact-form .btn { justify-self: start; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-notice { padding: 14px 18px; border-radius: var(--radius); font-size: 14px; margin: 0; }
.form-notice--success { background: #e9f5ec; color: #1d6b38; border-left: 3px solid #1d6b38; }
.form-notice--error { background: #fbeceb; color: #9a2a22; border-left: 3px solid #9a2a22; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Search form ---------- */
.search-inline { margin: 0 auto 32px; max-width: 520px; }
.search-form { display: flex; gap: 8px; }
.search-form label { flex: 1; }
.search-form .search-field { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); }
.search-form .search-submit { padding: 0 22px; border: 0; border-radius: var(--radius); background: var(--navy); color: var(--white); cursor: pointer; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
	.main-nav .menu > li > a { padding-left: 8px; padding-right: 8px; font-size: 11px; }
	.brand__name { font-size: 16px; }
}

@media (max-width: 1024px) {
	:root { --header-h: 76px; }
	.nav-toggle { display: inline-flex; }
	.nav-open .nav-toggle__open { display: none; }
	.nav-open .nav-toggle__close { display: block; }
	.main-nav {
		position: fixed;
		inset: var(--header-h) 0 0 0;
		background: var(--navy);
		overflow-y: auto;
		padding: 12px 24px 40px;
		transform: translateX(100%);
		transition: transform .3s ease;
	}
	.admin-bar .main-nav { top: calc(var(--header-h) + 46px); }
	.nav-open .main-nav { transform: none; }
	.nav-open { overflow: hidden; }
	.main-nav .menu { flex-direction: column; gap: 0; }
	.main-nav .menu > li { border-bottom: 1px solid rgba(255, 255, 255, .08); }
	.main-nav .menu > li > a { padding: 16px 0; font-size: 14px; border-bottom: 0; justify-content: space-between; }
	.main-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; padding: 0 0 12px 12px; display: none; }
	.main-nav .is-open > .sub-menu { display: block; }
	.main-nav .is-open > a .menu-chevron { transform: rotate(180deg); }

	.hero__inner { grid-template-columns: 1fr; }
	.hero__content { padding: 56px 0 24px; }
	.hero__media { margin: 0 -24px; justify-content: center; }
	.hero__media img { max-width: 560px; -webkit-mask-image: linear-gradient(to bottom, #000 80%, #000); mask-image: none; }

	.card-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.card-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.acad-grid { grid-template-columns: 1fr; }
	.about-grid, .no-press .about-grid { grid-template-columns: 1fr 1fr; }
	.press { grid-column: 1 / -1; }
	.press-item__title { max-width: none; font-size: 15px; }
	.about__body { font-size: 14px; }

	.site-footer__grid { grid-template-columns: 1fr 1fr; gap: 24px 0; }
	.site-footer__grid > div:nth-child(3) { border-left: 0; padding-left: 36px; }
	.single-grid, .contact-grid { grid-template-columns: 1fr; }
	.sidebar { position: static; }
}

@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
}

@media (max-width: 640px) {
	body { font-size: 15px; }
	.container { padding: 0 18px; }
	.site-header__inner { gap: 12px; }
	.brand { gap: 8px; }
	.brand__mark { font-size: 34px; }
	.brand__name { font-size: 14px; white-space: normal; }
	.brand__sub { font-size: 8px; }
	.section { padding: 48px 0; }
	.section-title { font-size: 26px; }
	.hero__features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.hero__features li { padding: 0 10px; }
	.hero__features li:first-child { padding-left: 0; }
	.feature__title { font-size: 10.5px; }
	.feature__text { font-size: 12px; line-height: 1.4; }
	.card-grid--4, .card-grid--3 { grid-template-columns: 1fr; }
	.about-grid, .no-press .about-grid { grid-template-columns: 1fr; }
	.site-footer__grid { grid-template-columns: 1fr; }
	.site-footer__grid > div, .site-footer__grid > div:first-child, .site-footer__grid > div:nth-child(3) { border-left: 0; padding: 0; }
	.single-main, .contact-main { padding: 26px 22px; }
	.form-row { grid-template-columns: 1fr; }
	.list-item { padding: 20px; gap: 16px; }
	.list-item__icon { display: none; }
	.details { grid-template-columns: 1fr; }
	.details dt { border-bottom: 0; padding-bottom: 0; }
	.entry-content .alignwide { margin-left: 0; margin-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
