/* CSS 변수 정의 */
:root {
  --color-272727: #272727;
  --color-00-8fd-0: #008fd0;
  --colord-9d-9d-9: #d9d9d9;
}

/* 기본 스타일 리셋 */
body,
h1,
p,
a {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  color: inherit;
}
button {
  cursor: pointer;
}
/* 전체 래퍼 스타일 */
.div-wrapper {
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-items: center;
  align-items: start;
  width: 100%;
  /*min-height: 100vh;*/
}

/* 푸터 스타일 */
.div-wrapper .footer {
  margin-top: auto; /* 컨텐츠가 짧아도 푸터를 하단에 고정 */
  width: 100%;
  background-color: #f7f7f7;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.footer .inner {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: flex-start;
  gap: 45px;
  position: relative;
  padding: 66px 160px 31px 160px;
}

.div-wrapper .view {
  position: relative;
  width: 374px;
  height: 36px;
}

.div-wrapper .element {
  position: absolute;
  width: 174px;
  height: 31px;
  top: 5px;
  left: 0;
  aspect-ratio: 5.54;
  object-fit: cover;
}

.div-wrapper .text-wrapper {
  position: absolute;
  height: 38px;
  top: 1px;
  left: 192px;
  font-size: 32px;
  line-height: normal;
  white-space: nowrap;
  font-family: "Pretendard-SemiBold", sans-serif;
  color: var(--color-272727);
  letter-spacing: 0;
}

footer .frame-2 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.div-wrapper .frame-2 p {
  position: relative;
  width: fit-content;
  margin-top: -1px;
  font-family: "Pretendard-Regular", sans-serif;
  color: var(--color-272727);
  font-size: 16px;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
  line-height: 19px;
}

footer .inner .text-wrapper-2 {
  position: relative;
  width: fit-content;
  font-family: "Pretendard-Regular", sans-serif;
  color: var(--color-272727);
  font-size: 16px;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
}

footer .inner .frame-3 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;
  flex: 0 0 auto;
}

footer .frame-4,
footer .frame-5 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  flex: 0 0 auto;
}

footer .text-wrapper-3 {
  width: 137px;
  font-family: "Pretendard-Regular", sans-serif;
  font-size: 16px;
  position: relative;
  margin-top: -1px;
  color: var(--color-272727);
  letter-spacing: 0;
  line-height: normal;
}

footer .text-wrapper-4 {
  position: relative;
  width: fit-content;
  margin-top: -1px;
  font-family: "Pretendard-Medium", sans-serif;
  color: var(--color-272727);
  font-size: 16px;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
}

.footer .sitemap-button {
  width: 103px;
  height: 33px;
  position: absolute;
  right: 0;
  bottom: 0;
}

.out-link {
  display: flex;
  width: 100%;
  gap: 50px;
  align-items: center;
  margin-top: 21px;
}

.out-link a img {
  height: 38px;
}

/* 헤더 스타일 */
header {
  width: 100%;
}

header .GNB {
  display: flex;
  width: 100%;
  height: 65px;
  align-items: center; /* 세로 중앙 정렬 */
  justify-content: flex-start; /* 좌측 정렬 */
  padding: 0px 160px;
  position: relative;
  background-color: #ffffff;
  border-top: 1px solid #d9d9d9;
  border-bottom: 1px solid #d9d9d9;
}

header .gnb-inner {
  display: flex;
  align-items: center;
  gap: 35px;
  width: 100%;
  height: 100%;
}

/* GNB 아이템 컨테이너 */
.gnb-item {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
}

/* GNB 메인 링크 */
.gnb-item > a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: "Pretendard-Medium", sans-serif;
  color: var(--color-272727);
  font-size: 20px;
  white-space: nowrap;
  height: 100%;
  transition: color 0.2s;
}

.gnb-item:hover > a {
  color: var(--color-00-8fd-0);
  font-family: "Pretendard-SemiBold", sans-serif;
}

header .mdi-light-chevron-3 {
  width: 24px;
  height: 24px;
}

/* 드롭다운 메뉴 컨텐츠 */
.dropdown-content {
  display: none; /* 기본적으로 숨김 */
  position: absolute;
  top: 100%; /* 부모 요소 바로 아래에 위치 */
  left: 0;
  background-color: #ffffff;
  min-width: 200px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.1);
  z-index: 10;
  border-radius: 4px;
  border: 1px solid #eee;
  padding: 8px 20px;
  border: 1px solid #156082;
}

