/*
Theme Name: Lampert
Description: Lampert Krisztián szakterületei, projektjei és szakmai blogja.
Version: 3.2.0
Author: Lampert.hu
Text Domain: lampert
Update URI: https://lampert.hu/
*/
@font-face {
	font-family: "DM Sans";
	src: url("assets/fonts/dm-sans-400-700.woff2") format("woff2");
	font-style: normal; font-weight: 400 700; font-display: swap;
}
:root {
	--ink: #102749; --blue: #1252bd; --deep: #0c2e67; --muted: #465e7a;
	--ice: #eaf3ff; --line: #c8d8eb; --surface: #f3f7fc; --white: #fff;
	--gutter: clamp(20px, 5.2vw, 82px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 20px; }
body { margin: 0; color: var(--ink); background: white; font: 400 1.0625rem/1.6 "DM Sans", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
body.admin-bar :target { scroll-margin-top: 50px; }
a { color: inherit; text-underline-offset: .18em; }
a:focus-visible, summary:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid #2971d3; outline-offset: 4px; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 100000; padding: 10px 18px; background: var(--deep); color: white; }
main:focus { outline: none; }
::selection { color: #072856; background: #b7d8ff; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, figure, p { margin: 0; }
h1, h2, h3 { line-height: 1.1; text-wrap: pretty; }
h1, h2, h3, .prose, .article-deck { overflow-wrap: break-word; }
.shell { width: min(1240px, calc(100% - var(--gutter) - var(--gutter))); margin-inline: auto; }
.screen-reader-text, .skip-link:not(:focus) {
	position: absolute !important; height: 1px; width: 1px; margin: -1px; padding: 0;
	clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}
.masthead { position: relative; z-index: 5; border-bottom: 1px solid #d5e0ec; background: white; }
.masthead-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand, .footer-signature { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; }
.brand { font-size: 1.55rem; line-height: 1; letter-spacing: -.055em; }
.word-domain { color: var(--blue); }
.brand-mark { display: inline-block; flex: 0 0 auto; position: relative; width: 36px; height: 36px; background: #1359ce; border-radius: 10px; }
.brand-mark::before { content: ""; position: absolute; left: 25%; top: 23%; width: 53%; height: 54%; border: solid white; border-width: 0 0 4px 4px; border-bottom-left-radius: 2px; }
.brand-mark::after { content: ""; position: absolute; right: 24%; top: 24%; width: 23%; height: 11%; border-radius: 1px; background: #9debd9; }
.main-links, .site-footer nav { display: flex; align-items: center; flex-wrap: wrap; gap: clamp(15px, 2.4vw, 38px); }
.main-links a, .site-footer nav a, .mobile-menu nav a { display: inline-flex; align-items: center; font-size: .9375rem; min-height: 44px; text-decoration: none; }
.main-links a:hover, .main-links a[aria-current], .mobile-menu nav a[aria-current], .site-footer nav a:hover { color: var(--blue); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .4em; }
.main-links .nav-price, .mobile-menu .nav-price { font-weight: 700; color: var(--blue); background: var(--ice); border-radius: 12px; padding-inline: 18px; }
.mobile-menu { display: none; }

.hero { position: relative; isolation: isolate; overflow: hidden; background: #e9f3ff; background-image: linear-gradient(113deg,#f1f7ff 8%,#e7f2ff 54%,#d1e5ff 100%); }
.hero-inner { display: grid; grid-template-columns: minmax(0, .94fr) minmax(0, 1fr); align-items: center; gap: clamp(36px, 5.3vw, 84px); padding-block: clamp(41px, 4.55vw, 70px) clamp(44px, 5vw, 78px); }
.hero-copy { position: relative; z-index: 1; }
.role-line { font-size: .875rem; line-height: 1.4; font-weight: 700; color: #204d82; }
.hero h1 { font-size: clamp(4.65rem, 6.35vw, 6.4rem); line-height: .96; letter-spacing: -.068em; margin: 15px 0 19px; }
.hero h1 > span { display: block; color: var(--blue); }
.hero-intro { max-width: 47ch; color: #334e6b; font-size: clamp(1.05rem, 1.38vw, 1.27rem); line-height: 1.52; }
.hero-intro > * + * { margin-top: .65em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(20px, 2.1vw, 30px); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 19px; border-radius: 13px; font-size: .9375rem; font-weight: 700; line-height: 1.3; text-decoration: none; border: 1px solid transparent; }
.button-primary { color: white; background: var(--blue); border-color: var(--blue); }
.button-primary:hover { background: #0f3f94; }
.button-secondary { color: var(--deep); background: white; border-color: #9fb9d8; }
.button-secondary:hover { border-color: var(--blue); background: #f4f9ff; }
.hero-art { position: relative; isolation: isolate; margin: 6px 6px 8px 0; }
.hero-art::before { content: ""; position: absolute; inset: -10px -9px 9px 11px; z-index: -1; border: 1px solid #80a9d8; border-radius: 27px 86px 27px 27px; }
.hero-art::after { content: ""; position: absolute; z-index: -1; right: -3.4%; bottom: -3.8%; width: 24%; aspect-ratio: 1; border-radius: 50%; background: #8bc7ee; }
.hero-frame { isolation: isolate; overflow: hidden; border-radius: 26px 78px 26px 26px; aspect-ratio: 1.43; background: #aac8e4; }
.hero-frame img, .service-photo img, .journal-photo img, .reading-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-frame picture, .service-photo picture, .journal-photo picture, .reading-photo picture { display: contents; }
.hero-frame img { object-position: 54% 50%; }

.section-pad { padding-block: clamp(43px, 4.9vw, 78px); }
.section-title { font-size: clamp(2.15rem, 3.7vw, 3.7rem); line-height: 1.02; letter-spacing: -.055em; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; }
.section-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--blue); font-size: .9375rem; font-weight: 700; text-decoration: underline; text-decoration-color: #86abd7; text-decoration-thickness: 1px; }
.section-link:hover { text-decoration-color: currentColor; text-decoration-thickness: 2px; }
.service-grid, .project-grid, .journal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(15px, 2vw, 28px); }
.section-pad > :is(.service-grid, .project-grid, .journal-grid) { margin-top: clamp(22px, 2.6vw, 38px); }
.service-card { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(92px,.63fr) minmax(0,1.34fr); align-items: stretch; background: var(--surface); border-radius: 20px; border: 1px solid #dae5ef; }
.service-photo { overflow: hidden; margin: 9px 0 9px 9px; border-radius: 13px; background: #d7e5f4; min-height: 155px; }
.service-copy { align-self: center; padding: clamp(17px, 1.9vw, 29px); }
.service-copy h3 { font-size: clamp(1.35rem, 1.85vw, 1.75rem); line-height: 1.12; letter-spacing: -.045em; }
.service-copy p, .row-copy > p, .project-excerpt { color: var(--muted); line-height: 1.5; margin-top: 9px; font-size: 1rem; }
.service-copy h3 a, .row-copy :is(h2,h3) a, .project-info :is(h2,h3) a { text-decoration: none; }
.service-copy h3 a::after, .row-copy :is(h2,h3) a::after, .project-info :is(h2,h3) a::after { content: ""; position: absolute; inset: 0; border-radius: 18px; }
.service-card:hover, .service-card:focus-within { border-color: #84a9d9; }
.service-copy h3 a:hover, .row-copy :is(h2,h3) a:hover, .project-info :is(h2,h3) a:hover { text-decoration: underline; }
.project-band { background: var(--deep); color: white; }
.project-band .section-link { color: white; text-decoration-color: #91b9f1; }
.project-card { position: relative; isolation: isolate; display: flex; align-items: stretch; color: var(--ink); background: #f0f6ff; border: 1px solid #c9daef; border-radius: 20px; }
.project-band .project-card { background: #173d79; border-color: #42669c; color: white; }
.project-info { min-width: 0; align-self: center; flex: 1 1 0; padding: clamp(22px, 2.8vw, 42px); }
.project-info :is(h2,h3) { font-size: clamp(1.7rem, 2.6vw, 2.8rem); line-height: 1.08; letter-spacing: -.048em; }
.project-topics, .topics, .row-meta time, .byline { font-size: .8125rem; line-height: 1.45; }
.project-topics { margin-bottom: 9px; font-weight: 700; color: var(--blue); }
.project-topics a, .topics a { position: relative; z-index: 1; text-decoration: none; }
.project-topics a:hover, .topics a:hover { text-decoration: underline; }
.project-band .project-topics { color: #b5d8ff; }
.project-band .project-excerpt { color: #e1edfc; }
.project-photo { width: 40%; min-width: 0; overflow: hidden; background: #e7f2ff; border-radius: 19px 0 0 19px; }
.project-photo img { width: 100%; height: 100%; object-fit: contain; max-height: 330px; }
.project-motif { margin-inline: auto clamp(20px, 3vw, 45px); align-self: center; flex: 0 0 auto; display: grid; place-items: center; height: clamp(55px, 8vw, 100px); aspect-ratio: 1.15; border: 1.5px solid #accced; border-radius: 21px; transform: rotate(-7deg); }
.project-band .project-motif { border-color: #537caf; }
.project-motif i { display: block; position: relative; width: 43%; aspect-ratio: 1.4; color: #1552a3; transform: rotate(7deg); }
.project-band .project-motif i { color: #a4d8ff; }
.motif-code i::before, .motif-code i::after { content: ""; position: absolute; width: 41%; aspect-ratio: 1; top: 16%; border: solid currentColor; border-width: 0 0 3px 3px; transform: rotate(45deg); }
.motif-code i::after { right: 0; transform: rotate(225deg); }
.motif-electric i { height: 55%; background: currentColor; clip-path: polygon(52% 0,85% 0,60% 41%,86% 41%,20% 100%,38% 56%,13% 56%); }
.project-grid > .project-card:only-child { grid-column: 1 / -1; }
.project-grid > .project-card:only-child .project-info { max-width: 77ch; }
.journal-card { position: relative; isolation: isolate; min-width: 0; }
.journal-photo { overflow: hidden; aspect-ratio: 2.5; border-radius: 17px; background: #deeaf5; margin-bottom: 17px; }
.row-meta, .byline { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px 13px; color: var(--muted); }
.row-meta { margin-bottom: 8px; }
.topics { font-weight: 700; color: var(--blue); }
.row-copy :is(h3,h2) { font-size: clamp(1.35rem, 2.05vw, 2rem); line-height: 1.15; letter-spacing: -.04em; }
.row-copy > p { max-width: 58ch; }
.site-footer { background: #f3f7fc; border-top: 1px solid #d5e0ed; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 15px; padding-block: 25px; }
.footer-signature { letter-spacing: -.035em; font-size: 1.15rem; }
.footer-signature .brand-mark { width: 31px; height: 31px; border-radius: 8px; }

.index-page, .reading-page { padding-block: clamp(24px, 2.8vw, 42px) clamp(56px, 6vw, 94px); }
.lampert-breadcrumbs { font-size: .8125rem; color: var(--muted); line-height: 1.5; }
.lampert-breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: baseline; padding: 0; margin: 0; list-style: none; }
.lampert-breadcrumbs li + li::before { content: "/"; padding-inline: .62em; color: #647d9a; }
.lampert-breadcrumbs a { text-decoration: none; }
.lampert-breadcrumbs a:hover { text-decoration: underline; }
.index-heading { padding-block: clamp(28px, 3.7vw, 62px); }
.index-heading h1, .reading-heading h1, .missing-page h1 { font-size: clamp(2.6rem, 5.2vw, 5.35rem); line-height: 1.03; letter-spacing: -.055em; }
.article-deck { max-width: 59ch; color: var(--muted); margin-top: 16px; font-size: clamp(1.08rem, 1.44vw, 1.38rem); line-height: 1.5; }
.article-deck p + p { margin-top: .65em; }
.topic-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; padding: 0 0 25px; }
.topic-filter a { display: inline-flex; align-items: center; min-height: 44px; padding: 7px 16px; border: 1px solid #bbcee3; border-radius: 999px; font-size: .925rem; text-decoration: none; }
.topic-filter a:hover { border-color: var(--blue); }
.topic-filter a[aria-current] { color: white; background: var(--blue); border-color: var(--blue); }
.index-page .journal-grid { row-gap: 36px; }
.empty-list { padding: 25px; border-radius: 16px; color: var(--muted); background: var(--surface); }
.pagination { margin-top: 36px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; }
.page-numbers.current { color: white; background: var(--blue); border-color: var(--blue); }
.reading-head { margin-block: clamp(24px, 3vw, 48px) clamp(34px, 4vw, 63px); border-radius: 26px; background: var(--ice); }
.reading-head.with-art { display: grid; grid-template-columns: minmax(0, 1.16fr) minmax(0, .84fr); align-items: stretch; }
.reading-heading { align-self: center; min-width: 0; padding: clamp(25px, 3.7vw, 57px); }
.reading-heading h1 { font-size: clamp(2.25rem, 4vw, 4.25rem); }
.story-head h1 { font-size: clamp(2.1rem, 3.65vw, 3.8rem); }
.reading-photo { align-self: stretch; margin: 10px; border-radius: 17px; overflow: hidden; min-height: 205px; background: #d3e2f2; }
.reading-photo img { max-height: 405px; }
.project-cover img { object-fit: contain; }
.reading-heading .topics { margin-bottom: 12px; }
.byline { color: #374e6c; margin-top: 17px; }
.byline time::before { content: "·"; padding-right: 11px; }
.prose { --measure: min(100%, 735px); font-size: clamp(1.0625rem, 1.36vw, 1.25rem); line-height: 1.72; display: flow-root; }
.prose > * { width: var(--measure); margin: 0 auto 1.1em; }
.prose > :last-child { margin-bottom: 0; }
.prose > :is(h2,h3,h4) { margin-top: 1.48em; margin-bottom: .48em; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.6rem, 2.85vw, 2.55rem); letter-spacing: -.043em; line-height: 1.15; }
.prose h3 { font-size: 1.28em; line-height: 1.22; letter-spacing: -.03em; }
.prose h4 { font-size: 1.12em; }
.prose a, .hero-intro a, .article-deck a { color: var(--blue); }
.prose a:hover, .hero-intro a:hover, .article-deck a:hover { text-decoration-thickness: 2px; }
.prose ul, .prose ol { padding-inline-start: 1.4em; }
.prose li + li { margin-top: .25em; }
.prose blockquote { border-inline-start: 4px solid #2773d3; padding: 14px 0 14px 20px; color: #163f78; }
.prose blockquote p { font-size: 1.14em; }
.prose blockquote cite { font-size: .875em; }
.prose .alignwide { width: min(100%, 960px); }
.prose .alignfull { width: 100%; }
.prose .alignleft, .prose .alignright { max-width: var(--measure); }
.prose .aligncenter img { margin-inline: auto; }
.prose figcaption { font-size: .875rem; color: var(--muted); margin-top: .6em; }
.prose img { border-radius: 11px; }
.prose pre { padding: 1em; overflow-x: auto; background: #eaf3ff; border-radius: 10px; }
.prose code { font-family: ui-monospace, monospace; font-size: .9em; }
.prose .wp-block-table { width: var(--measure); margin-block: 1.1em 1.5em; overflow-x: auto; }
.prose table { border-collapse: separate; border-spacing: 0; width: 100%; font-size: 1rem; line-height: 1.45; color: var(--ink); }
.prose :is(td,th) { text-align: start; padding: 13px clamp(8px, 1.4vw, 21px); border: 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose thead th { background: var(--deep); color: white; font-weight: 700; }
.prose thead th:first-child { border-top-left-radius: 10px; }
.prose thead th:last-child { border-top-right-radius: 10px; }
.prose tbody tr:nth-child(even) { background: var(--surface); }
.prose tbody tr:nth-child(odd) { background: #fbfdff; }
.prose input { font: inherit; max-width: 100%; }
.post-navigation, .archive-return { max-width: 735px; margin: 38px auto 0; padding-top: 25px; border-top: 1px solid var(--line); }
.post-navigation .nav-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.post-navigation .nav-next { grid-column: 2; text-align: right; }
.post-navigation a { color: var(--blue); font-size: 1.08rem; line-height: 1.32; font-weight: 700; text-decoration: none; }
.post-navigation a:hover { text-decoration: underline; }
.post-navigation small { display: block; color: var(--muted); font-size: .8125rem; font-weight: 400; margin-bottom: 6px; }
.missing-page { min-height: 58vh; padding-block: 65px; }
.missing-page h1 { margin-top: 12px; }

@media (max-width: 950px) {
	.hero-inner { gap: 30px; }
	.hero h1 { font-size: clamp(3.9rem, 7.5vw, 5.3rem); }
	.hero-frame { aspect-ratio: 1.12; }
	.service-card { grid-template-columns: 1fr; }
	.service-photo { margin: 9px 9px 0; height: auto; min-height: 0; aspect-ratio: 2.65; }
	.service-copy { padding: 19px; }
	.reading-head.with-art { grid-template-columns: minmax(0, 1.3fr) minmax(0, .85fr); }
	.project-card.has-art { flex-direction: column; }
	.project-photo { width: 100%; border-radius: 19px 19px 0 0; }
	.project-photo img { height: 190px; }
	.project-card .project-info { align-self: stretch; }
}
@media (max-width: 850px) {
	.masthead-inner { min-height: 65px; }
	.brand { font-size: 1.42rem; }
	.brand-mark { width: 32px; height: 32px; border-radius: 9px; }
	.main-links { display: none; }
	.mobile-menu { display: block; }
	.mobile-menu > summary { list-style: none; display: flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; font-size: .94rem; font-weight: 700; color: var(--deep); }
	.mobile-menu summary::-webkit-details-marker { display: none; }
	.mobile-menu summary > span { width: 18px; height: 11px; border-block: 2px solid currentColor; }
	.mobile-menu[open] summary > span { position: relative; border: 0; }
	.mobile-menu[open] summary > span::before, .mobile-menu[open] summary > span::after { content: ""; position: absolute; inset: 5px 0 auto; height: 2px; background: currentColor; transform: rotate(45deg); }
	.mobile-menu[open] summary > span::after { transform: rotate(-45deg); }
	.mobile-menu nav { position: absolute; inset: 100% 0 auto; display: grid; gap: 2px; padding: 10px var(--gutter) 16px; background: white; border-block: 1px solid var(--line); box-shadow: 0 12px 15px #153c6312; }
	.mobile-menu nav a { width: fit-content; }
}
@media (max-width: 760px) {
	:root { --gutter: clamp(19px, 5vw, 37px); }
	.hero-inner { grid-template-columns: minmax(0,1fr); gap: 27px; padding-block: 32px 38px; }
	.hero h1 { font-size: clamp(3.4rem, 9.9vw, 4.55rem); margin-block: 11px 15px; }
	.hero h1 > span { display: inline; }
	.hero-intro { max-width: 56ch; }
	.hero-actions { margin-top: 19px; }
	.hero-art { margin: 0 6px 6px 0; }
	.hero-frame { aspect-ratio: 2.05; border-radius: 18px 48px 18px 18px; }
	.hero-art::before { border-radius: 20px 52px 20px 20px; inset: -6px -6px 6px 8px; }
	.hero-art::after { bottom: -3%; right: -1.6%; width: 13%; }
	.project-grid > .project-card:only-child .project-photo img { height: 225px; }
	.section-link { font-size: .9rem; }
	.footer-inner, .site-footer nav { gap: 7px 18px; }
	.reading-head.with-art { grid-template-columns: 1fr; }
	.reading-photo { height: auto; min-height: 0; margin-top: 0; aspect-ratio: 2.46; }
	.reading-heading { padding: 22px; }
	.reading-heading h1 { font-size: clamp(2.08rem, 6.9vw, 3.2rem); }
	.reading-head { border-radius: 20px; }
	.reading-photo { border-radius: 13px; }
}
@media (max-width: 560px) {
	.lampert-breadcrumbs li:nth-child(n+4):last-child { flex-basis: 100%; }
	.lampert-breadcrumbs li:nth-child(n+4):last-child::before { content: none; }
	.project-motif { display: none; }
	.hero h1 { max-width: 10ch; }
	.hero h1 > span { display: block; }
	.hero-inner { gap: 24px; }
	.hero-actions { gap: 8px; }
	.button { padding: 10px 13px; font-size: .9rem; }
	.service-grid, .project-grid, .journal-grid { grid-template-columns: minmax(0, 1fr); }
	.service-card { grid-template-columns: minmax(80px,.57fr) minmax(0,1.43fr); }
	.service-photo { margin: 7px 0 7px 7px; aspect-ratio: auto; }
	.service-copy { padding: 16px; }
	.service-copy h3 { font-size: 1.28rem; }
	.section-pad { padding-block: 37px; }
	.journal-grid { row-gap: 29px; }
	.journal-photo { aspect-ratio: 2.2; margin-bottom: 13px; }
	.prose :is(td,th) { font-size: .9rem; padding: 9px 7px; }
	.post-navigation .nav-links { display: block; }
	.post-navigation .nav-next { margin-top: 16px; text-align: left; }
	.topic-filter a { padding-inline: 12px; }
}
@media (max-width: 355px) {
	.service-card { grid-template-columns: minmax(64px,.4fr) minmax(0,1fr); }
	.service-copy { padding: 12px; }
	.service-copy h3 { font-size: 1.18rem; }
	.hero-actions .button { font-size: .875rem; padding-inline: 11px; }
}
.project-photo.is-portrait, .project-cover.is-portrait { background: linear-gradient(145deg,#deecff,#d6f1ef); }
.project-photo.is-portrait { display: grid; place-items: center; padding: 18px 12px; }
.project-photo.is-portrait img, .project-cover.is-portrait img { display: block; width: auto; height: auto; object-fit: contain; border-radius: 12px; box-shadow: 0 4px 15px #1c3e6e25; }
.project-photo.is-portrait img { height: min(245px, var(--portrait-native-height)); max-width: 100%; }
.project-cover.is-portrait { display: grid; place-items: center; min-height: 0; aspect-ratio: auto; padding: 20px; }
.project-cover.is-portrait a { display: grid; justify-items: center; gap: 8px; color: var(--deep); text-decoration: none; }
.project-cover.is-portrait a:focus-visible { border-radius: 10px; }
.project-cover.is-portrait a:hover span { text-decoration: underline; }
.project-cover.is-portrait img { height: min(400px, var(--portrait-native-height)); max-width: 100%; }
.project-cover.is-portrait span { font-size: .8125rem; font-weight: 700; }
@media (max-width: 950px) {
	.project-photo.is-portrait { aspect-ratio: auto; height: 245px; padding: 14px; }
	.project-photo.is-portrait img, .project-grid > .project-card:only-child .project-photo.is-portrait img { height: min(217px, var(--portrait-native-height)); }
}
@media (max-width: 760px) {
	.project-cover.is-portrait { padding: 16px; }
	.project-cover.is-portrait img { max-width: 68vw; height: min(355px, var(--portrait-native-height)); }
}
.about-head.with-art {
	grid-template-columns: minmax(0, 1fr) min(35vw, 390px);
	align-items: center;
	gap: clamp(30px, 5vw, 72px);
	padding: clamp(25px, 3.8vw, 56px);
	background: linear-gradient(120deg, #f1f7ff, #dcecff 78%, #d2e8ef);
}
.about-head.with-art .reading-heading { padding: 0; }
.about-head .article-deck { max-width: 41ch; }
.about-head .reading-photo {
	width: 100%; aspect-ratio: 4 / 5; min-height: 0; margin: 0;
	border-radius: 22px 54px 22px 22px; background: #d7e4eb;
}
.about-head .reading-photo img { display: block; max-height: none; object-position: 55% 52%; }
@media (max-width: 760px) {
	.about-head.with-art { grid-template-columns: 1fr; gap: 20px; padding: 24px 20px 20px; }
	.about-head .reading-photo { justify-self: center; max-width: 390px; aspect-ratio: 1; border-radius: 16px 38px 16px 16px; }
}
@media print {
	body { color: black; font-size: 12pt; }
	.masthead, .site-footer, .hero-actions, .post-navigation, .archive-return, .lampert-breadcrumbs, #wpadminbar { display: none; }
	.shell { width: 100%; }
	.reading-head.with-art { display: block; }
	.reading-photo { max-width: 45%; margin-top: 1em; }
	.prose > * { width: 100%; }
}
