/* ========================================
   YCS LOOK FOR WP REVIEW SLIDER PRO
   Applied only to templates listed in YCS_REVIEW_TEMPLATES (functions.php)
======================================== */

.ycs-reviews-skin .wprevpro {
    --ycs-navy: #002244;
    --ycs-blue: #3FA9F5;
    --ycs-text: #253746;
    --ycs-muted: #71808d;
    --ycs-border: #e5ebf0;
    --ycs-gold: #f5b61b;

    font-family: "proxima nova light", Arial, sans-serif;
}

.ycs-reviews-skin .wprevpro *,
.ycs-reviews-skin .wprevpro *::before,
.ycs-reviews-skin .wprevpro *::after {
    box-sizing: border-box;
}


/* ========================================
   GRID (replaces the plugin's float columns)
======================================== */

.ycs-reviews-skin .wprevpro .wprevpro_t6_outer_div {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;

    max-width: 1200px;
    margin: 0 auto !important;
}

/* clearfix pseudo-elements would become empty grid cells */
.ycs-reviews-skin .wprevpro .wprevpro_t6_outer_div::before,
.ycs-reviews-skin .wprevpro .wprevpro_t6_outer_div::after {
    content: none !important;
    display: none !important;
}

.ycs-reviews-skin .wprevpro .outerrevdiv {
    display: flex;

    width: auto !important;
    float: none !important;

    margin: 0 !important;
    padding: 0 !important;
}

.ycs-reviews-skin .wprevpro .wpproslider_t6_DIV_1a {
    display: flex;
    width: 100%;

    margin: 0 !important;
    padding: 0 !important;
}


/* ========================================
   CARD
======================================== */

.ycs-reviews-skin .wprevpro .indrevdiv {
    position: relative;

    display: flex !important;
    flex-direction: column;

    width: 100%;
    height: auto !important;          /* kills the inline 284px height */
    min-height: 360px;

    margin: 0 !important;
    padding: 70px 29px 25px !important; /* top space = stars row */

    background: #ffffff !important;

    border: 1px solid var(--ycs-border) !important;
    border-radius: 16px !important;

    box-shadow:
        0 2px 5px rgba(0, 34, 68, 0.02),
        0 10px 30px rgba(0, 34, 68, 0.055) !important;

    transition:
        transform .22s ease,
        box-shadow .22s ease,
        border-color .22s ease;
}

.ycs-reviews-skin .wprevpro .indrevdiv:hover {
    transform: translateY(-4px);

    border-color: #d3e1ea !important;

    box-shadow:
        0 4px 8px rgba(0, 34, 68, 0.03),
        0 18px 42px rgba(0, 34, 68, 0.09) !important;
}

/* Featured middle card */
.ycs-reviews-skin .wprevpro .outerrevdiv:nth-child(2) .indrevdiv {
    border-top: 3px solid var(--ycs-blue) !important;
    padding-top: 68px !important;
}


/* ========================================
   STARS (moved to top-left)
======================================== */

.ycs-reviews-skin .wprevpro .wpproslider_t13_star_DIV {
    position: absolute;
    top: 29px;
    left: 29px;

    margin: 0 !important;
    padding: 0 !important;
    line-height: 1;
}

.ycs-reviews-skin .wprevpro .outerrevdiv:nth-child(2) .wpproslider_t13_star_DIV {
    top: 27px;
}

/* hide plugin icon stars, draw text stars like the static block */
.ycs-reviews-skin .wprevpro .wprevpro_star_imgs_T13 {
    display: none !important;
}

.ycs-reviews-skin .wprevpro .wpproslider_t13_star_DIV::before {
    content: "★★★★★";

    color: var(--ycs-gold);

    font-family: Arial, sans-serif;
    font-size: 16px;
    line-height: 1;
    letter-spacing: 2px;
    white-space: nowrap;
}


/* ========================================
   GOOGLE REVIEW BADGE (top-right, uses the empty logo div)
======================================== */

.ycs-reviews-skin .wprevpro .wpproslider_t13_DIV_3_logo {
    position: absolute;
    top: 27px;
    right: 29px;

    display: inline-flex !important;
    align-items: center;
    gap: 7px;

    width: auto !important;
    height: 19px !important;
    margin: 0 !important;

    background: none !important;
}

.ycs-reviews-skin .wprevpro .outerrevdiv:nth-child(2) .wpproslider_t13_DIV_3_logo {
    top: 25px;
}