/* 드롭다운 메뉴 링크 */
.dropdown-content a {
  color: #333;
  padding: 10px 0px;
  text-decoration: none;
  display: block;
  text-align: left;
  font-size: 20px;
  font-family: "Pretendard-Regular", sans-serif;
  white-space: nowrap;
  transition: background-color 0.2s, color 0.2s;
  border-bottom: 1px solid #d9d9d9;
  line-height: 1.3;
}
.dropdown-content a:first-child {
  border-top: 1px solid #d9d9d9;
}
.dropdown-content a:hover {
  /* background-color: #f1f1f1; */
  color: var(--color-00-8fd-0);
  font-weight: 700;
  font-family: "Pretendard";
}

/* GNB 아이템에 호버 시 드롭다운 표시 */
.gnb-item:hover .dropdown-content {
  display: block;
}

header .overlap-group-2 {
  position: relative;
  width: 100%;
  height: 120px;
}

header .top {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 120px;
  background-color: #ffffff;
  padding: 0 150px 0 160px;
}

header .top a.logo {
  display: flex;
  align-items: center;
  gap: 30px;
}

header .element-3 {
  width: 245px;
  height: 44px;
  object-fit: cover;
}

header .text-wrapper-17 {
  font-family: "Pretendard-SemiBold", sans-serif;
  color: var(--color-272727);
  font-size: 46px;
}

header .top-2 {
  display: flex;
  align-items: center;
  gap: 30px;
}

header .view-2 {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

header .img-2 {
  width: 24px;
  height: 24px;
}

header .view-2 span {
  font-family: "Pretendard-Medium", sans-serif;
  font-size: 24px;
  text-align: right;
  color: var(--color-272727);
}

.div-wrapper .img-3 {
  width: 20px;
  height: 20px;
}

/* 컨텐츠 영역 스타일 */
.content-wrapper {
  padding-left: 160px;
  padding-right: 158px;
  min-height: 60vh;
  display: flex;
  width: 100%;
}

.content-wrapper .snb {
  width: 270px;
  flex-shrink: 0; /* 너비 고정 */
  border-right: 1px solid #d9d9d9;
  height: 100%;
  padding-top: 50px;
  padding-bottom: 50px;
  padding-right: 24px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  height: auto;
}
.content-wrapper .snb .main-text {
  padding-bottom: 25px;
  font-size: 22px;
  font-weight: 600;
  font-family: "Pretendard-SemiBold", sans-serif;
  color: #272727;
  border-bottom: 1px solid #d9d9d9;
}
.content-wrapper .snb .sub_link {
  padding: 19px 0;
  font-size: 18px;
  font-weight: 500;
  font-family: "Pretendard-Medium", sans-serif;
  display: block;
  color: #272727;
  border-bottom: 1px solid #d9d9d9;
}
.content-wrapper .snb .sub_link.active,
.content-wrapper .snb .sub_link:hover {
  padding: 19px 0;
  font-size: 18px;
  font-weight: 600;
  font-family: "Pretendard-SemiBold", sans-serif;
  color: #008fd0;
}

.content-wrapper .content {
  padding: 50px 0 50px 134px;

  display: flex;
  flex-direction: column;
  width: 100%;
}
.content-wrapper .content .top {
  font-weight: 400;
  font-family: "Pretendard-Regular", sans-serif;
  font-size: 16px;
  line-height: 24px;
  color: #272727;

  margin-bottom: 71px;
}
.content-wrapper .content .top img {
  height: 15px;
  width: 14px;
  margin-bottom: -2px;
}

/* main */

/* 게시판 제목 */
.board-title {
  font-size: 26px;
  font-weight: bold;
  color: #272727;
  margin-bottom: 58px;
}

/* 게시판 상단 정보 및 검색 영역 */
.board-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid #777;
}
.board-header2 {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-bottom: 18px;
}
.board-info p {
  font-size: 22px;
  color: #555;
}

.board-info strong {
  color: #008fd0;
  font-weight: bold;
}

