/* Travel stories listing and in-page article reader layouts. */
.blog-hero {
  padding: 4.5rem 0 4rem;
  color: #fff;
  background-color: var(--sy-navy);
  background-image:
    linear-gradient(90deg, rgba(10, 37, 64, .88), rgba(10, 37, 64, .36)),
    url("https://images.unsplash.com/photo-1519046904884-53103b34b206?auto=format&fit=crop&w=1400&q=72");
  background-size: cover;
  background-position: center 48%;
}

.blog-hero .container { max-width: 1120px; }
.blog-eyebrow { color: var(--sy-yellow); font-size: .78rem; font-weight: 700; }
.blog-title { margin: .75rem 0 0; font-size: 3rem; font-weight: 800; line-height: 1.1; }
.blog-intro { max-width: 560px; margin: .85rem 0 0; color: #e1eaf2; }
.blog-section { min-height: 420px; background: #fff; }
.blog-status { color: var(--sy-muted); }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 340px)); justify-content: start; gap: 1rem; }
.blog-card { min-width: 0; overflow: hidden; background: var(--sy-card); border: 1px solid var(--sy-border); border-radius: 12px; transition: transform .2s ease, box-shadow .2s ease; }
.blog-card:hover { transform: translateY(-2px); box-shadow: var(--sy-shadow); }
.blog-card-image { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--sy-sky); }
.blog-card-body { padding: .9rem; }
.blog-date { color: var(--sy-muted); font-size: .78rem; }
.blog-card-title { margin: .4rem 0; color: var(--sy-navy); font-size: 1.08rem; font-weight: 700; }
.blog-card-excerpt { margin: 0 0 1rem; color: #46566c; font-size: .88rem; }
.blog-read-button, .blog-back-button { padding: 0; color: var(--sy-blue); background: transparent; border: 0; font-size: .9rem; font-weight: 600; }
.blog-reader { max-width: 820px; margin: 0 auto; }
.blog-reader[hidden] { display: none; }
.blog-back-button {
  position: sticky;
  top: .75rem;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  padding: .55rem .9rem;
  border: 1px solid var(--sy-border);
  border-radius: 50px;
  background: var(--sy-card);
  box-shadow: var(--sy-shadow);
}
.blog-reader-title { margin: 1rem 0 .4rem; color: var(--sy-navy); font-size: 2rem; font-weight: 800; }
.blog-reader-image { width: 100%; max-height: 480px; margin: 1.25rem 0; border-radius: 12px; object-fit: cover; }
.blog-reader-content { color: #33445a; line-height: 1.8; overflow-wrap: anywhere; }
.blog-reader-content img { max-width: 100%; height: auto; }
.blog-reader-content a { color: var(--sy-blue); }
.blog-reader-content blockquote { margin: 1rem 0; padding-left: 1rem; border-left: 3px solid var(--sy-yellow); }

@media (max-width: 767.98px) {
  .blog-hero { padding: 3rem 0; }
  .blog-title { font-size: 2.35rem; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-reader-title { font-size: 1.6rem; }
  .blog-reader { padding-bottom: 4rem; }
  .blog-reader .blog-back-button {
    position: fixed;
    top: auto;
    right: 1rem;
    bottom: calc(4.25rem + env(safe-area-inset-bottom, 0px));
    z-index: 1029;
    min-height: 48px;
  }
}