/* 簡章下載頁、報名專區的下載文件（include/signup_documents，2026-11-09 示意圖 v2） */
.sd-group { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; width: 100%; padding: 28px 24px 32px; text-align: left; }
.sd-side { display: flex; flex-direction: column; align-items: center; gap: 18px; align-self: start; }
.sd-title { margin: 0; font-size: 1.8em; font-weight: 700; line-height: 1.3; color: #000; text-align: center; }
.sd-title small { display: block; font-size: .5em; font-weight: 500; }
.sd-brochure { display: flex; align-items: center; justify-content: center; gap: 10px; min-width: 180px; min-height: 56px; padding: 8px 20px;
    border-radius: 100px; background: linear-gradient(to right, #baf2d1 0%, #9aeff3 100%); color: #000 !important; font-weight: 700; text-decoration: none !important; }
.sd-brochure::before { content: ""; flex: 0 0 30px; width: 30px; height: 30px; background: url("../../images/svg/icon_download_1.svg") no-repeat center / contain; }
.sd-brochure:hover, .sd-brochure:focus { box-shadow: 8px 8px 15px 1px rgba(0, 0, 0, .15); }
.sd-brochure:focus-visible { outline: 3px solid #005ea8; outline-offset: 3px; }

.sd-list { min-width: 0; }
.sd-cat { margin: 0 0 24px; }
.sd-cat-title { display: flex; align-items: center; gap: 8px; margin: 0; padding: 0 0 10px; border-bottom: 1px solid #d9d9d9; font-size: 1.05em; font-weight: 700; line-height: 1.5; color: #000; }
.sd-cat-text { flex: 1 1 auto; min-width: 0; }
.sd-cat-title::before { content: ""; flex: 0 0 20px; width: 20px; height: 16px; border-radius: 2px;
    background: linear-gradient(#f2c14e, #f2c14e) 0 0 / 9px 4px no-repeat, linear-gradient(#f7cf62, #f7cf62) 0 3px / 20px 13px no-repeat; }

/* 報名專區：每一類可收合（原生 details，鍵盤與報讀軟體可用） */
details.sd-cat { margin: 0 0 4px; }
details.sd-cat > summary { list-style: none; cursor: pointer; }
details.sd-cat > summary .sd-cat-title { padding: 10px 6px; }
details.sd-cat > summary::-webkit-details-marker { display: none; }
details.sd-cat > summary:hover .sd-cat-title { background: #f3fbf7; }
details.sd-cat > summary:focus-visible { outline: 3px solid #005ea8; outline-offset: 2px; }
.sd-toggle { flex: 0 0 auto; font-size: .85em; color: #1f5e49; white-space: nowrap; }
.sd-toggle::after { content: "展開 ▼"; }
details[open] > summary .sd-toggle::after { content: "收合 ▲"; }

.sd-items { margin: 0; padding: 0; list-style: none; }
.sd-item { display: grid; grid-template-columns: minmax(0, 1fr) 240px; align-items: center; gap: 4px 16px; margin: 0; padding: 11px 10px; border-bottom: 1px dashed #d9d9d9; }
.sd-name { font-size: .95em; line-height: 1.5; color: #000; overflow-wrap: anywhere; }
.sd-formats { display: flex; flex-wrap: wrap; align-items: center; }
.sd-formats a { min-width: 52px; padding: 4px 6px; border-radius: 4px; color: #005ea8 !important; font-weight: 700; text-align: center; text-decoration: none; }
.sd-formats a:hover { text-decoration: underline; text-underline-offset: 3px; }
.sd-formats a:focus-visible { outline: 2px solid #005ea8; outline-offset: 1px; }
.sd-sep { color: #bbb; }

@media (max-width: 767px) {
    .sd-group { grid-template-columns: 1fr; gap: 18px; padding: 20px 14px 26px; }
    .sd-item { grid-template-columns: 1fr; }
    .sd-formats { margin-left: -6px; }
    details.sd-cat > summary .sd-cat-title { align-items: flex-start; }
}
.sd-box { width: 100%; margin-bottom: 28px; }