.search-area {
  display: flex;
  gap: 8px;
}
.search-area form{
	flex: 1;            /* 남는 공간을 모두 차지 */
	width: 100%;        /* 기본 폭을 100%로 */
	display: flex;      /* 내부 요소 정렬을 위해 flex */
	gap: 8px;
}
.search-area input {
  width: 260px;
  height: 34px;
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  padding: 0 10px;
  font-size: 14px;
}
.select-wrapper {
  position: relative;
  display: inline-block;
}
.select-wrapper select {
  -webkit-appearance: none; /* Chrome, Safari */
  -moz-appearance: none; /* Firefox */
  appearance: none; /* Standard */
  background: transparent; /* 배경 투명하게 */
  padding-right: 30px; /* 화살표 공간 확보 */
  cursor: pointer;
}
/*.select-wrapper::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  width: 8px;
  height: 4px;
  background-image: url("/img/chevron02.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  pointer-events: none;  화살표가 클릭되지 않도록 
}
*/
.search-area select {
  width: 96px;
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  padding: 0 10px;
  font-size: 14px;
  height: 34px;
}
.search-area input {
  width: 250px;
}
.select-wrapper.t2::after {
  right: -4px;
}
.search-area button {
  width: 34px;
  height: 34px;
  /* background-color: #008fd0; */
  border: none;
  border-radius: 4px;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 정렬 옵션 */
.sort-options {
  display: flex;
  justify-content: space-between;;
  align-items: center;
  gap: 30px;
  margin-top: 10px;
  margin-bottom: 10px;
  font-size: 14px;
  color: #666;
}

.sort-options select {
  /* border: 1px solid #d9d9d9; */
  background-color: transparent;
  border: none;
  border-radius: 4px;
  height: 30px;
  padding: 0 5px;
  color: #555555;
  font-size: 14px;
  font-weight: 400;
  font-family: "Pretendard-Regular", sans-serif;
  line-height: 22px;
}
.sort-options select:focus {
  outline: none;
}
.sort-criteria {
  font-weight: 600;
  font-family: "Pretendard-SemiBold", sans-serif;
  color: #444;
}
.sort-options .sort-criteria a {
  margin: 0 8px;
  cursor: pointer;
  color: #666;
  font-weight: 400;
  font-family: "Pretendard-Regular", sans-serif;
}

.sort-options .sort-criteria a.active {
  /* color: #008fd0; */
  /* font-weight: bold; */
  text-decoration: none;
}
.sort-options .view-count label {
  font-size: 14px;
  font-weight: 600;
  font-family: "Pretendard-SemiBold", sans-serif;
  color: #444444;
}
/* 게시글 그리드 */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

.post-card {
  border: 1px solid #e0e0e0;
  border-radius: 20px;
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
  cursor: pointer;
}

.post-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.post-card .thumbnail {
  overflow:hidden;
  width: 100%;
  /* height: 200px; */
  aspect-ratio: 382/216;
  background-color: #f5f5f5;
}

.post-card .thumbnail img{
	width : 100%
}

.post-card .post-title {
  padding: 20px;
  font-size: 16px;
  font-weight: 500;
  font-family: "Pretendard-Medium", sans-serif;
  line-height: 1.5;
  color: #333;
}

/* 페이지네이션 */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
}

.pagination a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  font-size: 18px;
  font-weight: 500;
  font-family: "Pretendard-Medium", sans-serif;
  color: #cccccc;
  transition: background-color 0.2s, color 0.2s;
  border-radius: 15px;
  line-height: 22px;
}
.pagination a:hover {
  background-color: #f5f5f5;
}

.pagination a.active {
  background-color: #555555;
  color: white;
  border-color: #ffffff;
  font-weight: 500;
  font-family: "Pretendard-Medium", sans-serif;
  width: 30px;
  height: 30px;
}

.pagination a.arrow {
  font-size: 18px;
  width: 30px;
  height: 30px;
  box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.15);
}
.pagination a img {
  width: 4px;
  height: 8px;
}
.pagination a.disabled {
  opacity: 0.5;
  pointer-events: none;
  cursor: default;
}
/* --- 게시판 상세 보기 스타일 --- */
.board-title {
  font-size: 26px;
  font-weight: bold;
  color: var(--color-272727);
  margin-bottom: 30px;
}

.post-view {
  border-top: 2px solid #d9d9d9;
  padding-top: 30px;
  margin-top: 20px;
  padding-bottom: 50px;
}

.post-header {
  padding: 15px;
  background-color: #f5f5f5;
  border-bottom: 1px solid #e0e0e0;
  border-radius: 15px;
}
.post-header h2 {
  font-size: 20px;
  line-height: 50px;
  font-weight: 500;
  font-family: "Pretendard-Medium", sans-serif;
  color: #272727;
  margin-bottom: 15px;
}
.post-meta {
  display: flex;
  gap: 20px;
  font-size: 14px;
  color: #444;
}
.post-meta p {
  font-weight: 500;
  font-family: "Pretendard-Medium", sans-serif;
}
.post-meta p span {
  font-weight: 400;
  font-family: "Pretendard-Regular", sans-serif;
}

.post-body {
  margin-left: 16px;
  padding: 30px 0px;
/*  border-bottom: 1px solid #e0e0e0;*/
}
/*게시판(지역이슈)*/
/*.post-body img.main-img {
  margin-top: 50px;
  width: 80%; 100% 
}*/
.post-body img.main-img[src$=".jpg"],
.post-body img.main-img[src$=".jpeg"],
.post-body img.main-img[src$=".png"],
.post-body img.main-img[src$=".gif"],
.post-body img.main-img[src$=".webp"],
.post-body img.main-img[src$=".svg"] {
    margin-top: 50px;
    width: 80%;
	display: block;
}

