/* ==========================================================================
   Cross Notice File - 첨부파일 목록
   사이트별 포인트색 변경: .cnf-attach { --cnf-accent: #원하는색; }
   ========================================================================== */
.cnf-attach {
  --cnf-accent: #555;
  margin: 0 0 40px;
  text-align: left;
}
.cnf-attach__item {
  display: flex;
  align-items: center;
  margin: 0 0 8px;
  padding: 20px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .125);
  border-radius: 4px;
}
.cnf-attach__icon {
  flex: 0 0 48px;
  margin-right: 16px;
  line-height: 0;
}
.cnf-attach__svg {
  display: block;
  width: 48px;
  height: 48px;
}
.cnf-attach__info {
  flex: 1 1 auto;
  min-width: 0;
}
.cnf-attach .cnf-attach__name {
  display: block;
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
  color: #444;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.cnf-attach__size {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.4;
  color: #6c757d;
}
.cnf-attach__size svg {
  flex: 0 0 auto;
}
.cnf-attach .cnf-attach__btn,
.cnf-attach .cnf-attach__btn:visited {
  flex: 0 0 auto;
  display: inline-block;
  margin-left: 16px;
  padding: 10px 25px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  color: #fff;
  background: #000;
  border: 0;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color .2s;
}
.cnf-attach .cnf-attach__btn:hover,
.cnf-attach .cnf-attach__btn:focus {
  color: #fff;
  background: var(--cnf-accent);
}

@media (max-width: 690px) {
  .cnf-attach {
    margin-bottom: 28px;
  }
  .cnf-attach__item {
    margin-bottom: 6px;
    padding: 12px;
  }
  .cnf-attach__icon {
    flex-basis: 32px;
    margin-right: 10px;
  }
  .cnf-attach__svg {
    width: 32px;
    height: 32px;
  }
  .cnf-attach .cnf-attach__name {
    font-size: 14px;
    line-height: 1.4;
  }
  .cnf-attach__size {
    margin-top: 2px;
    font-size: 11px;
  }
  .cnf-attach__size svg {
    width: 11px;
    height: 11px;
  }
  .cnf-attach .cnf-attach__btn {
    margin-left: 10px;
    padding: 6px 12px;
    font-size: 12px;
  }
}
