/* =============================================
   Single Post — Ubit Fashion Style
   ============================================= */

/* --- Featured Image --- */
.baudep-single-post__featured {
    margin-bottom: 28px;
    overflow: hidden;
}

.baudep-single-post__featured-img {
    display: block;
    height: auto;
    width: 100%;
}

/* --- Title --- */
.baudep-single-post__title {
    color: #333;
    font-family: var(--heading-font-family, Montserrat, sans-serif);
    font-size: 26px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 12px;
}

/* --- Meta --- */
.baudep-single-post__meta {
    color: #999;
    font-size: 13px;
    line-height: 1.6;
    margin: 0 0 28px;
}

.baudep-single-post__meta a {
    color: #999;
    text-decoration: none;
}

.baudep-single-post__meta a:hover {
    color: #e91e8c;
}

/* --- Content --- */
.baudep-single-post__content {
    color: #555;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 32px;
}

.baudep-single-post__content p {
    margin: 0 0 1.4em;
}

.baudep-single-post__content h2,
.baudep-single-post__content h3,
.baudep-single-post__content h4 {
    color: #333;
    margin: 1.6em 0 0.6em;
}

.baudep-single-post__content img {
    height: auto;
    max-width: 100%;
}

.baudep-single-post__content blockquote {
    border-left: 4px solid #e91e8c;
    color: #444;
    font-style: italic;
    margin: 1.6em 0;
    padding: 16px 24px;
}

.baudep-single-post__content ul,
.baudep-single-post__content ol {
    margin: 0 0 1.4em 1.2em;
}

/* --- Tags --- */
.baudep-single-post__tags {
    align-items: center;
    border-top: 1px solid #eee;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 20px;
}

.baudep-single-post__tags-label {
    color: #333;
    font-size: 13px;
    font-weight: 700;
}

.baudep-single-post__tags a {
    border: 1px solid #ddd;
    color: #555;
    display: inline-block;
    font-size: 12px;
    padding: 4px 10px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.baudep-single-post__tags a:hover {
    border-color: #e91e8c;
    color: #e91e8c;
}

/* --- Author Box --- */
.baudep-single-post__author {
    background: #f9f9f9;
    border-radius: 4px;
    display: flex;
    gap: 20px;
    margin-top: 32px;
    padding: 24px;
}

.baudep-single-post__author-avatar img {
    border-radius: 50%;
    display: block;
    flex-shrink: 0;
    height: 80px;
    width: 80px;
}

.baudep-single-post__author-info {
    min-width: 0;
}

.baudep-single-post__author-name {
    color: #333;
    font-family: var(--heading-font-family, Montserrat, sans-serif);
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 6px;
}

.baudep-single-post__author-bio {
    color: #777;
    font-size: 14px;
    line-height: 1.65;
    margin: 0;
}

/* --- Post Navigation --- */
.baudep-single-post__nav {
    border-bottom: 1px solid #eee;
    border-top: 1px solid #eee;
    display: flex;
    margin-top: 32px;
}

.baudep-single-post__nav-link {
    display: block;
    flex: 1;
    padding: 18px 0;
    text-decoration: none;
}

.baudep-single-post__nav-link--prev {
    padding-right: 16px;
}

.baudep-single-post__nav-link--next {
    border-left: 1px solid #eee;
    padding-left: 16px;
    text-align: right;
}

.baudep-single-post__nav-label {
    color: #999;
    display: block;
    font-size: 12px;
    margin-bottom: 4px;
}

.baudep-single-post__nav-title {
    color: #333;
    display: block;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
}

.baudep-single-post__nav-link:hover .baudep-single-post__nav-title {
    color: #e91e8c;
}

/* --- Related Posts --- */
.baudep-single-post__related {
    margin-top: 40px;
}

.baudep-single-post__related-heading {
    color: #333;
    font-family: var(--heading-font-family, Montserrat, sans-serif);
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 24px;
}

.baudep-single-post__related-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(3, 1fr);
}

.baudep-single-post__related-card {
    min-width: 0;
}

