/* css styles */

.home-layout {
  display: flex;
  gap: 2rem;
  align-items: start;
}

.home-copy {
  flex: 1 1 auto;
  min-width: 0;
}

.home-copy > :first-child {
  margin-top: 0;
}

.home-sidebar {
  flex: 0 0 260px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.portrait-card {
  background: #faf8f3;
  border: 1px solid #ddd6c8;
  border-radius: 14px;
  padding: 0.9rem;
  text-align: center;
  font-size: 0.95rem;
  color: #544f44;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.portrait-card p:last-child {
  margin-bottom: 0;
}

.homepage-portrait {
  display: block;
  width: 100%;
  margin: 0 auto 0.75rem auto;
  border-radius: 10px;
}

@media (max-width: 700px) {
  .home-layout {
    flex-direction: column;
    gap: 1.5rem;
  }

  .home-sidebar {
    flex: 1 1 auto;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .home-sidebar {
    grid-template-columns: 1fr;
  }
}
