.clickable-item {
  cursor: pointer;
}

[v-cloak] {
  display: none;
}

.header-container {
  box-sizing: border-box;
  margin: 0px;
  min-width: 0px;
  position: relative;
}

.content-wrapper {
  box-sizing: border-box;
  margin: 0px;
  min-width: 0px;
  display: flex;
  width: 100%;
  justify-content: center;
  /* Center align the text-container */
  align-items: center;
  /* Center vertically */
}


.text-container {
  width: 1100px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-left: 30px;
}

.background-overlay {
  box-sizing: border-box;
  margin: 0px;
  min-width: 0px;
  height: 150px;
  width: 100%;
  background-color: rgb(0, 0, 0);
  position: absolute;
  opacity: 0.15;
}


.background-image {
  box-sizing: border-box;
  margin: 0px auto;
  min-width: 0px;
  display: block;
  width: 100%;
  max-width: 2000px;
  object-fit: cover;
  padding-bottom: 0px;
}

.responsive_img_pc {
  display: block;
}

.responsive_img_m {
  display: none;
}

.main-title,
.breadcrumb {
  color: #FFFFFF;
  /* Match the text color with the image */
}

.main-title {
  font-size: 24px;
  line-height: 36px;
}

.breadcrumb {
  font-size: 15px;
  line-height: 28px;
}

.board_section {
  margin-top: 40px;
}

.board_head {
  padding: 16px;
}

.btn_area .btn_new {
  padding: 24px 80px;
  border: 1px solid #999;
  border-radius: 44px;
}

.board_title_area {
  display: flex;
  justify-content: center;
}

.board_title {
  text-align: center;
}

.board_title h1 {
  font-size: 24px;
}

.board_title .subtxt {
  margin-top: 12px;
}

.board_title .list_count {
  display: inline-block;
}

.board_area {
  margin-top: 40px;
  position: relative;
  min-height: 300px;
}

/* 로딩 상태 스타일 */
.loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  min-height: 300px;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #4abdac;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 20px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loading-text {
  color: #767676;
  font-size: 16px;
  font-weight: 500;
}

.board_area .info {
  margin: 12px auto;
  width: 95%;
}

.board_area .comments {
  display: flex;
  font-size: 14px;
  color: #767676;
  margin-top: 8px;
}

.best .board_area .writer{
  color:white;
  text-align:center;
}
.best .board_area .team_nm{
  color:white;
  text-align:center;
  font-size:18px;
  font-weight:900;
}


.board_area .writer {
  text-align: left;
  font-size:14px;
  color:#767676;
}


.board_area .title {
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.swiper {
  width: 100%;
  height: 100%;
}

.swiper-wrapper {
  padding-bottom: 60px;
}

.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 30px;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px;
}

.info-box {
  position: absolute;
  bottom: 30px;
  left: 0;
  right: 0;
  color: #fff;
  z-index: 1;
  text-align: center;
}

.info-box .txt {
  text-align: center;
}

.bg_overlay {
  box-sizing: border-box;
  margin: 0px;
  min-width: 0px;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0) 70%,
      rgba(0, 0, 0, 1) 100%);
  position: absolute;
  border-radius: 30px;
  top: 0;
  left: 0;
}

/* 베스트 후기 섹션 - 이미지 100% 채우기 및 높이 통일 */
.board_wrap.best .swiper-slide {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  height: auto;
}

