/* Overall wrapper */
.hom_wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 0px;
  box-sizing: border-box;
}

@media (max-width: 768px) {
    .hom_wrapper {
      width: 100%;
	  margin: 0 auto;
		padding: 0 0px;
		box-sizing: border-box;
    }
  }

/* Card section */
.hom_card {
  /* background-image: url('https://www.hexagons.kr/static/images/cloud_sky.png'); */
  /* background-image: url('{{ url_for('static', path='/images/cloud_sky.png') }}'); */
  background-image: url('../images/cloud_sky.png');
  background-size: cover; /* 이미지가 카드 영역을 꽉 채우도록 */
  background-position: center; /* 이미지를 중앙에 배치 */
  background-repeat: no-repeat; /* 이미지 반복 없음 */
  /* 선택 사항: 배경 위에 색상 오버레이를 추가하여 텍스트 가독성 높이기 */
  background-color: rgba(255, 255, 255, 0.3); /* 흰색 오버레이 (80% 불투명) */
  background-blend-mode: overlay; /* 이미지와 색상 오버레이 블렌딩 */

  padding: 0px 6px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  margin-bottom: 20px;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
  color: #003366; /* 텍스트 색상을 배경에 맞게 조정 (선택 사항) */
}

.hom_card h1 {
  font-size: 1.5rem; /* Desktop font size */
  margin-bottom: 15px;
  color: #fff; /* 제목 색상 */
}

@media (max-width: 768px) {
  .hom_card h1 {
    font-size: 1.1rem; /* Adjusted mobile font size to be slightly larger */
  }
}

/* Button */
.hom_admin-logout {
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: 6px;
  background: #003366;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

.hom_admin-logout:hover {
  background: #0055aa;
  transform: translateY(-1px);
}

/* Bottom 3-column container */
.hom_container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
  box-sizing: border-box;
}

/* Individual boxes */
.hom_box {
  background: #f9f9f9;
  padding: 18px 15px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  transition: all 0.3s;
}

.hom_box h3 {
  font-size: 1.1rem;
  margin-bottom: 3px;
  color: #003366;
}

.hom_box p {
  line-height: 1.4;
  color: #333;
}

/* Box hover effect */
.hom_box:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* Responsive - Mobile 1-column */
@media (max-width: 1024px) {
  .hom_container {
    grid-template-columns: 1fr;
  }
  .hom_box {
    padding: 8px 8px;
  }
}

.blog-section {
    padding: 0px 0;
}

.section-title {
	text-align: center;
    font-size: 20px;
    margin-bottom: 10px;
	margin-top: 0px
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.blog-card {
    display: block;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-decoration: none;
    color: inherit;
    background: #fff;
}

.blog-card .thumbnail img {
    width: 100%;
    aspect-ratio: 16/9; /* 이미지 비율 고정 */
    object-fit: cover;
}

.blog-card .content {
    padding: 12px;
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}
