/* ========================================
   BLOG — Archive + Single Post
   ======================================== */

/* ---- Container ---- */
.dtb-blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---- Breadcrumb ---- */
.dtb-blog-breadcrumb {
    background: #f8f9fa;
    padding: 14px 0;
    font-size: 14px;
    border-bottom: 1px solid #e9ecef;
}
.dtb-blog-breadcrumb a {
    color: #DD0303;
    text-decoration: none;
}
.dtb-blog-breadcrumb a:hover {
    text-decoration: underline;
}

/* ---- Hero ---- */
.dtb-blog-hero {
    background: linear-gradient(135deg, #FEF3E2 0%, #FDDCB5 100%);
    color: #2B2D42;
    text-align: center;
    padding: 60px 20px 50px;
}
.dtb-blog-hero-icon {
    font-size: 44px;
    display: block;
    margin-bottom: 14px;
}
.dtb-blog-hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 36px;
    font-weight: 800;
    margin: 0 0 10px;
}
.dtb-blog-hero-sub {
    font-size: 16px;
    color: #5C6378;
    margin: 0;
}

/* ---- Main Layout ---- */
.dtb-blog-main,
.dtb-single-main {
    padding: 50px 0 70px;
    background: #f8f9fa;
}
.dtb-blog-layout,
.dtb-single-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    align-items: start;
}

/* ========== BLOG ARCHIVE ========== */

/* ---- Blog Grid ---- */
.dtb-blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

/* ---- Blog Card ---- */
.dtb-blog-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.dtb-blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(221,3,3,0.12);
}
.dtb-blog-card-thumb {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}
.dtb-blog-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.dtb-blog-card:hover .dtb-blog-card-img {
    transform: scale(1.05);
}
.dtb-blog-card-noimg {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #FEF3E2, #F5DFC4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
}
.dtb-blog-card-cat {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(221,3,3,0.92);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}
.dtb-blog-card-body {
    padding: 20px;
}
.dtb-blog-card-meta {
    display: flex;
    gap: 14px;
    font-size: 12px;
    color: #999;
    margin-bottom: 10px;
}
.dtb-blog-card-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 10px;
}
.dtb-blog-card-title a {
    color: #2B2D42;
    text-decoration: none;
    transition: color 0.2s;
}
.dtb-blog-card-title a:hover {
    color: #DD0303;
}
.dtb-blog-card-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0 0 14px;
}
.dtb-blog-card-readmore {
    font-size: 14px;
    font-weight: 600;
    color: #DD0303;
    text-decoration: none;
    transition: color 0.2s;
}
.dtb-blog-card-readmore:hover {
    color: #FA812F;
}

/* ---- Pagination ---- */
.dtb-blog-pagination {
    margin-top: 40px;
    text-align: center;
}
.dtb-blog-pagination .page-numbers {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}
.dtb-blog-pagination .page-numbers li {
    display: inline-block;
}
.dtb-blog-pagination .page-numbers a,
.dtb-blog-pagination .page-numbers span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    color: #2B2D42;
    background: #fff;
    border: 1px solid #dee2e6;
}
.dtb-blog-pagination .page-numbers a:hover {
    background: #E06A1A;
    color: #fff;
    border-color: #DD0303;
}
.dtb-blog-pagination .page-numbers .current {
    background: #E06A1A;
    color: #fff;
    border-color: #DD0303;
}

/* ---- Empty ---- */
.dtb-blog-empty {
    text-align: center;
    padding: 80px 20px;
    background: #fff;
    border-radius: 16px;
}
.dtb-blog-empty-icon {
    font-size: 60px;
    margin-bottom: 16px;
}
.dtb-blog-empty h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    color: #2B2D42;
    margin: 0 0 10px;
}
.dtb-blog-empty p {
    color: #888;
    margin: 0 0 20px;
}
.dtb-blog-btn {
    display: inline-block;
    background: linear-gradient(135deg, #FAB12F, #FEF3E2);
    color: #2B2D42;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}
.dtb-blog-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(250,177,47,0.45);
}

/* ========== SIDEBAR ========== */

.dtb-blog-sidebar {
    position: sticky;
    top: 90px;
}
.dtb-blog-widget {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}
.dtb-blog-widget-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #2B2D42;
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #FA812F;
}

/* Search */
.dtb-blog-search-form {
    display: flex;
    gap: 0;
}
.dtb-blog-search-input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid #dee2e6;
    border-right: none;
    border-radius: 10px 0 0 10px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}
.dtb-blog-search-input:focus {
    border-color: #DD0303;
}
.dtb-blog-search-btn {
    padding: 10px 16px;
    background: #E06A1A;
    border: none;
    border-radius: 0 10px 10px 0;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.2s;
}
.dtb-blog-search-btn:hover {
    background: #8B0101;
}

/* Categories List */
.dtb-blog-cat-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.dtb-blog-cat-list li {
    border-bottom: 1px solid #f0f0f0;
}
.dtb-blog-cat-list li:last-child {
    border-bottom: none;
}
.dtb-blog-cat-list li a {
    display: flex;
    align-items: center;
    padding: 10px 8px;
    text-decoration: none;
    color: #444;
    font-size: 14px;
    transition: all 0.2s;
    border-radius: 8px;
}
.dtb-blog-cat-list li a:hover,
.dtb-blog-cat-list li.active a {
    background: #FEF3E2;
    color: #DD0303;
}
.dtb-cat-icon {
    margin-right: 10px;
    font-size: 16px;
}
.dtb-cat-count {
    margin-left: auto;
    background: #f0f0f0;
    color: #888;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
}
.dtb-blog-cat-list li.active .dtb-cat-count {
    background: #E06A1A;
    color: #fff;
}

