/* ===== Reset & Global ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  min-height: 100%;
  width: 100%;
  font-family: 'Georgia', serif;
  color: #333;
  background-color: #fafafa;
  line-height: 1.7;
  display: flex;
  flex-direction: column;
}
main { flex: 1; max-width: 1000px; margin: 0 auto; padding: 40px 20px; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ===== Header & Navigation ===== */
header { background: #023047; text-align: center; padding: 2rem 0; }
header .logo { max-width: 600px; margin: 0 auto 0.5rem; }

nav {
  width: 100vw;
  background: #EC5224;
  padding: 0.8rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 2rem;
}
nav ul li a {
  color: #fff;
  font-weight: bold;
  font-size: 1.1rem;
  transition: opacity 0.3s;
}
nav ul li a:hover { opacity: 0.8; }

/* ===== Hero ===== */
.hero {
  position: relative;
  height: 560px;
  overflow: hidden;
  color: #fff;
  text-align: center;
}
.hero-slide {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: fade 15s infinite;
}
.hero-slide:nth-child(1) { background-image: url('/assets/images/hero-travel1.jpg'); animation-delay: 0s; }
.hero-slide:nth-child(2) { background-image: url('/assets/images/hero-travel2.jpg'); animation-delay: 5s; }
.hero-slide:nth-child(3) { background-image: url('/assets/images/hero-travel3.jpg'); animation-delay: 10s; }
@keyframes fade { 0%,100% { opacity: 0 } 10%,30% { opacity: 1 } 40% { opacity: 0 } }

.hero-text {
  position: relative;
  z-index: 2;
  padding-top: 160px;
  max-width: 800px;
  margin: auto;
}
.hero-text h1 { font-size: 3rem; margin-bottom: 1rem; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.hero-text p { font-size: 1.3rem; text-shadow: 0 1px 5px rgba(0,0,0,0.5); }

/* ===== Featured & Buttons ===== */
.featured {
  display: flex;
  gap: 2rem;
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  margin: 3rem auto;
  max-width: 1000px;
}
.featured img {
  flex: 0 0 220px;
  width: 220px;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}
.featured-text h3 { color: #EC5224; font-size: 1.6rem; margin-bottom: 0.5rem; }
.btn {
  display: inline-block;
  background: #EC5224;
  color: #fff;
  padding: 0.75rem 1.6rem;
  border-radius: 30px;
  font-weight: bold;
  transition: background 0.3s;
}
.btn:hover { background: #d43f1a; }

/* ===== BLOG GRID – THIS IS THE FIXED PART ===== */
.blog-preview {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 1rem;
}
.blog-preview h2 {
  text-align: center;
  color: #023047;
  font-size: 2rem;
  margin-bottom: 2.5rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

/* The actual card */
.post-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  overflow: hidden;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}
.post-card:hover {
  transform: translateY(-8px);
}

/* Image – short, perfect, no gaps, no weird cropping */
.post-card img {
  width: 100%;
  height: 180px;           /* ← shorter cards! change this number only */
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}
.post-card:hover img {
  transform: scale(1.08);
}

/* Text content */
.post-info {
  padding: 1.1rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.post-date {
  color: #EC5224;
  font-weight: bold;
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
}
.post-title {
  font-size: 1.22rem;
  color: #023047;
  margin: 0 0 0.6rem;
  line-height: 1.3;
}
.post-excerpt {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
  flex-grow: 1;
}
.read-more {
  color: #EC5224;
  font-weight: bold;
  font-size: 0.9rem;
  margin-top: auto;
  padding-top: 0.5rem;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .featured { flex-direction: column; text-align: center; }
  .featured img { width: 100%; max-width: 300px; margin: 0 auto 1.5rem; }
}
@media (max-width: 768px) {
  .blog-grid { grid-template-columns: 1fr; }
  .hero-text h1 { font-size: 2.3rem; }
  .hero-text { padding-top: 100px; }
}

/* ===== Rest of your site (unchanged) ===== */
.blog-post { max-width: 1000px; margin: 0 auto; padding: 40px 20px; }
.blog-post h1 { font-size: 2.8rem; color: #023047; margin-bottom: 0.5rem; }
.blog-post .post-date { color: #EC5224; font-weight: bold; margin-bottom: 2rem; }
.post-hero img { width: 100%; height: 400px; object-fit: cover; border-radius: 12px; margin-bottom: 2rem; }

#mc_embed_signup {
  background: #fff;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  max-width: 600px;
  margin: 3rem auto;
  text-align: center;
}
#mc_embed_signup .button {
  background: #EC5224 !important;
  color: #fff !important;
  padding: 0.9rem 2rem !important;
  border-radius: 30px !important;
  font-weight: bold !important;
  margin-top: 0.5rem;
}
#mc_embed_signup .button:hover { background: #d43f1a !important; }

footer {
  background: #023047;
  color: #fff;
  text-align: center;
  padding: 2.5rem 1rem;
  font-size: 0.9rem;
}
footer a { color: #EC5224; }
.social-links a {
  display: inline-block;
  width: 40px; height: 40px;
  background: #fff;
  color: #023047;
  line-height: 40px;
  border-radius: 50%;
  margin: 0 8px;
  transition: all 0.3s;
}
.social-links a:hover { background: #EC5224; color: #fff; }

.recent-posts h2 {
  color: #023047;
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 2rem;
}

.recent-posts-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.recent-post-card {
  display: block;
  width: 300px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s;
}

.recent-post-card:hover {
  transform: translateY(-4px);
}

.recent-post-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.recent-post-card h3 {
  font-size: 1.2rem;
  color: #EC5224;
  margin: 0.5rem 1rem 0;
}

.recent-post-card .post-date {
  font-size: 0.8rem;
  color: #555;
  margin: 0.3rem 1rem 1rem;
}
.social-links { margin: 1rem 0; }
    .social-links a {
      display: inline-block; margin: 0 10px; width: 40px; height: 40px;
      background: #fff; color: #023047; border-radius: 50%; text-align: center;
      line-height: 40px; font-size: 1.3rem; transition: all .3s;
    }
    .social-links a:hover { background: #EC5224; color: #fff; transform: translateY(-3px); }
    .social-float {
      position: fixed; right: 20px; top: 50%; transform: translateY(-50%); z-index: 99;
      display: flex; flex-direction: column; gap: 12px;
    }
    .social-float a {
      width: 45px; height: 45px; background: #EC5224; color: #fff; border-radius: 50%;
      display: flex; align-items: center; justify-content: center; font-size: 1.4rem;
      box-shadow: 0 3px 10px rgba(0,0,0,0.2); transition: all .3s;
    }
    .social-float a:hover { background: #023047; transform: scale(1.1); }

.latest-issue-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.issue-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.issue-card img,
.latest-issue-card img {
  width: 100%;
  border-radius: 8px;
}

.current-issue {
  max-width: 1100px;
  margin: 4rem auto 6rem;
  padding: 0 1.5rem;
}

.current-issue h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.embed-wrapper {
  position: relative;
  width: 100%;
  padding-top: 62%; /* controls height ratio */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.embed-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.past-issues {
  max-width: 1200px;
  margin: 0 auto 6rem;
  padding: 0 1.5rem;
}

.past-issues h2 {
  font-size: 1.6rem;
  margin-bottom: 2rem;
}
.issue-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 2rem;
}
.issue-card {
  text-decoration: none;
  color: inherit;
}

.issue-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
  transition: transform 0.25s ease;
}

.issue-card:hover img {
  transform: translateY(-4px);
}

.issue-card h4 {
  margin-top: 0.75rem;
  font-size: 1rem;
  font-weight: 500;
}