.post-content-title {
  font-size: 16px;
  font-weight: 600;
  font-family: "Pretendard-SemiBold", sans-serif;
  margin-bottom: 20px;
}

.post-content-details li {
  font-size: 16px;
  color: #555;
  margin-bottom: 10px;
}

.post-content-details li strong {
  display: inline-block;
  /* width: 80px; */
  font-weight: 500;
  font-family: "Pretendard-Medium", sans-serif;
  color: #333;
}

.button-container {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
  width: 100%;
}
button.hidden {
  opacity: 0;
  width: 0;
  background-color: transparent;
  border: none;
}
.button-container .admin {
  display: none;
  gap: 14px;
}
.button-container .admin.active {
  display: flex;
}

.button-container2 {
  display: flex;
  justify-content: center;
  position: relative;
  padding-top: 30px;
  width: 100%;
  border-top: 1px solid #d9d9d9;
  margin-top: 30px;
  padding-bottom: 50px;
}
.button-container2 .list-button {
  width: 54px;
  height: 34px;
  font-size: 14px;
  font-family: "Pretendard-Medium", sans-serif;
  padding: 0;
  border-radius: 8px;
}
.button-container2 .admin {
  display: none;
  gap: 14px;
}
.button-container2 .admin.active {
  display: flex;
  position: absolute; /* 추가 */
  right: 0;           /* 추가 */
  gap: 14px;
}
button.edit {
  color: #008fd0;
  border: 1px solid #008fd0;
  border-radius: 10px;
  width: 54px;
  height: 34px;
  background-color: #ffffff;
}
button.delete {
  color: #ffc0c1;
  border: 1px solid #ffc0c1;
  border-radius: 10px;
  height: 34px;
  width: 54px;
  background-color: #ffffff;
}
button.edit:hover {
  background-color: #008fd0;
  color: #ffffff;
}
button.delete:hover {
  background-color: #ffc0c1;
  color: #ffffff;
}
.list-button {
  background-color: var(--color-00-8fd-0);
  color: white;
  padding: 12px 30px;
  border-radius: 15px;
  font-size: 16px;
  font-weight: 500;
  font-family: "Pretendard-Medium", sans-serif;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
}
.list-button:hover {
  background-color: #007bb5;
}

.div-wrapper .calender-wrapper {
  position: relative;
  width: 100%;
  margin-top: 20px;
  border-radius: 25px;
  overflow: hidden;
  border: 1px solid;
  border-color: #d9d9d9;
}

.div-wrapper .calender-top {
  display: flex;
  justify-content: space-between;

  position: relative;
  margin-top: 40px;
  margin-left: 40px;
}
.div-wrapper .calender-top .left {
  display: flex;
  gap: 20px;
  align-items: center;
}
.div-wrapper .calender-top .right {
  margin-right: 31px;
}
.div-wrapper .calender-top button {
  background-color: transparent;
  border: none;
  padding: 0;
}
.div-wrapper .calender-top .right button:first-child img {
  width: 80px;
  height: 42px;
}
.div-wrapper .calender-top .right button:last-child img {
  width: 94px;
  height: 42px;
}
.div-wrapper .calender-top .left button img {
  width: 30px;
  height: 30px;
}
.div-wrapper .chevron-right {
  position: relative;
  width: 42px;
  height: 42px;
  margin-top: -6px;
  margin-bottom: -6px;
  margin-left: -6px;
}

.div-wrapper .text-wrapper-10 {
  position: relative;
  width: fit-content;
  font-family: var(--pretendard-22pt-font-family);
  font-weight: var(--pretendard-22pt-font-weight);
  color: var(--color-00-8fd-0);
  font-size: var(--pretendard-22pt-font-size);
  text-align: center;
  letter-spacing: var(--pretendard-22pt-letter-spacing);
  line-height: var(--pretendard-22pt-line-height);
  white-space: nowrap;
  font-style: var(--pretendard-22pt-font-style);
}

.div-wrapper .chevron-right-2 {
  position: relative;
  width: 42px;
  height: 42px;
  margin-top: -6px;
  margin-bottom: -6px;
  margin-right: -6px;
}

.div-wrapper .overlap-group {
  /* max-width: 1194px; */
  width: 100%;
  margin-top: 30px;
  position: relative;
  left: 0;
}

.div-wrapper .view-x {
  position: relative;
  width: 100%;
  border-top-width: 1px;
  border-top-style: solid;
  border-color: var(--color-00-8fd-0);
  display: flex;
  justify-content: space-between;
}

