/* =========================
   BLOG LIST PAGE
   ========================= */

.blog-container {
  max-width: 1344px;
  margin: 40px auto;
  padding: 50 20px;
}

/* Grid blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

/* Card */
.blog-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

/* Image */
.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* Content */
.blog-content {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-date {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 6px;
}

.blog-title {
  font-size: 18px;
  font-weight: 700;
  color: #003366;
  margin-bottom: 10px;
  line-height: 1.4;
}

.blog-desc {
  font-size: 14px;
  color: #444;
  line-height: 1.6;
  flex-grow: 1;
}

/* Button */
.blog-btn {
  margin-top: 14px;
  align-self: flex-start;
  padding: 8px 14px;
  background: #003366;
  color: #fff;
  font-size: 14px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s;
}

.blog-btn:hover {
  background: #f4c400;
  color: #003366;
}

/* =========================
   PAGINATION
   ========================= */

.blog-pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}

.blog-pagination button {
  padding: 8px 14px;
  border: 1px solid #ddd;
  background: #fff;
  cursor: pointer;
  border-radius: 6px;
  font-weight: 600;
}

.blog-pagination button.active,
.blog-pagination button:hover {
  background: #003366;
  color: #fff;
}


/* =========================
   BLOG DETAIL PAGE
   ========================= */

.blog-detail-container {
  max-width: 900px;
  margin: 120px auto 60px;
  padding: 100 20px;
  font-family: "Noto Sans KR", Arial, sans-serif;
  line-height: 1.8;
  color: #222;
}

/* Title */
.blog-detail-title {
  font-size: 32px;
  font-weight: 800;
  color: #003366;
  margin-bottom: 10px;
}

/* Meta */
.blog-detail-meta {
  font-size: 14px;
  color: #777;
  margin-bottom: 30px;
}

/* Paragraph */
.blog-detail-container p {
  font-size: 16px;
  margin-bottom: 20px;
}

/* Section heading */
.blog-detail-container h2 {
  font-size: 22px;
  margin: 40px 0 15px;
  color: #003366;
  border-left: 5px solid #f4c400;
  padding-left: 12px;
}

/* Image full width */
.blog-image {
  margin: 30px 0;
}
.blog-image img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
}
.blog-image figcaption {
  font-size: 14px;
  color: #777;
  margin-top: 6px;
  text-align: center;
}

/* Image grid */
.blog-image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin: 30px 0;
}
.blog-image-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
}

/* Highlight note */
.blog-highlight {
  background: #f9f9f9;
  border-left: 5px solid #f4c400;
  padding: 16px 20px;
  margin: 30px 0;
  font-weight: 600;
}

/* Mobile */
@media (max-width: 768px) {
  .blog-detail-title {
    font-size: 26px;
  }
  .blog-image-grid img {
    height: 160px;
  }
}


.room-section {
  margin: 40px 0;
}

.room-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.room-gallery img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
}

