* {letter-spacing: -0.01em;}
ul {list-style: none; padding: 0;}
#sub_wrap {padding: clamp(6rem, 8.3vw, 16rem) 0;}
.sub-wrap {padding: 0;}

/* location.php */
.location-container .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}
.location-container .text-wrap img {
  max-width: clamp(18.2rem, 19vw, 36.4rem);
}
.location-container .text-wrap h3 {
  font-size: clamp(2.4rem, 1.8vw, 2.8rem);
  font-weight: 700;
  line-height: 1.4;
  color: #111827;
  margin-top: clamp(3rem, 3.1vw, 6rem);
}
.location-container .text-wrap .info-wrap {
  margin-top: clamp(2.5rem, 2.4vw, 4.7rem);
}
.location-container .text-wrap .info-wrap ul {
  display: flex;
  flex-direction: column;
  gap: .9rem; 
}
.location-container .text-wrap .info-wrap ul li {
  display: flex;
  gap: 2rem;
}
.location-container .text-wrap .info-wrap ul li span {
  width: clamp(4rem, 5vw, 10rem);
  font-size: clamp(1.4rem, 0.9vw, 1.8rem);
  font-weight: 700;
  color: #e6303d;
  flex-shrink: 0;
  white-space: nowrap;
}
.location-container .text-wrap .info-wrap ul li p {
  font-size: clamp(1.4rem, 0.9vw, 1.8rem);
  color: #111827;
}
.location-container .text-wrap .map-wrap {
  border-bottom: 1px solid #ddd;
}
.location-container .map-wrap > div,
.location-container .map-wrap > div > div,
.location-container .map-wrap img {
  width: 91.5rem !important;
  height: auto !important;
  color: #333;
  position: relative;
}

@media (max-width: 1340px) {
  .location-container .map-wrap > div,
  .location-container .map-wrap > div > div,
  .location-container .map-wrap img {
    width: 80rem !important;
  }
}

@media (max-width: 1200px) {
  .location-container .map-wrap > div,
  .location-container .map-wrap > div > div,
  .location-container .map-wrap img {
    width: 55rem !important;
  }
}

@media (max-width: 992px) {
  .location-container .text-wrap h3 {
    font-size: 2rem;
  }
  .location-container .map-wrap > div,
  .location-container .map-wrap > div > div,
  .location-container .map-wrap img {
    width: 45rem !important;
  }
}

@media (max-width: 768px) {
  .location-container .container {
    flex-direction: column;
    align-items: flex-start;
    gap: clamp(2rem, 2.1vw, 4rem);
  }
  .location-container .map-wrap,
  .location-container .map-wrap > div,
  .location-container .map-wrap > div > div,
  .location-container .map-wrap img {
    width: 100% !important; 
  }
}

/* 검색 부분 */
.search-wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2rem;
}
.search-wrap .page-info-wrap p {
  font-family: 'Pretendard';
  font-size: 1.6rem;
}
.search-wrap .page-info-wrap p b {
  font-weight: 600;
}
.search-wrap .search-input-wrap form {
  display: flex;
  gap: .5rem;
  font-size: 1.6rem;
}
.search-wrap .search-input-wrap select {
  border: 1px solid #ddd;
  height: 4.8rem;
  width: 10rem;
  padding: 0 1.1rem;
  appearance: none;
  background: #fff url("/html/_img/sub/promotion/icon-arrow-down.png") no-repeat calc(100% - 1.1rem) 50% / 1rem;
}
.search-wrap .search-input-wrap input[type="text"] {
  border: 1px solid #ddd;
  height: 4.8rem;
  width: 28rem;
  padding: 0 2rem;
}
.search-wrap .search-input-wrap button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.8rem;
  height: 4.8rem;
  background: #222;
  border: 0;
}
.search-wrap .search-input-wrap button img {
  width: 2rem;
}

@media (max-width: 992px) {
  .search-wrap {
    align-items: center;
  }
}

@media (max-width: 768px) {
  .search-wrap {
    margin-bottom: 3rem;
  }
  .search-wrap .search-input-wrap select {
    width: 8rem;
  }
  .search-wrap .search-input-wrap input[type="text"] {
    width: 20rem;
  }
}

