.elementor-6523 .elementor-element.elementor-element-33d305a{--display:flex;}/* Start custom CSS for shortcode, class: .elementor-element-cca462f */.container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 60px;
        }
        
        .container-narrow {
            max-width: 800px;
            margin: 0 auto;
            padding: 0 60px;
        }
        
        /* 포스트 헤더 */
        .post-header {
            padding: 120px 0 80px;
            background: linear-gradient(to bottom, #f8f8f8 0%, #ffffff 100%);
            text-align: center;
        }
        
        .post-category {
            display: inline-block;
            background: #0066FF;
            color: white;
            padding: 8px 20px;
            border-radius: 100px;
            font-size: 0.875rem;
            font-weight: 600;
            margin-bottom: 1.5rem;
            text-decoration: none;
            transition: all 0.3s ease;
        }
        
        .post-category:hover {
            background: #0052CC;
            transform: translateY(-2px);
        }
        
        .post-title {
            font-size: clamp(2.5rem, 5vw, 3.5rem);
            font-weight: 800;
            line-height: 1.2;
            letter-spacing: -0.02em;
            margin-bottom: 2rem;
            color: #1a1a1a;
        }
        
        .post-meta {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 2rem;
            color: #666666;
            font-size: 1rem;
        }
        
        .post-author {
            display: flex;
            align-items: center;
            gap: 12px;
        }
        
        .author-avatar {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            background: #e8e8e8;
        }
        
        .author-info {
            text-align: left;
        }
        
        .author-name {
            font-weight: 600;
            color: #1a1a1a;
            display: block;
        }
        
        .post-date {
            font-size: 0.875rem;
        }
        
        .post-stats {
            display: flex;
            gap: 1.5rem;
            font-size: 0.875rem;
        }
        
        .post-stat {
            display: flex;
            align-items: center;
            gap: 6px;
        }
        
        /* 추천 이미지 */
        .post-featured-image {
            margin: -40px 0 80px;
            position: relative;
            border-radius: 24px;
            overflow: hidden;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
        }
        
        .post-featured-image img {
            width: 100%;
            height: auto;
            display: block;
        }
        
        /* 목차 (TOC) */
        .post-toc {
            background: #f8f8f8;
            border-radius: 16px;
            padding: 2rem;
            margin-bottom: 3rem;
        }
        
        .toc-title {
            font-size: 1.125rem;
            font-weight: 700;
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .toc-list {
            list-style: none;
        }
        
        .toc-list li {
            padding: 0.5rem 0;
            border-bottom: 1px solid #e8e8e8;
        }
        
        .toc-list li:last-child {
            border-bottom: none;
        }
        
        .toc-list a {
            color: #666666;
            text-decoration: none;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .toc-list a:hover {
            color: #0066FF;
            transform: translateX(4px);
        }
        
        .toc-number {
            font-weight: 600;
            color: #0066FF;
        }
        
        /* 본문 스타일 */
        .post-content {
            font-size: 1.125rem;
            line-height: 1.8;
            color: #333333;
        }
        
        .post-content h2 {
            font-size: 2rem;
            font-weight: 700;
            margin: 3rem 0 1.5rem;
            color: #1a1a1a;
            position: relative;
            padding-left: 1.5rem;
        }
        
        .post-content h2::before {
            content: '';
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 4px;
            height: 80%;
            background: #0066FF;
        }
        
        .post-content h3 {
            font-size: 1.5rem;
            font-weight: 700;
            margin: 2.5rem 0 1rem;
            color: #1a1a1a;
        }
        
        .post-content p {
            margin-bottom: 1.5rem;
        }
        
        /*.post-content ul,*/
        /*.post-content ol {*/
        /*    margin: 0 0 1.5rem 2rem;*/
        /*}*/
        
        /*.post-content li {*/
        /*    margin-bottom: 0.5rem;*/
        /*}*/
        
        .post-content blockquote {
            margin: 2rem 0;
            padding: 1.5rem 2rem;
            background: #f8f8f8;
            border-left: 4px solid #0066FF;
            font-style: italic;
            color: #666666;
        }
        
        .post-content img {
            max-width: 100%;
            height: auto;
            border-radius: 16px;
            margin: 2rem 0;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        }
        
        .post-content code {
            background: #f0f0f0;
            padding: 2px 6px;
            border-radius: 4px;
            font-family: 'Consolas', 'Monaco', monospace;
            font-size: 0.9em;
        }
        
        .post-content pre {
            background: #1a1a1a;
            color: #f8f8f8;
            padding: 1.5rem;
            border-radius: 12px;
            overflow-x: auto;
            margin: 2rem 0;
        }
        
        .post-content pre code {
            background: none;
            padding: 0;
            color: inherit;
        }
        
        /* 포스트 하단 정보 */
        .post-footer {
            margin-top: 5rem;
            padding-top: 3rem;
            border-top: 1px solid #e8e8e8;
        }
        
        .post-tags {
            display: flex;
            gap: 0.75rem;
            flex-wrap: wrap;
            margin-bottom: 3rem;
        }
        
        .post-tag {
            padding: 8px 20px;
            background: #f0f0f0;
            color: #666666;
            border-radius: 100px;
            text-decoration: none;
            font-size: 0.875rem;
            transition: all 0.3s ease;
        }
        
        .post-tag:hover {
            background: #0066FF;
            color: white;
            transform: translateY(-2px);
        }
        
        /* 공유 버튼 */
        .post-share {
            background: #f8f8f8;
            border-radius: 16px;
            padding: 2rem;
            text-align: center;
            margin-bottom: 3rem;
        }
        
        .share-title {
            font-size: 1.125rem;
            font-weight: 600;
            margin-bottom: 1.5rem;
        }
        
        .share-buttons {
            display: flex;
            justify-content: center;
            gap: 1rem;
        }
        
        .share-btn {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            transition: all 0.3s ease;
        }
        
        .share-btn.facebook {
            background: #1877F2;
            color: white;
        }
        
        .share-btn.twitter {
            background: #1DA1F2;
            color: white;
        }
        
        .share-btn.linkedin {
            background: #0A66C2;
            color: white;
        }
        
        .share-btn.link {
            background: #666666;
            color: white;
        }
        
        .share-btn:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
        }
        
        /* 저자 정보 박스 */
        .author-box {
            background: #f8f8f8;
            border-radius: 16px;
            padding: 2.5rem;
            display: flex;
            gap: 2rem;
            margin-bottom: 5rem;
        }
        
        .author-box-avatar {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            background: #e8e8e8;
            flex-shrink: 0;
        }
        
        .author-box-content {
            flex: 1;
        }
        
        .author-box-name {
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
        }
        
        .author-box-role {
            color: #0066FF;
            font-weight: 600;
            margin-bottom: 1rem;
        }
        
        .author-box-bio {
            color: #666666;
            line-height: 1.6;
            margin-bottom: 1.5rem;
        }
        
        .author-box-social {
            display: flex;
            gap: 1rem;
        }
        
        .author-social-link {
            width: 36px;
            height: 36px;
            border: 2px solid #e8e8e8;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #666666;
            text-decoration: none;
            transition: all 0.3s ease;
        }
        
        .author-social-link:hover {
            border-color: #0066FF;
            color: #0066FF;
            transform: translateY(-2px);
        }
        
        /* 관련 포스트 */
        .related-posts {
            margin-bottom: 5rem;
        }
        
        .related-header {
            text-align: center;
            margin-bottom: 3rem;
        }
        
        .related-title {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 1rem;
        }
        
        .related-subtitle {
            color: #666666;
            font-size: 1.125rem;
        }
        
        .related-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
        }
        
        .related-card {
            background: white;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
            transition: all 0.3s ease;
            cursor: pointer;
        }
        
        .related-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
        }
        
        .related-thumbnail {
            width: 100%;
            height: 200px;
            background: #e8e8e8;
            position: relative;
            overflow: hidden;
        }
        
        .related-thumbnail img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease;
        }
        
        .related-card:hover .related-thumbnail img {
            transform: scale(1.05);
        }
        
        .related-content {
            padding: 1.5rem;
        }
        
        .related-category {
            color: #0066FF;
            font-size: 0.875rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
        }
        
        .related-card-title {
            font-size: 1.25rem;
            font-weight: 700;
            line-height: 1.3;
            margin-bottom: 0.5rem;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        
        .related-date {
            font-size: 0.875rem;
            color: #999999;
        }
        
        /* 댓글 섹션 */
        .comments-section {
            background: #f8f8f8;
            border-radius: 24px;
            padding: 3rem;
            margin-bottom: 5rem;
        }
        
        .comments-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 2rem;
        }
        
        .comments-title {
            font-size: 1.5rem;
            font-weight: 700;
        }
        
        .comments-count {
            background: #0066FF;
            color: white;
            padding: 4px 12px;
            border-radius: 100px;
            font-size: 0.875rem;
            font-weight: 600;
        }
        
        .comment-form {
            background: white;
            border-radius: 12px;
            padding: 1.5rem;
            margin-bottom: 2rem;
        }
        
        .comment-textarea {
            width: 100%;
            min-height: 120px;
            padding: 1rem;
            border: 2px solid #e8e8e8;
            border-radius: 8px;
            font-family: inherit;
            font-size: 1rem;
            resize: vertical;
            outline: none;
            transition: border-color 0.3s ease;
        }
        
        .comment-textarea:focus {
            border-color: #0066FF;
        }
        
        .comment-submit {
            margin-top: 1rem;
            padding: 12px 32px;
            background: #0066FF;
            color: white;
            border: none;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .comment-submit:hover {
            background: #0052CC;
            transform: translateY(-2px);
        }
        
        /* 사이드바 (플로팅) */
        .floating-sidebar {
            position: fixed;
            left: 50%;
            top: 50%;
            transform: translate(calc(-600px - 100%), -50%);
            display: flex;
            flex-direction: column;
            gap: 1rem;
            z-index: 100;
        }
        
        .sidebar-btn {
            width: 48px;
            height: 48px;
            background: white;
            border: 2px solid #e8e8e8;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #666666;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .sidebar-btn:hover {
            border-color: #0066FF;
            color: #0066FF;
            transform: scale(1.1);
        }
        
        .sidebar-btn.liked {
            background: #FF4444;
            border-color: #FF4444;
            color: white;
        }
        
        /* CTA 배너 */
        .post-cta-banner {
            background: linear-gradient(135deg, #0066FF 0%, #0052CC 100%);
            border-radius: 24px;
            padding: 4rem;
            text-align: center;
            color: white;
            margin: 5rem 0;
        }
        
        .cta-banner-title {
            font-size: 2rem;
            font-weight: 700;
            margin-bottom: 1rem;
        }
        
        .cta-banner-desc {
            font-size: 1.25rem;
            opacity: 0.9;
            margin-bottom: 2rem;
        }
        
        .cta-banner-btn {
            display: inline-block;
            padding: 16px 40px;
            background: white;
            color: #0066FF;
            border-radius: 12px;
            font-weight: 700;
            text-decoration: none;
            transition: all 0.3s ease;
        }
        
        .cta-banner-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        }
        

        
        a {
            color: #0066ff;
        }
        
        /* 반응형 */
        @media (max-width: 1400px) {
            .floating-sidebar {
                transform: translate(calc(-500px - 100%), -50%);
            }
        }
        
        @media (max-width: 1200px) {
            .floating-sidebar {
                display: none;
            }
        }
        
        @media (max-width: 768px) {
            .container,
            .container-narrow {
                padding: 0 24px;
            }
            
            .post-header {
                padding: 80px 0 60px;
            }
            
            .post-title {
                font-size: 2rem;
            }
            
            .post-meta {
                flex-direction: column;
                gap: 1rem;
            }
            
            .post-featured-image {
                margin: -20px 0 40px;
                border-radius: 16px;
            }
            
            .author-box {
                flex-direction: column;
                text-align: center;
            }
            
            .author-box-avatar {
                margin: 0 auto;
            }
            
            .related-grid {
                grid-template-columns: 1fr;
            }
            
            .post-cta-banner {
                padding: 3rem 2rem;
            }
        }/* End custom CSS */
/* Start custom CSS */.sidebar-btn:hover {
    background-color: white;
}
.sidebar-btn:active {
    background-color: white;
}


/* 컨테이너 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

/* 포스트 헤더 */
.post-header {
    padding: 60px 0 40px;
    text-align: center;
    background: #f8f9fa;
}

.post-category {
    display: inline-block;
    padding: 6px 16px;
    background: #0066FF;
    color: white;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.post-category:hover {
    background: #0052CC;
    transform: translateY(-2px);
}

.post-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
    color: #1a1a1a;
}

.post-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.post-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

.author-info {
    text-align: left;
}

.author-name {
    font-weight: 600;
    color: #1a1a1a;
    display: block;
}

.post-date {
    color: #666666;
    font-size: 0.875rem;
}

.post-stats {
    display: flex;
    gap: 1.5rem;
}

.post-stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666666;
    font-size: 0.875rem;
}