.div-wrapper .cal-text-sun {
  position: relative;
  align-content: center;
  height: 44px;

  font-family: "Pretendard-SemiBold";

  color: #ffa6a6;
  font-size: 16px;
  text-align: center;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
  flex: 1;
}
.div-wrapper .cal-text-sat {
  position: relative;
  align-content: center;
  height: 44px;

  font-family: "Pretendard-SemiBold";

  color: #a6e4ff;
  font-size: 16px;
  text-align: center;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
  flex: 1;
}

.div-wrapper .cal-text {
  position: relative;
  align-content: center;
  height: 44px;

  font-family: "Pretendard-SemiBold";

  color: var(--color-272727);
  font-size: 16px;
  text-align: center;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
  flex: 1;
}

.div-wrapper .view-y {
  position: relative;
  width: 100%;
  aspect-ratio: 1194/632;

  border-top-width: 1px;
  border-top-style: solid;
  border-color: #d9d9d9;
  display: flex;
}
.div-wrapper .week {
  display: flex;
  flex-direction: column;

  flex: 1;

  align-items: flex-start;

  /* padding: 15px 0px 0px 15px; */
  position: relative;

  background-color: #fafafa;
  border-right-width: 1px;
  border-right-style: solid;
  border-color: #d9d9d9;
  height: 100%;
  width: 14%;
}
.div-wrapper .week-2 {
  display: flex;
  flex-direction: column;

  flex: 1;
  align-items: flex-start;

  /* padding: 15px 0px 0px 15px; */
  position: relative;

  border-right-width: 1px;
  border-right-style: solid;
  border-color: #d9d9d9;
  height: 100%;
  width: 14%;
}

.week .cal-text-2 {
  width: 100%;
  margin-top: -1px;
  aspect-ratio: 170/124;
  color: #ffd7d7;
  white-space: nowrap;
  position: relative;
  font-family: "Pretendard-SemiBold";

  font-size: 16px;
  letter-spacing: 0;
  line-height: normal;
  padding: 15px 0 0 15px;
  flex: 1;
  border-bottom: 1px solid #d9d9d9;
}
.week-2 .cal-text-2 {
  width: 100%;
  aspect-ratio: 170/124;
  margin-top: -1px;
  color: var(--color-272727);
  white-space: nowrap;
  position: relative;
  font-family: "Pretendard-SemiBold";
  font-size: 16px;
  letter-spacing: 0;
  line-height: normal;
  padding: 15px 0 0 15px;
  flex: 1;
  border-bottom: 1px solid #d9d9d9;
}

.div-wrapper .week-3 {
  display: flex;
  flex-direction: column;

  flex: 1;
  height: 630px;
  align-items: flex-start;
  gap: 105px;
  /* padding: 15px 0px 0px 15px; */
  position: relative;

  border-right-width: 1px;
  border-right-style: solid;
  border-color: #d9d9d9;
}
.cal-schedule {
  overflow-wrap: break-word;
  white-space: break-spaces;
  position: relative;
  font-size: 14px;
  color: #444444;
  background-color: #f5f5f5;
  padding: 4px 8px;
  margin-top: 5px;
}
.cal-hor-1 {
  width: calc(100% - 15px);
}
.cal-hor-2 {
  width: calc(200% - 15px);
}
.cal-hor-3 {
  width: calc(300% - 15px);
}
.cal-hor-4 {
  width: calc(300% - 15px);
}
.cal-hor-5 {
  width: calc(300% - 15px);
}
.cal-hor-6 {
  width: calc(300% - 15px);
}
.cal-hor-7 {
  width: calc(300% - 15px);
}
.content-wrapper2 {
  width: 100%;
}
.content-wrapper3 {
  width: 100%;
  padding: 120px 60px;
}
.content-wrapper2 .content .w90 {
  width: 100%;
  text-align: center;
}
.content-wrapper2 .content .w90 img {
  width: 90%;
}
.map-content-wrapper {
  display: flex;
  margin: 145px 160px;
  gap: 20px;
  justify-content: center;
}
.map-content-wrapper h1 {
  margin-bottom: 30px;
  font-size: 26px;
  font-family: "Pretendard-SemiBold", sans-serif;
}
.medicalFacilities-info {
  display: flex;
  flex-direction: column;
}
.medicalFacilities-info .medical-content {
  padding: 40px;
  border: 1px solid #d9d9d9;
  border-radius: 20px;
  width: 1270px;
}
.medicalFacilities-info .medical-content .flex {
  display: flex;
}

