/* 보험AI뉴스 RSS 피드 스타일 */
rss {
    display: block;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Pretendard', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

/* 채널 정보 스타일 */
channel {
    display: block;
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

channel > title {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: #1e40af;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 3px solid #1e40af;
}

channel > description {
    display: block;
    font-size: 18px;
    color: #4b5563;
    margin-bottom: 20px;
    line-height: 1.6;
}

channel > link {
    display: block;
    color: #3b82f6;
    text-decoration: none;
    font-size: 16px;
    margin-bottom: 10px;
}

channel > link:hover {
    text-decoration: underline;
}

channel > lastBuildDate {
    display: block;
    color: #9ca3af;
    font-size: 14px;
    margin-top: 15px;
}

channel > lastBuildDate::before {
    content: "🕐 최종 업데이트: ";
    font-weight: 600;
}

/* 각 기사 아이템 스타일 */
item {
    display: block;
    background: white;
    margin-bottom: 20px;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border-left: 4px solid #1e40af;
}

item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    border-left-color: #3b82f6;
}

item > title {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 12px;
    line-height: 1.4;
}

item > link {
    display: block;
    color: #3b82f6;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 15px;
    font-weight: 500;
}

item > link:hover {
    text-decoration: underline;
    color: #1e40af;
}

item > link::before {
    content: "🔗 ";
}

item > description {
    display: block;
    color: #4b5563;
    margin: 15px 0;
    line-height: 1.7;
    font-size: 15px;
}

item > pubDate {
    display: inline-block;
    color: #6b7280;
    font-size: 14px;
    margin-right: 15px;
}

item > pubDate::before {
    content: "📅 ";
}

/* 작성자 정보 */
item > *[name="dc:creator"],
item > creator {
    display: inline-block;
    background: #dbeafe;
    color: #1e40af;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    margin-right: 10px;
}

item > *[name="dc:creator"]::before,
item > creator::before {
    content: "✍️ ";
}

/* 카테고리 뱃지 */
item > category {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    margin-left: 5px;
}

item > category::before {
    content: "📂 ";
}

/* 이미지 스타일 */
item img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 15px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* GUID 숨김 */
item > guid {
    display: none;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    rss {
        padding: 10px;
    }
    
    channel {
        padding: 20px;
    }
    
    channel > title {
        font-size: 24px;
    }
    
    channel > description {
        font-size: 16px;
    }
    
    item {
        padding: 20px;
        margin-bottom: 15px;
    }
    
    item > title {
        font-size: 18px;
    }
    
    item > description {
        font-size: 14px;
    }
}

/* 스크롤바 스타일 */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b3fa0 100%);
}

