/* Reviews (shared) — extracted from landings.css so it can be loaded on
   both template-feature-landing.php and the homepage (front-page.php)
   without dragging the rest of the feature-landing bundle onto the
   homepage. */

/* Cards */
.reviews-shared-grid {
    margin-top: 20px;
}

.reviews-shared-item {
    background: #fff;
    border: 1px solid #ECF4FF;
    border-radius: 12px;
    padding: 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.reviews-shared-stars {
    color: #5470CB;
    letter-spacing: 1px;
    margin-bottom: 12px;
    font-size: 15px;
}

.reviews-shared-item p {
    color: #293763;
    font-size: 15px;
    line-height: 1.6;
}

.reviews-shared-quote {
    margin: 0 0 18px;
    flex: 1;
}

.reviews-shared-who {
    display: flex;
    align-items: center;
    gap: 11px;
    border-top: 1px solid #ECF4FF;
    padding-top: 16px;
    margin-top: auto;
}

.reviews-shared-av {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #5470CB;
    color: #5470CB;
    background: #fff;
    display: grid;
    place-items: center;
    font-size: 14px;
    font-weight: 700;
    font-family: "Roboto", sans-serif;
    flex: none;
}

.reviews-shared-author strong {
    display: block !important;
    color: #293763;
    font-family: "Roboto", sans-serif;
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 2px;
}

.reviews-shared-author span {
    display: block !important;
    font-size: 13px;
    color: #505A89;
    line-height: 1.3;
}

.reviews-shared-src {
    display: inline-block;
    margin-top: 6px;
    font-size: 12px;
    color: #5470CB;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.reviews-shared-src:hover {
    color: #293763;
}

/* Aggregation row */
.reviews-shared-agg {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

.reviews-shared-agg a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.reviews-shared-agg a:hover {
    color: #293763;
}

.reviews-shared-agg-item,
a.reviews-shared-agg-item {
    display: inline-flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 12px;
    text-align: left;
    text-decoration: none;
    color: inherit;
}

.reviews-shared-agg-logo {
    display: block;
    height: 28px;
    width: auto;
    max-width: 120px;
    flex: none;
}

.reviews-shared-agg-rating {
    font-family: "Roboto", sans-serif;
    font-size: 18px;
    color: #293763;
    font-weight: 900;
    line-height: 1;
    flex: none;
    display: inline-flex;
    align-items: baseline;
}

.reviews-shared-agg-score {
    color: #293763;
}

.reviews-shared-agg-star {
    color: #5470CB;
    margin-left: 3px;
}

.reviews-shared-agg-text {
    font-size: 14px;
    color: #505A89;
}

/* Disclaimer */
.reviews-shared-disclaimer {
    margin-top: 24px;
    padding: 16px;
    background: #F7F9FC;
    border-radius: 8px;
    font-size: 12px;
    line-height: 1.5;
    color: #505A89;
}

.reviews-shared-disclaimer p {
    margin: 0;
}

/* Visually-hidden utility (no global utility exists in this theme) */
.u-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Carousel wrapper */
.reviews-shared-carousel {
    position: relative;
    margin-top: 20px;
}

@media (min-width: 992px) {
    .reviews-shared-carousel {
        padding-left: 60px;
        padding-right: 60px;
    }
}

.reviews-shared-slide {
    height: 100%;
}

.reviews-shared-slide > .reviews-shared-item {
    height: 100%;
}

/* Subtle dot indicator */
.reviews-shared-carousel-nav {
    text-align: center;
    margin-top: 22px;
}

.reviews-shared-carousel-nav button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #DCE3F0;
    border: 0;
    padding: 0;
    margin: 0 4px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.reviews-shared-carousel-nav button:hover {
    background: #9AA9CF;
}

.reviews-shared-carousel-nav button.tns-nav-active {
    background: #5470CB;
}