.post-stat svg {
    width: 16px;
    height: 16px;
}

/* 추천 이미지 */
.post-featured-image {
    margin: 3rem 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* 목차(TOC) 스타일 */
.post-toc {
    background: #f8f9fa;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0 3rem;
    position: relative;
    transition: all 0.3s ease;
}

.post-toc:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.toc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.toc-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.toc-icon {
    color: #0066FF;
    flex-shrink: 0;
}

.toc-toggle {
    background: none;
    border: none;
    padding: 0.25rem;
    cursor: pointer;
    color: #666666;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.toc-toggle:hover {
    background: rgba(0, 102, 255, 0.1);
    color: #0066FF;
}

.toc-toggle svg {
    transition: transform 0.3s ease;
}

.post-toc.collapsed .toc-toggle svg {
    transform: rotate(-90deg);
}

.post-toc.collapsed .toc-content {
    display: none;
}

.toc-content {
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.toc-content::-webkit-scrollbar {
    width: 4px;
}

.toc-content::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 2px;
}

.toc-content::-webkit-scrollbar-thumb {
    background: #d0d0d0;
    border-radius: 2px;
}

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

.toc-list-3 {
    margin-left: 1.5rem;
    margin-top: 0.5rem;
}

.toc-item {
    margin: 0;
    padding: 0;
}

.toc-item + .toc-item {
    margin-top: 0.5rem;
}

.toc-link {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    text-decoration: none;
    color: #666666;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    line-height: 1.5;
}

.toc-link:hover {
    background: rgba(0, 102, 255, 0.08);
    color: #0066FF;
    transform: translateX(4px);
}

.toc-link.active {
    background: rgba(0, 102, 255, 0.12);
    color: #0066FF;
    font-weight: 600;
}

.toc-number {
    flex-shrink: 0;
    font-weight: 700;
    color: #0066FF;
    min-width: 1.5rem;
}

.toc-bullet {
    flex-shrink: 0;
    color: #b0b0b0;
    font-size: 1.2rem;
    line-height: 1;
}

.toc-text {
    flex: 1;
    word-break: break-word;
}

/* 본문 스타일 */
.post-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #333333;
    margin: 3rem 0;
}

