/*
 Theme Name:   My Listing Child
 Theme URI:    http://mylisting.27collective.net/my-city/
 Description:  MyListing Child Theme
 Author:       27collective
 Author URI:   https://27collective.net/
 Template:     my-listing
 Version:      1.1
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         one-column, two-columns, three-columns, left-sidebar, right-sidebar, grid-layout, custom-menu, custom-logo, featured-images, footer-widgets, full-width-template, sticky-post, theme-options, threaded-comments, translation-ready
 Text Domain:  my-listing-child
*/

.error  { padding: 10px 0 20px 0; color: #FF0000; }
input.error, textarea.error { color:#FF0000; }
.strerr.error {
    clear: both;
    float: right;
}



#elementor-popup-modal-5707 .dialog-widget-content {
    border-style: solid;
    border-width: 5px 5px 5px 5px;
    border-color: #ffae00 !important;
    border-radius: 0 0 0 0;
    box-shadow: 2px 8px 23px 3px rgb(0 0 0 / 20%);
}
#elementor-popup-modal-9383 .dialog-widget-content {
    border-style: solid;
    border-width: 5px 5px 5px 5px;
    border-color: #ffae00 !important;
    border-radius: 0 0 0 0;
    box-shadow: 2px 8px 23px 3px rgb(0 0 0 / 20%);
}

.wpcf7-response-output {
    border-color: #ffb900 !important;
}


/* =====================================================
   GOOGLE + LOCAL REVIEWS — FINAL POLISH (MYLISTING)
   ===================================================== */

/* =========================
   SUMMARY BLOCK (TOP)
   ========================= */

.cz-google-summary {
    background: #fff7e6;
    border: 1px solid #ffe0a3;
    border-radius: 8px;
    padding: 18px 20px;
    margin-bottom: 24px;
}

.cz-stars {
    color: #ffae00;
    font-size: 22px;
    letter-spacing: 2px;
    margin-bottom: 6px;
}

.cz-summary-text {
    font-size: 15px;
    color: #333;
    margin-bottom: 6px;
}

.cz-google-summary a {
    color: #ffae00;
    font-weight: 600;
    text-decoration: underline;
}

/* =========================
   GOOGLE REVIEW CARD
   (MATCH LOCAL REVIEWS)
   ========================= */

.cz-google-comment {
    background: #ffffff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

/* Header: avatar | name+date | stars */
.cz-google-comment .comment-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

/* Author layout — GRID (exact MyListing feel) */
.cz-google-comment .comment-author {
    display: grid;
    grid-template-columns: 48px auto;
    column-gap: 14px;
    align-items: start;
}

/* Avatar */
.cz-google-comment .comment-author-avatar {
    grid-row: 1 / span 2;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #f2a365; /* same tone as local */
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 18px;
    color: #fff;
}

/* Reviewer name */
.cz-google-comment .fn {
    display: block;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
}

/* Timestamp — BELOW name */
.cz-google-comment .comment-metadata {
    display: block;
    font-size: 13px;
    color: #777;
    margin-top: 2px;
    font-family: inherit;
    letter-spacing: normal;
}

/* =========================
   STAR RATING (MYLISTING)
   ========================= */

.cz-google-comment .comment-rating {
    display: flex;
    align-items: center;
    gap: 2px;
}

.cz-google-comment .comment-rating i.mi.star {
    color: #ffae00;
    font-size: 14px;
}

/* =========================
   REVIEW CONTENT
   ========================= */

.cz-google-comment .comment-content {
    margin-left: 62px; /* aligns under name, not avatar */
    margin-top: 8px;
    font-size: 15px;
    line-height: 1.6;
    color: #444;
}

/* =========================
   MOBILE BEHAVIOR
   ========================= */

@media (max-width: 768px) {

    .cz-google-summary {
        padding: 16px;
    }

    .cz-google-comment {
        padding: 16px;
    }

    /* Keep stars on the right like local reviews */
    .cz-google-comment .comment-meta {
        flex-direction: row !important;
        justify-content: space-between;
        align-items: flex-start;
    }

    .cz-google-comment .comment-rating {
        margin-left: auto;
        margin-top: 0;
    }
}
