/* Base styles */
body {
  margin: 0;
  font-family: 'Lora', serif;
  background: #fff;
  color: #222;
  text-align: center;
}

h1, h2, h3 {
  font-family: "Abril Fatface", serif;
  text-transform: uppercase;
  color: #808080s;
}

.cursive {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  display: inline-block;
  margin: 0 0.2em;
}

/* Navigation */
.nav {
  text-align: center;
  padding: 1em 0;
  border-bottom: 1px solid #ddd;
  background: #fff;
}

.nav a {
  margin: 0 15px;
  text-decoration: none;
  color: #555;
  font-weight: bold;
}

.nav a:hover {
  color: #d13eff;
}

/* Hero section */
.hero {
  padding: 4em 1em;
  background: url('images/nudebackbendcrop.jpg') no-repeat;
  background-size: cover;
  background-position: 10% 100%;
  color: #808080;
  min-height: 300px;
}

.hero h1 {
  color: #aaa; /* lighter grey */
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  font-size: 4.8rem;
  margin: 0;
  line-height: 1.6;
}

/* Posts grid */
.posts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2em;
  padding: 2em;
  max-width: 1200px;
  margin: 0 auto;
}

.post {
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  background: #fff;
  overflow: hidden;
  text-align: left;
  transition: transform 0.2s ease-in-out;
}

.post:hover {
  transform: translateY(-5px);
}

.post img {
  width: 100%;
  display: block;
}


.post-content {
  padding: 1em;
  max-width: 800px;
  margin: 2rem auto;
  font-size: 1.25rem;
  line-height: 1.7;
}
.post-content img {
  display: block;
  margin: 1rem auto;
  max-width: 100%;
  width: auto;
  height: auto;
  max-width: 600px;     /* limit width */
  max-height: 350px;    /* limit height */
  object-fit: cover;    /* crop if too tall */


}

.post h2 {
  font-size: 1.3rem;
  margin-top: 0;
}

.post p {
  font-size: 0.95rem;
  color: #555;
}

.content a {
  text-decoration: none;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .cursive {
    font-size: 2rem;
  }

  .posts {
    grid-template-columns: 1fr;
  }

  .post-content {
    column-count: 1;
  }
}
