/* =========================================
   SINGLE POST STYLES (Reading Mode)
   ========================================= */

/* Post Header Area */
.single .entry-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eaeaea;
}

.single .entry-title {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 15px;
    color: #111;
}

.single .entry-meta {
    display: flex;
    justify-content: center;
    gap: 15px;
    font-size: 0.95rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.single .entry-meta a {
    color: var(--wp--preset--color--primary, #0073aa);
    text-decoration: none;
    font-weight: 600;
}

/* Post Content Typography (Optimized for Reading) */
.single .entry-content {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #333;
}

.single .entry-content p {
    margin-bottom: 1.5em;
}

.single .entry-content h2,
.single .entry-content h3,
.single .entry-content h4 {
    color: #111;
    margin: 2em 0 1em;
    font-weight: 700;
    line-height: 1.3;
}

.single .entry-content h2 { font-size: 2rem; }
.single .entry-content h3 { font-size: 1.5rem; }

/* Blockquotes */
.single .entry-content blockquote {
    margin: 2em 0;
    padding: 20px 30px;
    border-left: 5px solid var(--wp--preset--color--primary, #0073aa);
    background-color: #f9f9f9;
    font-size: 1.25rem;
    font-style: italic;
    color: #555;
    border-radius: 0 8px 8px 0;
}

.single .entry-content blockquote p:last-child {
    margin-bottom: 0;
}

/* Images & Captions inside Post */
.single .entry-content img {
    border-radius: 8px;
    margin-top: 1em;
}

.single .entry-content figcaption,
.wp-caption-text {
    text-align: center;
    font-size: 0.85rem;
    color: #888;
    margin-top: 10px;
    font-style: italic;
}

/* Post Footer (Categories/Tags) */
.single .entry-footer {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #eaeaea;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.single .entry-footer a {
    background: #f4f4f4;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #444;
    text-decoration: none;
    transition: background 0.2s;
}

.single .entry-footer a:hover {
    background: var(--wp--preset--color--primary, #0073aa);
    color: #fff;
}
/* =========================================
   8. POST NAVIGATION (Previous / Next)
   ========================================= */
.post-navigation {
    margin: 50px 0;
    padding: 30px 0;
    border-top: 1px solid #eaeaea;
    border-bottom: 1px solid #eaeaea;
}

.post-navigation .nav-links {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.post-navigation .nav-previous, 
.post-navigation .nav-next {
    flex: 1;
    min-width: 250px;
}

.post-navigation .nav-next {
    text-align: right;
}

.post-navigation .nav-subtitle {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    color: #888;
    letter-spacing: 1px;
    margin-bottom: 5px;
    font-weight: 700;
}

.post-navigation a {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--wp--preset--color--primary, #0073aa);
    text-decoration: none;
    transition: color 0.2s ease;
}

.post-navigation a:hover {
    color: #111;
}

/* =========================================
   9. COMMENT FORM STYLING
   ========================================= */
.comments-area {
    margin-top: 50px;
    padding-top: 20px;
}

.comment-reply-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: #111;
}

.logged-in-as,
.comment-notes {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 25px;
}

/* Form Inputs and Textarea */
.comment-form textarea,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"] {
    width: 100%;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: #fafafa;
}

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

/* Focus Outline for Accessibility & Polish */
.comment-form textarea:focus,
.comment-form input:focus {
    outline: none;
    background-color: #fff;
    border-color: var(--wp--preset--color--primary, #0073aa);
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.15);
}

.comment-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.comment-form-comment {
    margin-bottom: 25px;
}

/* The Submit Button */
.comment-form .submit {
    background-color: var(--wp--preset--color--primary, #0073aa);
    color: #ffffff;
    padding: 14px 35px;
    font-size: 1.05rem;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 115, 170, 0.2);
}

.comment-form .submit:hover {
    background-color: #005a87;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 115, 170, 0.3);
}

