/*
Theme Name: UMRAM 2026
Description: Theme for the National Magnetic Resonance Research Center (UMRAM). Uses the existing people, news and publication data.
Version: 1.1.0
Requires PHP: 7.4
Text Domain: umram
*/

:root {
	--ink: #0F2235;
	--text: #1B2733;
	--body: #44515C;
	--muted: #56636E;
	--line: #E1E7EC;
	--line-soft: #EBF0F3;
	--bg: #F3F6F8;
	--card: #ffffff;
	--slate: #46607A;
	--slate-dark: #34495E;
	--on-slate: #D7E0E8;
	--accent: #0A5FA8;
	--accent-dark: #08467C;
	--hover: #EEF3F7;
	--r-sm: 10px;
	--r: 16px;
	--r-lg: 24px;
	--shadow-sm: 0 1px 2px rgba(15, 34, 53, .04), 0 2px 8px rgba(15, 34, 53, .04);
	--shadow-md: 0 1px 3px rgba(15, 34, 53, .06), 0 12px 36px rgba(15, 34, 53, .10);
	--shadow-hover: 0 2px 6px rgba(15, 34, 53, .06), 0 16px 40px rgba(15, 34, 53, .12);
	--wrap: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }
h1, h2, h3, h4 { color: var(--ink); font-weight: 600; line-height: 1.25; margin: 0 0 .6em; letter-spacing: -.005em; }
h1 { font-size: 40px; }
h2 { font-size: 28px; }
h3 { font-size: 21px; }
h4 { font-size: 18px; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 1000; background: #fff; padding: 10px 16px; border-radius: var(--r-sm); box-shadow: var(--shadow-md); clip: auto; width: auto; height: auto; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

/* Buttons */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 13px 24px; border-radius: 12px;
	font-size: 17px; font-weight: 600; line-height: 1.2;
	border: 1px solid transparent; cursor: pointer;
	transition: box-shadow .2s, transform .2s, background .2s, border-color .2s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 4px 10px rgba(15, 34, 53, .14), 0 10px 24px rgba(15, 34, 53, .12); }
