:root {
  --font-head: 'Playfair Display', serif;
  --font-body: 'Source Serif Pro', serif;
  --accent: #c40000;
  --maxw: 1180px;
}
.logo-container {
  text-align: center;
  margin-bottom: 0.5rem;
}

.site-logo {
  max-height: 50px;
  width: auto;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  color: #222;
  background: #fafafa;
}

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.wrapper {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 2rem 1.25rem;
}

/* === Header === */
.site-title {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 600;
  letter-spacing: .4px;
  text-align: center;
}

.author-title {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: .4rem;
  text-align: center;
}

.header-contact {
  text-align: center;
  font-size: .9rem;
  color: #444;
}

.top-nav {
  margin: 1.4rem 0;
  text-align: center;
  font-size: 1rem;
}
.top-nav a {
  margin: 0 1rem;
  font-weight: 600;
}

/* === Layout: main + side columns === */
.horizontal-main {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
}

/* Main article column */
.main-column {
  flex: 0 0 60%;
}

/* Wrapper for two sidebar columns */
.right-columns {
  display: flex;
  flex: 0 0 40%;
  gap: 2rem;
}

/* Each individual sidebar */
.sidebar-column {
  flex: 1 1 50%;
}

/* === Author image === */
.sidebar-column img {
  width: 100%;
  display: block;
  border: 1px solid #ccc;
}

.author-credit {
  font-size: .75rem;
  color: #666;
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
}

/* === Article styling === */
.post-title {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: .5rem;
}

.post-subtitle {
  font-size: 1.1rem;
  font-weight: 400;
  font-style: italic;
  margin-bottom: 1rem;
  color: #444;
}

.post-date {
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: 1.4rem;
}

.post-body p {
  margin: 1rem 0;
  text-align: justify;
}

/* === Sidebar content blocks === */
.side-block {
  margin-top: 2rem;
}

.side-block h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: .8rem;
}

.side-block ul {
  list-style: none;
  padding: 0;
}

.thumb-list li {
  display: flex;
  align-items: center;
  margin: 1rem 0;
}

.thumb-list img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  margin-right: 1rem;
  border: 1px solid #ccc;
}

/* === Footer === */
footer {
  margin: 3rem 0 2rem;
  text-align: center;
  font-size: .8rem;
  color: #666;
}

/* === Responsive adjustments === */
@media screen and (max-width: 768px) {
  .horizontal-main,
  .right-columns {
    flex-direction: column;
  }

  .main-column,
  .sidebar-column {
    flex: 1 0 100%;
  }

  .right-columns {
    margin-top: 2rem;
  }

  .sidebar-column {
    margin-bottom: 2rem;
  }
}
