body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  color: #333;
  background: #fff;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

/* Tablet and up: */
@media screen and (min-width: 768px) {
  .site-header {
    padding: 1.5em 2em;
  }
}

.site-title {
  font-size: 1.8em;
  margin: 0;
  text-transform: lowercase;
  font-family: 'Playfair Display', serif;
}
nav.main-nav {
  display: flex;
  gap: 2em;
}
nav.main-nav a {
  text-decoration: none;
  color: #444;
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-size: 14px;
  text-transform: uppercase;
}



.menu-icon {
  width: 30px;
  height: 22px;
  position: relative;
  cursor: pointer;
  z-index: 1001;
  display: none;
}

.menu-icon div {
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #333;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-icon .bar1 {
  top: 0;
}

.menu-icon .bar2 {
  top: 9px;
}

.menu-icon .bar3 {
  top: 18px;
}

.menu-icon.open .bar1 {
  transform: rotate(45deg);
  top: 9px;
}

.menu-icon.open .bar2 {
  opacity: 0;
}

.menu-icon.open .bar3 {
  transform: rotate(-45deg);
  top: 9px;
}

@media (max-width: 768px) {
  nav.main-nav {
    display: none;
  }
  .menu-icon {
    display: flex;
  }
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #fff;
  padding: 4em 2em;
  z-index: 1000;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}
.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu a {
  margin-bottom: 1.5em;
  font-size: 1.1em;
  font-family: 'Lato', sans-serif;
  text-transform: uppercase;
  text-decoration: none;
  color: #333;
}
.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(0, 0, 0, 0.4);
  z-index: 999;
}
.overlay.show {
  display: block;
}

/* Default (mobile-first): */
main {
  background-color: #f9f9f9;
  padding: 2em 0; /* Applies to mobile */
}

/* Tablet and up: */
@media screen and (min-width: 768px) {
  main {
    padding: 3em 2em 4em;
  }
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3em 2em;
  min-height: 500px;
}
.post {
  display: flex;
  flex-direction: column;
}
.post img {
  width: 100%;
  object-fit: cover;
  border-radius: 0;
  margin-bottom: 1.2em;
  aspect-ratio: 2 / 3;
}

.post.placeholder img {
  filter: grayscale(0.7) brightness(0.8);
}

.post.placeholder img:hover {
    filter: grayscale(0.2) brightness(0.8);
}

.image-wrapper {
  position: relative;
}

.coming-soon-label {
  position: absolute;
  top: 0.5em;
  left: 0.5em;
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 0.75rem;
  padding: 0.3em 0.6em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: inline-block; /* NEW */
  transform-origin: center center; /* NEW */
}

@keyframes wiggle {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-3deg); }
  75% { transform: rotate(3deg); }
}

.coming-soon-label.wiggle {
  animation: wiggle 0.4s ease;
}

.post.placeholder:hover .coming-soon-label {
  animation: wiggle 1s ease;
}

.post-content {
  display: flex;
  flex-direction: column;
  gap: 0.4em;
}
.post-content h2 {
  margin: 0;
  font-size: 1.25em;
  font-family: 'Playfair Display', serif;
  line-height: 1.3;
}
.post-content p {
  margin: 0;
  font-size: 1em;
  color: #555;
  font-family: 'Lato', sans-serif;
  line-height: 1.5;
}

.post.placeholder .post-content h2, .post.placeholder .post-content p {
  color: #5e5e5e;
  color: #777;
}

a {
  text-decoration: none;
  color: black;
}
a:visited {
  text-decoration: black;
}

.post-h1 {
  margin: 0;
}

/* public/style.css */

body {
    font-family: 'Lato', sans-serif;
    font-size: 18px; /* bigger base size */
    line-height: 1.8;
    color: #222;
    background-color: #fafafa;
    padding: 2rem;
    max-width: 100ch;
    margin: 0 auto;
  }
  
  h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    margin-top: 2.5rem;
    margin-bottom: 1.2rem;
  }
  
  p {
    margin-top: 1.2rem;
    margin-bottom: 1.2rem;
  }
  
  ul, ol {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
  }
  
  li {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
  }

  th {
    text-align: left;
    font-weight: 800;
  }
  td a strong {
    margin-right: 16px;
  }
  
  .post-main a {
    color: #2a72c7;;
  }