@media (max-width: 480px) {
  .search-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }
  .search-wrap .search-input-wrap {
    width: 100%;
  }
  .search-wrap .search-input-wrap select {
    min-width: 10rem;
  }
  .search-wrap .search-input-wrap input[type="text"] {
    width: 100%;
  }
  .search-wrap .search-input-wrap button {
    min-width: 4.8rem;
  }
}

/* 갤러리 형식 게시판 */
.gallery-wrap ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6rem 5rem;
}
.gallery-wrap ul li {
  min-width: 0;
}
.gallery-wrap ul li a {
  display: block;
}
.gallery-wrap ul li .thumb-wrap {
  width: 100%;
  overflow: hidden;
  position: relative;
}
.video-container .gallery-wrap ul li .thumb-wrap::after {
  content: "";
  width: clamp(4.8rem, 4.8vw, 9.2rem);
  height: clamp(4.8rem, 4.8vw, 9.2rem);
  background: url("/html/_img/sub/promotion/video-play.png") no-repeat center / contain;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.video-container .gallery-wrap ul li .thumb-wrap {
  aspect-ratio: 25 / 16;
}
.news-container .gallery-wrap ul li .thumb-wrap {
  aspect-ratio: 500 / 429;
}
.gallery-wrap ul li img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-wrap ul li h6 {
  font-family: 'Pretendard';
  font-size: clamp(1.8rem, 1.1vw, 2.2rem);
  font-weight: 600;
  line-height: 1.4;
  margin-top: 2rem;
  color: #000;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.gallery-wrap ul li p {
  margin-top: clamp(1rem, 0.8vw, 1.5rem);
  font-size: clamp(1.3rem, 0.8vw, 1.6rem);
  color: #777;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.gallery-wrap ul li span {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: clamp(1.3rem, 0.8vw, 1.6rem);
  color: #777;
  margin-top: clamp(1rem, 1.1vw, 2rem);
}
.gallery-wrap ul li span img {
  width: 1.8rem;
}

@media (max-width: 1200px) {
  .gallery-wrap ul {
    gap: 4rem 3rem;
  }
}

@media (max-width: 768px) {
  .gallery-wrap ul {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem 2rem;
  }
}

@media (max-width: 360px) {
  .gallery-wrap ul {
    grid-template-columns: 1fr;
  }
}

/* pagination */
.pagination-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .4rem;
  margin-top: clamp(5rem, 4.2vw, 8rem);
}
.pagination-wrap a,
.pagination-wrap span {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 4.6rem;
  height: 4.6rem;
  font-family: 'Pretendard';
  font-size: 1.6rem;
  font-weight: 600;
  color: #777;
  border-radius: 50%;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.pagination-wrap a:hover {
  color: #222;
}
.pagination-wrap .pg-num.active {
  background: #222;
  color: #fff;
}
.pagination-wrap .pg-arrow {
  font-size: 1.4rem;
  color: #aaa;
}
.pagination-wrap .pg-arrow:hover {
  color: #222;
}
.pagination-wrap .pg-next,
.pagination-wrap .pg-last {
  transform: scale(-1);
}

@media (max-width: 480px) {
  .pagination-wrap a, 
  .pagination-wrap span {
    width: 3.2rem;
    height: 3.2rem;
  }
}

/* 리스트형 게시판 */
.board-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.6rem;
  table-layout: fixed;
}
.board-table .col-num   { width: 6%; }
.board-table .col-title { width: 74%; }
.board-table .col-writer{ width: 10%; }
.board-table .col-date  { width: 10%; }

@media (max-width: 1200px) {
  .board-table .col-num   { width: 7%; }
  .board-table .col-title { width: 69%; }
  .board-table .col-writer{ width: 11%; }
  .board-table .col-date  { width: 13%; }
}

@media (max-width: 992px) {
  .board-table .col-num   { width: 10%; }
  .board-table .col-title { width: 75%; }
  .board-table .col-writer{ width: 15%; }
  .board-table .col-date,
  .board-table .th-date,
  .board-table .td-date  { display: none; }
}

