/* Blog pages reuse ../legal.css; these rules adjust it for articles. */

/* Base rules the legal pages keep in their inline <style>. */
*, *::before, *::after { margin: 0; padding: 0; }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
}

.nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.legal-wrap {
  margin: 0 auto;
}

.post p,
.post li,
.post h1,
.post h2 {
  overflow-wrap: break-word;
}

.nav .logo::before {
  background-image: url("../assets/gigi-logo.png");
}

.legal-header::before {
  content: "Blog";
}

.post .legal-header h1 {
  font-size: clamp(40px, 6.5vw, 64px);
  line-height: 1.04;
}

.post figure,
.post .figure-pair {
  max-width: 760px;
  margin: 28px 0 36px;
}

.post figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 16px 44px rgba(74, 55, 40, 0.12);
}

.post figcaption {
  margin-top: 10px;
  color: var(--soft);
  font-size: 14px;
}

.post .figure-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.post .figure-pair figure {
  margin: 0;
}

.post .examples {
  margin: 12px 0 20px 1.25rem;
}

.post .examples li {
  margin-bottom: 8px;
}

.post .post-cta {
  margin-top: 40px;
}

.post-list {
  list-style: none;
  margin: 0;
  max-width: 760px;
}

.post-list li {
  padding: 0;
}

.post-list a {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 20px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

.post-list img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.post-list h2 {
  margin: 0 0 6px;
  padding: 0;
  border: 0;
  font-size: 28px;
}

.post-list p {
  color: var(--soft);
  font-size: 15px;
}

@media (max-width: 600px) {
  .post .figure-pair,
  .post-list a {
    grid-template-columns: 1fr;
  }
}

.post .post-subtitle {
  margin-top: 14px;
  color: var(--brown);
  font-size: 19px;
  font-weight: 600;
}