.board_wrap.best .review-link {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.board_wrap.best .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.board_wrap.best .bg_overlay {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

/* 블로그 후기 섹션 - 이미지 100% 채우기 및 높이 통일 */
.board_wrap.blog .swiper-slide {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  height: auto;
}

.board_wrap.blog .blog-link {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.board_wrap.blog .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.board_wrap.blog .bg_overlay {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.swiper-pagination-bullet-active {
  background-color: #4abdac;
}


.swiper-button-next:after,
.swiper-rtl .swiper-button-prev:after,
.swiper-button-prev:after,
.swiper-rtl .swiper-button-next:after {
  color: #fff;
  background-color: rgba(0, 0, 0, 0.5);
  font-size: 28px;
  padding: 10px 16px;
}

.swiper-button-next, .swiper-rtl .swiper-button-prev,
.swiper-button-prev, .swiper-rtl .swiper-button-next{top:40%;}

/*최신 후기*/

.search_box {
  display: flex;
  align-items: center;
  width: 250px;
  margin-left: auto;
}

.search_input {
  background-color: #f5f5f580;
  border: 1px solid #ddd;
  outline: none;
  flex-grow: 1;
  padding: 5px;
  border-radius: 4px;
}

.search_button {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  padding-left: 5px;
}

.filter_area {
  padding: 12px 0;
  border-top: 1px solid #f2f2f2;
}

/* 카테고리 셀렉트 박스 컨테이너 */
.category-select-container {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0px 0px;
  flex-wrap: wrap;
  background-color: #fff;
  padding: 12px 16px;
  border-radius: 8px;
}

.category-select-item {
  position: relative;
}

.category-select-button {
  padding: 8px 16px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 500;
  white-space: nowrap;
  font-size: 14px;
  background-color: #fff;
  color: #333;
  transition: all 0.2s;
  min-height: 36px;
}

.category-select-button:hover {
  background-color: #f8f8f8;
  border-color: #d0d0d0;
}

.category-select-button.active {
  background-color: #f0f0f0;
  color: #333;
  border-color: #d0d0d0;
  font-weight: 600;
}

.category-select-button .arrow {
  font-size: 14px;
  transition: transform 0.3s;
}

.category-select-button.active .arrow {
  transform: rotate(180deg);
}


/* 카테고리 드롭다운 컨테이너 */
.category-dropdown-container {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0px 20px;
  flex-wrap: wrap;
  background-color: #fff;
  padding: 12px 16px;
  border-radius: 8px;
}

.category-dropdown-item {
  position: relative;
}

.category-dropdown-button {
  padding: 8px 16px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 500;
  white-space: nowrap;
  font-size: 14px;
  background-color: #fff;
  color: #333;
  transition: all 0.2s;
  min-height: 36px;
}

.category-dropdown-button:hover {
  background-color: #f8f8f8;
  border-color: #d0d0d0;
}

.category-dropdown-button.active {
  background-color: #f0f0f0;
  color: #333;
  border-color: #d0d0d0;
  font-weight: 600;
}

.category-dropdown-button .arrow {
  font-size: 12px;
  transition: transform 0.3s;
  color: #666;
}

.category-dropdown-button.active .arrow {
  transform: rotate(180deg);
}

.category-dropdown-button:not(.active) .arrow {
  opacity: 0.6;
}

/* 카테고리 드롭다운 래퍼 (카테고리 컨테이너 아래에 표시) */
.category-dropdown-content-wrapper {
  width: 100%;
  margin-top: 12px;
  padding: 0 25px;
}

.category-dropdown-content {
  position: relative;
  width: 100%;
  
  z-index: 100;
  overflow: hidden;
  padding: 0px;
}

.category-dropdown-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  padding: 0;
  align-items: flex-start;
}

.category-dropdown-board-item {
  padding: 0;
  margin: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font-size: 14px;
  color: #333;
  transition: color 0.2s;
  white-space: nowrap;
  display: inline-block;
  flex-shrink: 0;
}

.category-dropdown-board-item:hover {
  color: #4ABDAC;
}

.category-dropdown-board-item.selected,
.category-dropdown-board-item.selected:hover {
  color: #4ABDAC !important;
  font-weight: 500;
}

.dropdown-container {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0px 20px;
}

.dropdown-tag {
  position: relative;
  display: flex;
  justify-self: start;
  gap: 12px;
}

.dropdown-button {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-weight: 500;
  white-space: nowrap;
  font-size: 14px;
}

.category-select {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  font-size: 14px;
  background-color: #fff;
  min-width: 150px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 35px;
}

.category-select:hover {
  background-color: #f5f5f5;
}

.category-select:focus {
  outline: none;
  border-color: #4ABDAC;
}

.dropdown-button .arrow {
  margin-left: 7px;
}

.dropdown-button:hover {
  background-color: #e0e0e0;
}

.dropdown-content {
  display: block;
  min-width: 250px;
}


.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 20px;
  padding: 0 20px;
  max-height: 300px;
  overflow-y: auto;
  align-items: center;
}

.buttons button {
  padding: 5px 10px;
  cursor: pointer;
  font-size: 15px;

}

.buttons button.selected {
  color: #4ABDAC;
}

.dropdown-content a:hover,
.dropdown-content .buttons button:hover {
  background-color: #ddd;
  border-radius: 8px;
}

.tags-container {
  display: flex;
  flex-wrap: wrap;
  margin: 0px 20px;
  gap: 10px;
  
 /*  border-top: 1px solid #DFDFDF; */
}

.tag-list {
  display: flex;
  gap: 0 12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
  padding: 0 0px;
}

.tag-menu {
  color: #666;
  font-weight: 500;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
}

.tag-list .remove-tag {
  cursor: pointer;
  border: none;
  color: #666;
  border-radius: 50%;
  padding: 0 5px;
  display: inline-block;
  user-select: none;
  pointer-events: auto;
  z-index: 10;
  position: relative;
}

.tag-list .fa-sync {
  font-size: 12px;
  padding: 0 5px;
  position: relative;
  top: -1px;

}

.board_area .view_count {
  margin-left: 4px;
  margin-right: 12px;
}



/*모바일*/
@media (max-width: 768px) {
  .responsive_img_pc {
    display: none;
  }

  .responsive_img_m {
    display: block;
  }

  .mobileOnlySwiper .swiper-wrapper {
    flex-wrap: nowrap;
  }

  .swiper {
    padding:0 16px;
  }

  .swiper-wrapper {
    padding-bottom: 40px;
  }

  .swiper-button-prev,
  .swiper-button-next {
    display: none;
  }

  .board_section {
    margin-top: 40px;
  }

  .board_title_area {
    display: block;
  }

  .filter_area {
    display: block;
    padding: 12px 0;
  }

  .category-select-container {
    flex-wrap: nowrap;
    gap: 6px;
    padding: 10px 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .category-dropdown-content-wrapper{
    margin-top:0;
  }

  .category-select-container::-webkit-scrollbar {
    display: none;
  }

  .category-select-button {
    min-width: auto;
    padding: 6px 12px;
    font-size: 14px;
    min-height: 32px;
  }

  .category-dropdown-container {
    flex-wrap: wrap;
    gap: 6px;
    margin: 0px 16px;
    padding: 10px 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .category-dropdown-container::-webkit-scrollbar {
    display: none;
  }

  .category-dropdown-button {
    min-width: auto;
    padding: 6px 12px;
    font-size: 14px;
    min-height: 32px;
  }


  .category-dropdown-content {
    position: relative;
    width: 100%;
    padding: 16px;
  }

 

  .category-dropdown-board-item {
    padding: 0;
    margin: 0;
    font-size: 14px;
  }

  .board_menu {
    margin: 12px 16px;
  }

  .dropdown-container {
    flex-wrap: nowrap;
    overflow-x: scroll;
    gap: 10px;
    margin: 0;
  }

  .dropdown-container::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari */
  }


  .search_box {
    width: 100%;
    margin-top: 12px;
  }

  .dropdown-container .search_box {
    margin-left: 0;
  }

  .search_input {
    width: calc(100% - 40px);
    /* Adjust width as needed */
    margin: 0 0px;
  }

  .search_button {
    margin: 0;
  }

  .tags-container {
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 12px;
    padding: 0;
  }

  .dropdown-content {
    display: block;
    padding: 0;
    z-index: 1000;
  }

  .dropdown-content .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #f5f5f580;
    border-bottom: 1px solid #ddd;
    width: 100%;
  }

  .dropdown-content a {
    padding: 8px 16px;
    display: block;
    border-radius: 0;
    color: black;
    text-decoration: none;
    transition: background-color 0.3s;
    border-bottom: 1px solid #ddd;
  }

  .dropdown-content a:last-child {
    border-bottom: none;
  }

  .dropdown-content a:hover {
    background-color: #ddd;
  }

  .tag-list {
    margin: 12px 0;
    gap: 8px;
  }

  .board_list li {
    margin-bottom: 24px;
  }

  .board_area .info {
    padding: 0px;
  }

  .board_area .writer {
    text-align: center;
  }

  .best .board_area .team_nm{
    font-size: 22px;
  }

  .board_area .comments {
    justify-content: center;
    gap: 0 12px;
    margin-top: 4px;
  }

  .board_area .flex-s {
    gap: 0 4px;
  }

  .board_area .flex-s .view_count {
    margin: 0;
  }

}




/*타블렛*/
@media only screen and (min-width: 767px) {

  .responsive_img_m {
    display: none;
  }

  .responsive_img_pc{
    display:block;
    height:160px;
    object-fit:cover;
  }

  .main-title {
    font-size: 32px;
    line-height: 46px;
  }

  .breadcrumb {
    font-size: 15px;
    line-height: 28px;
  }
}