@media (max-width: 768px) {
  .board-table .col-title { width: 85%; }
  .board-table .col-writer{ width: 15%; }
  .board-table .col-num,
  .board-table .th-num,
  .board-table .td-num { display: none; }
  .board-table .th-title,
  .board-table .td-title {padding: 2rem;}
}

.board-table thead tr {
  border-top: 2px solid #222;
  border-bottom: 1px solid #ddd;
}
.board-table th {
  padding: 2rem 0;
  font-size: 1.6rem;
  font-weight: 600;
  color: #111;
  text-align: center;
  background: #f8f8f8;
}
.board-table tbody tr {
  border-bottom: 1px solid #ddd;
}
.board-table tbody tr:hover {
  background: #f9f9f9;
}
.board-table td {
  padding: 2rem 0;
  color: #333;
  vertical-align: middle;
}
.board-table td.td-num {
  text-align: center;
  color: #333;
  font-weight: 600;
}
.board-table td.td-title {
  padding-left: 1rem;
  overflow: hidden;
  max-width: 0;
}
.board-table td.td-title a {
  color: #333;
  text-decoration: none;
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.board-table td.td-title a:hover {
  text-decoration: underline;
  color: #111;
}
.board-table td.td-center {
  text-align: center;
  color: #333;
}

/* notice_detail.php */
.board-detail-wrap {
  border-top: 2px solid #222;
}

.board-detail-head {
  padding: 2.8rem 0 2.4rem;
  border-bottom: 1px solid #ddd;
}
.board-detail-head .detail-title {
  font-size: clamp(1.8rem, 1.4vw, 2.4rem);
  font-weight: 600;
  color: #111;
  line-height: 1.5;
  word-break: keep-all;
}
.board-detail-head .detail-meta {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  margin-top: 1.6rem;
}
.board-detail-head .detail-meta .meta-item {
  display: flex;
  align-items: center;
  gap: .8rem;
  font-size: 1.5rem;
  color: #555;
}
.board-detail-head .detail-meta .meta-item em {
  font-style: normal;
  font-weight: 600;
  color: #888;
}
.board-detail-head .detail-meta .meta-divider {
  display: block;
  width: 1px;
  height: 1.2rem;
  background: #ddd;
}

.board-detail-body {
  padding: 6rem 0;
  border-bottom: 1px solid #ddd;
  font-size: 1.6rem;
  line-height: 1.5;
  color: #333;
}
.board-detail-body img {
  max-width: 100%;
  margin-bottom: 3rem;
}
.board-detail-body p {
  font: inherit;
  margin: 0;
}
.board-detail-nav {
  border-bottom: 1px solid #ddd;
}
.board-detail-nav .nav-item {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  padding: 1.6rem 1.2rem;
  border-top: 1px solid #ddd;
  text-decoration: none;
  transition: background .15s;
}
.board-detail-nav .nav-item:first-child {
  border-top: 0;
}
.board-detail-nav .nav-item:hover {
  background: #f9f9f9;
}
.board-detail-nav .nav-label {
  flex-shrink: 0;
  font-size: 1.4rem;
  font-weight: 700;
  color: #888;
  width: 4rem;
}
.board-detail-nav .nav-title {
  font-size: 1.5rem;
  color: #444;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.board-detail-btn {
  display: flex;
  justify-content: center;
  margin-top: 4rem;
}
.board-detail-btn .btn-list {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14rem;
  height: 4.8rem;
  background: #222;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s;
}
.board-detail-btn .btn-list:hover {
  background: #444;
}

@media (max-width: 768px) {
  .board-detail-head {
    padding: 2rem 0;
  }
  .board-detail-head .detail-meta {
    flex-wrap: wrap;
    gap: 1rem 1.6rem;
  }
  .board-detail-head .detail-meta .meta-divider {
    display: none;
  }
  .board-detail-body {
    padding: 3rem 0;
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .board-detail-nav .nav-item {
    gap: 1.4rem;
  }
}
