.single-post {
    display: flex;
    flex-direction: column;
    gap: 2em;
}

.single-post .single-post-header {
    display: flex;
    flex-direction: column;
    gap: 2em;
}

.single-post .single-post-header .single-post-meta {}

.single-post .single-post-header .single-post-meta {
    display: flex;
    gap: 1.5em;
}

.single-post .single-post-header .single-post-meta .single-post-meta-item {
    display: flex;
    gap: 0.5em;
    align-items: center;
}

.single-post .single-post-header .single-post-meta .single-post-meta-item svg {
    width: 25px;
    height: 25px;
    padding: 0.35em;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 0.5em;
}

.single-post .single-post-featured-image {
    width: 100%;
    height: auto;
}

.single-post .single-post-image {}

.single-post .single-post-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 0.5em;
}

.single-post-comment {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.single-post-comment h3#comments,
.single-post-comment h3.comment-reply-title {
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.single-post-comment .commentlist {
    list-style: none;
    margin: 0;
    padding: 0;
}

.single-post-comment .commentlist li {
    margin-bottom: 2rem;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 1.5rem;
}

.single-post-comment .comment-body {
    line-height: 1.7;
}

.single-post-comment .comment-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.single-post-comment .comment-author img {
    border-radius: 50%;
}

.single-post-comment .comment-metadata {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.75rem;
}

.single-post-comment .comment-content {
    margin-bottom: 1rem;
}

.single-post-comment .reply {
    margin-top: 0.5rem;
}

.single-post-comment .comment-reply-link {
    color: var(--primary-color);
    font-size: 0.875rem;
    text-decoration: none;
}

.single-post-comment .comment-reply-link:hover {
    text-decoration: underline;
}

.single-post-comment #respond {
    margin-top: 2.5rem;
}

.single-post-comment .comment-form p {
    margin-bottom: 1rem;
}

.single-post-comment .comment-form label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
    color: #444;
}

.single-post-comment .comment-form input[type="text"],
.single-post-comment .comment-form input[type="email"],
.single-post-comment .comment-form input[type="url"],
.single-post-comment .comment-form textarea {
    width: 100%;
    border: 1px solid #ddd;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    background: #fafafa;
}

.single-post-comment .comment-form input[type="text"]:focus,
.single-post-comment .comment-form input[type="email"]:focus,
.single-post-comment .comment-form input[type="url"]:focus,
.single-post-comment .comment-form textarea:focus {
    outline: none;
    border-color: #000;
    background-color: #fff;
    transition: all 0.3s ease-in-out;
}

.single-post-comment .comment-form textarea {
    resize: vertical;
    min-height: 120px;
}

.single-post-comment .comment-form input[type="submit"] {
    background: #222;
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 0.8rem;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.comment-form-cookies-consent {
    display: flex;
    gap: 0.5em;
    align-items: center;
}

.comment-form-cookies-consent label {
    margin: 0 !important;
}

.single-post-comment .comment-form input[type="submit"]:hover {
    background: #444;
}

.single-post-related {
    display: flex;
    flex-direction: column;
    gap: 1.5em;
}

.related-posts-list {
    display: flex;
    flex-direction: column;
    gap: 1.5em;
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 2em;
}

/* start content box styles */
.content-box {
    line-height: 1.8;
    margin: 2rem 0;
}

.content-box p {
    margin-bottom: 1.2rem;
}

.content-box h1,
.content-box h2,
.content-box h3,
.content-box h4,
.content-box h5,
.content-box h6 {
    margin: 2rem 0 1rem;
}

.content-box ul,
.content-box ol {
    margin: 1.5rem 0 1.5rem 2rem;
    padding-left: 1.2rem;
}

.content-box li {
    margin-bottom: 0.5rem;
}

.content-box blockquote {
    margin: 2rem 0;
    padding: 1rem 1.5rem;
    border-left: 4px solid #ddd;
    background: #f9f9f9;
}

.content-box img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1.5rem auto;
}

.content-box table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.content-box table th,
.content-box table td {
    border: 1px solid #ddd;
    padding: 0.75rem;
    text-align: left;
}

/* end content box styles */
/* start categories styles */
.categories {
    display: flex;
    flex-direction: column;
    gap: 1.5em;
}

.categories .categories-title {
    display: flex;
    align-items: center;
    gap: 0.5em;
    font-size: var(--h3-size);
}

.categories .categories-title .bullet {
    display: inline-block;
    width: 14px;
    height: 14px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.categories .categories-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5em;
}

.categories .category-item {
    display: flex;
    flex-direction: row;
    gap: 0.75em;
    align-items: center;
}

.categories .category-item .category-image {
    display: block;
    width: 75px;
    height: 75px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--border-color);
}

/* end categories styles */
/* start ad styles */
.ad {
    display: flex;
    flex-direction: column;
    gap: 1.5em;
}

.ad .ad-link {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.ad .ad-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

/* end ad styles */
/* start simple collection styles */
.simple-collection {
    position: relative;
    padding: 1.5em;
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    background-color: var(--gray);
    display: flex;
    flex-direction: column;
    gap: 1.5em;
}

.simple-collection .simple-collection-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.simple-collection .simple-collection-title {
    font-size: var(--h4-size);
}

.simple-collection .simple-collection-link {
    font-size: 0.8rem;
}

.simple-collection .simple-collection-post-wrapper {}

.simple-collection .simple-collection-post-wrapper .post-simple-card:first-child {
    padding-top: 0;
}

.simple-collection .simple-collection-post-wrapper .post-simple-card:last-child {
    border: none;
    padding-bottom: 0;
}

/* end simple collection styles */
@media (max-width: 600px) {


    .single-post-date {
        font-size: .6em;
    }

    .single-post .single-post-image {
        width: 100%;
        height: 250px;
    }

    .single-post .single-post-header .single-post-meta .single-post-meta-item {
        font-size: 0.7rem;
    }

    .single-post .single-post-header .single-post-meta .single-post-meta-item svg {
        width: 20px;
        height: 20px;
    }

    /* end heading */
    /*start single-post */
    .content-box {
        line-height: 2;
        font-size: .8rem;
        margin: 0;
    }

    .post-compact-card {
        gap: 1em;
        display: flex;
        align-items: flex-start;
    }

    .single-post .single-post-image {
        width: 100%;
        height: 250px;
    }

    .single-post-title {
        font-size: 1rem;
    }

    /*end single-post */

    .simple-collection-post-wrapper {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 2em;
    }

    .ad {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 1em;
    }

    /* start category */
    .categories .category-item {
        flex-direction: column;
    }

    .categories .categories-list {
        grid-template-columns: repeat(3, 1fr);
    }

    span {
        text-align: center;
    }

    /* end category */
    /* start form */
    .single-post-comment .comment-form label {
        font-size: 0.7rem;
    }

    .single-post-comment .comment-form p {
        font-size: .7rem;
    }
    .post-compact-card .post-compact-content .post-compact-title {
        font-size: 1rem;
    }
    /* end form */
}