.community-banner-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%
}

.community-content {
  width: min(1520px, calc(100% - 80px));
  margin: 0 auto;
  padding: 80px 0 150px;
  color: #222
}
.community-content.write-content {
  padding: 80px 0 100px;

}

.community-title {
  margin: 0 0 50px;
  color: #0067b0;
  font-size: 40px;
  font-weight: 600;
  line-height: 50px;
  text-align: center
}

.board-tools {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 20px
}

.board-search {
  width: 350px;
  height: 56px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #cdcdcd;
  background: #fff
}

.board-search input {
  min-width: 0;
  flex: 1;
  height: 100%;
  padding: 0 20px;
  border: 0;
  outline: 0;
  color: #222;
  font: 400 16px/1 Pretendard, sans-serif
}

.board-search input::placeholder {
  color: #acacac
}

.board-search button {
  width: 55px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 0;
  background: #fff;
  cursor: pointer
}

.board-search img {
  width: 24px;
  height: 24px
}

.board-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.board-table th {
  background: #f7f7f7;
  color: #222;
font-size: 16px;
font-style: normal;
font-weight: 400;
line-height: normal;
text-transform: uppercase;
padding: 20px 0;
}

.board-table td {
  padding: 0 10px;
  border-bottom: 1px solid #ededed;
  color: #777;
  font-size: 16px;
  text-align: center
}

.board-table .col-number {
  width: 140px;
}
.board-table .col-title {
  text-align: left;
  padding-left: 10px;
}

.board-table .col-author {
  width: 190px;
}

.board-table .col-date {
  width: 190px;
}

.board-table .col-status {
  width: 160px
}

.board-table td.board-subject {
  text-align: left;
  color: #222
}

.board-table td.board-subject a {
  display: flex;
  align-items: center;
  width: 100%;
  color: inherit;
  padding:24px 0;
}

.board-table tbody tr:hover .board-subject {
  color: #0067b0
}

.status-pill {
  display: inline-flex;
  width: 80px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  background: #ededed;
  color: #777;
  font-size: 14px
}

.status-pill.complete {
  background: #0067b0;
  color: #fff
}

.board-bottom {
  position: relative;
  min-height: 89px
}

.board-bottom .pagination {
  margin-top: 50px;
}

.inquiry-link {
  right: 0;
  top: 30px;
  width: 130px;
  height: 49px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #222;
  font-size: 16px;
  margin-left:auto;
  margin-top: 20px;
  border: 1px solid  #CDCDCD;
}

.inquiry-link img {
  width: 20px;
  height: 20px
}

.community-content .pagination {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px
}

.community-content .pagination a {
  width: 20px;
  height: 40px;
  display: grid;
  place-items: center;
  color: #222;
  font-size: 16px
}

.community-content .pagination a.active {
  width: 40px;
  border-radius: 4px;
  background: #0067b0;
  color: #fff
}

.community-content .pagination img {
  width: 24px;
  height: 24px
}

.community-content .pagination a:nth-child(-n+2) img {
  transform: rotate(180deg)
}

.detail-content {
  padding-top: 100px;
}

.detail-box {
}

.detail-heading {
  height: 96px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 0 30px;
  background: #f7f7f7;
}

.detail-heading h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 24px
}

.detail-meta {
  color: #777;
  font-size: 14px;
  line-height: 18px
}

.detail-body {
  min-height: 704px;
  padding: 50px 20px;
  color: #777;
  font-size: 16px;
  line-height: 26px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.detail-body p {
  margin: 0
}

.detail-image-placeholder {
  width: 800px;
  height: 536px;
  display: grid;
  place-items: center;
  background: #ededed;
  color: #acacac;
  font-size: 30px
}

.detail-reply {
  border-bottom: 1px solid #cdcdcd
}

.detail-reply .detail-heading {
  height: 96px
}

.detail-reply .detail-body {
  min-height: 263px
}

.article-nav {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #D4D4D4;
}

.article-nav li {
  height: 72px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 30px;
  border-bottom: 1px solid #D4D4D4;
  font-size: 16px;
  gap: 20px;
}

.article-nav span {
  color: #777;
  width: 150px;
  display: block;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.article-nav span img{
  color: #777;
}


.article-nav a {
  color: #222;
  text-align: left;
  flex: 1;
}

.back-list {
  width: 128px;
  height: 49px;
  margin: 50px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #222;
  font-size: 16px;
  border: 1px solid #CDCDCD;
}

.write-content {
  padding-top: 100px
}

.write-form {
  border-top: 1px solid #222
}

.required-note {
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  color:#222222 ;
  font-size: 14px;

}
 .required-note span{
    display: block;
  color: #F00;
  padding-top: 2px;

  }

.form-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: 59px;
   border-bottom: 1px solid #D4D4D4;
}

.form-row:first-of-type {
  border-top: 0
}
.form-row.border-bt{
  border-bottom: 1px solid #D4D4D4;
background: #FFF;
}
.form-label {
  display: flex;
  align-items: center;
  padding: 0 30px;
  background: #f7f7f7;
  font-size: 16px;
  font-weight: 600
}

.required {
  margin-left: 10px;
  color: #F00;
  padding-top: 3px;
}

.form-field {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 9px 20px
}

.form-field input[type=text],
.form-field input[type=tel],
.form-field input[type=email],
.form-field input[type=password] {
  width: 300px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #cdcdcd;
  font: 400 16px Pretendard, sans-serif;
  outline: none
}

.form-field textarea {
  width: 100%;
  height: 280px;
  padding: 12px;
  border: 1px solid #cdcdcd;
  resize: none;
  font: 400 16px/24px Pretendard, sans-serif;
  outline: none
}

.form-row.message {
  height: 300px
}

.form-row.message .form-field {
  align-items: stretch
}

.file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0)
}