.medicalFacilities-info .medical-content .flex .left {
  width: 694px;
  padding-right: 40px;
  border-right: 1px solid #d9d9d9;
  position: relative;
}
.medicalFacilities-info .medical-content .flex .left .btn-wrapper {
  display: flex;
  gap: 12px;
}
.medicalFacilities-info .medical-content .flex .left .btn-wrapper button {
  box-shadow: 0px 0px 5px 0 rgba(0, 0, 0, 0.15);
  border: none;
  background-color: #ffffff;
  color: #b7b7b7;
  border-radius: 20px;
  width: 322px;
  height: 80px;
  font-size: 18px;
  font-family: "Pretendard-SemiBold";
}
.medicalFacilities-info
  .medical-content
  .flex
  .left
  .btn-wrapper
  button:disabled {
  cursor: no-drop;
}
.medicalFacilities-info .medical-content .flex .left .btn-wrapper button:hover,
.medicalFacilities-info
  .medical-content
  .flex
  .left
  .btn-wrapper
  button.active {
  border: 1px solid #008fd0;
  color: #008fd0;
}
.medicalFacilities-system {
  display: flex;
  flex-direction: column;
  /* flex: 1; */
  width: 309px;
}
.medicalFacilities-system .medical-content {
  padding: 40px;
  border: 1px solid #d9d9d9;
  border-radius: 20px;
  /* flex: 1; */
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  text-align: center;
}
.medicalFacilities-system .medical-content a:hover {
  filter: brightness(1.1);
}
.medicalFacilities-system .medical-content a p {
  margin-top: 14px;
  position: relative;
  font-family: "Pretendard-SemiBold";
  color: var(--color-272727);
  font-size: 18px;
  text-align: center;
  letter-spacing: 0;
  line-height: normal;
}
.medical-content .map {
  width: 652px;
  height: 640px;
  position: relative;
  margin-top: 27px;
  margin-bottom: 25px;
}
/* 공통 */
.medical-content .map svg rect,
.medical-content .map svg polygon {
  transition: 0.3s;
}

/* hover는 polygon만 */
.medical-content .map svg polygon:hover {
  cursor: pointer;
}

/* active는 rect만 */
.medical-content .map svg rect.active {
  filter: invert(0.8) grayscale(1);
}
.medical-content .map img {
  position: absolute;
  /* opacity: 0.5; */
  /* filter: brightness(0.5); */
  cursor: pointer;
}
.medical-content .map img:hover,
.medical-content .map img.active {
  /* filter: brightness(0.5); */
  filter: invert(0.8) grayscale(1);
}

.medicalFacilities-info .medical-content .flex .right {
  padding-left: 40px;
  padding-top: 23px;
  position: relative;
  width: 100%;
}
.medicalFacilities-info .medical-content .flex .right h2 {
  font-family: "Pretendard-SemiBold", sans-serif;
  font-size: 22px;
  color: #008fd0;
  line-height: 30px;
}
.medicalFacilities-info .medical-content .flex .right ul {
  list-style: none; /* Remove default bullet points */
  padding: 0;
  margin: 0;
  margin-top: 34px;
}

.medicalFacilities-info .medical-content .flex .right li {
  position: relative; /* Needed for custom bullet positioning */
  padding-left: 11px; /* Create space for the custom bullet */
  margin-bottom: 26px; /* Space between each institution */
  font-size: 18px;
  font-family: "Pretendard-Medium", sans-serif;
  color: #272727;
}

.medicalFacilities-info .medical-content .flex .right li.green {
  color: #00b050;
}
.medicalFacilities-info .medical-content .flex .right li.blue {
  color: #4d87c6;
}
/* Create a custom bullet point */
.medicalFacilities-info .medical-content .flex .right li::before {
  content: "•"; /* The bullet character */
  position: absolute;
  left: 0;
  top: 0.05em; /* Adjust vertical alignment */
  color: #272727;
  font-weight: bold;
  font-size: 15px;
}
.medicalFacilities-info .medical-content .flex .right li p {
  font-family: "Pretendard-Regular", sans-serif;
  margin-top: 7px;
  font-size: 16px;
  color: #444444;
}
.medical-info {
  display: none;
  flex-direction: column;
  height: 100%;
}
.medical-info.active {
  display: flex;
}
.medical-info ul {
  flex: 1;
}
p.under-text {
  font-family: "Pretendard-Medium", sans-serif;
  font-size: 14px;
  color: #555;
  white-space: nowrap;
  letter-spacing: -0.02em;
  position: absolute;
  bottom: 0;
}
p.under-text span {
  color: #008fd0;
  font-family: "Pretendard-SemiBold", sans-serif;
}

