/* 義工申請表 · 年齡 / 專長分組 */

/* 年齡：與性別同為橫向單選，四項可換行 */
.volunteers form .form-group .radiolist {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 40px;
}

.volunteers form .form-group .radiolist .radiobox-inline {
    margin-right: 0 !important;
    margin-top: 0 !important;
}

/* 專長整塊 */
.volunteers .vol-interest-group {
    flex-wrap: wrap;
    align-items: flex-start;
}

.volunteers .vol-interest-group > label.fs22 {
    width: 100%;
    margin-bottom: 12px;
}

.volunteers .vol-interest-panel {
    width: 100%;
    background: #fff;
    border-radius: 20px;
    border: 1px solid #D4D9D2;
    box-shadow: 0 8px 24px -12px rgba(0, 20, 30, 0.12);
    padding: 28px 28px 32px;
}

.volunteers .vol-interest-subhead {
    color: #7B7B7B;
    margin: 0 0 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid #E6EDF4;
    font-weight: 400;
    line-height: 1.5;
}

.volunteers .vol-section {
    margin-top: 28px;
}

.volunteers .vol-section:first-of-type {
    margin-top: 0;
}

.volunteers .vol-section-head {
    margin-bottom: 14px;
}

.volunteers .vol-section-title {
    display: block;
    font-weight: 600;
    color: #1b3b4a;
    background: #eef5fa;
    padding: 10px 18px;
    border-radius: 40px;
    letter-spacing: 0.3px;
    line-height: 1.4;
}

.volunteers .vol-section-desc {
    margin: 10px 4px 0;
    padding: 0 14px;
    color: #3c6375;
    line-height: 1.6;
    font-weight: 400;
}

/* 專長選項：閱讀語言同款 n_checkbox，改為縱向滿寬 */
.volunteers .vol-interest-panel .radiolist {
    width: 100% !important;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 10px;
}

.volunteers .vol-interest-panel .radiolist .radiobox-inline {
    width: 100% !important;
    margin: 0 !important;
    border: none !important;
    padding: 0 !important;
}

.volunteers .vol-interest-panel .radiolist .radiobox-inline .radiobox {
    align-items: flex-start;
    width: 100%;
}

.volunteers .vol-interest-panel .radiolist .radiobox-inline .radiobox .radiomark {
    top: 6px;
    margin-top: 0;
    flex-shrink: 0;
}

.volunteers .vol-interest-panel .radiolist .radiobox-inline .radiobox.n_checkbox .radiomark {
    margin-right: 0;
}

.volunteers .vol-interest-panel .radiolist .radiobox-inline .radiobox .bzbox {
    height: auto !important;
    min-height: 22px;
    padding-left: 30px;
    color: #000;
    text-align: left;
    align-items: flex-start;
}

.volunteers .vol-interest-panel .radiolist .radiobox-inline .radiobox .bzbox span {
    white-space: normal;
    line-height: 1.55;
    display: block;
}

.volunteers .vol-micro-note {
    color: #3c6375;
    background: #ecf3f8;
    padding: 8px 18px;
    border-radius: 30px;
    display: inline-block;
    margin-top: 10px;
    line-height: 1.5;
}

.volunteers .vol-other-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 16px;
    background: #f8fbfd;
    padding: 14px 18px;
    border-radius: 24px;
}

.volunteers .vol-other-row label {
    width: auto !important;
    padding-left: 0 !important;
    margin: 0;
    font-weight: 500;
    color: #1b3b4a;
}

.volunteers .vol-other-row .form-control,
.volunteers .vol-other-row input[type="text"] {
    flex: 1;
    min-width: 180px;
    width: auto !important;
    margin-top: 0 !important;
    border: 1px solid #D4D9D2;
    border-radius: 40px;
    padding: 10px 18px;
    background: #fff;
    outline: none;
    transition: 0.2s;
}

.volunteers .vol-other-row .form-control:focus,
.volunteers .vol-other-row input[type="text"]:focus {
    border-color: #009640;
    box-shadow: 0 0 0 3px rgba(0, 150, 64, 0.15);
}

@media (max-width: 991px) {
    .volunteers form .form-group .radiolist {
        width: 100%;
        margin-top: 10px;
        gap: 10px 24px;
    }

    .volunteers .vol-interest-panel {
        padding: 20px 16px 24px;
    }

    .volunteers .vol-section-title {
        padding: 8px 14px;
        border-radius: 20px;
    }

    .volunteers .vol-section-desc {
        padding: 0 6px;
    }

    .volunteers .vol-other-row {
        flex-direction: column;
        align-items: stretch;
    }
}
