/* ============================================================
 * 상세 페이지
 * ============================================================ */

/* 공통 레이아웃 */
.detail-page {
    font-family: 'Noto Sans KR', sans-serif;
    color: #222;
    line-height: 1.6;
    font-size: 1.05rem;
}
.center {
    max-width: 100%;
    margin: 0 auto;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 50px;
}
.center.wide {
    max-width: 100%;
}

/* 제목 / 메타 정보 */
.hero-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
    margin-top: 100px;
}
.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    text-align: center;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
}
.meta {
    display: flex;
    justify-content: center;
    gap: 8px;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
}
.meta-dot {
    color: #aaa;
}
.meta-break {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

/* 공유 버튼 */
.share {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}
.share-btn {
    width: 32px;
    height: 32px;
    border: 1px solid #ccc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #555;
    font-size: 14px;
    background: #fff;
    text-decoration: none !important;
    transition: all 0.2s ease;
}
.share-btn:hover {
    background: #f5f5f5;
    text-decoration: none !important;
}

/* 히어로 미디어 */
.hero-media {
    display: flex;
    justify-content: center;
    margin: 20px 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}
.hero-media img {
    width: 100%;
    max-height: 730px;
    height: auto;
    border-radius: 6px;
    display: block;
    object-fit: cover;
}

/* 본문 */
.p {
    margin-bottom: 15px;
    color: #333;
    white-space: pre-line;
}

/* ============================================================
 * 하단 액션 버튼
 * ============================================================ */
.detail-actions {
    max-width: 700px;
    margin: 60px auto 80px;
    padding: 0 20px;
}

.btn-apply {
    display: flex;
    align-items: center;
    justify-content: center; /* space-between → center 변경 */
    gap: 12px; /* 텍스트와 아이콘 사이 간격 추가 */
    width: 100%;
    padding: 28px 36px;
    background: #f8f7fc;
    border: 1px solid #e5e3f0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.btn-apply:hover {
    background: #f0eef8;
    border-color: #7c5fd9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(124, 95, 217, 0.15);
    text-decoration: none !important;
}

.btn-apply-text {
    font-size: 1.15rem;
    font-weight: 600;
    color: #7c5fd9;
    letter-spacing: -0.3px;
}

.btn-apply-icon {
    font-size: 1.3rem;
    color: #7c5fd9;
    transition: transform 0.3s ease;
}

.btn-apply:hover .btn-apply-icon {
    transform: translateX(4px);
}

/* 반응형 */
@media (max-width: 768px) {
    .detail-actions {
        margin: 40px auto 60px;
        padding: 0 15px;
    }

    .btn-apply {
        padding: 24px 28px;
    }

    .btn-apply-text {
        font-size: 1rem;
    }

    .btn-apply-icon {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .btn-apply {
        padding: 20px 24px;
    }

    .btn-apply-text {
        font-size: 0.95rem;
    }
}