.board-table {
  width: 100%;
  margin-bottom: 30px;
}
.board-table table {
  width: 100%;
}
.board-table table thead {
  height: 50px;
  border-top: 1px solid #008fd0;
}
.board-table table thead tr th {
  font-family: "Pretendard-SemiBold", sans-serif;
  font-size: 16px;
  line-height: 19px;
  padding-top: 16px;
  border-bottom: 1px solid #d9d9d9;
}
.board-table table tbody tr td {
  height: 49px;
  align-content: center;
  text-align: center;
  border-bottom: 1px solid #d9d9d9;
}
/* ============================================= */
/* 게시물 상세 보기 전용 CSS                     */
/* ============================================= */
.board-post-view {
  width: 100%;
  max-width: 1100px; /* 콘텐츠 최대 너비 */
  /*margin: 0 auto;*/ /* 중앙 정렬 */
  padding-left: 0px;
}

/* --- 제목 영역 --- */
.board-post-view .post-title-area {
  padding-bottom: 15px;
  /* border-bottom: 2px solid #333; */
}
.board-post-view .post-title-area .category {
  /* display: block; */
  color: #008fd0;
  font-family: "Pretendard-SemiBold", sans-serif;
  font-size: 20px;
  vertical-align: top;
  margin-right: 15px;
}

.board-post-view .post-title-area .title {
  font-family: "Pretendard-Medium", sans-serif;
  font-size: 20px;
  color: #272727;
}

/* --- 메타 정보 영역 --- */
.board-post-view .post-meta-list {
  display: flex;
  flex-wrap: wrap; /* 화면 작아지면 줄바꿈 */
  list-style: none;
  padding: 15px 20px;
  padding-left: 0;
  margin: 0;
  /* border-bottom: 1px solid #e0e0e0; */
  /* background-color: #f9f9f9; */
}
.board-post-view .post-meta-list li {
  display: flex;
  align-items: center;
  padding-right: 30px;
  font-size: 14px;
  color: #444;
}
.board-post-view .post-meta-list li strong {
  font-family: "Pretendard-SemiBold", sans-serif;
  margin-right: 10px;
}
.board-post-view .post-meta-list li span {
  font-family: "Pretendard-Medium", sans-serif;
}

/* --- 본문 내용 --- */
.board-post-view .post-content {
  padding: 40px 20px;
  padding-left: 22;
  /* border-bottom: 1px solid #d9d9d9; */
  font-family: "Pretendard-Regular", sans-serif;
  font-size: 16px;
  color: #272727;
  line-height: 1.8;
  min-height: 200px; /* 최소 높이 지정 */
}
.board-post-view .post-content p {
  margin-bottom: 20px;
}

/* --- 첨부 파일 --- */
.board-post-view .post-attachment {
  display: flex;
  align-items: center;
  padding: 11px 20px;
  border: 1px solid #d9d9d9;
  border-radius: 8px;
}
.board-post-view .post-attachment strong {
  font-size: 14px;
  color: #444;
  font-family: "Pretendard-Medium", sans-serif;
  margin-right: 20px;
}
.board-post-view .post-attachment .file-list a {
  font-size: 14px;
  color: #555;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.board-post-view .post-attachment .file-list a:hover {
  text-decoration: underline;
}
.board-post-view .post-attachment .file-list span {
  font-family: "Pretendard-Regular", sans-serif;
  color: #444;
}
.board-post-view .post-attachment .file-list img {
  width: 16px; /* 클립 아이콘 크기 */
}

/* --- 목록 버튼 --- */
.board-post-view .post-actions {
  display: flex;
  justify-content: flex-end;
  padding: 30px 0;
}
/* 기존 CSS에 정의된 .list-button 스타일을 재사용합니다 */

/* --- 이전/다음 글 --- */
.board-post-view .post-navigation {
  border-top: 1px solid #e0e0e0;
}
.board-post-view .post-navigation .nav-item {
  display: flex;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid #f1f3f5;
  font-size: 14px;
  color: #555;
}
.board-post-view .post-navigation .nav-item img {
  margin-right: 10px;
}
.board-post-view .post-navigation .nav-item strong {
  font-family: "Pretendard-SemiBold", sans-serif;
  flex-shrink: 0;
  margin-right: 20px;
  display: inline-flex;
  align-items: center;
}

.board-post-view .post-navigation .nav-item a {
  font-family: "Pretendard-Medium", sans-serif;
  text-decoration: none;
  color: #555;
}
.board-post-view .post-navigation .nav-item a:hover {
  text-decoration: underline;
}

/* 지도부분 */
.map-wrapper {
  width: 100%;
  aspect-ratio: 1194/550;
  margin-bottom: 89px;
}
.map-wrapper img {
  width: 100%;
}

