/* Holidays with Hollie blog. Loaded after style.css, uses the same colours. */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0; padding: 0; margin: -1px;
}

.blog-intro { max-width: 40rem; margin-bottom: 2rem; }
.blog-intro p:last-child { color: var(--muted); font-size: 1.08rem; }
.blog-empty {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 2rem 1.5rem; text-align: center; color: var(--muted);
}

.post-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
.post-card {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--cream-deep);
  border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
}
.post-card-media { display: block; aspect-ratio: 3 / 2; background: var(--cream-deep); overflow: hidden; }
.post-card-media picture, .post-card-media img { display: block; width: 100%; height: 100%; }
.post-card-media img { object-fit: cover; }
.post-card-media-empty {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--pink-soft), #d9f4f6);
  color: var(--gold-deep); font-family: var(--font-serif); font-size: 1.2rem; text-decoration: none;
}
.post-card-body { padding: 1.1rem 1.25rem 1.4rem; display: flex; flex-direction: column; gap: 0.45rem; flex: 1; }
.post-date { margin: 0; color: var(--muted); font-size: 0.9rem; }
.post-card-title { font-size: 1.35rem; margin: 0; line-height: 1.25; }
.post-card-title a { color: var(--ink); text-decoration: none; }
.post-card-title a:hover, .post-card-title a:focus-visible { color: var(--pink-dark); text-decoration: underline; }
.post-card-excerpt { margin: 0; color: var(--ink); }
.post-card-more { margin: auto 0 0; padding-top: 0.4rem; }
.post-card-more a { color: var(--teal-dark); font-weight: 600; }
.blog-pager { display: flex; gap: 0.8rem; justify-content: center; margin-top: 2rem; flex-wrap: wrap; }

.post-page .post-back { margin: 0 0 1rem; }
.post-page .post-back a { color: var(--teal-dark); font-weight: 600; }
.post-header h1 { margin-bottom: 0.3rem; }
.post-header { margin-bottom: 1.4rem; }
.post-cover { margin: 0 0 1.8rem; }
.post-cover img, .post-figure img {
  display: block; width: 100%; height: auto;
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.post-figure { margin: 1.6rem 0; }
.post-body { font-size: 1.08rem; line-height: 1.75; overflow-wrap: anywhere; }
.post-body h2 { font-size: 1.6rem; margin: 2rem 0 0.6rem; }
.post-body h3 { font-size: 1.3rem; margin: 1.6rem 0 0.5rem; }
.post-body a { color: var(--teal-dark); }
.post-body ul, .post-body ol { padding-left: 1.4rem; }
.post-body li { margin: 0.3rem 0; }
.post-body blockquote {
  margin: 1.4rem 0; padding: 0.8rem 1.2rem;
  border-left: 4px solid var(--pink); background: var(--pink-soft); border-radius: 0 12px 12px 0;
}
.post-cta {
  margin-top: 2.6rem; padding: 1.5rem 1.4rem; text-align: center;
  background: var(--white); border: 1px solid var(--gold); border-radius: var(--radius); box-shadow: var(--shadow);
}
.post-cta h2 { margin-top: 0; font-size: 1.5rem; }
.post-cta-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; margin-bottom: 0; }
.preview-note {
  background: #fff4d6; border: 1px solid var(--gold); border-radius: 12px;
  padding: 0.7rem 1rem; font-weight: 600;
}

/* Ad slots. These only appear once ads are switched on in the private blog config. */
.ad-slot { margin: 2rem 0; min-height: 100px; text-align: center; }
.post-card-ad { padding: 1rem; justify-content: center; }

@media (min-width: 700px) {
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 980px) {
  .post-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