.baudep-single-post__related-img-link {
    display: block;
    overflow: hidden;
}

.baudep-single-post__related-img {
    aspect-ratio: 4 / 3;
    display: block;
    height: auto;
    object-fit: cover;
    transition: transform 0.35s ease;
    width: 100%;
}

.baudep-single-post__related-img--placeholder {
    background: linear-gradient(135deg, #eee 0%, #ddd 100%);
    display: block;
    min-height: 160px;
}

.baudep-single-post__related-img-link:hover .baudep-single-post__related-img {
    transform: scale(1.04);
}

.baudep-single-post__related-date {
    color: #999;
    display: block;
    font-size: 12px;
    margin-top: 12px;
}

.baudep-single-post__related-title {
    font-family: var(--heading-font-family, Montserrat, sans-serif);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    margin: 6px 0 10px;
}

.baudep-single-post__related-title a {
    color: #333;
    text-decoration: none;
}

.baudep-single-post__related-title a:hover {
    color: #e91e8c;
}

.baudep-single-post__related-readmore {
    background: linear-gradient(135deg, #e91e8c 0%, #f05fa0 100%);
    border-radius: 3px;
    color: #fff;
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    padding: 7px 18px;
    text-decoration: none;
    transition: opacity 0.25s ease;
}

.baudep-single-post__related-readmore:hover {
    color: #fff;
    opacity: 0.85;
}

/* --- Comments --- */
.baudep-single-post .comment-respond {
    margin-top: 40px;
}

.baudep-single-post .comment-reply-title {
    color: #333;
    font-family: var(--heading-font-family, Montserrat, sans-serif);
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 20px;
}

.baudep-single-post .comment-form label {
    color: #555;
    display: block;
    font-size: 14px;
    margin-bottom: 6px;
}

.baudep-single-post .comment-form input[type='text'],
.baudep-single-post .comment-form input[type='email'],
.baudep-single-post .comment-form input[type='url'],
.baudep-single-post .comment-form textarea {
    border: 1px solid #ddd;
    border-radius: 3px;
    color: #333;
    font-size: 14px;
    padding: 10px 14px;
    width: 100%;
}

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

.baudep-single-post .comment-form .form-submit .submit {
    background: linear-gradient(135deg, #e91e8c 0%, #f05fa0 100%);
    border: 0;
    border-radius: 3px;
    color: #fff;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 12px 32px;
    text-transform: uppercase;
    transition: opacity 0.25s ease;
}

.baudep-single-post .comment-form .form-submit .submit:hover {
    opacity: 0.85;
}

/* --- Comment List --- */
.baudep-single-post .comment-list {
    list-style: none;
    margin: 0 0 32px;
    padding: 0;
}

.baudep-single-post .comment-list .comment {
    border-bottom: 1px solid #f0f0f0;
    padding: 18px 0;
}

.baudep-single-post .comment-list .comment-author img {
    border-radius: 50%;
    float: left;
    height: 48px;
    margin-right: 14px;
    width: 48px;
}

.baudep-single-post .comment-list .comment-author .fn {
    color: #333;
    font-weight: 600;
}

.baudep-single-post .comment-list .comment-metadata {
    color: #999;
    font-size: 12px;
}

.baudep-single-post .comment-list .comment-metadata a {
    color: #999;
    text-decoration: none;
}

.baudep-single-post .comment-list .comment-content {
    clear: both;
    color: #666;
    font-size: 14px;
    line-height: 1.65;
    padding-top: 10px;
}

/* --- Responsive --- */
@media (max-width: 991px) {
    .baudep-single-post__related-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 767px) {
    .baudep-single-post__title {
        font-size: 21px;
    }

    .baudep-single-post__author {
        flex-direction: column;
        gap: 14px;
    }

    .baudep-single-post__nav {
        flex-direction: column;
    }

    .baudep-single-post__nav-link--next {
        border-left: 0;
        border-top: 1px solid #eee;
        padding-left: 0;
        padding-top: 14px;
        text-align: left;
    }

    .baudep-single-post__related-grid {
        grid-template-columns: 1fr;
    }
}
