﻿/* Blog Single and Category Styling for Nivue */
body.single-post, body.archive, body.category, body.blog {
    background-color: #04040a !important;
    color: #ffffff !important;
    font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif !important;
    min-height: 100vh;
}

main#content, .site-main {
    max-width: 1140px;
    margin: 40px auto 80px;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-header {
    margin-bottom: 32px;
    text-align: left;
}

.entry-title, .page-header h1, .page-title {
    color: #ffffff !important;
    font-family: "Plus Jakarta Sans", sans-serif !important;
    font-size: clamp(38px, 5.2vw, 68px) !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    letter-spacing: -0.02em !important;
    margin: 0 0 28px 0 !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #ffffff !important;
}

.page-content, .entry-content {
    color: rgba(255, 255, 255, 0.88);
    font-size: 16px;
    line-height: 1.85;
}

.page-content p, .entry-content p {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 16px !important;
    line-height: 1.85 !important;
    margin-bottom: 24px !important;
}

.page-content figure, .wp-block-image {
    margin: 0 0 32px 0;
}

.page-content figure img, .wp-block-image img {
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    width: 100%;
    height: auto;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.post-tags {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 15px;
    line-height: 1.6;
}

.post-tags .tag-links {
    color: #8c8c97 !important;
    font-weight: 500;
}

.post-tags .tag-links a, .post-tags a {
    color: #c82aee !important;
    font-weight: 600;
    text-decoration: underline !important;
    text-underline-offset: 3px;
    margin: 0 2px;
    display: inline;
    transition: color 0.2s ease;
}

.post-tags a:hover {
    color: #e254ff !important;
    text-decoration: underline !important;
}

/* Comments Section - Matched to Original Live Site */
.comments-area, #respond {
    margin-top: 40px;
    padding-top: 24px;
    border-top: none;
}

.comment-reply-title, #reply-title {
    color: #ffffff !important;
    font-family: "Plus Jakarta Sans", sans-serif !important;
    font-size: clamp(36px, 4.5vw, 56px) !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    letter-spacing: -0.02em !important;
    margin-top: 30px !important;
    margin-bottom: 12px !important;
}

.comment-notes, #email-notes, .required-field-message {
    color: #8c8c97 !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
    margin-bottom: 24px !important;
}

.comment-notes .required {
    color: #8c8c97 !important;
}

.comment-form p {
    margin-bottom: 20px !important;
}

.comment-form label {
    display: block;
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    margin-bottom: 8px !important;
}

.comment-form label .required {
    color: #ffffff !important;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100% !important;
    background-color: #ffffff !important;
    border: 1px solid #666666 !important;
    border-radius: 3px !important;
    padding: 10px 14px !important;
    font-size: 15px !important;
    color: #111111 !important;
    font-family: inherit !important;
    box-sizing: border-box !important;
    margin-top: 4px;
    margin-bottom: 8px;
    outline: none !important;
    transition: border-color 0.25s ease;
}

.comment-form textarea {
    min-height: 160px;
    resize: vertical;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
    border-color: #c82aee !important;
    box-shadow: 0 0 0 1px #c82aee !important;
}

.comment-form .comment-form-cookies-consent {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-top: 10px !important;
    margin-bottom: 24px !important;
}

.comment-form .comment-form-cookies-consent input[type="checkbox"] {
    width: auto !important;
    margin: 0 !important;
    cursor: pointer;
}

.comment-form .comment-form-cookies-consent label {
    display: inline !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    margin: 0 !important;
    cursor: pointer;
}

.comment-form .form-submit {
    margin-top: 16px !important;
}

.comment-form .form-submit .submit {
    background-color: transparent !important;
    color: #ffffff !important;
    font-family: "Plus Jakarta Sans", sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 100px !important;
    padding: 14px 34px !important;
    cursor: pointer !important;
    box-shadow: none !important;
    transition: all 0.25s ease !important;
}

.comment-form .form-submit .submit:hover,
.comment-form .form-submit .submit:focus {
    background-color: rgba(200, 42, 239, 0.12) !important;
    color: #c82aef !important;
    border-color: #c82aef !important;
    box-shadow: 0 4px 15px rgba(200, 42, 239, 0.25) !important;
}

/* Category post lists */
.archive-title {
    color: #ffffff !important;
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 30px;
}

.archive .post, .category .post {
    padding: 24px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.archive .post a, .category .post a {
    color: #ffffff;
    text-decoration: none;
}

.archive .post a:hover, .category .post a:hover {
    color: #c82aee;
}
