@charset "UTF-8";
/**
 * @파일명            template-design-board-list.css
 * @프로젝트명         메디사이트
 * @작성자            전혜린(hyerin__ni@page1.co.kr)
 * @최초작성일         2026-11-04
 * @최종수정일         2026-11-20
 **/
.image-template .section-notice:where([data-design-id="board-list"]) {
  padding: 50px 0;
}

@media screen and (min-width: 1024px) {
  html:not(.design-edit-page) .image-template .section-notice:where([data-design-id="board-list"]) {
    padding: 0;
  }
}

@media screen and (min-width: 1024px) {
  html:not(.design-edit-page) .image-template .section-notice:where([data-design-id="board-list"]) .common-inner {
    padding: 0;
  }
}

html.design-edit-page .image-template .section-notice:where([data-design-id="board-list"]) .text-box:has(.section-headline) {
  margin-left: -8px;
  margin-right: -8px;
}

.image-template .section-notice:where([data-design-id="board-list"]) .section-headline {
  position: relative;
  padding-right: 20px;
  padding-bottom: 15px;
  font-size: 26px;
  font-weight: 700;
  color: #111;
  border-bottom: 2px solid #222;
  cursor: pointer;
}

@media screen and (min-width: 1024px) {
  html:not(.design-edit-page) .image-template .section-notice:where([data-design-id="board-list"]) .section-headline {
    display: block;
    padding-right: 0;
    padding-bottom: 17px;
  }
  html:not(.design-edit-page) .image-template .section-notice:where([data-design-id="board-list"]) .section-headline, html:not(.design-edit-page) .image-template .section-notice:where([data-design-id="board-list"]) .section-headline > span {
    font-family: inherit !important;
    font-size: 24px !important;
    line-height: inherit !important;
    color: #000 !important;
    text-align: left !important;
  }
}

.image-template .section-notice:where([data-design-id="board-list"]) .section-headline::after {
  content: '';
  position: absolute;
  top: 6px;
  right: 0;
  width: 15px;
  height: 23px;
  background-image: url("data:image/svg+xml,%3Csvg width='15' height='23' viewBox='0 0 15 23' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 21.5226L12 11.5312L2 1.53125' stroke='%23414042' stroke-width='3' stroke-miterlimit='10'/%3E%3C/svg%3E%0A");
  background-repeat: no-repeat;
  background-position: center;
}

@media screen and (min-width: 1024px) {
  html:not(.design-edit-page) .image-template .section-notice:where([data-design-id="board-list"]) .section-headline::after {
    display: none;
  }
}

.image-template .section-notice:where([data-design-id="board-list"]) .notice-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  row-gap: 10px;
  margin: 25px 0 0;
}

@media screen and (min-width: 1024px) {
  html:not(.design-edit-page) .image-template .section-notice:where([data-design-id="board-list"]) .notice-list {
    row-gap: 20px;
    margin-top: 32px;
  }
}

.image-template .section-notice:where([data-design-id="board-list"]) .link-notice {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-column-gap: 15px;
     -moz-column-gap: 15px;
          column-gap: 15px;
  font-family: 'Pretendard Variable', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  color: #222;
}

.image-template .section-notice:where([data-design-id="board-list"]) .link-notice .title-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, auto);
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-column-gap: 6px;
     -moz-column-gap: 6px;
          column-gap: 6px;
}

.image-template .section-notice:where([data-design-id="board-list"]) .link-notice .title {
  margin-bottom: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

@media screen and (min-width: 1024px) {
  html:not(.design-edit-page) .image-template .section-notice:where([data-design-id="board-list"]) .link-notice .title {
    color: #4D4D4D;
  }
}

@media screen and (min-width: 1024px) {
  html:not(.design-edit-page) .image-template .section-notice:where([data-design-id="board-list"]) .link-notice .date {
    color: #858585;
  }
}

.text-template .section-notice:where([data-design-id="board-list"]) {
  padding: 80px 0;
  background-color: #fff;
}

@media screen and (min-width: 1024px) {
  html:not(.design-edit-page) .text-template .section-notice:where([data-design-id="board-list"]) {
    padding: 150px 0;
  }
}

.text-template .section-notice:where([data-design-id="board-list"]) .common-inner > [class*="text-box"] {
  padding-bottom: 25px;
  border-bottom: 2px solid #222;
}

@media screen and (min-width: 1024px) {
  html:not(.design-edit-page) .text-template .section-notice:where([data-design-id="board-list"]) .common-inner > [class*="text-box"] {
    padding-bottom: 37px;
  }
}

.text-template .section-notice:where([data-design-id="board-list"]) .common-headline {
  cursor: pointer;
}

.text-template .section-notice:where([data-design-id="board-list"]) .notice-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  margin-bottom: 0;
}

.text-template .section-notice:where([data-design-id="board-list"]) .link-notice {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-column-gap: 15px;
     -moz-column-gap: 15px;
          column-gap: 15px;
  padding: 15px 0;
  font-family: 'Pretendard Variable', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.25;
  color: #222;
  border-bottom: 1px solid #E9E9E9;
}

.text-template .section-notice:where([data-design-id="board-list"]) .link-notice:not(:has(.date)) {
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  border-bottom: none;
}

@media screen and (min-width: 1024px) {
  html:not(.design-edit-page) .text-template .section-notice:where([data-design-id="board-list"]) .link-notice {
    -webkit-column-gap: 35px;
       -moz-column-gap: 35px;
            column-gap: 35px;
    padding: 20px 0;
    font-size: 18px;
  }
}

.text-template .section-notice:where([data-design-id="board-list"]) .link-notice .title-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, auto);
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-column-gap: 6px;
     -moz-column-gap: 6px;
          column-gap: 6px;
}

.text-template .section-notice:where([data-design-id="board-list"]) .link-notice .title {
  margin-bottom: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
