/* Hero Section */
.blog-hero {
  height: 40vh;
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
              url('/static/images/top-view-travel-.jpg') center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
}

.blog-hero-overlay h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.blog-hero-overlay p {
  font-size: 1.2rem;
}

/* Section Container */
.blog-section {
  padding: 4rem 1rem;
  background-color: #f9f9f9;
}

.blog-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .blog-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .blog-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Blog Card */
.blog-card {
  background: #fff;
  border: 1px solid #eee;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  overflow: hidden;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-image-wrapper {
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.blog-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-content {
  padding: 1.25rem;
}

.blog-title {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.blog-meta {
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 1rem;
}

.blog-snippet {
  font-size: 1rem;
  margin-bottom: 1.25rem;
  color: #444;
}

.blog-link {
  text-decoration: none;
  color: #3E2723;
  font-weight: bold;
}

.blog-link:hover {
  color: #000;
}

.blog-badge {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: #fff;
  background-color: #e65100;
  padding: 0.3rem 0.6rem;
  text-transform: uppercase;
  border-radius: 2px;
}

/* Pagination */
.blog-pagination {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: 2rem;
}

.blog-pagination ul {
  list-style: none;
  padding: 0;
  display: inline-flex;
  gap: 1rem;
  justify-content: center;
}

.blog-pagination li {
  font-size: 1rem;
}

.blog-pagination a {
  color: #3E2723;
  text-decoration: none;
  padding: 0.4rem 0.8rem;
  border: 1px solid #ccc;
  transition: 0.2s ease;
}

.blog-pagination a:hover {
  background: #3E2723;
  color: #fff;
}



/*##################################*/
/*BLOG DETAIL*/

/* Hero */
.blogdtl-hero {
  height: 50vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

.blogdtl-hero-overlay h1 {
  font-size: 3rem;
}

/* Main Content Layout */
.blogdtl-main {
  max-width: 1000px;
  margin: 3rem auto;
  padding: 0 1rem;
  font-family: 'Segoe UI', sans-serif;
  color: #333;
}

.blogdtl-meta {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 1rem;
}

/* Blog Content */
.blogdtl-content {
  line-height: 1.7;
  font-size: 1.05rem;
  color: #222;
}

.blogdtl-secondary-image img {
  width: 100%;
  margin: 2rem 0;
  border: 1px solid #ccc;
}

.blogdtl-video {
  margin: 2rem 0;
}

.blogdtl-video iframe {
  width: 100%;
  height: 400px;
}

/* Pull Quote */
.blogdtl-quote {
  margin: 3rem 0;
  padding: 1.5rem;
  border-left: 4px solid #3E2723;
  background: #f5f5f5;
  font-style: italic;
}

/* Tags */
.blogdtl-tags {
  margin-top: 2rem;
}

.blogdtl-tag {
  background: #eee;
  padding: 0.3rem 0.7rem;
  border-radius: 2px;
  margin-right: 0.5rem;
  font-size: 0.85rem;
}

/* Share */
.blogdtl-share {
  margin-top: 2rem;
}

.blogdtl-share a {
  margin-right: 1rem;
  color: #3E2723;
  text-decoration: none;
  font-weight: bold;
}

.blogdtl-share a:hover {
  text-decoration: underline;
}

/* Sidebar */
.blogdtl-sidebar {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #ccc;
}

.blogdtl-logo img {
  max-height: 120px;
  margin-bottom: 1rem;
}

.blogdtl-featured {
  margin-top: 1rem;
  color: #E65100;
  font-weight: bold;
}