.section-title-like {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #008fd0;
  font-family: "Pretendard-SemiBold", sans-serif;
}
.button-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  position: relative;
  justify-content: space-between;
}
.filter-button {
  background-color: #fff;
  box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.25);
  border-radius: 20px;
  border: none;
  font-size: 18px;
  font-family: "Pretendard-SemiBold", sans-serif;
  height: 56px;
}
.filter-button.active,
.filter-button:hover {
  background-color: #008fd0;
  color: #fff;
}
.button-group.w3 {
  /* gap: 30px; */
}
.button-group.w3 button {
  width: 32%;
}
.button-group.w4 {
  /* gap: 21px; */
  row-gap: 16px;
}
.button-group.w4 button {
  width: 23%;
}
button.filter-button.top-right {
  right: 0;
  position: absolute;
  top: -86px;
}

.top-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

/* 탭 메뉴 */
.tabs-container {
  border-top: 1px solid #d9d9d9;
  margin-top: 30px;
}
.tab-buttons {
  display: flex;
  flex-wrap: wrap;
  border: none;
  border-bottom: 1px solid #d9d9d9;
}
.tab-button {
  border: none;
  border-bottom: 1px solid #d9d9d9;
  border-right: 1px solid #d9d9d9;
  background-color: #f8f8f8;

  font-family: "Pretendard-Medium", sans-serif;
  flex-grow: 1;
  min-width: 120px;
  height: 86px;
  text-align: center;
  color: #cccccc;
  width: 11%;
  font-size: 20px;
}
.tab-button.row-2 {
  border-top: 1px solid #d9d9d9;
}
.tab-button.active {
  background-color: var(--color-00-8fd-0);
  color: #fff;
  font-family: "Pretendard-SemiBold", sans-serif;
}

.tab-panel {
  display: none;
  border-bottom: 1px solid #d9d9d9;
}
.tab-panel.active {
  display: block;
}

/* 병원 정보 카드 */
.hospital-card {
  /* padding-top: 40px; */
  padding: 30px 0;
  border-bottom: 1px solid #d9d9d9;
}
.hospital-name {
  font-size: 1.1rem;
  font-family: "Pretendard-SemiBold", sans-serif;
  width: 300px;
  padding-left: 39px;
  line-height: 1.3;
  word-break: keep-all;
}
.hospital-info {
  display: flex;
  height: 158px;
  align-items: center;
  /* border-bottom: 1px solid #ddd; */
}
.hospital-info div {
  padding-left: 20px;
}
.hospital-info p {
  font-size: 16px;
  margin: 0;
  color: #555;
  font-family: "Pretendard-Regular", sans-serif;
  line-height: 1.3;
}
.hospital-info .other-info {
  color: #272727;
  font-size: 16px;
  margin: 0;
  margin-top: 21px;
  font-family: "Pretendard-Medium", sans-serif;
}
.department-info {
  margin-top: 1rem;
  background-color: #f4f4f4;
  display: flex;
  min-height: 70px;
  padding: 10px 0;
  border: 1px solid #d9d9d9;
  border-left: none;
  border-right: none;
  border-radius: 4px;
  color: #555555;
  align-items: center;
}
.department-info dt {
  flex-shrink: 0;
  font-family: "Pretendard-Medium", sans-serif;
  padding-left: 40px;
  width: 300px;
  color: #555;
  align-content: center;
}
.department-info dd {
  margin: 0;
  line-height: 1.3;
  color: #555;
  font-family: "Pretendard-Regular", sans-serif;
  padding-left: 20px;
  padding-right: 46px;
}
.tab-content {
  border-top: 1px solid #555555;
  margin-bottom: 134px;
}
p.hospital-none {
  padding: 20px;
}
.poitag {
    padding: 2px;
    font-size: 12px;
    width:250px;
    text-align:center;
}

.curr{
    position: relative;
    width: fit-content;
    margin-top: -1.00px;
    font-family: "Pretendard-SemiBold";
    color: var(--color-00-8fd-0);
    font-size: 20px;
    letter-spacing: 0;
    line-height: normal;
    white-space: nowrap;'
}
.sitemap-link {
	width: 103px;
	height: 33px;
	position: absolute;
	right: 0;
	bottom: 0;
}

#all-hospital-panel .hospital-card {
    border-bottom: 1px solid #ddd;
    padding: 30px 0;
}

.search-area .chevron-select {
    appearance: none !important;
    -webkit-appearance: none !important;
    background-image: url('/img/chevron01.png') !important;
    background-repeat: no-repeat !important;
    background-position: right 8px center !important;
    background-size: 12px !important;
    padding-right: 28px !important;
    cursor: pointer;
}

.login-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 0;
}