/*
Theme Name: Dania Arayssi
Description: Personal website of Dania Arayssi. One page with research, publications, media, teaching, talks and contact. All texts, lists and the portrait are edited in the WordPress admin. No plugins required.
Version: 1.3.2
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dania-arayssi
*/

/* ------------------------------------------------------------------
   Layers 1 to 4 are the approved design model, rule for rule and in
   the original order. Only the selectors were scoped with :where(),
   which adds no specificity, so the rendering is identical.
   ------------------------------------------------------------------ */

/* 1. Base layout. */
:root {--ink:#162d42;--paper:#f7f5ef;--muted:#647078;--line:#d5d7d3;--accent:#916447}
* {box-sizing:border-box}
html {scroll-behavior:smooth;scroll-padding-top:90px}
body {margin:0;background:var(--paper);color:var(--ink);font:16px/1.65 Arial,sans-serif}
:where(.da-site) a {color:inherit;text-decoration:none}
:where(.da-site) a:hover {text-decoration:underline}
:where(.da-home) button, :where(.da-home) input {font:inherit}
:where(.da-site) > header {background:var(--paper);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:2}
:where(.da-site > header) .bar {max-width:1320px;margin:auto;padding:24px 5%;display:flex;align-items:center;justify-content:space-between;gap:24px}
:where(.da-site > header) .brand {font:25px Georgia,serif;white-space:nowrap}
:where(.da-site > header) nav {display:flex;gap:23px;font-size:12px}
:where(.da-site) > main {max-width:1320px;margin:auto;padding:0 5%}
:where(.da-home) .hero {display:grid;grid-template-columns:1.2fr 1fr;gap:8%;align-items:center;padding:70px 0 60px}
:where(.da-home) .eyebrow {font-size:11px;letter-spacing:2.4px;text-transform:uppercase;color:var(--accent);font-weight:bold}
:where(.da-home) h1, :where(.da-home) h2, :where(.da-home) h3 {font-family:Georgia,serif;font-weight:normal;line-height:1.12}
:where(.da-home) h1 {font-size:clamp(54px,6vw,86px);letter-spacing:-3px;margin:25px 0}
:where(.da-home) h1 em {color:var(--accent);font-weight:normal}
:where(.da-home) h2 {font-size:45px;margin:14px 0 25px}
:where(.da-home) h3 {font-size:26px;margin:14px 0}
:where(.da-home) .intro {font-size:18px;max-width:480px;color:#52616b}
:where(.da-home) .hero img {width:100%;display:block;aspect-ratio:4/4.6;object-fit:cover;object-position:50% 30%}
:where(.da-home) .caption {display:flex;justify-content:space-between;font-size:10px;letter-spacing:1.2px;margin-top:12px}
:where(.da-home) .actions {display:flex;gap:25px;align-items:center;margin-top:30px}
:where(.da-home) .button {display:inline-block;padding:13px 22px;background:var(--ink);color:white;font-size:13px}
:where(.da-home) .affiliations {border-block:1px solid var(--line);padding:24px 0;display:flex;justify-content:space-between;align-items:center;gap:20px}
:where(.da-home) .affiliations span {font:20px Georgia,serif}
:where(.da-home) .affiliations small {font:10px Arial;letter-spacing:1.8px;color:var(--muted)}
:where(.da-home) section {padding:75px 0;border-bottom:1px solid var(--line)}
:where(.da-home) .split {display:grid;grid-template-columns:1fr 1.5fr;gap:10%}
:where(.da-home) .copy p {margin-top:0;color:#52616b}
:where(.da-home) .tags {display:flex;gap:9px;flex-wrap:wrap}
:where(.da-home) .tags span {border:1px solid var(--line);padding:5px 12px;font-size:11px}
:where(.da-home) .section-top {display:flex;justify-content:space-between;align-items:end;gap:25px}
:where(.da-home) .toolbar {display:flex;justify-content:space-between;gap:20px;margin:25px 0}
:where(.da-home) .filters {display:flex;gap:8px;flex-wrap:wrap}
:where(.da-home) button {cursor:pointer;border:1px solid var(--line);background:transparent;color:var(--ink);padding:8px 15px;font-size:12px}
:where(.da-home) button.active {background:var(--ink);color:white}
:where(.da-home) input {background:transparent;border:0;border-bottom:1px solid var(--ink);padding:8px;width:240px}
:where(.da-home) .publication {display:grid;grid-template-columns:145px 1fr 30px;padding:28px 0;border-top:1px solid var(--line);gap:20px}
:where(.da-home) .publication small {font-size:11px;color:var(--muted)}
:where(.da-home) .publication h3 {margin:0 0 10px}
:where(.da-home) .publication p {margin:0;color:var(--muted);font-size:13px}
:where(.da-home) .arrow {font-size:26px}
:where(.da-home) .empty {padding:28px;border:1px dashed #b9c0c3;color:var(--muted);font-size:14px}
:where(.da-home) .media-layout {display:grid;grid-template-columns:1fr 1fr;gap:50px}
:where(.da-home) .media-dark {background:var(--ink);color:var(--paper);padding:36px}
:where(.da-home) .media-dark h3 {font-size:35px}
:where(.da-home) .media-dark p {color:#c1cbd0}
:where(.da-home) .courses {display:grid;grid-template-columns:1fr 1fr;gap:30px}
:where(.da-home) .course {border-top:2px solid var(--ink);padding:24px 0}
:where(.da-home) .course p {color:var(--muted)}
:where(.da-home) .contact {display:flex;justify-content:space-between;gap:30px;align-items:center}
:where(.da-home) .contact a {font:clamp(20px,3vw,36px) Georgia,serif;border-bottom:1px solid var(--accent)}
:where(.da-site) > footer {padding:30px 0;display:flex;justify-content:space-between;font-size:11px;color:var(--muted)}
:where(.da-home) .note {font-size:11px;color:var(--muted)}
[hidden] {display:none!important}
:where(.da-site) a:focus-visible, :where(.da-home) button:focus-visible, :where(.da-home) input:focus-visible {outline:3px solid #888;outline-offset:5px}
@media(max-width:800px){
	:where(.da-site > header) .bar {flex-direction:column;gap:12px;padding:16px 5%}
	:where(.da-site > header) nav {gap:15px;flex-wrap:wrap;justify-content:center}
	:where(.da-home) .hero {gap:30px;padding-top:40px}
	:where(.da-home) h1 {font-size:52px}
	:where(.da-home) .affiliations {flex-wrap:wrap}
	:where(.da-home) .affiliations span {font-size:16px}
	:where(.da-home) .split {gap:35px}
	:where(.da-home) .toolbar {flex-direction:column}
	:where(.da-home) .publication {grid-template-columns:100px 1fr 20px}
}
@media(max-width:560px){
	:where(.da-home) .hero, :where(.da-home) .split, :where(.da-home) .media-layout, :where(.da-home) .courses {grid-template-columns:1fr}
	:where(.da-home) .hero img {aspect-ratio:1/1}
	:where(.da-home) .hero {gap:40px}
	:where(.da-home) h1 {font-size:60px}
	:where(.da-home) .section-top, :where(.da-home) .contact {display:block}
	:where(.da-home) h2 {font-size:37px}
	:where(.da-home) section {padding:48px 0}
	:where(.da-home) .publication {grid-template-columns:1fr 20px}
	:where(.da-home) .publication>small {grid-column:1/-1}
	:where(.da-home) .affiliations {gap:15px}
	:where(.da-home) .affiliations small {width:100%}
	:where(.da-site) > footer {gap:20px}
	:where(.da-site > header) nav {font-size:11px}
	:where(.da-home) .intro {font-size:16px}
}
@media(prefers-reduced-motion:reduce){
	html {scroll-behavior:auto}
}

/* 2. Portrait led, monochrome editorial layout. */
:root {--ink:#242424;--paper:#fff;--accent:#555;--line:#dedede;--muted:#707070}
body {font-family:Arial,Helvetica,sans-serif}
:where(.da-site) > header {position:absolute;top:0;width:100%;background:transparent;color:white;border-color:#ffffff40}
:where(.da-site > header) .bar {max-width:1180px;padding:23px 30px}
:where(.da-site > header) .brand {font:700 23px Arial;text-transform:uppercase;letter-spacing:-.6px}
:where(.da-site > header) .brand span {display:none}
:where(.da-site > header) nav {font-size:10px;text-transform:uppercase;gap:22px}
:where(.da-site) > main {max-width:none;padding:0}
:where(.da-home) .hero {height:660px;padding:0;margin:0;display:block;background:#181a1d;position:relative;overflow:hidden}
:where(.da-home) .hero-inner {max-width:1120px;height:100%;margin:auto;position:relative}
:where(.da-home) .hero-photo {position:absolute;left:0;top:0;width:760px;height:100%;overflow:hidden}
:where(.da-home) .hero .hero-photo img {height:100%;width:100%;object-fit:cover;object-position:center 24%;aspect-ratio:auto;filter:brightness(.83)}
:where(.da-home) .hero-photo:after {content:'';position:absolute;inset:0;background:linear-gradient(90deg,#181a1d 0%,transparent 15%,transparent 65%,#181a1d 100%)}
:where(.da-home) .hero-copy {position:absolute;z-index:1;right:25px;top:220px;width:290px;color:#eee}
:where(.da-home) .hero h1 {font:600 32px/1.18 Arial;letter-spacing:-.7px;margin:0 0 30px}
:where(.da-home) .hero-copy p {font:500 24px/1.3 Arial;margin:0;color:#d0d1d3}
:where(.da-home) .hero-copy a {display:inline-block;margin-top:30px;font-size:12px;border-bottom:1px solid #aaa;padding-bottom:5px}
:where(.da-home) .affiliations {max-width:1060px;margin:auto;padding:25px 0;border-top:0}
:where(.da-home) .affiliations span {font:16px Arial}
:where(.da-home) .affiliations small {font-size:9px}
:where(.da-home) .feature {background:#eee;display:grid;grid-template-columns:1fr 1.4fr;gap:60px;padding:55px max(30px,calc((100vw - 1060px)/2));align-items:center}
:where(.da-home) .report {background:#122d42;color:white;padding:34px;min-height:330px;max-width:320px;box-shadow:12px 14px 0 #c8c8c8;display:flex;flex-direction:column;justify-content:space-between;border-left:8px solid #091f30}
:where(.da-home) .report small {font-size:9px;letter-spacing:2px;color:#d0d8dd}
:where(.da-home) .report strong {font:30px/1.12 Georgia}
:where(.da-home) .report span {font-size:11px}
:where(.da-home) .feature h2 {font:bold 32px Arial;margin:8px 0 18px}
:where(.da-home) .feature p {color:#555;max-width:480px}
:where(.da-home) .feature .button {background:transparent;color:#333;border:1px solid #444;padding:9px 18px}
:where(.da-home) .eyebrow {letter-spacing:1.5px;color:#777;font-size:10px}
:where(.da-home) section {max-width:1060px;margin:auto;padding:65px 0}
:where(.da-home) h2 {font:600 34px/1.15 Arial;letter-spacing:-.7px}
:where(.da-home) h3 {font:600 24px/1.25 Arial}
:where(.da-home) .split {gap:65px}
:where(.da-home) #about {display:block;max-width:640px;padding:65px 25px;border:0}
:where(.da-home) #about h2 {font-size:29px}
:where(.da-home) #about h2 br {display:none}
:where(.da-home) #about .copy p {font:18px/1.7 Georgia;color:#414141}
:where(.da-home) #about .tags {margin-top:25px}
:where(.da-home) #research {border-top:1px solid #ddd}
:where(.da-home) .publication h3 {font-size:23px}
:where(.da-home) .media-dark {background:#eee;color:#222}
:where(.da-home) .media-dark p {color:#555}
:where(.da-home) .media-dark h3 {font-size:30px}
:where(.da-home) .media-dark .eyebrow {color:#777!important}
:where(.da-home) .contact {max-width:none;background:#080808;color:white;padding:95px max(30px,calc((100vw - 1060px)/2));display:block;border:0}
:where(.da-home) .contact h2 {font-size:48px}
:where(.da-home) .contact .eyebrow, :where(.da-home) .contact .note {color:#aaa}
:where(.da-home) .contact a {font:25px Arial;display:inline-block;margin-top:25px;border-color:#777}
:where(.da-home) .contact p {max-width:600px}
:where(.da-site) > footer {background:#353535;color:#ddd;padding:30px max(30px,calc((100vw - 1060px)/2));margin-top:25px;font-size:10px}
:where(.da-home) .course {border-color:#333}
:where(.da-home) .button {background:#222}
@media(max-width:1120px){
	:where(.da-home) section, :where(.da-home) .affiliations {margin-left:30px;margin-right:30px}
	:where(.da-home) #about {margin:auto}
	:where(.da-home) .hero-photo {left:-50px}
	:where(.da-home) .hero-copy {right:40px;width:260px}
	:where(.da-site > header) nav {gap:13px}
	:where(.da-home) .contact {margin:0}
	:where(.da-home) .feature {gap:35px}
}
@media(max-width:800px){
	:where(.da-site) > header .bar {flex-direction:row;align-items:flex-start}
	:where(.da-site > header) .bar {padding:20px}
	:where(.da-site > header) .brand {font-size:19px}
	:where(.da-site > header) nav {max-width:350px;justify-content:flex-end;gap:10px}
	:where(.da-home) .hero {height:600px}
	:where(.da-home) .hero-photo {width:650px;left:-120px}
	:where(.da-home) .hero-copy {width:220px;right:25px;top:210px}
	:where(.da-home) .hero h1 {font-size:28px}
	:where(.da-home) .hero-copy p {font-size:21px}
	:where(.da-home) .feature {grid-template-columns:1fr 1fr;padding:40px 30px}
	:where(.da-home) .report {padding:25px;min-height:320px}
	:where(.da-home) .report strong {font-size:26px}
}
@media(max-width:560px){
	:where(.da-site) > header .bar {display:block}
	:where(.da-site > header) .brand {display:block;margin-bottom:15px}
	:where(.da-site > header) nav {justify-content:flex-start;max-width:none;font-size:9px;gap:13px}
	:where(.da-home) .hero {height:760px}
	:where(.da-home) .hero-photo {width:100%;left:0;height:520px}
	:where(.da-home) .hero .hero-photo img {object-position:center 20%}
	:where(.da-home) .hero-photo:after {background:linear-gradient(0deg,#181a1d,transparent 35%,#181a1d55)}
	:where(.da-home) .hero-copy {top:500px;left:25px;right:25px;width:auto}
	:where(.da-home) .hero h1 {font-size:29px;margin-bottom:14px}
	:where(.da-home) .hero h1 br {display:none}
	:where(.da-home) .hero-copy p {font-size:20px;max-width:350px}
	:where(.da-home) .hero-copy a {margin-top:20px}
	:where(.da-home) .feature {grid-template-columns:1fr;gap:40px}
	:where(.da-home) .report {max-width:270px;margin:auto;min-height:310px}
	:where(.da-home) .feature h2 {font-size:29px}
	:where(.da-home) .affiliations {margin:0 25px;padding:22px 0}
	:where(.da-home) .affiliations span {font-size:13px}
	:where(.da-home) section {margin:0 25px;padding:45px 0}
	:where(.da-home) .split {gap:20px}
	:where(.da-home) .contact {padding:65px 25px}
	:where(.da-home) .contact h2 {font-size:39px}
	:where(.da-home) .contact a {font-size:20px}
	:where(.da-site) > footer {padding:25px;flex-wrap:wrap}
	:where(.da-home) .publication h3 {font-size:21px}
}

/* 3. Prominent editorial headline. */
:where(.da-home) .hero-copy {width:410px;right:-45px;top:185px}
:where(.da-home) .hero h1 {font-family:Georgia,'Times New Roman',serif;font-size:49px;font-weight:400;line-height:1.12;letter-spacing:-1.5px;text-transform:uppercase;margin:0 0 28px}
:where(.da-home) .hero-copy p {max-width:320px;font-size:22px;line-height:1.4}
@media(max-width:1200px){
	:where(.da-home) .hero-copy {right:25px;width:355px}
	:where(.da-home) .hero h1 {font-size:42px;letter-spacing:-1.3px}
}
@media(max-width:800px){
	:where(.da-home) .hero-copy {right:20px;width:300px;top:205px}
	:where(.da-home) .hero h1 {font-size:36px;letter-spacing:-1px}
	:where(.da-home) .hero-copy p {font-size:20px}
}
@media(max-width:560px){
	:where(.da-home) .hero {height:825px}
	:where(.da-home) .hero-copy {top:490px;left:25px;right:25px;width:auto}
	:where(.da-home) .hero h1 {font-size:clamp(31px,8.2vw,44px);letter-spacing:-1px;line-height:1.13;margin-bottom:20px}
	:where(.da-home) .hero h1 br {display:block}
	:where(.da-home) .hero-copy p {font-size:18px;max-width:350px}
	:where(.da-home) .hero-copy a {margin-top:18px}
}

/* 4. Restrained red accents. */
:root {--accent:#a32e3a;--accent-light:#e0878f}
:where(.da-site > header) .brand span {display:inline;color:var(--accent-light)!important}
:where(.da-home) .hero-copy:before {content:'';display:block;width:42px;height:3px;background:var(--accent-light);margin-bottom:20px}
:where(.da-home) .hero-copy a {border-bottom-color:var(--accent-light)}
:where(.da-home) .hero-copy a:hover, :where(.da-site) > header nav a:hover {color:var(--accent-light)}
:where(.da-home) .eyebrow {color:var(--accent)}
:where(.da-home) .feature .button {border-color:var(--accent);color:var(--accent)}
:where(.da-home) .feature .button:hover {background:var(--accent);color:#fff;text-decoration:none}
:where(.da-home) .report {border-left-color:var(--accent)}
:where(.da-home) button.active {background:var(--accent);border-color:var(--accent);color:#fff}
:where(.da-home) .publication .arrow, :where(.da-home) .copy a, :where(.da-home) #talks a, :where(.da-home) .media-dark a {color:var(--accent)}
:where(.da-home) .contact a {border-bottom-color:var(--accent-light)}
:where(.da-home) .contact a:hover {color:var(--accent-light)}
:where(.da-site) a:focus-visible, :where(.da-home) button:focus-visible, :where(.da-home) input:focus-visible {outline-color:var(--accent-light)}

/* ------------------------------------------------------------------
   5. WordPress build: fixes and added components.
   Layers 1 to 4 above are the approved design, unchanged. They are
   scoped with :where() so they cannot affect the admin bar, plugins
   or inner pages. Everything new or corrected lives below.
   ------------------------------------------------------------------ */

.da-site{position:relative}
.sr-only,.screen-reader-text{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}
.skip-link{position:absolute;left:-9999px;top:10px;z-index:20;background:#fff;color:#111;padding:10px 14px;font-size:13px}
.skip-link:focus{left:10px}

/* Fix: no white strip between the contact block and the footer. */
.da-site > footer{margin-top:0}

/* Portrait position can be adjusted in the Customizer. */
.da-home .hero .hero-photo img{object-position:center var(--portrait-y,24%)}
@media(max-width:560px){
	.da-home .hero .hero-photo img{object-position:center calc(var(--portrait-y,24%) - 4%)}
}

/* No rule line under the header: it ran across the portrait. */
.da-site > header{border-bottom:0}

/* Fix: phone and tablet header. Links collapse into a menu button. */
.menu-toggle{display:none}
.menu-toggle:focus-visible{outline:3px solid var(--accent-light);outline-offset:4px}
@media(max-width:800px){
	.da-site > header .bar{display:flex;flex-direction:row;align-items:center}
	.da-site > header .brand{display:inline;margin-bottom:0}
	.menu-toggle{display:inline-block;cursor:pointer;background:transparent;color:#fff;border:1px solid #ffffff73;min-height:44px;padding:11px 16px;font:700 11px/1 Arial,Helvetica,sans-serif;letter-spacing:1.6px;text-transform:uppercase}
	.da-site > header nav{display:none;position:absolute;top:100%;left:0;right:0;flex-direction:column;flex-wrap:nowrap;justify-content:flex-start;gap:0;max-width:none;background:#181a1d;padding:4px 20px 20px;font-size:13px;letter-spacing:1px;border-top:1px solid #ffffff26;box-shadow:0 18px 30px #00000066}
	.da-site > header.nav-open{background:#181a1d}
	.da-site > header.nav-open nav{display:flex}
	.da-site > header nav a{display:block;padding:15px 0;border-bottom:1px solid #ffffff1f}
	.da-site > header nav a:last-child{border-bottom:0}
}

/* Long words (a long surname, a web address, a long compound word) wrap inside
   their column instead of pushing the page sideways on phones. */
.da-site{overflow-wrap:break-word;overflow-wrap:anywhere}
.da-home .publication > div,.da-home .media-item > div,.da-item .related-item > div{min-width:0}

/* Accessibility: the small label on the media card had too little contrast
   on the light card (3.9 to 1). This grey gives 4.9 to 1; the look is unchanged. */
.da-home .media-dark .eyebrow{color:#666!important}

/* Former inline styles. */
.da-home .feature .more{font-size:13px}
.da-home #about .copy .bio-link{margin-top:22px;font-size:12px}
.da-home #about .copy .bio-link a{display:inline-block;margin-right:24px}

/* Media list. The card keeps its own height next to a longer list. */
.da-home .media-layout{align-items:start}
.da-home .media-list{margin-top:25px;border-bottom:1px solid var(--line)}
.da-home .media-item{display:grid;grid-template-columns:1fr auto;gap:16px;align-items:start;padding:18px 0;border-top:1px solid var(--line)}
.da-home .media-item.has-thumb{grid-template-columns:112px 1fr auto}
.da-home .media-item img{display:block;width:112px;height:63px;object-fit:cover}
.da-home .media-item small{display:block;font-size:11px;letter-spacing:1px;color:var(--muted);margin-bottom:6px}
.da-home .media-item h3{font-size:18px;line-height:1.35;margin:0}
.da-home .media-item .arrow{font-size:20px;line-height:1.2;color:var(--accent);white-space:nowrap}
.da-home .media-item .act{font-size:11px;letter-spacing:1.2px;text-transform:uppercase;vertical-align:middle}
@media(max-width:560px){
	.da-home .media-item.has-thumb{grid-template-columns:84px 1fr auto}
	.da-home .media-item img{width:84px;height:47px}
}

/* "Show all" under a long list. */
.da-home .more-wrap{margin:22px 0 0}
.da-home .more-button{cursor:pointer;background:transparent;border:1px solid var(--ink);color:var(--ink);padding:10px 18px;font-size:12px;letter-spacing:.5px}
.da-home .more-button:hover{background:var(--ink);color:#fff}
.da-home #noMedia{margin-top:25px}

/* Teaching: course list under each position. */
.da-home .course h3{text-wrap:balance}
.da-home .course ul{list-style:none;margin:18px 0 0;padding:0}
.da-home .course li{padding:9px 0;border-top:1px solid var(--line);font-size:14px;color:var(--muted)}

/* Talks & Events: cards, each with an optional photograph on top. */
.da-home .events{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px 30px;margin:34px 0 30px}
.da-home .event{min-width:0}
.da-home .event:not(.has-photo){border-top:2px solid #333;padding-top:18px}
.da-home .event img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;margin:0 0 18px}
.da-home .event small{display:block;font-size:11px;letter-spacing:1px;text-transform:uppercase;color:var(--muted);margin-bottom:8px}
.da-home .event h3{font-size:19px;line-height:1.35;margin:0 0 6px}
.da-home #talks .event h3 a{color:inherit}
.da-home .event p{margin:0;font-size:14px;color:var(--muted)}
.da-home .event .host{font-size:13px;color:var(--ink);margin-bottom:6px}
.da-home .talks-link{margin:0}

/* Speaking request button, in Talks & Events and in Contact. */
.da-home #talks .speaking-button{background:var(--accent);border:1px solid var(--accent);color:#fff}
.da-home #talks .speaking-button:hover{background:#8a2530;border-color:#8a2530;text-decoration:none}
.da-home .contact .speaking-button{display:table;margin-top:28px;padding:13px 22px;background:var(--accent);border:1px solid var(--accent);color:#fff;font-size:13px;line-height:1.7}
.da-home .contact .speaking-button:hover{background:#8a2530;border-color:#8a2530;color:#fff;text-decoration:none}
@media(max-width:900px){
	.da-home .events{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:560px){
	.da-home .events{grid-template-columns:1fr}
}

/* About: optional photograph beside the biography. The section then uses the
   same width and left edge as the other sections. */
.da-home #about.has-photo{display:grid;grid-template-columns:minmax(0,380px) minmax(0,1fr);gap:70px;align-items:start;max-width:1060px;padding:65px 0}
.da-home #about .about-photo{margin:0}
.da-home #about .about-photo img{display:block;width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;object-position:center 20%}
.da-home #about.has-photo .about-text{max-width:600px}
@media(max-width:1120px){
	.da-home #about.has-photo{margin-left:30px;margin-right:30px}
}
@media(max-width:1000px){
	.da-home #about.has-photo{grid-template-columns:minmax(0,270px) minmax(0,1fr);gap:44px}
}
@media(max-width:680px){
	.da-home #about.has-photo{grid-template-columns:minmax(0,200px) minmax(0,1fr);gap:32px}
}
@media(max-width:560px){
	.da-home #about.has-photo{grid-template-columns:1fr;gap:30px;margin:0 25px;padding:45px 0}
	.da-home #about .about-photo img{aspect-ratio:4/3;object-position:center 16%}
}

/* Media card: optional photograph on top, edge to edge. */
.da-home .media-dark.has-photo{padding:0 0 36px}
.da-home .media-dark.has-photo > *{margin-left:36px;margin-right:36px}
.da-home .media-dark.has-photo > .media-photo{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;margin:0 0 30px}

/* Contact: phone and social links (shown only when filled in). */
.da-home .contact .phone{display:table;font-size:18px;margin-top:16px;border-bottom:0}
.da-home .contact .social{display:flex;flex-wrap:wrap;gap:10px 28px;margin-top:34px}
.da-home .contact .social a{font:12px/1.4 Arial,Helvetica,sans-serif;letter-spacing:1.5px;text-transform:uppercase;margin-top:0;padding-bottom:4px;border-bottom:1px solid #777}


/* Inner pages (privacy policy, posts, search, 404). */
.da-site.is-inner{display:flex;flex-direction:column;min-height:calc(100vh - var(--wp-admin--admin-bar--height,0px))}
.da-site.is-inner > header{position:static;background:#181a1d}
.da-page{flex:1 0 auto;width:100%;max-width:760px;margin:0 auto;padding:60px 25px 80px}
.da-page h1{font:600 38px/1.15 Arial,Helvetica,sans-serif;letter-spacing:-.7px;margin:0 0 24px}
.da-page h2{font:600 26px/1.2 Arial,Helvetica,sans-serif;margin:36px 0 12px}
.da-page h3{font:600 20px/1.3 Arial,Helvetica,sans-serif;margin:28px 0 10px}
.da-page .entry-meta{font-size:12px;color:var(--muted);margin:-12px 0 24px}
.da-page .entry-content a,.da-page .entry-summary a{color:var(--accent);text-decoration:underline}
.da-page img{max-width:100%;height:auto}
.da-page .post-list article{padding:26px 0;border-top:1px solid var(--line)}
.da-page .post-list h2{margin-top:0}
.da-page .alignleft{float:left;margin:6px 24px 16px 0}
.da-page .alignright{float:right;margin:6px 0 16px 24px}
.da-page .aligncenter{display:block;margin-left:auto;margin-right:auto}
.da-page .wp-caption{max-width:100%}
.da-page .wp-caption-text{font-size:12px;color:var(--muted)}
.da-page .nav-links{display:flex;justify-content:space-between;gap:20px;margin-top:40px;font-size:13px}

/* Resume page. */
.da-resume .resume-lead{font-size:15px;color:var(--muted);margin:-10px 0 28px}
.da-resume .resume-download{display:inline-block;margin:0 0 10px;padding:13px 22px;background:var(--accent);color:#fff;font-size:13px}
.da-resume .resume-download:hover{background:#8a2530;text-decoration:none}
.da-resume .entry-content h2{font:700 11px/1.4 Arial,Helvetica,sans-serif;letter-spacing:1.5px;text-transform:uppercase;color:var(--accent);margin:40px 0 18px;padding-top:24px;border-top:1px solid var(--line)}
.da-resume .entry-content h3{font:600 19px/1.35 Arial,Helvetica,sans-serif;margin:22px 0 4px}
.da-resume .entry-content .resume-meta{font-size:13px;color:var(--muted);margin:0 0 8px}
.da-resume .entry-content p{margin:0 0 12px}
.da-resume .entry-content ul{margin:0 0 12px;padding-left:18px}
.da-resume .entry-content li{margin-bottom:6px}
.da-resume .back-link{margin-top:48px;font-size:13px}
.da-resume .back-link a{color:var(--accent)}
/* Pages of single publications and media appearances: details, player or source button, similar items. */
.da-item .item-kicker{font:700 11px/1.4 Arial,Helvetica,sans-serif;letter-spacing:1.5px;color:var(--accent);margin:0 0 14px}
.da-item h1{margin-bottom:16px}
.da-item .item-meta{font-size:14px;color:var(--muted);margin:0 0 30px}
.da-item .item-player{margin:0 0 30px;background:#111}
.da-item .item-player.is-video{aspect-ratio:16/9}
.da-item .item-player.is-audio{background:transparent}
.da-item .item-player iframe{display:block;width:100%;height:100%;border:0}
.da-item .item-image{margin:0 0 30px}
.da-item .item-image img{display:block;width:100%;height:auto}
.da-item .item-summary{font-size:17px;line-height:1.7}
.da-item .item-summary p{margin:0 0 16px}
.da-item .item-actions{margin:28px 0 0}
.da-item .item-button{display:inline-block;padding:13px 22px;background:var(--accent);border:1px solid var(--accent);color:#fff;font-size:13px;line-height:1.7}
.da-item .item-button:hover{background:#8a2530;border-color:#8a2530;text-decoration:none}
.da-item .related{margin-top:64px}
.da-item .related h2{font:700 11px/1.4 Arial,Helvetica,sans-serif;letter-spacing:1.5px;text-transform:uppercase;color:var(--accent);margin:0 0 6px}
.da-item .related-list{border-bottom:1px solid var(--line)}
.da-item .related-item{display:grid;grid-template-columns:1fr auto;gap:16px;align-items:start;padding:18px 0;border-top:1px solid var(--line);color:inherit}
.da-item .related-item:hover{text-decoration:none}
.da-item .related-item:hover h3{color:var(--accent)}
.da-item .related-item small{display:block;font-size:11px;letter-spacing:1px;color:var(--muted);margin-bottom:6px}
.da-item .related-item h3{font:600 18px/1.35 Arial,Helvetica,sans-serif;margin:0}
.da-item .related-item .arrow{font-size:20px;line-height:1.2;color:var(--accent)}
.da-item .back-link{margin-top:36px;font-size:13px}
.da-item .back-link a{color:var(--accent)}
@media(max-width:560px){
	.da-item .item-summary{font-size:16px}
	.da-item .related{margin-top:48px}
}

@media print{
	body.page-template-template-resume .da-site > header,
	body.page-template-template-resume .da-site > footer,
	body.page-template-template-resume .skip-link,
	body.page-template-template-resume .resume-download,
	body.page-template-template-resume .back-link{display:none!important}
	body.page-template-template-resume .da-page{max-width:none;padding:0}
}
