/* ==========================================================================
   BLOGS OVERVIEW PAGE (blogs.html)
   ========================================================================== */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 1rem;
}

.blog-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.blog-card-image-link {
  display: block;
  overflow: hidden;
}

.blog-card-image {
  height: 220px;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-image {
  transform: scale(1.05);
}

.blog-card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
  font-size: 0.85rem;
}

.blog-tag {
  background: rgba(255, 209, 102, 0.3);
  color: #1a1a1a;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-weight: 600;
}

.blog-date {
  color: #666;
}

.blog-card-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.blog-title-link {
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog-title-link:hover {
  color: var(--gold, #d4a373);
}

.blog-card-content p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.blog-read-more {
  text-align: center;
  align-self: start;
}

/* ==========================================================================
   SINGLE BLOG PAGES (blog-stone-town.html & blog-safari-blue.html)
   ========================================================================== */

.single-blog-body {
  background-color: #f8f9fa;
  color: #2c3e50;
  padding: 2rem 1rem;
}

.blog-article-wrapper {
  max-width: 800px;
  margin: 0 auto;
  background: #ffffff;
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.05);
}

.single-blog-nav {
  margin-bottom: 2rem;
}

.back-to-blogs-btn {
  display: inline-block;
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 1rem;
  background: #f0f0f0;
  border-radius: 30px;
  transition: background 0.3s ease, color 0.3s ease;
}

.back-to-blogs-btn:hover {
  background: var(--gold, #ffd166);
  color: #1a1a1a;
}

.single-blog-header h1 {
  font-size: 2.2rem;
  line-height: 1.3;
  margin: 0.8rem 0 1.5rem;
  color: #1a1a1a;
}

.single-blog-hero-image {
  width: 100%;
  height: 380px;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  margin-bottom: 2rem;
}

.single-blog-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #333333;
}

.single-blog-content p {
  margin-bottom: 1.5rem;
}

.single-blog-content p.lead {
  font-size: 1.2rem;
  font-weight: 500;
  color: #1a1a1a;
}

.single-blog-content h2 {
  font-size: 1.5rem;
  margin: 2rem 0 1rem;
  color: #1a1a1a;
}

.single-blog-content blockquote {
  border-left: 4px solid var(--gold, #ffd166);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: #fffdf5;
  font-style: italic;
  font-size: 1.1rem;
  border-radius: 0 8px 8px 0;
}

.blog-article-footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid #eeeeee;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Mobile Responsive */
@media (max-width: 600px) {
  .blog-article-wrapper {
    padding: 1.5rem;
  }

  .single-blog-header h1 {
    font-size: 1.7rem;
  }

  .single-blog-hero-image {
    height: 240px;
  }

  .blog-article-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .blog-article-footer .btn {
    text-align: center;
  }
}