/* Recent Posts */
.dtb-blog-recent-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.dtb-blog-recent-item {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s;
}
.dtb-blog-recent-list li:last-child .dtb-blog-recent-item {
    border-bottom: none;
}
.dtb-blog-recent-thumb {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}
.dtb-recent-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.dtb-recent-noimg {
    width: 100%;
    height: 100%;
    background: #FEF3E2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}
.dtb-blog-recent-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.dtb-recent-title {
    font-size: 14px;
    font-weight: 600;
    color: #2B2D42;
    line-height: 1.4;
    margin-bottom: 4px;
    transition: color 0.2s;
}
.dtb-blog-recent-item:hover .dtb-recent-title {
    color: #DD0303;
}
.dtb-recent-date {
    font-size: 12px;
    color: #999;
}

/* Tags */
.dtb-blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.dtb-blog-tag {
    display: inline-block;
    padding: 5px 14px;
    background: #FEF3E2;
    color: #DD0303;
    border: 1px solid #F5DFC4;
    border-radius: 20px;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.2s;
}
.dtb-blog-tag:hover {
    background: #E06A1A;
    color: #fff;
    border-color: #DD0303;
}

.dtb-blog-widget-empty {
    font-size: 14px;
    color: #999;
    text-align: center;
    margin: 0;
}

/* ========== SINGLE POST ========== */

.dtb-single-content {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
}

/* Header */
.dtb-single-header {
    padding: 36px 36px 0;
}
.dtb-single-cats {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}
.dtb-single-cat-badge {
    display: inline-block;
    padding: 5px 14px;
    background: rgba(221,3,3,0.1);
    color: #DD0303;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}
.dtb-single-cat-badge:hover {
    background: #E06A1A;
    color: #fff;
}
.dtb-single-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 30px;
    font-weight: 800;
    color: #2B2D42;
    line-height: 1.3;
    margin: 0 0 16px;
}
.dtb-single-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 13px;
    color: #888;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

/* Featured Image */
.dtb-single-featured {
    margin: 0;
}
.dtb-single-featured-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Content Body */
.dtb-single-body {
    padding: 36px;
    font-size: 16px;
    line-height: 1.85;
    color: #333;
}
.dtb-single-body h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #2B2D42;
    margin: 36px 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #FA812F;
}
.dtb-single-body h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #2B2D42;
    margin: 28px 0 12px;
}
.dtb-single-body p {
    margin: 0 0 18px;
}
.dtb-single-body img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 20px 0;
}
.dtb-single-body ul,
.dtb-single-body ol {
    margin: 0 0 18px;
    padding-left: 24px;
}
.dtb-single-body li {
    margin-bottom: 8px;
}
.dtb-single-body blockquote {
    border-left: 4px solid #FA812F;
    margin: 24px 0;
    padding: 16px 24px;
    background: #fefcf5;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: #555;
}
.dtb-single-body a {
    color: #DD0303;
    text-decoration: underline;
}

/* Tags in Single */
.dtb-single-tags {
    padding: 0 36px 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.dtb-single-tags-label {
    font-size: 14px;
    font-weight: 600;
    color: #666;
}

/* Share */
.dtb-single-share {
    padding: 0 36px 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.dtb-single-share-label {
    font-size: 14px;
    font-weight: 600;
    color: #666;
}
.dtb-share-btn {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
    transition: opacity 0.2s;
}
.dtb-share-btn:hover {
    opacity: 0.85;
}
.dtb-share-fb {
    background: #1877f2;
}
.dtb-share-tw {
    background: #1da1f2;
}

/* Prev / Next Nav */
.dtb-single-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-top: 1px solid #f0f0f0;
}
.dtb-single-nav-item {
    display: block;
    padding: 24px 36px;
    text-decoration: none;
    transition: background 0.2s;
}
.dtb-single-nav-item:hover {
    background: #f8fdfe;
}
.dtb-nav-prev {
    border-right: 1px solid #f0f0f0;
}
.dtb-nav-next {
    text-align: right;
}
.dtb-nav-label {
    display: block;
    font-size: 12px;
    color: #999;
    margin-bottom: 4px;
    font-weight: 600;
}
.dtb-nav-title {
    font-size: 15px;
    font-weight: 600;
    color: #2B2D42;
    transition: color 0.2s;
}
.dtb-single-nav-item:hover .dtb-nav-title {
    color: #DD0303;
}

/* ========== RESPONSIVE ========== */

@media (max-width: 992px) {
    .dtb-blog-layout,
    .dtb-single-layout {
        grid-template-columns: 1fr;
    }
    .dtb-blog-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .dtb-blog-hero {
        padding: 40px 20px 35px;
    }
    .dtb-blog-hero-title {
        font-size: 28px;
    }
    .dtb-blog-grid {
        grid-template-columns: 1fr;
    }
    .dtb-blog-main,
    .dtb-single-main {
        padding: 30px 0 50px;
    }
    .dtb-single-header {
        padding: 24px 20px 0;
    }
    .dtb-single-title {
        font-size: 24px;
    }
    .dtb-single-body {
        padding: 24px 20px;
    }
    .dtb-single-tags,
    .dtb-single-share {
        padding: 0 20px 20px;
    }
    .dtb-single-nav-item {
        padding: 20px;
    }
    .dtb-single-nav {
        grid-template-columns: 1fr;
    }
    .dtb-nav-prev {
        border-right: none;
        border-bottom: 1px solid #f0f0f0;
    }
    .dtb-nav-next {
        text-align: left;
    }
}
