/* ==========================================================================
   Single Post – premium editorial feel
   ========================================================================== */

.dk-single {
    background: #fff;
    padding: 140px 0 80px;
}

/* ── Header ── */
.dk-single-header {
    max-width: 780px;
    margin-bottom: 48px;
    padding-top: 10px;
}

.dk-single-header .dk-article-cat {
    margin-bottom: 20px;
}

.dk-single-header .dk-article-cat a {
    text-decoration: none;
}

.dk-single-header .dk-article-cat span {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #1a1a1a;
    border: 1.5px solid #1a1a1a;
    padding: 5px 14px;
    line-height: 1;
    transition: all 0.2s ease;
}

.dk-single-header .dk-article-cat a:hover span {
    background: #1a1a1a;
    color: #fff;
}

.dk-single-title {
    font-family: 'Roboto', sans-serif;
    font-size: 40px;
    font-weight: 900;
    line-height: 1.2;
    color: #1a1a1a;
    margin: 0 0 24px;
    letter-spacing: -0.5px;
}

/* Decorative accent line under title */
.dk-single-header::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #1a1a1a;
    margin-top: 24px;
}

.dk-single-meta {
    font-size: 13px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.dk-single-meta .dk-author {
    font-weight: 700;
    color: #555;
}

.dk-single-meta .dk-views {
    color: #bbb;
}

.dk-single-meta i {
    margin-right: 6px;
    color: #ccc;
}

/* ── Featured Image ── */
.dk-single-image {
    margin-bottom: 50px;
    overflow: hidden;
    border-radius: 2px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.08);
}

.dk-single-image img {
    display: block;
    width: 100%;
    max-height: 560px;
    object-fit: cover;
}

/* ── Body / Content ── */
.dk-single-body {
    max-width: 780px;
    font-size: 18px;
    line-height: 1.9;
    color: #3a3a3a;
}

.dk-single-body p {
    margin-bottom: 1.5em;
}

.dk-single-body h2,
.dk-single-body h3,
.dk-single-body h4 {
    font-weight: 800;
    color: #1a1a1a;
    margin-top: 2.2em;
    margin-bottom: 0.7em;
    letter-spacing: -0.3px;
}

.dk-single-body h2 {
    font-size: 28px;
}

.dk-single-body h3 {
    font-size: 23px;
}

.dk-single-body h4 {
    font-size: 19px;
}

