/* 학원소식 페이지 스타일 */
.news-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    background-color: #fff;
}

/* 상단 타이틀 */
.news-title {
    text-align: center;
    margin-bottom: 2rem;
}

.news-title h1 {
    font-size: 42px;
    font-weight: 400;
    color: #111;
    margin: 0;
}

/* 본문 콘텐츠 영역 */
.news-content {
    width: 100%;
}

/* 상단 Bar - 제목 + 버튼 */
.news-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.blog-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffb400;
    margin: 0;
}

.blog-link-btn {
    background-color: #ffb400;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-link-btn:hover {
    background-color: #e6a200;
    transform: translateY(-1px);
}

/* 블로그 리스트 */
.blog-list {
    margin-top: 1.5rem;
}

.news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.news-list li {
    margin-bottom: 1.4rem;
    position: relative;
    padding-left: 1.2rem;
    display: flex;
    align-items: center;
}

.news-list li::before {
    content: "■";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #ffb400;
    font-size: 8px;
}

.news-list li a {
    color: #333;
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1.5;
    font-weight: 400;
    transition: color 0.3s ease;
}

.news-list li a:hover {
    color: #ffb400;
    text-decoration: underline;
}

/* 새로고침 버튼 */
.refresh-section {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.refresh-btn {
    background-color: #345f53;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.refresh-btn:hover {
    background-color: #2a4d43;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(52, 95, 83, 0.3);
}

.refresh-btn:active {
    transform: translateY(0);
}

/* 반응형 - 태블릿 */
@media (max-width: 1024px) {
    .news-page {
        padding: 1.5rem 1rem;
    }
    
    .news-title h1 {
        font-size: 36px;
    }
    
    .blog-title {
        font-size: 1rem;
    }
    
    .blog-link-btn {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }
}

/* 반응형 - 모바일 */
@media (max-width: 768px) {
    .news-page {
        padding: 1rem;
    }
    
    .news-title h1 {
        font-size: 28px;
    }
    
    .blog-title {
        font-size: 1rem;
    }
    
    .blog-link-btn {
        align-self: flex-start;
        font-size: 0.85rem;
    }
    
    .news-list li {
        margin-bottom: 1.2rem;
    }
    
    .news-list li a {
        font-size: 0.9rem;
    }
}

/* 반응형 - 작은 모바일 */
@media (max-width: 480px) {
    .news-page {
        padding: 0.75rem;
    }

    .news-title h1 {
        font-size: 24px;
    }

    .blog-title {
        font-size: 0.95rem;
    }

    .blog-link-btn {
        font-size: 0.8rem;
        padding: 0.35rem 0.7rem;
    }

    .news-list li {
        margin-bottom: 1rem;
        padding-left: 1rem;
    }

    .news-list li::before {
        font-size: 0.7rem;
    }

    .news-list li a {
        font-size: 0.85rem;
        line-height: 1.4;
    }
}

/* 반응형 - 아주 작은 모바일 (375px 이하) */
@media (max-width: 375px) {
    .blog-title {
        font-size: 1.2rem;
    }

    .news-list li::before {
        font-size: 6px;
    }

    .news-list li a {
        display: block;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }
} 