/* -----------------------------------------------------------
   MEADOW GUESTBOOK — CLEAN VERSION (NO WHEEL)
   M2 Storybook Styling, Golden Glow, Soft Cards
   ----------------------------------------------------------- */


/* -----------------------------------------------------------
   1. COMMENT AREA CONTAINER
   ----------------------------------------------------------- */

.wp-block-comments {
    background: #f8f5eb;
    border: 2px solid #d6e3cc;
    border-radius: 18px;
    padding: 40px;
    box-shadow: 0 0 25px rgba(214, 227, 204, 0.4);
}


/* -----------------------------------------------------------
   2. COMMENT LIST BACKGROUND
   ----------------------------------------------------------- */

.wp-block-comment-template {
    background: linear-gradient(180deg, #d6e3cc 0%, #d1dec7 100%);
    padding: 20px;
    border-radius: 12px;
}


/* -----------------------------------------------------------
   3. INDIVIDUAL COMMENT CARDS
   ----------------------------------------------------------- */

.wp-block-comment,
.wp-block-comment-template li {
    background: #fcf4dd;
    border: 1px solid #d8c9a8;
    border-radius: 14px;
    padding: 22px;
    margin-bottom: 35px;
    list-style: none;
    box-shadow:
        0 6px 14px rgba(0,0,0,0.08),
        0 0 12px rgba(255, 248, 220, 0.4);
    background-image:
        linear-gradient(135deg, rgba(255,255,255,0.1), rgba(240,235,220,0.1)),
        repeating-linear-gradient(
            0deg,
            rgba(0,0,0,0.015),
            rgba(0,0,0,0.015) 1px,
            transparent 1px,
            transparent 3px
        );
}

.wp-block-comment:last-child {
    margin-bottom: 0;
}


/* -----------------------------------------------------------
   4. COMMENT TEXT + DROP CAP
   ----------------------------------------------------------- */

.wp-block-comment-content {
    font-family: Georgia, serif;
    color: #4a3b2a;
    line-height: 1.65;
}

.wp-block-comment-content p:first-of-type::first-letter {
    font-size: 2.4em;
    font-family: Georgia, serif;
    float: left;
    line-height: 0.9;
    padding-right: 6px;
    padding-top: 2px;
    background: linear-gradient(135deg, #f7e7b2, #e3c98a);
    -webkit-background-clip: text;
    color: transparent;
    font-weight: bold;
    text-shadow: 0 0 4px rgba(247, 231, 178, 0.6);
}


/* -----------------------------------------------------------
   5. AUTHOR NAME + DECORATIVE MARK
   ----------------------------------------------------------- */

.wp-block-comment-author-name {
    font-family: Georgia, serif;
    font-style: italic;
    font-size: 1.1em;
    color: #5a4632;
    margin-bottom: 8px;
}

.wp-block-comment-author-name::after {
    content: "❧";
    margin-left: 6px;
    color: #7a6a4f;
    opacity: 0.8;
}


/* -----------------------------------------------------------
   6. AVATAR (DEFAULT THEME BEHAVIOR)
   ----------------------------------------------------------- */

.wp-block-comment-author-avatar img {
    border-radius: 50%;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    margin-right: 10px;
}


/* -----------------------------------------------------------
   7. REPLY LINK
   ----------------------------------------------------------- */

.wp-block-comment-reply-link a {
    font-family: Georgia, serif;
    font-size: 0.9em;
    color: #7a5f3c;
    text-decoration: none;
    border-bottom: 1px dotted #7a6a4f;
    padding-bottom: 2px;
}

.wp-block-comment-reply-link a:hover {
    border-bottom-style: solid;
}


/* -----------------------------------------------------------
   8. COMMENT FORM
   ----------------------------------------------------------- */

#respond.comment-respond {
    background: #fcf4dd;
    border: 1px solid #e2d3b5;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}

#respond textarea {
    background: #fffaf0 !important;
    border: 1px solid #d8c9a8 !important;
    border-radius: 10px !important;
    padding: 14px !important;
    font-family: Georgia, serif !important;
    color: #4a3b2a !important;
}

#respond input[type="submit"] {
    background: #d8c9a8;
    color: #4a3b2a;
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    font-family: Georgia, serif;
    cursor: pointer;
}

#respond input[type="submit"]:hover {
    background: #cbb894;
}


/* -----------------------------------------------------------
   REPLACE WORDPRESS COMMENT TITLE WITH MEADOW TITLE
   ----------------------------------------------------------- */

.wp-block-comments-title,
.comments-title,
#comments h2 {
    font-size: 0 !important;
}

.wp-block-comments-title::after,
.comments-title::after,
#comments h2::after {
    content: "Whispers Recorded in the Great Meadow Ledger";
    font-size: 1.9rem !important;
    font-family: Georgia, serif;
    color: #6b5a43;
    letter-spacing: 1px;
    text-shadow:
        0 0 8px rgba(255, 248, 200, 0.8),
        0 0 14px rgba(214, 227, 204, 0.7);
    display: block;
    text-align: center;
    margin-top: 0.5em;
}


/* -----------------------------------------------------------
   REPLACE COMMENT FORM TITLE ONLY
   ----------------------------------------------------------- */

#reply-title,
.comment-reply-title {
    font-size: 0 !important;
}

#reply-title::after,
.comment-reply-title::after {
    content: "Leave a Meadow Message";
    font-size: 1.6rem !important;
    font-family: Georgia, serif;
    color: #6b5a43;
    text-shadow:
        0 0 8px rgba(255, 248, 200, 0.8),
        0 0 14px rgba(214, 227, 204, 0.7);
}