.dk-single-body img {
    max-width: 100%;
    height: auto;
    margin: 2em 0;
    border-radius: 2px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.dk-single-body blockquote {
    border-left: 4px solid #00abc9;
    margin: 2em 0;
    padding: 20px 28px;
    font-style: italic;
    font-size: 19px;
    color: #555;
    background: #f8fafb;
    border-radius: 0 4px 4px 0;
}

.dk-single-body a {
    color: #00abc9;
    text-decoration: none;
    border-bottom: 1px solid rgba(0,171,201,0.3);
    transition: border-color 0.2s ease;
}

.dk-single-body a:hover {
    color: #008da6;
    border-bottom-color: #008da6;
}

.dk-single-body ul,
.dk-single-body ol {
    margin-bottom: 1.5em;
    padding-left: 1.6em;
}

.dk-single-body li {
    margin-bottom: 0.5em;
}

/* Drop cap on first paragraph */
.dk-single-body > p:first-child::first-letter {
    float: left;
    font-size: 64px;
    font-weight: 900;
    line-height: 0.8;
    margin: 6px 14px 0 0;
    color: #1a1a1a;
}

.dk-page-links {
    margin-top: 2em;
    font-weight: 600;
}

/* ── Tags ── */
.dk-single-tags {
    max-width: 780px;
    margin-top: 40px;
    padding-top: 28px;
    border-top: 1px solid #eee;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.dk-single-tags a {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #666;
    background: #f5f5f5;
    padding: 6px 16px;
    border-radius: 2px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.dk-single-tags a:hover {
    background: #1a1a1a;
    color: #fff;
}

/* ── Post Navigation ── */
.dk-single-nav {
    max-width: 780px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 50px;
    padding: 36px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.dk-nav-prev,
.dk-nav-next {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    padding: 20px 24px;
    background: #fafafa;
    border-radius: 2px;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.dk-nav-prev:hover,
.dk-nav-next:hover {
    background: #f0f0f0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    text-decoration: none;
}

.dk-nav-next {
    text-align: right;
}

.dk-nav-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #bbb;
    margin-bottom: 8px;
    font-weight: 600;
}

.dk-nav-title {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.4;
}

.dk-nav-prev:hover .dk-nav-title,
.dk-nav-next:hover .dk-nav-title {
    color: #00abc9;
}

/* ── Related Posts ── */
.dk-single-related {
    margin-top: 60px;
    padding-top: 50px;
    border-top: 1px solid #eee;
}

.dk-related-title {
    font-family: 'Roboto', sans-serif;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #1a1a1a;
    margin: 0 0 14px;
}

.dk-related-line {
    width: 60px;
    height: 4px;
    background: #1a1a1a;
    margin-bottom: 36px;
}

.dk-related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

/* Related card styles */
.dk-single-related .dk-cat-card-image {
    overflow: hidden;
    margin-bottom: 16px;
    border-radius: 2px;
}

.dk-single-related .dk-cat-card-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.dk-single-related .dk-cat-card-image img {
    display: block;
    width: 100%;
    height: 190px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.dk-single-related .dk-cat-card-image a:hover img {
    transform: scale(1.04);
}

.dk-single-related .dk-cat-card-details .dk-article-cat a {
    text-decoration: none;
}

.dk-single-related .dk-cat-card-details .dk-article-cat span {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #1a1a1a;
    border: 1px solid #1a1a1a;
    padding: 3px 8px;
    line-height: 1;
    transition: all 0.2s ease;
}

.dk-single-related .dk-cat-card-details .dk-article-cat a:hover span {
    background: #1a1a1a;
    color: #fff;
}

.dk-single-related .dk-cat-card-details h3 {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    color: #1a1a1a;
    margin: 10px 0 8px;
}

.dk-single-related .dk-cat-card-details a {
    text-decoration: none;
    color: #1a1a1a;
}

.dk-single-related .dk-cat-card-details a:hover,
.dk-single-related .dk-cat-card-details a:hover h3 {
    color: #00abc9;
    text-decoration: none;
}

.dk-single-related .dk-cat-card-meta {
    font-size: 11px;
    color: #bbb;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dk-single-related .dk-cat-card-meta .dk-author {
    font-weight: 600;
    color: #888;
}

.dk-single-related .dk-cat-card-meta .dk-views {
    margin-left: 10px;
    color: #ccc;
}

.dk-single-related .dk-cat-card-meta .dk-views i {
    margin-right: 3px;
}

/* ── Comments ── */
.dk-single-comments {
    max-width: 780px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.dk-single-comments .comments-title {
    font-size: 20px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #1a1a1a;
    margin-bottom: 24px;
}

.dk-single-comments .comment-respond .comment-reply-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
}

.dk-single-comments .comment-form textarea,
.dk-single-comments .comment-form input[type="text"],
.dk-single-comments .comment-form input[type="email"],
.dk-single-comments .comment-form input[type="url"] {
    width: 100%;
    border: 1.5px solid #e0e0e0;
    padding: 12px 16px;
    font-size: 14px;
    border-radius: 2px;
    transition: border-color 0.2s ease;
}

.dk-single-comments .comment-form textarea:focus,
.dk-single-comments .comment-form input:focus {
    border-color: #00abc9;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0,171,201,0.1);
}

.dk-single-comments .form-submit .submit {
    background: #1a1a1a;
    color: #fff;
    border: none;
    padding: 12px 32px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    border-radius: 2px;
    transition: all 0.2s ease;
}

.dk-single-comments .form-submit .submit:hover {
    background: #00abc9;
    box-shadow: 0 4px 16px rgba(0,171,201,0.25);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 991px) {
    .dk-single {
        padding: 50px 0 60px;
    }

    .dk-single-title {
        font-size: 32px;
    }

    .dk-single-body {
        font-size: 16px;
    }

    .dk-related-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
    }
}

@media (max-width: 767px) {
    .dk-single {
        padding: 35px 0 45px;
    }

    .dk-single-header {
        margin-bottom: 32px;
    }

    .dk-single-title {
        font-size: 26px;
    }

    .dk-single-image {
        margin-bottom: 32px;
        box-shadow: none;
    }

    .dk-single-image img {
        max-height: 300px;
    }

    .dk-single-body {
        font-size: 15px;
        line-height: 1.8;
    }

    .dk-single-body > p:first-child::first-letter {
        font-size: 48px;
        margin: 4px 10px 0 0;
    }

    .dk-single-nav {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .dk-nav-next {
        text-align: left;
    }

    .dk-related-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .dk-single-related .dk-cat-card-image img {
        height: 200px;
    }
}
