@import url('https://fonts.googleapis.com/css2?family=Patrick+Hand&display=swap');

/* Modern, elegant mobile comment section */
@media (max-width: 600px) {

    /* Section spacing */
    .comments-area {
        padding: 25px 15px;
        background: #fafafa;
        border-radius: 10px;
        margin-top: 30px;
    }

    /* Comment title */
    .comments-title,
    .comment-reply-title {
        margin-top: 10px;
        margin-bottom: 20px;
        font-size: 1.4em;
        font-weight: 600;
        text-align: center;
        color: #333;
    }

    /* Pingback styling */
    .pingback {
        padding: 15px 10px;
        margin-bottom: 15px;
        background: #ffffff;
        border-radius: 8px;
        border: 1px solid #e0e0e0;
        font-size: 0.95em;
        color: #555;
    }

    /* Intro text */
    .comments-area p {
        margin-top: 10px;
        margin-bottom: 20px;
        text-align: center;
        font-size: 1.05em;
        line-height: 1.6;
        color: #444;
    }

    /* Comment box */
    .comment-form-comment textarea {
        width: 100%;
        padding: 14px;
        font-size: 1em;
        border-radius: 10px;
        border: 1px solid #ccc;
        background: #fff;
        box-shadow: 0 1px 3px rgba(0,0,0,0.08);
        margin-top: 10px;
    }

    /* Avatar spacing */
    .comment-form .avatar {
        margin-right: 12px;
        border-radius: 50%;
    }

    /* Submit button */
    .form-submit input[type="submit"] {
        width: 100%;
        padding: 12px;
        font-size: 1.1em;
        border-radius: 10px;
        background: #c62828;
        color: #fff;
        border: none;
        margin-top: 15px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.15);
    }

    .form-submit input[type="submit"]:hover {
        background: #b71c1c;
    }
}
/* Desktop-only styling for the notebook page */
@media (min-width: 900px) {

    /* Move the notebook text higher and align left */
    .wp-block-cover .wp-block-group {
        margin-top: -40px;   /* pull text upward */
        margin-left: 60px;   /* align to left side of notebook */
        max-width: 600px;    /* keeps text from stretching too wide */
    }

    /* Handwriting font for all notebook text */
    .wp-block-cover .wp-block-group * {
        font-family: 'Patrick Hand', cursive;
        text-align: left;
    }

    /* Style the "Chapters" heading */
    .wp-block-cover .wp-block-group h2,
    .wp-block-cover .wp-block-group h3 {
        font-size: 2.4em;    /* larger letters */
        font-weight: 700;
        margin-bottom: 20px;
    }

    /* Style the chapter links */
    .wp-block-cover .wp-block-group a {
        display: block;
        font-size: 1.6em;    /* larger link text */
        margin-bottom: 12px;
        color: #333;
        text-decoration: none;   /* remove underline */
    }

    /* Optional hover effect */
    .wp-block-cover .wp-block-group a:hover {
        color: #000;
    }
}
/* Improve spacing for mobile post footer */
@media (max-width: 600px) {
    .entry-footer,
    .entry-author,
    .comments-area,
    .jp-relatedposts {
        margin-top: 25px;
        padding-top: 15px;
        border-top: 1px solid #ddd;
    }
}
#scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #cc0000;
    color: white;
    padding: 10px 15px;
    border-radius: 50%;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}
