/* 실무 가이드 페이지 스타일 */

.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: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

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

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

.guide-filter {
    padding: 40px 0;
    background: #f8f9fa;
}

.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;
}

.guide-grid {
    padding: 60px 0;
}

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

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

.guide-card:hover {
    transform: translateY(-5px);
}

.guide-icon {
    width: 60px;
    height: 60px;
    background: #f0f4ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px;
}

.guide-icon i {
    font-size: 24px;
    color: #2a5298;
}

.guide-content {
    padding: 0 30px 30px;
}

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

.guide-content h3 {
    font-size: 1.4rem;
    color: #1a3a6d;
    margin-bottom: 15px;
}

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

.guide-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.guide-list li {
    padding: 8px 0;
    color: #444;
    position: relative;
    padding-left: 20px;
}

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

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

.update-date {
    color: #888;
    font-size: 0.9rem;
}

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

.view-guide i {
    transition: transform 0.3s ease;
}

.view-guide:hover i {
    transform: translateX(5px);
}

.guide-more {
    text-align: center;
    margin-top: 140px;
}

.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;
}

.popular-guides {
    background: #f8f9fa;
    padding: 80px 0;
}

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

.popular-list {
    max-width: 800px;
    margin: 0 auto;
}

.popular-item {
    display: flex;
    align-items: center;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    margin-bottom: 15px;
    text-decoration: none;
    color: #333;
    transition: transform 0.3s ease;
}

.popular-item:hover {
    transform: translateX(10px);
}

.rank {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2a5298;
    margin-right: 20px;
    min-width: 50px;
}

.title {
    flex: 1;
    font-size: 1.1rem;
}

.popular-item i {
    color: #2a5298;
    opacity: 0;
    transition: all 0.3s ease;
}

.popular-item:hover i {
    opacity: 1;
    transform: translateX(5px);
}

@media (max-width: 1024px) {
    .guides-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

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

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

    .guides-wrapper {
        grid-template-columns: 1fr;
    }

    .filter-buttons {
        gap: 10px;
    }

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

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

    .popular-guides h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .guide-icon {
        width: 50px;
        height: 50px;
        margin: 20px;
    }

    .guide-icon i {
        font-size: 20px;
    }

    .guide-content {
        padding: 0 20px 20px;
    }

    .guide-content h3 {
        font-size: 1.2rem;
    }

    .description {
        font-size: 0.95rem;
    }

    .guide-list li {
        font-size: 0.95rem;
    }

    .rank {
        font-size: 1.5rem;
        min-width: 40px;
    }

    .title {
        font-size: 1rem;
    }
}

/* 가이드 상세 보기 스타일 */
.guide-view {
    padding: 60px 0;
    background: #fff;
}

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

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

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

.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-details {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 500;
    color: #1a3a6d;
}

.author-position {
    color: #666;
    font-size: 0.9rem;
}

.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,
.content-body ol {
    margin: 20px 0;
    padding-left: 20px;
}

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

.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;
}

/* 태그 */
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e9ecef;
}

.tag {
    display: inline-block;
    padding: 5px 12px;
    background: #f1f3f5;
    color: #2a5298;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.tag:hover {
    background: #e9ecef;
}

/* 이전/다음 글 네비게이션 */
.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;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

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

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

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

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

    .guide-view {
        padding: 40px 0;
    }

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

    .post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .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;
    }

    .author-info {
        flex-wrap: wrap;
    }

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

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

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

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