/* Container */
.blog-detail-container {
    max-width: 1390px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Breadcrumb */
.breadcrumb {
    font-size: 0.85rem;
    color: #666;
    margin: 20px 0 30px;
}
.breadcrumb a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}
.breadcrumb a:hover {
    color: #000;
}
.breadcrumb .sep {
    margin: 0 8px;
    color: #999;
}
.breadcrumb .current {
    color: #888;
}

/* Layout */
.blog-layout {
    display: flex;
    gap: 36px;
    margin-bottom: 44px;
}
.blog-content {
    flex: 1;
    min-width: 0;
}
.blog-sidebar {
    width: 300px;
    flex-shrink: 0;
}
.sidebar-sticky {
    position: sticky;
    top: 100px; /* Accounts for fixed header if any */
    border: 1px solid #e0e0e0;
}

/* Hero Section */
.blog-hero {
    position: relative;
    margin-bottom: 28px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}
.blog-hero > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.blog-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 44px 30px 22px;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%);
    color: #fff;
    box-sizing: border-box;
}
.blog-category-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    /* text-transform: uppercase; */
    margin-bottom: 15px;
}
.blog-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 12px 0;
    color: #fff;
}
.blog-meta {
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 15px;
    opacity: 0.9;
}
.blog-meta strong {
    font-weight: 600;
}

/* Article Body */
.article-body {
    font-size: 1rem;
    line-height: 1.65;
    color: #444;
    margin-left: 12px;
}
.article-body p {
    margin-bottom: 16px;
}
.article-body h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #111;
    margin: 28px 0 14px;
}
.article-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    margin: 24px 0;
}
.article-body blockquote {
    margin: 24px 0;
    padding: 18px 22px;
    background: #f8f9fa;
    border-left: 4px solid #444;
    font-size: 1.15rem;
    font-style: italic;
    line-height: 1.55;
    color: #555;
}
.article-body blockquote p {
    margin: 0;
}

/* Tags */
.article-tags {
    display: flex;
    gap: 10px;
    margin: 30px 0;
}

.article-tags a {
    display: inline-block;
    padding: 6px 15px;
    border: 1px solid #eee;
    font-size: 0.75rem;
    font-weight: 600;
    color: #666;
    text-decoration: none;
    /* text-transform: uppercase; */
    letter-spacing: 1px;
    transition: all 0.3s;
}
.article-tags a:hover {
    border-color: #333;
    color: #333;
}

/* Section Headings */
.section-heading {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 30px;
    color: #111;
    /* text-transform: uppercase; */
}

/* You May Also Like */
.related-posts {
    margin-bottom: 36px;
    padding-top: 28px;
    border-top: 1px solid #eee;
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}
.related-card {
    text-decoration: none;
    color: inherit;
    display: block;
}
.related-card img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    margin-bottom: 15px;
    transition: opacity 0.3s;
}
.related-card:hover img {
    opacity: 0.9;
}
.related-card h5 {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.4;
    margin: 0 0 8px 0;
    color: #222;
}
.related-card .date {
    font-size: 0.8rem;
    color: #888;
}

/* Leave a Comment */
.comment-section {
    padding-top: 28px;
    border-top: 1px solid #eee;
}
.comment-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.comment-form textarea,
.comment-form input[type="text"],
.comment-form input[type="email"] {
    width: 100%;
    padding: 15px;
    border: 1px solid #e0e0e0;
    background: #fff;
    font-size: 0.95rem;
    font-family: inherit;
    color: #333;
    outline: none;
    transition: border-color 0.3s;
    box-sizing: border-box;
}
.comment-form textarea:focus,
.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus {
    border-color: #999;
}
.form-row {
    display: flex;
    gap: 20px;
}
.form-row input {
    flex: 1;
}
.save-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #666;
    cursor: pointer;
}
.submit-btn {
    align-self: center;
    padding: 15px 40px;
    background: #f5f5f5;
    color: #333;
    border: 1px solid #ddd;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    /* text-transform: uppercase; */
    transition: all 0.3s;
    margin-top: 10px;
}
.submit-btn:hover {
    background: #e0e0e0;
}

/* Sidebar Widgets */
.sidebar-widget {
    margin-bottom: 40px;
}
.sidebar-widget:last-child {
    margin-bottom: 0;
}

.widget-title {
    border: 1px solid #1f2732;
    padding-left: 25px;
    text-align: left;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: #111;
    /* background: #fff; */
    background: linear-gradient(to right, #000000 0%, #000000 1.5%, #fff 1.5%);
    margin: 20px 10px 15px 10px;
}


.recent-posts-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.recent-post-item {
    display: flex;
    gap: 15px;
    text-decoration: none;
    color: inherit;
    align-items: flex-start;
    padding-left: 10px;
}
.recent-post-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
}
.recent-post-item .post-info {
    flex: 1;
}
.recent-post-item h5 {
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.4;
    margin: 0 0 8px 0;
    color: #222;
    transition: color 0.3s;
}
.recent-post-item:hover h5 {
    color: #666;
}
.recent-post-item .date {
    font-size: 0.8rem;
    color: #999;
}

/* Categories List */
.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.category-list li {
    border-bottom: 1px solid #f0f0f0;
}
.category-list li:last-child {
    border-bottom: none;
}
.category-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    text-decoration: none;
    color: #444;
    font-size: 0.95rem;
    transition: color 0.3s;
}
.category-list a:hover {
    color: #000;
}
.category-list .cat-name::before {
    content: '›';
    margin-right: 8px;
    color: #aaa;
    font-size: 1.1rem;
}
.category-list .count {
    color: #999;
    font-size: 0.85rem;
}

/* Newsletter */
.newsletter-widget {
    border: 1px solid #e0e0e0;
    padding: 16px;
}
.newsletter-widget .widget-title {
    border: none;
    margin: 0 0 16px 0;
    padding: 0;
}
.newsletter-box {
    border: none;
    padding: 0;
}
.newsletter-box p {
    font-size: 0.95rem;
    color: #555;
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.6;
    margin: 0 10px 10px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.newsletter-form input {
    width: calc(100% - 20px);
    margin: 0 10px;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    background: #fff;
    font-size: 0.9rem;
    box-sizing: border-box;
    outline: none;
}

.newsletter-form input:focus {
    border-color: #999;
}
.newsletter-form button {
    width: calc(100% - 20px);
    padding: 14px;
    background: #f5f5f5;
    color: #222;
    border: 1px solid #ddd;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    /* text-transform: uppercase; */
    transition: background 0.3s;
    margin: 0px 10px 20px 10px;
}
.newsletter-form button:hover {
    background: #e0e0e0;
}

#InquiryForm {
    border-top: 1px solid #e0e0e0;
    padding-top: 32px;
}

/* Responsive */
@media (max-width: 992px) {

    .blog-layout {
        flex-direction: column;
    }
    .blog-sidebar {
        width: 100%;
    }
    .sidebar-sticky {
        position: static;
    }
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .blog-hero-overlay {
        padding: 30px 20px;
    }
    .blog-title {
        font-size: 1.5rem;
    }
    .form-row {
        flex-direction: column;
        gap: 20px;
    }
}
@media (max-width: 576px) {
    .related-grid {
        grid-template-columns: 1fr;
    }
}