/* Blog Detail Page Styles */
.page-title {
    position: relative;
    padding: 120px 0 80px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    text-align: center;
}

.page-title:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.page-title .inner-container {
    position: relative;
    z-index: 2;
}

.page-title h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.bread-crumb {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.bread-crumb li {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
}

.bread-crumb li a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.bread-crumb li a:hover {
    color: #ff6b35;
}

.bread-crumb li:not(:last-child):after {
    content: '/';
    margin-left: 10px;
    color: rgba(255, 255, 255, 0.6);
}

/* Blog Detail Section */
.blog-detail-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.content-column {
    padding-right: 30px;
}

.sidebar-column {
    padding-left: 15px;
}

/* Article Content */
.blog-detail {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.blog-detail .image-box {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.blog-detail .image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-detail:hover .image-box img {
    transform: scale(1.05);
}

.blog-detail .lower-content {
    padding: 40px;
}

.post-meta {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

.post-meta li {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

.post-meta .icon {
    margin-right: 8px;
    color: #ff6b35;
    font-size: 16px;
}

.blog-detail h3 {
    font-size: 32px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 30px;
    line-height: 1.3;
}

.blog-detail .text {
    color: #555;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.blog-detail .text p {
    margin-bottom: 20px;
}

.blog-detail .text h4 {
    color: #2c3e50;
    font-size: 22px;
    font-weight: 600;
    margin: 30px 0 20px 0;
}

.blog-detail .text ul,
.blog-detail .text ol {
    margin: 20px 0;
    padding-left: 30px;
}

.blog-detail .text li {
    margin-bottom: 10px;
}

/* Tags */
.post-tags {
    border-top: 1px solid #eee;
    padding-top: 25px;
    margin-top: 30px;
}

.post-tags h6 {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
}

.post-tags .tag {
    display: inline-block;
    background: #f8f9fa;
    color: #666;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    margin-right: 10px;
    margin-bottom: 10px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    text-decoration: none;
}

.post-tags .tag:hover {
    background: #ff6b35;
    color: white;
    border-color: #ff6b35;
}

/* Related Posts */
.related-posts {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.related-posts h4 {
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
}

.related-posts h4:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #ff6b35;
    border-radius: 2px;
}

/* Sidebar Styles */
.sidebar-widget {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.sidebar-title {
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.sidebar-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: #ff6b35;
    border-radius: 2px;
}

/* Search Widget */
.search-widget .form-group {
    position: relative;
    margin: 0;
}

.search-widget input[type="search"] {
    width: 100%;
    padding: 15px 55px 15px 20px;
    border: 2px solid #e9ecef;
    border-radius: 30px;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.search-widget input[type="search"]:focus {
    border-color: #ff6b35;
    background: white;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.search-widget button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: #ff6b35;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-widget button:hover {
    background: #e55a2b;
    transform: translateY(-50%) scale(1.05);
}

/* Popular Posts */
.popular-posts .post {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.popular-posts .post:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.popular-posts .post:hover {
    transform: translateX(5px);
}

.popular-posts .post-thumb {
    flex-shrink: 0;
    width: 90px;
    height: 70px;
    border-radius: 10px;
    overflow: hidden;
    margin-right: 15px;
}

.popular-posts .post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.popular-posts .post:hover .post-thumb img {
    transform: scale(1.1);
}

.popular-posts .text a {
    color: #2c3e50;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    line-height: 1.4;
    display: block;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.popular-posts .text a:hover {
    color: #ff6b35;
}

.popular-posts .post-info {
    color: #999;
    font-size: 12px;
    font-weight: 500;
}

/* Categories Widget */
.categories-widget .cat-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.categories-widget .cat-list li {
    border-bottom: 1px solid #f0f0f0;
}

.categories-widget .cat-list li:last-child {
    border-bottom: none;
}

.categories-widget .cat-list a {
    display: block;
    padding: 15px 0;
    color: #555;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.categories-widget .cat-list a:hover {
    color: #ff6b35;
    padding-left: 15px;
}

.categories-widget .cat-list a:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 3px;
    background: #ff6b35;
    transition: width 0.3s ease;
    border-radius: 2px;
}

.categories-widget .cat-list a:hover:before {
    width: 25px;
}

/* Responsive Design */
@media (max-width: 991px) {
    .content-column {
        padding-right: 15px;
        margin-bottom: 40px;
    }
    
    .sidebar-column {
        padding-left: 15px;
    }
}

@media (max-width: 768px) {
    .page-title {
        padding: 100px 0 60px;
    }
    
    .page-title h1 {
        font-size: 36px;
    }
    
    .blog-detail-section {
        padding: 60px 0;
    }
    
    .blog-detail .lower-content {
        padding: 30px 25px;
    }
    
    .blog-detail h3 {
        font-size: 26px;
    }
    
    .related-posts {
        padding: 30px 25px;
    }
    
    .sidebar-widget {
        padding: 25px 20px;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .page-title h1 {
        font-size: 28px;
    }
    
    .blog-detail .image-box {
        height: 250px;
    }
    
    .blog-detail h3 {
        font-size: 22px;
    }
    
    .blog-detail .text {
        font-size: 15px;
    }
    
    .bread-crumb {
        flex-direction: column;
        gap: 5px;
    }
    
    .bread-crumb li:not(:last-child):after {
        display: none;
    }
}