:root {
  color-scheme: light;
  --text: #222;
  --muted: #666;
  --link: #1772d0;
  --link-hover: #f09228; }

* {
  box-sizing: border-box; }

html {
  background: #fff; }

body {
  margin: 0;
  color: var(--text);
  font-family: "Lato", Verdana, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.5; }

a {
  color: var(--link);
  text-decoration: none; }

a:hover,
a:focus-visible {
  color: var(--link-hover); }

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

h1,
h2,
h3,
p {
  margin-top: 0; }

h1 {
  margin-bottom: 1rem;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.15;
  text-align: center; }

h2 {
  margin-bottom: 0.55rem;
  font-size: 22px;
  font-weight: 400; }

h3 {
  margin-bottom: 0.35rem;
  font-size: 16px;
  line-height: 1.3; }

.site-shell {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 24px 20px 40px; }

.profile {
  display: grid;
  grid-template-columns: 3fr 2fr;
  align-items: center; }

.profile-copy,
.profile-portrait,
.section-header,
.entry-media,
.entry-copy {
  padding: 2.5%; }

.profile-copy p {
  margin-bottom: 0.9rem; }

.profile-links {
  text-align: center; }

.profile-portrait img {
  width: 100%;
  max-width: 280px;
  margin-left: auto; }

.content-section {
  margin-top: 12px; }

.section-header p {
  margin-bottom: 0;
  color: var(--muted); }

.entry {
  display: grid;
  grid-template-columns: 1fr 3fr;
  align-items: center; }

.entry-media {
  min-width: 120px; }

.entry-media img {
  width: 100%;
  max-height: 180px;
  object-fit: contain; }

.authors,
.venue,
.entry-links {
  margin-bottom: 0.25rem; }

.entry-copy > p:last-child {
  margin-bottom: 0; }

.post-list {
  margin: 0;
  padding: 0 2.5%;
  list-style: none; }

.post-list li {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  padding: 5px 0; }

.post-list time,
.post-date {
  color: var(--muted); }

.post {
  max-width: 720px;
  margin: 0 auto; }

.post-header {
  margin: 32px 0;
  text-align: center; }

.post-content {
  font-size: 16px; }

.post-content img {
  margin: 1.5rem auto; }

.site-footer {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 32px;
  padding: 2.5%;
  color: var(--muted);
  font-size: 12px;
  text-align: center; }

@media (max-width: 640px) {
  .site-shell {
    padding: 16px 14px 32px; }

  .profile {
    grid-template-columns: 1fr; }

  .profile-portrait {
    grid-row: 1; }

  .profile-portrait img {
    width: min(68vw, 240px);
    margin: 0 auto 12px; }

  .entry {
    grid-template-columns: 1fr;
    padding-bottom: 18px; }

  .entry-media {
    min-width: 0; }

  .entry-media img {
    width: min(76vw, 320px);
    margin: 0 auto; }

  .post-list li {
    grid-template-columns: 1fr;
    gap: 0; } }
