body {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.85rem 1.5rem 3.4rem 1.5rem;
  line-height: 1.8;
  color: #1f2430;
  background: #fcfcfb;
  font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16.5px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Roboto Slab", Georgia, serif;
  font-weight: 500;
  color: #161922;
}

a {
  color: #1f4b99;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.12em;
}

a:hover {
  color: #163973;
}

.site-nav {
  margin-bottom: 2.6rem;
}

.site-nav-inner {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 1.6rem;
}

.site-brand {
  flex: 0 0 auto;
  margin-right: 0.2rem;
}

.site-brand a {
  color: #141821;
  background: transparent;
  text-decoration: none;
  font-family: "Roboto Slab", Georgia, serif;
  font-size: 1.52rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  padding: 0;
  border: 0;
  box-shadow: none;
}

.site-brand a:hover,
.site-brand a:focus {
  color: #141821;
  background: transparent;
  text-decoration: none;
}

.menu {
  display: flex;
  justify-content: flex-start;
  gap: 1.35rem;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.menu li {
  display: inline-block;
}

.menu a {
  text-decoration: none;
  color: #465063;
  background: transparent;
  padding: 0;
  border: 0;
  box-shadow: none;
  font-size: 0.97rem;
  letter-spacing: 0.01em;
}

.menu a:hover,
.menu a:focus {
  color: #11151d;
  background: transparent;
  text-decoration: underline;
}

hr {
  border: 0;
  border-top: 1px solid #e4e7eb;
  margin: 0.95rem 0 2.7rem 0;
}

.home-hero-right-photo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  align-items: start;
  gap: 3.5rem;
  padding: 0.35rem 0 0.75rem 0;
}

.home-main {
  min-width: 0;
  max-width: 730px;
  padding-top: 0.1rem;
}

.home-content {
  font-size: 1.04rem;
}

.home-content p {
  margin: 0 0 1.15rem 0;
}

.home-content p:last-child {
  margin-bottom: 0;
}

.home-content strong {
  font-weight: 500;
  color: #111827;
}

.home-side {
  justify-self: end;
  width: 250px;
}

.home-photo {
  display: block;
  width: 100%;
  max-width: 250px;
  border-radius: 6px;
  box-shadow: 0 18px 42px rgba(30, 41, 59, 0.12);
}

.home-cv-link {
  margin: 1rem 0 0 0;
  text-align: center;
  font-size: 0.94rem;
}

.home-cv-link a,
footer a {
  text-decoration: none;
}

.home-cv-link a:hover,
footer a:hover {
  text-decoration: underline;
}

main {
  hyphens: none;
}

.article-meta, .title {
  text-align: left;
}

.title {
  margin-top: 0;
}

p, li {
  color: #2a3140;
}

ul, ol {
  padding-left: 1.25rem;
}

blockquote {
  background: #f7f8fa;
  border-left: 3px solid #cfd6df;
  padding: 0.45rem 1rem;
}

footer {
  text-align: center;
  color: #6b7280;
  font-size: 0.93rem;
  margin-top: 3.2rem;
  padding-top: 0.5rem;
}

@media (max-width: 860px) {
  body {
    padding: 1.15rem 1rem 2rem 1rem;
    font-size: 16px;
  }

  .site-nav {
    margin-bottom: 1.85rem;
  }

  .site-nav-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.55rem;
  }

  .site-brand a {
    font-size: 1.34rem;
  }

  .menu {
    justify-content: flex-start;
    gap: 1rem;
  }

  hr {
    margin-bottom: 2rem;
  }

  .home-hero-right-photo {
    grid-template-columns: 1fr;
    gap: 1.6rem;
    padding-top: 0.1rem;
  }

  .home-main {
    max-width: none;
    padding-top: 0;
  }

  .home-side {
    justify-self: center;
    width: 100%;
  }

  .home-photo {
    max-width: 185px;
    margin: 0 auto;
  }
}
