/* Marcel Nadeau - Public Site Styles */
/* Matching the WordPress Twenty Twenty theme aesthetic */

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

body {
  font-family: "Hoefler Text", Garamond, "Times New Roman", serif;
  background-color: #f5efe0;
  color: #000;
  font-size: 18px;
  line-height: 1.6;
}

a {
  color: #cd2653;
  text-decoration: none;
  transition: color 0.15s;
}

a:hover {
  color: #a51d3f;
}

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

/* Header */
.site-header {
  background: #fff;
  border-bottom: 3px solid #cd2653;
  padding: 2rem 0 1rem;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

.site-title {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.site-title a {
  color: #000;
}

.site-title a:hover {
  color: #cd2653;
}

.site-tagline {
  font-style: italic;
  color: #6d6d6d;
  margin-top: 0.25rem;
  font-size: 1.1rem;
}

/* Navigation */
.main-nav {
  margin-top: 1.5rem;
}

.main-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.main-nav a {
  display: block;
  padding: 0.5rem 1rem;
  color: #000;
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 3px;
}

.main-nav a:hover,
.main-nav a.active {
  background: #cd2653;
  color: #fff;
}

/* Main Content */
.site-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.content-inner {
  display: flex;
  gap: 3rem;
}

.main-column {
  flex: 1;
  min-width: 0;
}

/* Sidebar */
.sidebar {
  width: 280px;
  flex-shrink: 0;
}

.widget {
  background: #fff;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: 4px;
}

.widget h3 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #cd2653;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #f0e6d3;
}

.widget ul {
  list-style: none;
}

.widget li {
  padding: 0.3rem 0;
  font-size: 0.9rem;
  border-bottom: 1px solid #f5f0e6;
}

.widget li:last-child {
  border-bottom: none;
}

/* Post List */
.post-entry {
  background: #fff;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: 4px;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.post-thumbnail {
  flex-shrink: 0;
  width: 200px;
}

.post-thumbnail img {
  border-radius: 3px;
  width: 200px;
  height: 200px;
  object-fit: cover;
}

.post-info {
  flex: 1;
  min-width: 0;
}

.post-title {
  font-size: 1.4rem;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.post-title a {
  color: #000;
}

.post-title a:hover {
  color: #cd2653;
}

.post-meta {
  font-size: 0.85rem;
  color: #6d6d6d;
  margin-bottom: 0.75rem;
}

.post-meta time {
  margin-right: 1rem;
}

.cat-link {
  display: inline-block;
  background: #f5efe0;
  padding: 0.1rem 0.5rem;
  border-radius: 3px;
  font-size: 0.8rem;
  margin: 0.1rem 0;
}

.post-excerpt {
  font-size: 0.95rem;
  color: #333;
}

/* Single Post */
.single-post {
  background: #fff;
  padding: 2rem;
  border-radius: 4px;
}

.single-post .post-title {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.single-post .post-meta {
  margin-bottom: 1.5rem;
}

.post-image {
  margin: 1.5rem 0;
}

.post-image img {
  border-radius: 4px;
  width: 100%;
}

.post-content {
  line-height: 1.8;
}

.post-content p {
  margin-bottom: 1rem;
}

.post-taxonomy {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 2px solid #f0e6d3;
  font-size: 0.9rem;
  color: #6d6d6d;
}

.post-taxonomy a {
  margin-right: 0.5rem;
}

/* Archive title */
.archive-title {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 3px solid #cd2653;
}

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.pagination a,
.pagination .current,
.pagination .dots {
  display: inline-block;
  padding: 0.5rem 0.75rem;
  border-radius: 3px;
  font-size: 0.9rem;
}

.pagination a {
  background: #fff;
  color: #000;
}

.pagination a:hover {
  background: #cd2653;
  color: #fff;
}

.pagination .current {
  background: #cd2653;
  color: #fff;
  font-weight: bold;
}

.pagination .prev,
.pagination .next {
  font-weight: 600;
}

/* Footer */
.site-footer {
  background: #000;
  color: #fff;
  padding: 2rem;
  margin-top: 3rem;
  text-align: center;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  .content-inner {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
  }

  .post-entry {
    flex-direction: column;
  }

  .post-thumbnail {
    width: 100%;
  }

  .post-thumbnail img {
    width: 100%;
    height: auto;
    max-height: 300px;
  }

  .main-nav ul {
    gap: 0.25rem;
  }

  .main-nav a {
    padding: 0.4rem 0.6rem;
    font-size: 0.8rem;
  }

  .site-title {
    font-size: 1.8rem;
  }
}