.file-name {
  width: 300px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #cdcdcd;
  background: #fff;
  color: #acacac
}

.file-select {
  width: 120px;
  height: 40px;
  display: grid;
  place-items: center;
 background: #EDEDED;
  color: #222;
  cursor: pointer
}

.consent-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 40px 0;
}

.consent-line {
  display: flex;
  align-items: center;
  gap: 10px
}

.consent-line input {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    margin: 0;
    border: 1px solid #777;
    border-radius: 3px;
    background: #fff;
    cursor: pointer;
    position: relative;
      accent-color: #0067b0;
  border: 1px solid #777;
  margin-right: 5px;
}


.consent-line input:checked {
    background: #0067b0;
    border-color: #0067b0;
}

.consent-line input:checked::after {
    content: '';
    position: absolute;
    width: 5px;
    height: 9px;
    left: 5px;
    top: 1px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.privacy-open {
  padding: 0;
  border: 0;
  background: transparent;
  color: #777;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.privacy-open::after {
  content: '›';
  display: inline-block;
  margin-left: 5px;
  color: #777;
  font-size: 22px;
  vertical-align: -1px;
  transform: translateY(-1px);
  -webkit-transform: translateY(-1px);
  -moz-transform: translateY(-1px);
  -ms-transform: translateY(-1px);
  -o-transform: translateY(-1px);
}

.submit-button {
  width: 156px;
  height: 49px;
  display: block;
  margin: 0 auto;
  background: #fff;
  color: #222;
  font-size: 16px;
  cursor: pointer;
  border: 1px solid #CDCDCD;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, .45)
}

.modal-overlay.is-open {
  display: flex
}

.modal-panel {
  position: relative;
  width: 421px;
  background: #fff
}

.privacy-modal {
  min-height: 379px;
  padding: 20px 20px 50px
}

.privacy-head {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  padding-bottom: 20px;
  border-bottom: 1px solid #cdcdcd
}

.privacy-head h2 {
  width: 100%;
  margin: 0;
  color: #222;
  font-size: 20px;
  font-weight: 600;
  text-align: center
}

.modal-close {
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer
}

.modal-close img {
  display: block;
  width: 24px;
  height: 24px
}

.privacy-copy {
  padding-top: 30px;
  color: #777;
  font-size: 16px;
  line-height: 20px
}

.privacy-copy p {
  margin: 0 0 20px
}

.privacy-copy ul {
  margin: 0;
  padding-left: 10px;
}
.privacy-copy ul li {
  position: relative;
  padding-left: 10px;
}
.privacy-copy ul li:after {
  content: "";
  position: absolute;
  width: 3px;
  height: 3px;
  background-color: #777;
  top: 10px;
  left: 0;

}

.password-modal {
  width: 421px;
  min-height: 267px;
  padding: 20px 20px 30px
}

.password-modal .modal-close {
  display: block;
  margin-left: auto
}

.password-message {
  margin: 10px 0 30px;
  color: #222;
  font-size: 20px;
  font-weight: 600;
  line-height: 24px;
  text-align: center
}

.password-field label {
  display: block;
  margin-bottom: 10px;
  color: #222;
  font-size: 16px;
  text-align: center;
}

.password-field input {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #cdcdcd;
  font: 400 16px Pretendard, sans-serif;
  outline: none
}

.password-error {
  min-height: 20px;
  margin: 6px 0 4px;
  color: #d93636;
  font-size: 13px
}

.modal-actions {
  display: flex;
  gap: 10px
}

.modal-actions button {
  flex: 1;
  height: 40px;
  border-radius: 20px;
  font-size: 16px;
  cursor: pointer
}

.modal-cancel {
  border: 1px solid #cdcdcd;
  background: #fff;
  color: #777
}

.modal-confirm {
  border: 1px solid #0067b0;
  background: #0067b0;
  color: #fff
}

@media(max-width:900px) {
  .community-content {
    width: calc(100% - 40px);
    padding-top: 60px;
    overflow-x: auto
  }

  .board-table {
    min-width: 100%;
  }

  .board-tools {
    min-width: 100%;
  }

  .detail-body {
    padding: 36px 30px
  }

  .detail-image-placeholder {
    width: 100%;
    height: auto;
    aspect-ratio: 800/536
  }

  .form-row {
    grid-template-columns: 150px 1fr
  }

  .write-form {
    min-width: 100%;
  }

  .write-content {
    overflow-x: auto;
  }
  body > main > section.community-content > table > thead > tr > th.col-number,
  body > main > section.community-content > table > thead > tr > th.col-author{
    display: none;
  }
  body > main > section.community-content > table > tbody > tr > td:nth-child(1),
    body > main > section.community-content > table > tbody > tr > td:nth-child(3){
    display: none;
  }
  .board-table .col-date {
  width: 120px;
}
.board-table .col-title{
  text-align: center;
}
body > main > section.community-content.detail-content > ul > li:nth-child(2) > span.date,
body > main > section.community-content.detail-content > ul > li:nth-child(1) > span.date{
  display: none;
}

}
@media (max-width: 768px) {


  .write-content {
    padding-top: 50px;
  }
  .write-form {
    border-top: 1px solid #222;
  }

  .required-note {
    height: 50px;
    font-size: 13px;
    gap: 4px;
  }

  .required-note span {
    padding-top: 1px;
  }

  .form-row {
    display: block;
    min-height: auto;
    border-bottom: 1px solid #d4d4d4;
  }

  .form-row.border-bt {
    border-bottom: 1px solid #d4d4d4;
  }

  .form-label {
    min-height: 45px;
    padding: 0 15px;
    font-size: 14px;
  }

  .required {
    margin-left: 6px;
    padding-top: 2px;
  }

  .form-field {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 0;
  }

  .form-field input[type="text"],
  .form-field input[type="tel"],
  .form-field input[type="email"],
  .form-field input[type="password"] {
    width: 100%;
    height: 42px;
    padding: 0 10px;
    font-size: 14px;
    box-sizing: border-box;
  }
  .form-field input + input {
    margin-left: 0;
  }

  .form-field textarea {
    width: 100%;
    height: 220px;
    padding: 10px;
    font-size: 14px;
    line-height: 22px;
    box-sizing: border-box;
  }

  .form-row.message {
    height: auto;
  }

  .form-row.message .form-field {
    align-items: stretch;
  }
  .file-name {
    flex: 1;
    min-width: 0;
    width: auto;
    height: 42px;
    padding: 0 10px;
    box-sizing: border-box;
    font-size: 14px;
  }

  .file-select {
    flex: 0 0 90px;
    width: 90px;
    height: 42px;
    font-size: 14px;
  }

  .consent-wrap {
    padding: 30px 15px;
  }

  .consent-line {
    gap: 8px;
    font-size: 14px;
  }

  .consent-line input {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
  }

  .privacy-open {
    font-size: 14px;
  }

  .privacy-open::after {
    margin-left: 6px;
    font-size: 20px;
  }

  .submit-button {
    width: 140px;
    height: 46px;
    font-size: 14px;
  }

  /* 모달 */
  .modal-overlay {
    padding: 15px;
  }

  .modal-panel {
    width: 100%;
    max-width: 421px;
    box-sizing: border-box;
  }

  /* 개인정보 모달 */
  .privacy-modal {
    min-height: auto;
    padding: 15px 15px 30px;
  }

  .privacy-head {
    gap: 5px;
    padding-bottom: 15px;
  }

  .privacy-head h2 {
    font-size: 18px;
  }

  .modal-close {
    width: 22px;
    height: 22px;
  }

  .modal-close img {
    width: 22px;
    height: 22px;
  }

  .privacy-copy {
    padding-top: 20px;
    font-size: 14px;
    line-height: 21px;
  }

  .privacy-copy p {
    margin-bottom: 15px;
  }

  .privacy-copy ul {
    padding-left: 20px;
  }

  /* 비밀번호 모달 */
  .password-modal {
    width: 100%;
    min-height: auto;
    padding: 15px 15px 25px;
  }

  .password-message {
    margin: 10px 0 25px;
    font-size: 17px;
    line-height: 22px;
  }

  .password-field label {
    margin-bottom: 8px;
    font-size: 14px;
  }

  .password-field input {
    height: 42px;
    padding: 0 10px;
    font-size: 14px;
    box-sizing: border-box;
  }

  .password-error {
    font-size: 12px;
  }

  .modal-actions {
    gap: 8px;
  }

  .modal-actions button {
    height: 42px;
    border-radius: 21px;
    font-size: 14px;
  }
}