.btn-light { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .18), 0 6px 16px rgba(0, 0, 0, .16); }
.btn-light:hover { color: var(--ink); }
.btn-ghost { background: rgba(255, 255, 255, .10); color: #fff; border-color: rgba(255, 255, 255, .32); font-weight: 500; backdrop-filter: blur(4px); }
.btn-ghost:hover { color: #fff; background: rgba(255, 255, 255, .18); }
.btn-outline { background: #fff; color: var(--ink); border-color: #CDD6DE; font-weight: 500; font-size: 16px; padding: 10px 18px; box-shadow: var(--shadow-sm); }
.btn-outline:hover { color: var(--ink); border-color: #A9B7C4; }
.btn-primary { background: var(--slate); color: #fff; box-shadow: 0 1px 2px rgba(15, 34, 53, .2), 0 4px 12px rgba(70, 96, 122, .25); }
.btn-primary:hover { color: #fff; background: var(--slate-dark); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid rgba(225, 231, 236, .9); }
.admin-bar .site-header { top: 32px; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 14px; color: var(--ink); flex: none; }
.brand:hover { color: var(--ink); }
.brand img { height: 48px; width: auto; display: block; }
.brand-text { display: flex; flex-direction: column; gap: 1px; padding-left: 14px; border-left: 1px solid var(--line); }
.brand-sub { font-size: 15px; color: var(--muted); line-height: 1.3; white-space: nowrap; }
.header-right { display: flex; align-items: center; gap: 14px; order: 3; }
.main-nav { order: 2; margin-left: auto; }
.main-nav > ul > li.menu-item-home { display: none; }

.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav > ul { display: flex; align-items: center; gap: 2px; }
.main-nav li { position: relative; }
.main-nav > ul > li > a { display: block; padding: 9px 11px; border-radius: 10px; font-size: 16px; font-weight: 500; color: var(--text); white-space: nowrap; transition: background .15s, color .15s; }
.main-nav > ul > li > a:hover,
.main-nav > ul > li:focus-within > a { background: var(--hover); color: var(--ink); }
.main-nav > ul > li.current-menu-item > a,
.main-nav > ul > li.current-menu-ancestor > a,
.main-nav > ul > li.current-menu-parent > a { color: var(--accent); background: #EAF2FA; }
.main-nav .menu-item-has-children > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); opacity: .55; }
.main-nav .sub-menu {
	display: none; position: absolute; top: calc(100% + 6px); left: 0; min-width: 260px;
	background: #fff; border: 1px solid var(--line); border-radius: var(--r);
	box-shadow: var(--shadow-md); padding: 8px; z-index: 60;
}
.main-nav .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }
.main-nav li:hover > .sub-menu,
.main-nav li:focus-within > .sub-menu { display: block; }
.main-nav .sub-menu a { display: block; padding: 10px 14px; border-radius: 10px; font-size: 16px; color: var(--text); }
.main-nav .sub-menu a:hover { background: var(--hover); color: var(--ink); }
.main-nav .lang-item, .main-nav a[href="#pll_switcher"] { display: none !important; }
.main-nav li:has(> a[href="#pll_switcher"]) { display: none; }

.lang-switch { display: flex; padding: 3px; gap: 2px; background: #EDF1F4; border-radius: 999px; font-size: 15px; flex: none; }
.lang-switch a { padding: 5px 12px; color: var(--muted); font-weight: 600; border-radius: 999px; }
.lang-switch a:hover { color: var(--ink); }
.lang-switch a.is-current { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(15, 34, 53, .14); }

.nav-toggle { display: none; background: #fff; border: 1px solid #CDD6DE; border-radius: 12px; padding: 9px 16px; font: inherit; font-size: 16px; font-weight: 500; color: var(--ink); cursor: pointer; box-shadow: var(--shadow-sm); }

@media (max-width: 1280px) {
	.nav-toggle { display: inline-flex; }
	.header-inner { flex-wrap: wrap; }
	.header-right { margin-left: auto; }
	.main-nav { display: none; width: 100%; padding: 0 0 16px; order: 4; margin-left: 0; }
	.main-nav.is-open { display: block; }
	.main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
	.main-nav .sub-menu { display: block; position: static; box-shadow: none; border: 0; padding: 0 0 6px 14px; min-width: 0; }
	.main-nav .sub-menu::before { display: none; }
	.main-nav .menu-item-has-children > a::after { display: none; }
}
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

/* Slate bands: inset, rounded panels */
.band { background: var(--slate); color: #fff; position: relative; overflow: hidden; margin: 16px 16px 0; border-radius: var(--r-lg); background-image: radial-gradient(1200px 500px at 85% 0%, rgba(255, 255, 255, .07), transparent 60%); }
.band h1 { color: #fff; }
.band p { color: var(--on-slate); }
.band-art { position: absolute; right: -140px; top: -90px; width: 680px; height: 680px; pointer-events: none; }
.page-head .wrap { padding-top: 52px; padding-bottom: 92px; position: relative; }
.page-head h1 { font-size: 38px; margin: 0 0 8px; }
.page-head p { font-size: 18px; max-width: 720px; margin: 0; }
.page-head .crumbs { font-size: 15px; color: var(--on-slate); margin-bottom: 14px; }
.page-head .crumbs a { color: #fff; background: rgba(255, 255, 255, .12); padding: 4px 12px; border-radius: 999px; }
.lift { margin-top: -48px; position: relative; }

/* Hero */
.hero .wrap { padding-top: 92px; padding-bottom: 112px; position: relative; display: flex; flex-direction: column; gap: 22px; }
.hero h1 { font-size: 44px; line-height: 1.18; max-width: 780px; margin: 0; }
.hero p { font-size: 19px; max-width: 700px; margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; padding-top: 10px; }

/* Cards and panels */
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-sm); }
.panel-raised { box-shadow: var(--shadow-md); }
.card { display: block; }
a.card, .card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-sm); color: var(--text); transition: box-shadow .2s, border-color .2s, transform .2s; }
a.card:hover { border-color: #C9D4DD; box-shadow: var(--shadow-hover); transform: translateY(-2px); color: var(--text); }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: -48px; position: relative; overflow: hidden; }
.stat { padding: 26px 28px; display: flex; flex-direction: column; gap: 4px; border-right: 1px solid var(--line-soft); }
.stat:last-child { border-right: 0; }
.stat-value { font-size: 28px; font-weight: 600; color: var(--ink); line-height: 1.25; }
.stat-label { font-size: 16px; color: var(--muted); }
@media (max-width: 860px) {
	.stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.stat:nth-child(2) { border-right: 0; }
	.stat:nth-child(-n+2) { border-bottom: 1px solid var(--line-soft); }
}

.section { padding: 72px 0 0; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 26px; }
.section-head h2 { margin: 0; font-size: 30px; }

.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.card.area-card { padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.area-card h3 { font-size: 20px; margin: 0; }
.area-card p { font-size: 16px; color: var(--body); margin: 0; }

.split { display: flex; flex-wrap: wrap; gap: 20px; align-items: stretch; }
.split > * { min-width: 0; }
.facility-photo { flex: 1 1 380px; min-height: 300px; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm); background: var(--line); }
.facility-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.spec-list { flex: 1 1 520px; overflow: hidden; }
.spec-row { padding: 20px 26px; border-bottom: 1px solid var(--line-soft); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.spec-row:last-child { border-bottom: 0; }
.spec-row strong { color: var(--ink); font-weight: 600; }
.spec-row span { font-size: 16px; color: var(--body); }

.list-panel { padding: 26px 28px; flex: 1 1 520px; }
.list-panel .section-head { margin-bottom: 8px; }
.list-panel h2 { font-size: 24px; }
.list-item { display: flex; flex-direction: column; gap: 4px; padding: 16px 0; border-top: 1px solid var(--line-soft); color: var(--text); }
a.list-item:hover .list-title { color: var(--accent); }
.list-title { font-weight: 500; color: var(--ink); line-height: 1.5; }
.list-meta { font-size: 16px; color: var(--muted); }

/* Tabs: pill segments */
.tabs { display: flex; flex-wrap: wrap; gap: 4px; padding: 8px; font-size: 16px; font-weight: 500; border-radius: var(--r); }
.tabs a { padding: 10px 18px; border-radius: 999px; color: var(--text); white-space: nowrap; transition: background .15s; }
.tabs a:hover { background: var(--hover); color: var(--ink); }
.tabs a.is-active { background: var(--slate); color: #fff; box-shadow: 0 1px 2px rgba(15, 34, 53, .2), 0 4px 10px rgba(70, 96, 122, .25); }

/* People */
.people-group { margin-top: 40px; }
.people-group > h2 { font-size: 26px; margin: 0 0 20px; }
.people-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 20px; }
@media (max-width: 420px) { .people-grid { grid-template-columns: 1fr; } }
a.card.person, .person { padding: 18px; display: flex; gap: 18px; align-items: center; }
.avatar { width: 96px; height: 96px; flex: none; border-radius: 14px; background: #E5EBF0; overflow: hidden; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 500; color: var(--muted); }
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.person-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.person-name { font-size: 19px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.person-role { font-size: 16px; color: var(--body); line-height: 1.45; }
.person-role-main { color: var(--text); }
.people-empty { color: var(--muted); }

.profile { display: flex; flex-wrap: wrap; gap: 32px; padding: 32px; align-items: flex-start; }
.profile .avatar { width: 200px; height: 200px; font-size: 40px; border-radius: 20px; }
.profile-body { flex: 1 1 420px; min-width: 0; }
.profile-body h2 { font-size: 22px; margin-top: 28px; }
.profile-facts { display: flex; flex-direction: column; gap: 6px; font-size: 17px; }
.profile-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.profile-table td { padding: 10px 12px 10px 0; border-top: 1px solid var(--line-soft); vertical-align: top; }
.profile-table td:first-child { white-space: nowrap; color: var(--muted); width: 1%; }

/* Content pages */
.content-panel { padding: 40px 44px; }
@media (max-width: 640px) { .content-panel { padding: 24px 20px; } }
.entry-content { font-size: 17px; line-height: 1.7; color: var(--text); overflow-wrap: break-word; display: flow-root; }
.entry-content h1 { font-size: 30px; }
.entry-content h2 { font-size: 26px; margin-top: 1.4em; }
.entry-content > h2:first-child, .entry-content > .kc-text:first-child h2:first-child { margin-top: 0; }
.entry-content h3 { font-size: 21px; margin-top: 1.3em; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; margin: 0 0 1em; }
.entry-content li { margin-bottom: .35em; }
.entry-content img { border-radius: 12px; }
.entry-content table { border-collapse: separate; border-spacing: 0; width: 100%; font-size: 16px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.entry-content th, .entry-content td { border-bottom: 1px solid var(--line); padding: 10px 14px; text-align: left; vertical-align: top; }
.entry-content tr:last-child td { border-bottom: 0; }
.entry-content th { background: var(--bg); }
.entry-content blockquote { margin: 1.2em 0; padding: 14px 20px; background: var(--bg); border-radius: 12px; color: var(--body); }
.entry-content iframe, .entry-content video { max-width: 100%; border-radius: 12px; }
.entry-meta { font-size: 16px; color: var(--muted); margin-bottom: 20px; }
.entry-hero-img { margin: 0 0 28px; border-radius: var(--r); overflow: hidden; }
.entry-hero-img img { display: block; width: 100%; height: auto; border-radius: 0; }

/* Builder pages rendered cleanly */
.kc-text { margin-bottom: 1.4em; }
.kc-text .kc-wrap-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-bottom: 20px; }
.kc-text .kc-col-container > div[style] { display: none; }
.kc-text article { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm); height: 100%; }
.kc-text article figure { margin: 0; }
.kc-text article img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; border-radius: 0; }
.kc-text article h2, .kc-text article h3 { font-size: 20px; margin: 0 0 10px; }
.kc-text article > div, .kc-text article .sabbi-thumlinepost-card-meta { padding: 20px 22px; font-size: 16px; }
.kc-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 20px; margin: 8px 0 32px; }
.card.kc-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.kc-card-img { background: var(--bg); }
.kc-card-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; border-radius: 0; }
.kc-card-img.kc-book img { aspect-ratio: 3 / 4; object-fit: contain; padding: 16px; }
.kc-card-img.kc-wide { background: #fff; border-bottom: 1px solid var(--line-soft); padding: 14px 16px; }
.kc-card-img.kc-wide img { aspect-ratio: 3 / 1; object-fit: contain; border-radius: 8px; }
.kc-card-img.kc-icon { background: none; padding: 24px 22px 0; }
.kc-card-img.kc-icon img { width: 56px; height: 56px; aspect-ratio: 1; object-fit: contain; border-radius: 0; }
.kc-video a { position: relative; display: inline-block; max-width: 720px; width: 100%; }
.kc-video a img { width: 100%; }
.kc-play { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; background: rgba(255, 255, 255, .92); box-shadow: 0 4px 18px rgba(15, 34, 53, .3); transition: transform .2s; }
.kc-play::after { content: ""; position: absolute; left: 29px; top: 22px; border-style: solid; border-width: 14px 0 14px 22px; border-color: transparent transparent transparent var(--slate); }
.kc-video a:hover .kc-play { transform: scale(1.06); }
.kc-card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.kc-card-body h3 { font-size: 19px; margin: 0; }
.kc-card-text { font-size: 16px; color: var(--body); line-height: 1.6; }
.kc-card-text p { margin: 0 0 .6em; }
.kc-card-body .btn { margin-top: auto; align-self: flex-start; }
.kc-figure { margin: 0 0 24px; }
.kc-figure img { display: block; border-radius: var(--r); }
.kc-video img { width: 100%; max-width: 720px; }
.kc-figure figcaption { font-size: 15px; color: var(--muted); margin-top: 8px; }
.kc-map iframe { width: 100%; height: 380px; border: 0; border-radius: var(--r); display: block; margin-bottom: 24px; }
.kc-address { background: var(--bg); border-radius: var(--r); padding: 22px 24px; margin-bottom: 24px; }
.kc-address h3 { margin-top: 0; font-size: 19px; }
.kc-form { margin-bottom: 28px; }
.entry-content input[type=text], .entry-content input[type=email], .entry-content input[type=tel], .entry-content textarea, .entry-content select { width: 100%; max-width: 640px; padding: 12px 14px; border: 1px solid #CDD6DE; border-radius: 12px; font: inherit; font-size: 16px; background: #fff; }
.entry-content input[type=submit], .entry-content button[type=submit] { background: var(--slate); color: #fff; border: 0; padding: 12px 24px; border-radius: 12px; font: inherit; font-weight: 600; cursor: pointer; }

/* Post lists */
.post-list { display: flex; flex-direction: column; gap: 16px; }
a.card.post-row, .post-row { display: flex; gap: 22px; padding: 18px; align-items: flex-start; }
.post-thumb { width: 200px; height: 130px; flex: none; border-radius: 12px; overflow: hidden; background: #E5EBF0; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-row-body { min-width: 0; display: flex; flex-direction: column; gap: 6px; padding-top: 2px; }
.post-row-title { font-size: 19px; font-weight: 600; color: var(--ink); line-height: 1.4; }
a.post-row:hover .post-row-title { color: var(--accent); }
.post-row-excerpt { font-size: 16px; color: var(--body); margin: 0; }
@media (max-width: 640px) { a.card.post-row, .post-row { flex-direction: column; } .post-thumb { width: 100%; height: 180px; } }

.pagination { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.pagination .page-numbers { display: inline-flex; min-width: 44px; height: 44px; align-items: center; justify-content: center; padding: 0 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--text); font-weight: 500; box-shadow: var(--shadow-sm); }
.pagination .page-numbers.current { background: var(--slate); color: #fff; border-color: var(--slate); }
.pagination a.page-numbers:hover { border-color: #A9B7C4; }

/* Publications */
.list-filters { display: flex; flex-wrap: wrap; gap: 12px; padding: 12px; margin-bottom: 16px; box-shadow: var(--shadow-md); }
.list-filters select, .list-filters input[type=search] { font: inherit; font-size: 16px; padding: 11px 14px; border: 1px solid #CDD6DE; border-radius: 12px; background: #fff; color: var(--text); min-height: 46px; }
.list-filters select { flex: 0 1 260px; }
.list-filters input[type=search] { flex: 1 1 280px; }
.list-filters + .tabs { margin-bottom: 16px; }
.pub .list-title { color: var(--ink); }
a.pub:hover .list-title { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.ext { display: inline-block; width: 12px; height: 12px; margin-left: 6px; vertical-align: 1px; opacity: .45; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M4 1h7v7M11 1L4.5 7.5M9 7v4H1V3h4' fill='none' stroke='black' stroke-width='1.4'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M4 1h7v7M11 1L4.5 7.5M9 7v4H1V3h4' fill='none' stroke='black' stroke-width='1.4'/%3E%3C/svg%3E") center / contain no-repeat; }
a.pub:hover .ext { opacity: .9; }
.list-item[hidden] { display: none; }
details.patent { display: block; padding: 0; }
details.patent > summary { list-style: none; cursor: pointer; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 16px 0; }
details.patent > summary::-webkit-details-marker { display: none; }
details.patent > summary::after { content: ""; flex: none; width: 8px; height: 8px; margin-top: 8px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: rotate(45deg); transition: transform .2s; }
details.patent[open] > summary::after { transform: rotate(-135deg); margin-top: 12px; }
details.patent > summary:hover .list-title { color: var(--accent); }
details.patent[open] { padding-bottom: 18px; }
.patent-facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0 0 14px; font-size: 16px; }
.patent-facts dt { color: var(--muted); }
.patent-facts dd { margin: 0; color: var(--text); }
@media (max-width: 600px) { .patent-facts { grid-template-columns: 1fr; } .patent-facts dd { margin-bottom: 6px; } }
.pub-years { margin-bottom: 24px; }
.pub-authors { font-size: 16px; color: var(--body); line-height: 1.5; }
.pub-authors strong { color: var(--ink); font-weight: 600; }
.pub-list .list-item:first-of-type { border-top: 0; }
.pub-list > .list-meta { margin: 0 0 8px; }

/* CTA */
.cta { padding: 36px 40px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.cta h2 { font-size: 26px; margin: 0 0 6px; }
.cta p { margin: 0; color: var(--body); font-size: 17px; }

/* Footer */
.site-footer { background: var(--slate-dark); color: var(--on-slate); margin: 80px 16px 16px; border-radius: var(--r-lg); font-size: 16px; }
.site-footer a { color: var(--on-slate); }
.site-footer a:hover { color: #fff; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 48px; padding-top: 56px; padding-bottom: 36px; }
.footer-cols > * { min-width: 0; }
.footer-brand { flex: 2 1 320px; display: flex; flex-direction: column; gap: 10px; }
.footer-brand strong { font-size: 20px; color: #fff; }
.footer-col { flex: 1 1 220px; }
.footer-col h3 { font-size: 17px; color: #fff; margin: 0 0 12px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 18px; padding-bottom: 30px; font-size: 15px; color: #B4C2CE; }

/* Phones */
@media (max-width: 600px) {
	.brand-text { display: none; }
	.brand img { height: 40px; }
	.header-inner { min-height: 66px; gap: 12px; }
	.band { margin: 10px 10px 0; border-radius: 18px; }
	.site-footer { margin: 60px 10px 10px; border-radius: 18px; }
	.hero .wrap { padding-top: 48px; padding-bottom: 84px; }
	.hero h1, .page-head h1 { font-size: 30px; }
	.hero p { font-size: 17px; }
	.page-head .wrap { padding-top: 36px; }
	.section-head h2 { font-size: 24px; }
	.stat { padding: 18px; }
	.stat-value { font-size: 22px; }
	.list-panel, .cta { padding: 22px 20px; }
	a.card.person, .person { padding: 14px; }
	.avatar { width: 76px; height: 76px; }
}