.ycs-reviews-skin .wprevpro .wpproslider_t13_DIV_3_logo::before {
    content: "";

    flex: 0 0 19px;
    width: 19px;
    height: 19px;

    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='%23FFC107' d='M43.611 20.083H42V20H24v8h11.303C33.654 32.657 29.226 36 24 36c-6.627 0-12-5.373-12-12s5.373-12 12-12c3.059 0 5.842 1.154 7.961 3.039l5.657-5.657C34.046 6.053 29.268 4 24 4 12.955 4 4 12.955 4 24s8.955 20 20 20 20-8.955 20-20c0-1.341-.138-2.65-.389-3.917z'/%3E%3Cpath fill='%23FF3D00' d='M6.306 14.691l6.571 4.819C14.655 15.108 18.961 12 24 12c3.059 0 5.842 1.154 7.961 3.039l5.657-5.657C34.046 6.053 29.268 4 24 4c-7.682 0-14.344 4.337-17.694 10.691z'/%3E%3Cpath fill='%234CAF50' d='M24 44c5.166 0 9.86-1.977 13.409-5.192l-6.19-5.238C29.211 35.091 26.715 36 24 36c-5.205 0-9.62-3.317-11.283-7.946l-6.522 5.025C9.505 39.556 16.227 44 24 44z'/%3E%3Cpath fill='%231976D2' d='M43.611 20.083H42V20H24v8h11.303c-.792 2.237-2.231 4.166-4.087 5.571l.003-.002 6.19 5.238C36.971 39.205 44 34 44 24c0-1.341-.138-2.65-.389-3.917z'/%3E%3C/svg%3E") no-repeat center / contain;
}

.ycs-reviews-skin .wprevpro .wpproslider_t13_DIV_3_logo::after {
    content: "Google Review";

    color: #778590;

    font-family: "proxima nova light", Arial, sans-serif;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}


/* ========================================
   REVIEW TEXT
======================================== */

.ycs-reviews-skin .wprevpro .wpproslider_t13_DIV_4 {
    position: relative;
    flex-grow: 1;

    margin: 0 !important;
    padding: 0 !important;
}

.ycs-reviews-skin .wprevpro .wpproslider_t13_DIV_4::before {
    content: "\201C";

    position: absolute;
    top: -17px;
    left: -3px;

    color: var(--ycs-blue);
    opacity: .13;

    font-family: Georgia, serif;
    font-size: 56px;
    line-height: 1;

    pointer-events: none;
}

.ycs-reviews-skin .wprevpro .indrevtxt {
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;

    color: var(--ycs-text) !important;
    text-align: left !important;

    font-family: "proxima nova light", Arial, sans-serif !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 1.62 !important;
}


/* ========================================
   REVIEWER FOOTER
======================================== */

.ycs-reviews-skin .wprevpro .wpproslider_t13_DIV_2_bot {
    position: static !important;

    display: flex !important;
    align-items: center;
    gap: 12px;

    margin-top: 25px !important;
    padding: 20px 0 0 !important;

    border-top: 1px solid #edf1f4;
}

/* Avatar: plugin's hidden avatar slot, filled with initials by the script below */
.ycs-reviews-skin .wprevpro .wpproslider_t6_DIV_3L {
    display: grid !important;
    place-items: center;

    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    margin: 0 !important;

    border-radius: 50%;

    background: #eaf6fc;
    color: var(--ycs-navy);

    font-family: "proxima nova bold", Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
}

.ycs-reviews-skin .wprevpro .wpproslider_t6_DIV_3L:empty {
    display: none !important;
}

.ycs-reviews-skin .wprevpro .wpproslider_t13_DIV_3 {
    position: static !important;

    margin: 0 !important;
    padding: 0 !important;

    text-align: left !important;
}

.ycs-reviews-skin .wprevpro .t13displayname {
    display: block;
    margin: 0 !important;

    color: var(--ycs-navy) !important;
    text-align: left !important;

    font-family: "proxima nova bold", Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
}

.ycs-reviews-skin .wprevpro .t13displayname::after {
    content: "YCS Customer";

    display: block;
    margin-top: 2px;

    color: var(--ycs-muted);

    font-family: "proxima nova light", Arial, sans-serif;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.3;
}

.ycs-reviews-skin .wprevpro .wpproslider_t13_SPAN_6 {
    display: none !important;
}


/* ========================================
   TABLET
======================================== */

@media (max-width: 900px) {

    .ycs-reviews-skin .wprevpro .wprevpro_t6_outer_div {
        grid-template-columns: 1fr;
        max-width: 620px;
    }

    .ycs-reviews-skin .wprevpro .indrevdiv {
        min-height: auto;
    }
}


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

@media (max-width: 600px) {

    .ycs-reviews-skin .wprevpro .indrevdiv {
        padding: 64px 23px 22px !important;
    }

    .ycs-reviews-skin .wprevpro .outerrevdiv:nth-child(2) .indrevdiv {
        padding-top: 62px !important;
    }

    .ycs-reviews-skin .wprevpro .wpproslider_t13_star_DIV {
        top: 25px;
        left: 23px;
    }

    .ycs-reviews-skin .wprevpro .wpproslider_t13_DIV_3_logo {
        top: 23px;
        right: 23px;
    }

    .ycs-reviews-skin .wprevpro .indrevtxt {
        font-size: 15px !important;
    }
}
