@font-face {
  font-family: "NanumSquareNeo";
  src: url(https://hangeul.pstatic.net/hangeul_static/webfont/NanumSquareNeo/NanumSquareNeoTTF-bRg.eot);
  src: url(https://hangeul.pstatic.net/hangeul_static/webfont/NanumSquareNeo/NanumSquareNeoTTF-bRg.eot?#iefix)
      format("embedded-opentype"),
    url(https://hangeul.pstatic.net/hangeul_static/webfont/NanumSquareNeo/NanumSquareNeoTTF-bRg.woff)
      format("woff"),
    url(https://hangeul.pstatic.net/hangeul_static/webfont/NanumSquareNeo/NanumSquareNeoTTF-bRg.ttf)
      format("truetype");
}

@font-face {
  font-family: "NanumSquareNeoLight";
  src: url(https://hangeul.pstatic.net/hangeul_static/webfont/NanumSquareNeo/NanumSquareNeoTTF-aLt.eot);
  src: url(https://hangeul.pstatic.net/hangeul_static/webfont/NanumSquareNeo/NanumSquareNeoTTF-aLt.eot?#iefix)
      format("embedded-opentype"),
    url(https://hangeul.pstatic.net/hangeul_static/webfont/NanumSquareNeo/NanumSquareNeoTTF-aLt.woff)
      format("woff"),
    url(https://hangeul.pstatic.net/hangeul_static/webfont/NanumSquareNeo/NanumSquareNeoTTF-aLt.ttf)
      format("truetype");
}

@font-face {
  font-family: "NanumSquareNeoExtraBold";
  src: url(https://hangeul.pstatic.net/hangeul_static/webfont/NanumSquareNeo/NanumSquareNeoTTF-dEb.eot);
  src: url(https://hangeul.pstatic.net/hangeul_static/webfont/NanumSquareNeo/NanumSquareNeoTTF-dEb.eot?#iefix)
      format("embedded-opentype"),
    url(https://hangeul.pstatic.net/hangeul_static/webfont/NanumSquareNeo/NanumSquareNeoTTF-dEb.woff)
      format("woff"),
    url(https://hangeul.pstatic.net/hangeul_static/webfont/NanumSquareNeo/NanumSquareNeoTTF-dEb.ttf)
      format("truetype");
}

/* 지마켓산스 닮은 폰트 */
@font-face {
  font-family: "Paperlogy-8ExtraBold";
  src: url("https://fastly.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-8ExtraBold.woff2")
    format("woff2");
  font-weight: 800;
  font-style: normal;
}

@import url("//fonts.googleapis.com/earlyaccess/notosanskr.css");

/* 알림마당 */
.data_box {
  width: 86%;
  margin: auto;
  position: relative;
  font-family: "NanumSquareNeo";
  line-height: 1.6;
  font-size: 1.6rem;
  word-break: keep-all;
  letter-spacing: -2px;
  cursor: default;
  user-select: none;
  margin-bottom: 13rem;
}

/* 기사 footer */
.notice_footer::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -130px;
  width: 100%;
  height: 120px;
  background-image: url("../img/common/notice_footer2.jpg");
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: bottom center;
}

/* 표 */
.data_box table {
  box-sizing: border-box;
  border-collapse: collapse;
  font-family: "NanumSquareNeo";
  border-spacing: 1px;
  word-break: keep-all;
  overflow-wrap: break-word;
  table-layout: fixed; /* 열 너비 고정 */
}
.data_box th,
.data_box td {
  border: 0.5px solid #aaaaaa;
  padding: 6px;
  line-height: 1.7;
  text-align: center;
  vertical-align: middle; /* 세로 중앙 */
  word-break: keep-all;
  white-space: nowrap; /* 줄바꿈 방지 */
  overflow: hidden; /* 넘치는 내용 숨김 */
  text-overflow: ellipsis; /* ... 처리 */
  white-space: normal; /* 자동 줄바꿈 허용 */
}
/* 첫 번째 행 - 비고 */
.data_box th {
  background-color: #202020;
  color: white;
}
.data_box tr {
  background-color: #fff;
}
.data_box tr:nth-child(even) {
  background-color: #f6f6f6;
}

/* 기사 */
.data_box .news_list {
  margin-bottom: 4rem;
}

.data_box .news_list h3 {
  font-family: "Paperlogy-8ExtraBold";
  font-size: 1.95rem;

  box-sizing: border-box;
  margin-bottom: 1.3rem;
  width: 100%;
  display: inline-block;
  position: relative;
  padding: 12px 30px;
  border: 4px solid #9933cc; /* 보라색 테두리 */
  border-radius: 30px;
  color: #9933cc;

  background-color: white;
  text-align: center;
}

/* 말풍선 꼬리 만들기 */
.data_box .news_list h3::after {
  content: "";
  position: absolute;
  bottom: -24px;
  right: 12%;
  transform: translateX(-50%);
  width: 45px;
  height: 45px;
  background-color: white;
  border: 4px solid #9933cc;
  border-top: none;
  border-left: none;
  transform: translateX(-50%) rotate(45deg);
  background-clip: content-box;
}

/* li */
.data_box .notice_list {
  display: flex;
}
.data_box .notice_list b {
  font-family: "NanumSquareNeoExtraBold";
  flex-wrap: nowrap;
  flex-shrink: 0;
  margin-right: 0.7rem;
}
.data_box .notice_list span {
  margin-right: 0.4rem;
}
.data_box .notice_list p {
  flex-wrap: wrap;
  word-break: keep-all;
}

/* 버튼 */
.data_box a {
  width: 100%;
  display: inline-block;
  text-align: center;
  font-family: "NanumSquareNeoExtraBold";
  margin-top: 0.4rem;
  line-height: 2;
  padding: 7px 0;
  color: #fff;
  border-radius: 1.2rem;
  border: none;
  background-color: #202020;
}
.data_box .notice_list small {
  font-size: 1.2rem;
}
.data_box img {
  margin: 7px 0;
}

/* 건강지원센터  */

.data_health_react {
  width: 90%;
  padding: 2.5rem 1.5rem;
  box-sizing: border-box;
  margin: auto;
  margin-bottom: 13rem;
  position: relative;

  font-family: "NanumSquareNeo";
  font-weight: 300;
  line-height: 1.7;
  font-size: 1.6rem;
  word-break: keep-all;
  letter-spacing: -1.5px;
  cursor: default; /* 마우스 모양 기본값 (화살표) */
  user-select: none;
  border: 7px solid #933fae;
}

/* news footer */
.data_health_react.notice_footer::before {
  width: 95%;
  left: 50%;
  transform: translateX(-50%);
}

.data_health_react > h2 {
  font-family: "Paperlogy-8ExtraBold";
  font-stretch: expanded;
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 3rem;
  color: #933fae;
}

.data_health_react .data_rect_content {
  margin-bottom: 3rem;
}

/* 신청바로가기/ 신청방법 */
.data_rect_info {
  margin-top: 3rem;
  margin-bottom: 2rem;
}
.data_rect_info p {
  text-align: center;
  background-color: #f6ebf9;
  padding: 1rem 0;
  margin-bottom: 1.6rem;
}
.data_rect_info p b {
  font-family: "NanumSquareNeoExtraBold";
}

/* 기사 */
.data_health_react .rect_news h3 {
  font-family: "NanumSquareNeoExtraBold";
  font-size: 1.75rem;
  font-weight: 500;
  box-sizing: border-box;
  margin-bottom: 1.3rem;
  display: inline-block;
  position: relative;
  border-radius: 20px;
  letter-spacing: -4px;
}

.data_health_react .rect_news {
  margin-top: 3rem;
}

/* li */
.data_health_react .rect_news_list {
  display: flex;
}
.data_health_react .rect_news_list b {
  font-family: "NanumSquareNeoExtraBold";
  flex-wrap: nowrap;
  flex-shrink: 0;
  margin-right: 0.7rem;
}
.data_health_react .rect_news_list span {
  margin-right: 0.4rem;
}
.data_health_react .rect_news_list p {
  flex-wrap: wrap;
  word-break: keep-all;
}

/* 버튼 */
.data_health_react a {
  width: 100%;
  display: inline-block;
  text-align: center;
  font-family: "NanumSquareNeoExtraBold";
  margin-top: 0.4rem;
  line-height: 2;
  padding: 7px 0;
  color: #fff;
  border-radius: 1.2rem;
  border: none;
  background-color: #933fae;
  cursor: pointer;
}
.data_health_react .notice_list small {
  font-size: 1.2rem;
}
.data_health_react img {
  margin: 7px 0;
}

/* 문화 캘린더 */
.culture_header {
  position: relative;
}
.culture_header a {
  background-color: #fff;
  border-radius: 5rem;
  font-size: 1.15rem;
  font-family: "Paperlogy-8ExtraBold";
  letter-spacing: -0.5px;
  color: #40477d;
  padding: 0.8rem 2.1rem 0.7rem 2.1rem;
  position: absolute;
  bottom: 16.7%;
  left: 10%;
}

.culture {
  width: 93%;
  margin: 0 auto;
  font-family: "NanumSquareNeo";
  font-family: "notosanskr";
  letter-spacing: -1.9px;
  position: relative;
  /* padding-bottom: 2rem; */
}
/* .culture::after {
  content: "";
  position: absolute;
  bottom: 7rem;
  left: 0;
  background-image: url("../img/common/notice_footer2.jpg");
  background-position: top center;
  background-repeat: no-repeat;
  background-size: 95%;

  width: 100%;

  height: 5rem;
} */

.culture .culture_card {
  background-color: #ecf7ff;
  margin-bottom: 1rem;
  border-radius: 25px;
  padding: 1.5rem;
  padding-right: 1rem;

  display: flex;
  align-items: center;
}

.culture .culture_card_img {
  padding: 0;
  margin-bottom: 1rem;
}

/* Date */
.culture .card_date {
  font-size: 1.4rem;
  font-weight: 700;
  color: #939393;
  margin-right: 1.5rem;
}

/* Date - num */
.culture .card_date span {
  display: inline-block;
  color: #202020;
  margin-right: 10px;
  transform: translateY(10px);
  font-size: 2.3rem;
  font-family: "Paperlogy-8ExtraBold";
}

.culture .gray {
  background-color: #f6f6f6;
}
.culture .card_content {
  max-width: 80%;
}

.culture .card_content h6 {
  font-size: 1.18rem;
  line-height: 1.5;
  margin-bottom: 0.35rem;
}
.culture .card_content h3 {
  line-height: 1.5;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

/* Culture - information */
.culture .card_info {
  width: 100%;
  display: flex;
  gap: 1.7rem;
}

/* Icon */
.culture .info_data div {
  width: 27px;
  height: 30px;
  margin-right: 10px;
  background-image: url("../img/common/culture/location.png");
  background-position: top;
  background-repeat: no-repeat;
  background-size: contain;
  transform: translateY(7px);
}

.culture .info_data .time {
  background-image: url("../img/common/culture/time.png");
}

.culture .info_data .phone {
  background-image: url("../img/common/culture/phone.png");
}

/* content */
.culture .info_data {
  display: flex;
  font-weight: 300;
  font-size: 1.2rem;
  line-height: 1.4;
  letter-spacing: -0.7px;
  /* min-width: 7vw; */
}

/* Card other - 기타 정보 */
.culture .culture_other {
  background-color: #f6f6f6;
  margin-bottom: 1rem;
  border-radius: 25px;
  padding: 1.9rem 2rem;
}
.culture .other_contet {
  border-bottom: 3px solid #d9e3ea;
  padding: 1.5rem 0;
}

.culture .other_contet:first-of-type {
  padding-top: 0;
}
.culture .other_contet:last-of-type {
  border: none;
  padding-bottom: 0;
}

.culture .other_contet h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
}

.culture .other_container {
  font-size: 1.22rem;
  line-height: 1.5;
}

.culture .other_container p {
  display: inline-block;
  margin-left: 5px;
  color: #ed876a;
}

/* ---------- 알림마당 ------------ */

/* 생활 */
.notice_news .news_list h3 {
  font-family: "Paperlogy-8ExtraBold";
  color: #933fae;
}
.notice_news th {
  background-color: #d0e5f1;
  color: #202020;
}
.notice_news a {
  background-color: #933fae;
}

/* 건강*/
.notice_life .news_list h3 {
  font-family: "Paperlogy-8ExtraBold";
  color: #3cbc81;
}
.notice_life th {
  background-color: #d4f0e3;
  color: #202020;
}
.notice_life a,
.notice_life .news_list h3,
.notice_life .news_list h3::after {
  border-color: #3cbc81;
}

/* media */

/* 기본 사이즈 */
@media all and (max-width: 900px) {
  html {
    font-size: 11px;
  }

  .data_box .news_list h3 {
    margin-bottom: 1.3rem;

    padding: 7px 15px;
    border: 2px solid #9933cc; /* 보라색 테두리 */
    border-radius: 12px;

    font-size: 20px;
    margin-bottom: 25px;
  }

  /* 말풍선 꼬리 만들기 */
  .data_box .news_list h3::after {
    bottom: -9px;
    right: 15%;
    width: 16px;
    height: 16px;
    border: 2px solid #9933cc;
    border-top: none;
    border-left: none;
    transform: translateX(-50%) rotate(45deg);
    background-clip: content-box;
  }

  /* 건강지원센터  */

  .data_health_react {
    width: 93%;
    border: 2px solid #933fae;
  }

  /* news footer */
  .data_health_react.notice_footer::before {
    width: 95%;
    left: 50%;
    transform: translateX(-50%);
  }

  /* 문화 캘린더 */

  .culture_header a {
    bottom: 15.5%;
  }

  .culture {
    width: 93%;
    letter-spacing: -1.4px;
    /* padding-bottom: 50px; */
  }
  /* .culture::after {
    bottom: 5px;
    height: 100px;
  } */

  .culture .culture_card {
    border-radius: 12px;
  }

  /* Date */
  .culture .card_date span {
    margin-right: 0.6rem;
    transform: translateY(5px);
    font-size: 2.3rem;
    font-family: "Paperlogy-8ExtraBold";
  }
  /* Icon */
  .culture .info_data div {
    width: 11px;
    min-width: 11px;
    height: 12px;
    margin-right: 5px;
    transform: translateY(3px);
  }
}

/* iPad Mini 같은 작은 태블릿 전용 (세로/가로 모두 포함) */
@media all and (min-width: 744px) and (max-width: 1133px) {
  html {
    font-size: 20px;
  }
  /* Icon */
  .culture .info_data div {
    width: 25px;
    min-width: 25px;
    height: 27px;
    margin-right: 5px;
    transform: translateY(3px);
  }
}

/* 갤 폴더 */
@media all and (max-width: 360px) {
  html {
    font-size: 10px;
  }

  /* Icon */
  .culture .info_data div {
    width: 10px;
    min-width: 10px;
    height: 11px;
    margin-right: 5px;
    transform: translateY(3px);
  }
}
