/* 큐레이션 페이지 전용 스타일 */
.curation-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 5px; /* 좌우 여백 축소 */
    font-family: 'Pretendard', 'Apple SD Gothic Neo', sans-serif;
    color: #333;
    line-height: 1.6;
}

/* 상단 헤더 */
.curation-header {
    text-align: center;
    margin-bottom: 50px;
}
.curation-title {
    font-size: 28px; /* 36px에서 28px로 축소 */
    font-weight: 800;
    color: #111;
    margin-bottom: 15px;
    word-break: keep-all;
}
.curation-meta {
    font-size: 14px;
    color: #888;
}
.curation-meta span { margin: 0 10px; }

/* 도입부 인트로 */
.curation-intro { margin-bottom: 50px; }
.intro-card {
    background: #f9f9f9;
    border-radius: 12px;
    padding: 30px;
    position: relative;
    border-left: 5px solid #007bff;
}
.quote-icon {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 24px;
    color: #007bff;
    opacity: 0.2;
}
.intro-content {
    font-size: 17px;
    color: #555;
    line-height: 1.8;
}

/* AI 기사 본문 스타일 (소제목 바 배경 강제 적용) */
.ai-body h3 {
    background: #f1f3f5 !important;
    padding: 12px 20px !important;
    border-radius: 6px !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #222 !important;
    margin: 40px 0 20px 0 !important;
    border-left: 5px solid #495057 !important;
    display: block !important;
}
.ai-body p {
    margin-bottom: 15px !important;
    text-align: left !important; /* 양끝 정렬에서 일반 왼쪽 정렬로 변경 */
}
.ai-body strong {
    color: #111 !important; /* 빨간색에서 검정색으로 수정 */
    font-weight: 700 !important;
}

/* 대회 정보 리스트 (3열 그리드 강제 적용) */
.section-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid #333;
}
.items-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 25px !important;
}

.item-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}
.item-card:hover { transform: translateY(-5px); }

.item-thumb img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.item-info { padding: 20px; }
.item-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.genre-tag {
    font-size: 12px;
    background: #e7f1ff;
    color: #007bff;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 600;
}
.dday-badge {
    font-size: 12px;
    font-weight: 700;
    color: #888;
}
.dday-badge.urgent { color: #d9534f; }

.item-subject {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
    height: 2.8em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.item-subject a { color: #222; text-decoration: none; }

.item-details p {
    font-size: 13px;
    color: #666;
    margin-bottom: 5px;
}

.item-comment {
    background: #fffef0;
    padding: 15px;
    border-top: 1px dashed #ddd;
}
.comment-label {
    font-size: 11px;
    color: #999;
    font-weight: 600;
    margin-bottom: 5px;
}
.comment-body {
    font-size: 13px;
    color: #555;
    line-height: 1.5;
}

/* 푸터 하단 버튼 */
.curation-footer {
    text-align: center;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}
.btn-home, .btn-back {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    margin: 0 5px;
    cursor: pointer;
    border: none;
}
.btn-home { background: #333; color: #fff; }
.btn-back { background: #eee; color: #666; }

/* 모바일 대응 */
@media (max-width: 768px) {
    .curation-container { 
        padding: 20px 5px !important; /* 모바일 여백 최소화 */
        margin: 0 !important; 
    }
    .curation-title { font-size: 22px; } /* 모바일 제목도 비례해서 축소 */
    .items-grid { grid-template-columns: 1fr !important; }
    .ai-body p { padding: 0; }
}
