/* 공지 본문 다음에 첨부별 파일명과 조작 버튼을 배치한다. */
.notice-attachments{display:flex;margin:28px 0;border-block:1px solid #cdd6de;color:#172d53}
.notice-attachments h4{display:flex;align-items:center;flex:0 0 15%;margin:0;padding:14px 18px;background:#f5f7fa;font-size:16px}
.notice-attachments ul{flex:1;min-width:0;margin:0;padding:0;list-style:none}
.notice-attachments li{display:flex;align-items:center;gap:10px;padding:12px 16px}
.notice-attachments li+li{border-top:1px solid #e4e9ef}
.notice-filename{font-size:18px;overflow-wrap:anywhere;line-height:1.5}
.notice-file-actions{display:flex;flex:none;flex-wrap:wrap;justify-content:flex-end;gap:6px;margin-inline-start:auto}
.notice-file-actions a{display:inline-flex;align-items:center;gap:4px;padding:5px 8px;border:1px solid #b2bdc9;background:white;color:#172d53;text-decoration:none;font-size:16px}
.notice-file-actions svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6}
@media(max-width:700px){.notice-attachments{display:block}.notice-attachments li{display:grid;grid-template-columns:auto 1fr}.notice-file-actions{grid-column:2}.notice-file-actions a{min-height:40px;box-sizing:border-box}}


.notice-attachments{display:block;padding:clamp(14px,2vw,24px);border:1px solid #d9dfe5;border-radius:10px;background:#f7f8fa}
.notice-attachments h4{padding:0 0 14px;background:transparent}
.notice-attachments li{position:relative;min-height:52px;box-sizing:border-box;border:1px solid #d9dfe5;border-radius:6px;background:white}
.notice-attachments li+li{margin-top:8px}
.notice-attachments .download-only a::after{content:'';position:absolute;inset:0;border-radius:6px}
.notice-attachments .download-only:is(:hover,:focus-within){border-color:#526d99;background:#eef2f8}
.notice-attachments .notice-type-icon{width:25px;height:24px;object-fit:contain;flex:none}
