/* service_detail.css */

.main-content {
    flex: 1;
    overflow-y: auto;
    padding-bottom: 140px;
}

/* 히어로 카드 */
.detail-hero-card {
    margin: 20px 20px 0;
    border-radius: 20px;
    background-color: #F5F7FE;
    padding: 32px 24px 28px;
    text-align: center;
}

.detail-hero-img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin: 0 auto 20px;
}

.detail-hero-title {
    font-size: 20px;
    font-weight: 700;
    color: #0F172B;
    margin-bottom: 6px;
    line-height: 1.4;
    word-break: keep-all;
}

.detail-hero-tag {
    font-size: 13px;
    font-weight: 600;
    color: #0A41ED;
    margin-bottom: 14px;
}

.detail-hero-desc {
    font-size: 14px;
    color: #45556C;
    line-height: 1.7;
    word-break: keep-all;
    text-align: left;
}

/* 추천 섹션 */
.detail-section {
    padding: 32px 20px 0;
}

.detail-section-title {
    font-size: 17px;
    font-weight: 700;
    color: #0F172B;
    margin-bottom: 16px;
}

.detail-recommend-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.detail-recommend-list li {
    font-size: 14px;
    color: #45556C;
    line-height: 1.6;
    word-break: keep-all;
}

/* FAQ */
.detail-faq-list {
    display: flex;
    flex-direction: column;
    margin: 0 -20px;
    width: calc(100% + 40px);
}

.detail-faq-item {
    display: flex;
    flex-direction: column;
    padding: 24px 20px;
    border-bottom: 1px solid #F0F0F0;
}

.detail-faq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    text-align: left;
    -webkit-tap-highlight-color: transparent;
}

.detail-faq-question {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 500;
    color: #111;
}

.detail-faq-arrow {
    font-size: 18px;
    color: #999;
    transition: transform 0.2s;
    flex-shrink: 0;
}

.detail-faq-item.active .detail-faq-arrow {
    transform: rotate(180deg);
}

.detail-faq-answer {
    display: none;
    padding-top: 14px;
    margin-top: 14px;
    border-top: 1px solid #F0F0F0;
    font-size: 13px;
    color: #45556C;
    line-height: 1.7;
    word-break: keep-all;
}

.detail-faq-item.active .detail-faq-answer {
    display: block;
}

/* 하단 버튼 영역 */
.detail-btn-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 20px 32px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    gap: 4px;
}