.post-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin: 3rem 0 1.5rem;
    color: #1a1a1a;
}

.post-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 2.5rem 0 1rem;
    color: #1a1a1a;
}

.post-content p {
    margin-bottom: 1.5rem;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem 0;
}

.post-content blockquote {
    border-left: 4px solid #0066FF;
    padding-left: 1.5rem;
    margin: 2rem 0;
    color: #666666;
    font-style: italic;
}

/* 포스트 하단 */
.post-footer {
    border-top: 1px solid #e8e8e8;
    padding-top: 3rem;
    margin-top: 3rem;
}

/* 태그 */
.post-tags {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.post-tag {
    padding: 0.5rem 1rem;
    background: #f0f0f0;
    color: #666666;
    border-radius: 100px;
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.post-tag:hover {
    background: #0066FF;
    color: white;
    transform: translateY(-2px);
}

/* 공유 버튼 */
.post-share {
    text-align: center;
    padding: 3rem 0;
}

.share-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.share-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.share-btn svg {
    width: 24px;
    height: 24px;
}

.share-btn.facebook {
    background: #1877f2;
    color: white;
}

.share-btn.twitter {
    background: #1da1f2;
    color: white;
}

.share-btn.linkedin {
    background: #0077b5;
    color: white;
}

.share-btn.link {
    background: #666666;
    color: white;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* 저자 박스 */
.author-box {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 16px;
    margin: 3rem 0;
}

.author-box-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.author-box-content {
    flex: 1;
}

.author-box-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #1a1a1a;
}

.author-box-role {
    color: #666666;
    margin-bottom: 1rem;
}

.author-box-bio {
    line-height: 1.6;
    margin-bottom: 1rem;
}

.author-box-social {
    display: flex;
    gap: 0.75rem;
}

.author-social-link {
    width: 36px;
    height: 36px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.author-social-link:hover {
    background: #0066FF;
    transform: translateY(-2px);
}

.author-social-link:hover svg {
    fill: white;
}

/* CTA 배너 */
.post-cta-banner {
    background: linear-gradient(135deg, #0066FF 0%, #0052CC 100%);
    color: white;
    padding: 4rem 3rem;
    border-radius: 16px;
    text-align: center;
    margin: 3rem 0;
}

.cta-banner-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-banner-desc {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-banner-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: white;
    color: #0066FF;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-banner-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* 관련 포스트 */
.related-posts {
    margin: 4rem 0;
}

.related-header {
    text-align: center;
    margin-bottom: 3rem;
}

.related-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.related-subtitle {
    color: #666666;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.related-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.related-thumbnail {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

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

.related-card:hover .related-thumbnail img {
    transform: scale(1.05);
}

.related-content {
    padding: 1.5rem;
}

.related-category {
    display: inline-block;
    padding: 4px 12px;
    background: #0066FF;
    color: white;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.related-card-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
    line-height: 1.4;
}

.related-date {
    color: #999999;
    font-size: 0.875rem;
}

/* 플로팅 사이드바 */
.floating-sidebar {
    position: fixed;
    left: 40%;
    top: 50%;
    transform: translateX(-500px) translateY(-50%); /* 콘텐츠 왼쪽에 위치 */
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* 화면 크기에 따른 위치 조정 */
@media (max-width: 1400px) {
    .floating-sidebar {
        left: 20px;
        transform: translateY(-50%);
    }
}

/* 1200px 이하에서는 숨김 (콘텐츠와 겹침 방지) */
@media (max-width: 1200px) {
    .floating-sidebar {
        display: none;
    }
    
    /* 모바일에서는 하단 고정 바 형태로 */
    .floating-sidebar-mobile {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: white;
        border-top: 1px solid #e8e8e8;
        padding: 0.75rem;
        display: flex;
        justify-content: center;
        gap: 2rem;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
        z-index: 100;
    }
    
    .floating-sidebar-mobile .sidebar-btn {
        width: 44px;
        height: 44px;
        box-shadow: none;
        border: none;
        background: transparent;
    }
    
    .floating-sidebar-mobile .sidebar-btn:hover {
        background: #f8f9fa;
    }
    
    .floating-sidebar-mobile .sidebar-btn.liked {
        background: transparent;
    }
    
    .floating-sidebar-mobile .sidebar-btn.liked svg {
        stroke: #0066FF;
        fill: #0066FF;
    }
}

/* 버튼 스타일 개선 */
.sidebar-btn {
    width: 48px;
    height: 48px;
    background: white;
    border: 1px solid #e8e8e8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
}

.sidebar-btn:hover {
    border-color: #0066FF;
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(0, 102, 255, 0.2);
}

.sidebar-btn.liked {
    background: #0066FF;
    border-color: #0066FF;
}

.sidebar-btn.liked svg {
    stroke: white;
    fill: white;
}

.sidebar-btn svg {
    width: 24px;
    height: 24px;
    transition: all 0.3s ease;
}

/* 툴팁 추가 (옵션) */
.sidebar-btn::before {
    content: attr(data-tooltip);
    position: absolute;
    right: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%);
    background: #333;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.875rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.sidebar-btn::after {
    content: '';
    position: absolute;
    right: calc(100% + 5px);
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-color: transparent transparent transparent #333;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sidebar-btn:hover::before,
.sidebar-btn:hover::after {
    opacity: 1;
}

/* 스티키 포지션 버전 (대안) */
.floating-sidebar.sticky-version {
    position: sticky;
    top: 120px;
    float: left;
    margin-left: -80px;
    z-index: 10;
}

/* 콘텐츠 영역과의 간격 조정 */
.container-narrow {
    position: relative;
}

/* 블로그 포스트 전체 래퍼 추가 시 */
.blog-single-wrapper {
    display: flex;
    justify-content: center;
    position: relative;
}

.blog-single-wrapper .floating-sidebar {
    position: absolute;
    left: 0;
    top: 100px;
}

/* 애니메이션 효과 개선 */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px) translateY(-50%);
    }
    to {
        opacity: 1;
        transform: translateX(-500px) translateY(-50%);
    }
}

.floating-sidebar {
    animation: fadeInLeft 0.5s ease-out;
}


}

/* 댓글 섹션 */
.comments-section {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid #e8e8e8;
}

.comments-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.comments-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.comments-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #0066FF;
    color: white;
    border-radius: 50%;
    font-weight: 600;
    font-size: 0.875rem;
}

.comment-form {
    margin-bottom: 3rem;
}

.comment-textarea {
    width: 100%;
    min-height: 120px;
    padding: 1rem;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    resize: vertical;
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.5;
    transition: border-color 0.3s ease;
}

.comment-textarea:focus {
    outline: none;
    border-color: #0066FF;
}

.comment-submit {
    margin-top: 1rem;
    padding: 0.75rem 2rem;
    background: #0066FF;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.comment-submit:hover {
    background: #0052CC;
    transform: translateY(-2px);
}

.comment-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #f0f0f0;
}

.comment-author-avatar img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.comment-content {
    flex: 1;
}

.comment-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.comment-author-name {
    font-weight: 600;
    color: #1a1a1a;
}

.comment-date {
    color: #999999;
    font-size: 0.875rem;
}

.comment-text {
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.comment-reply a {
    color: #0066FF;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
}

.comment-reply a:hover {
    text-decoration: underline;
}

/* 모바일 최적화 */
@media (max-width: 768px) {
    .container,
    .container-narrow {
        padding: 0 16px;
    }
    
    .post-header {
        padding: 40px 0 30px;
    }
    
    .post-title {
        font-size: 2rem;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .toc-list-3 {
        margin-left: 1rem;
    }
    
    .post-content {
        font-size: 1rem;
    }
    
    .author-box {
        flex-direction: column;
        text-align: center;
    }
    
    .author-box-social {
        justify-content: center;
    }
    
    .share-buttons {
        flex-wrap: wrap;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .floating-sidebar {
        right: 16px;
        gap: 0.75rem;
    }
    
    .sidebar-btn {
        width: 44px;
        height: 44px;
    }
    
    .post-cta-banner {
        padding: 3rem 2rem;
    }
    
    .cta-banner-title {
        font-size: 1.5rem;
    }
    
    /* 모바일 플로팅 목차 */
    .floating-toc-btn {
        display: flex;
        position: fixed;
        bottom: 100px;
        right: 20px;
        width: 48px;
        height: 48px;
        background: #0066FF;
        color: white;
        border-radius: 50%;
        border: none;
        box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
        cursor: pointer;
        z-index: 100;
        align-items: center;
        justify-content: center;
    }
    
    @media (min-width: 769px) {
        .floating-toc-btn {
            display: none;
        }
    }
    
    .post-toc.show {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        margin: 0;
        border-radius: 12px 12px 0 0;
        z-index: 200;
        max-height: 70vh;
    }
}/* End custom CSS */