/* 세무정보 페이지 스타일 */

.page-title {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 120px 0;
    color: #fff;
    text-align: center;
    position: relative;
}

.page-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(26,58,109,0.8), rgba(42,82,152,0.8));
}

.page-title .container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-title h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.page-title p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 주요 세무 뉴스 섹션 */
.featured-news {
    padding: 60px 0;
    background: #f8f9fa;
}

.news-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.main-news {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.news-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.main-news:hover .news-image img {
    transform: scale(1.05);
}

.news-image .category {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #2a5298;
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.news-content {
    padding: 30px;
}

.date {
    display: block;
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.main-news h2 {
    font-size: 1.8rem;
    color: #1a3a6d;
    margin-bottom: 15px;
}

.main-news p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.read-more {
    color: #2a5298;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.read-more i {
    transition: transform 0.3s ease;
}

.read-more:hover i {
    transform: translateX(5px);
}

.sub-news {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sub-news .news-item {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.sub-news .category {
    display: inline-block;
    padding: 6px 12px;
    background: #f0f4ff;
    color: #2a5298;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.sub-news h3 {
    font-size: 1.3rem;
    color: #1a3a6d;
    margin-bottom: 10px;
}

.sub-news p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* 필터 섹션 */
.news-filter {
    padding: 40px 0;
    background: #fff;
    border-bottom: 1px solid #eee;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 24px;
    border: 1px solid #ddd;
    border-radius: 30px;
    background: #fff;
    color: #666;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: #2a5298;
    color: #fff;
    border-color: #2a5298;
}

/* 뉴스 리스트 섹션 */
.news-list {
    padding: 60px 0;
}

.news-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.news-items .news-item {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.news-items .news-item:hover {
    transform: translateY(-5px);
}

.news-items .news-content {
    padding: 30px;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.news-more {
    text-align: center;
    margin-top: 40px;
}

.more-button {
    padding: 15px 40px;
    background: transparent;
    border: 2px solid #2a5298;
    border-radius: 30px;
    color: #2a5298;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.more-button:hover {
    background: #2a5298;
    color: #fff;
}

/* 세무일정 섹션 */
.tax-calendar {
    padding: 80px 0;
    background: #f8f9fa;
}

.tax-calendar h2 {
    text-align: center;
    font-size: 2rem;
    color: #1a3a6d;
    margin-bottom: 40px;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.calendar-item {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.date-box {
    background: #2a5298;
    color: #fff;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    min-width: 80px;
}

.month {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.day {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
}

.calendar-content h3 {
    font-size: 1.2rem;
    color: #1a3a6d;
    margin-bottom: 5px;
}

.calendar-content p {
    color: #666;
    font-size: 0.95rem;
}

@media (max-width: 1024px) {
    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-image {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .page-title {
        padding: 80px 0;
    }

    .page-title h1 {
        font-size: 2.2rem;
    }

    .page-title p {
        font-size: 1.1rem;
    }

    .main-news h2 {
        font-size: 1.5rem;
    }

    .filter-buttons {
        gap: 10px;
    }

    .filter-btn {
        padding: 10px 20px;
        font-size: 1rem;
    }

    .news-items {
        grid-template-columns: 1fr;
    }

    .calendar-item {
        flex-direction: column;
        text-align: center;
    }

    .date-box {
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .news-content {
        padding: 20px;
    }

    .main-news h2 {
        font-size: 1.3rem;
    }

    .sub-news h3 {
        font-size: 1.2rem;
    }

    .tax-calendar h2 {
        font-size: 1.8rem;
    }

    .month {
        font-size: 1rem;
    }

    .day {
        font-size: 1.6rem;
    }
}

/* 뉴스 상세보기 스타일 */
.news-view {
    padding: 60px 0;
    background: #fff;
}

.news-view .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 게시글 헤더 */
.post-header {
    padding-bottom: 30px;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 40px;
}

.category-tag {
    display: inline-block;
    padding: 6px 15px;
    background: #2a5298;
    color: #fff;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.post-title {
    font-size: 2.2rem;
    color: #1a3a6d;
    margin-bottom: 25px;
    line-height: 1.4;
}

.post-info {
    display: flex;
    gap: 20px;
    color: #666;
}

.post-info span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.post-info i {
    color: #2a5298;
}

/* 게시글 내용 */
.post-content {
    line-height: 1.8;
    color: #333;
}

.content-summary {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 40px;
    font-size: 1.1rem;
    color: #1a3a6d;
    line-height: 1.6;
}

.content-body {
    margin-bottom: 40px;
}

.content-body h3 {
    font-size: 1.5rem;
    color: #1a3a6d;
    margin: 40px 0 20px;
}

.content-body h4 {
    font-size: 1.2rem;
    color: #2a5298;
    margin: 30px 0 15px;
}

.content-body p {
    margin-bottom: 20px;
}

.content-body ul {
    margin: 20px 0;
    padding-left: 20px;
}

.content-body li {
    margin-bottom: 10px;
    position: relative;
}

/* 정보 테이블 */
.info-table {
    margin: 20px 0;
    overflow-x: auto;
}

.info-table table {
    width: 100%;
    border-collapse: collapse;
    border-top: 2px solid #1a3a6d;
}

.info-table th,
.info-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.info-table th {
    background: #f8f9fa;
    color: #1a3a6d;
    font-weight: 500;
}

.info-table td {
    color: #495057;
}

/* 하이라이트 박스 */
.highlight-box {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    margin: 30px 0;
    border-left: 4px solid #2a5298;
}

.highlight-box h4 {
    margin-top: 0;
    color: #1a3a6d;
}

.highlight-box ul {
    padding-left: 20px;
    margin: 15px 0 0;
}

.highlight-box li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 15px;
}

.highlight-box li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #2a5298;
}

/* 첨부파일 */
.attachments {
    margin-top: 40px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 10px;
}

.attachments h3 {
    font-size: 1.1rem;
    color: #1a3a6d;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.attachments li a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #495057;
    text-decoration: none;
    padding: 10px 0;
}

.attachments li a:hover {
    color: #2a5298;
}

.file-size {
    color: #868e96;
    font-size: 0.9rem;
}

/* 이전/다음 글 네비게이션 */
.post-navigation {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
    margin: 40px 0;
}

.prev-post,
.next-post {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 25px;
    text-decoration: none;
    color: #495057;
    width: 50%;
    transition: background-color 0.3s ease;
}

.prev-post:hover,
.next-post:hover {
    background-color: #f8f9fa;
}

.nav-content {
    display: flex;
    flex-direction: column;
}

.nav-content .label {
    font-size: 0.9rem;
    color: #868e96;
    margin-bottom: 5px;
}

.nav-content .title {
    color: #1a3a6d;
    font-weight: 500;
}

/* 버튼 영역 */
.post-buttons {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.list-button {
    display: inline-flex;
    align-items: center;
    padding: 12px 30px;
    background: #2a5298;
    color: #fff !important;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.list-button:hover {
    background: #1a3a6d;
}

/* 반응형 스타일 */
@media (max-width: 768px) {
    .news-view {
        padding: 40px 0;
    }

    .post-title {
        font-size: 1.8rem;
    }

    .post-info {
        flex-direction: column;
        gap: 10px;
    }

    .info-table {
        margin: 15px -20px;
        width: calc(100% + 40px);
    }

    .info-table table {
        font-size: 0.9rem;
    }

    .post-navigation {
        flex-direction: column;
    }

    .prev-post,
    .next-post {
        width: 100%;
    }

    .prev-post {
        border-bottom: 1px solid #e9ecef;
    }
}

@media (max-width: 480px) {
    .post-title {
        font-size: 1.5rem;
    }

    .content-summary {
        padding: 20px;
        font-size: 1rem;
    }

    .content-body h3 {
        font-size: 1.3rem;
    }

    .content-body h4 {
        font-size: 1.1rem;
    }

    .attachments {
        padding: 20px;
    }
} 
