/**
 * Reviews & Social Testimonials - Slider Styles
 * Version: 1.0.10
 */

/* --- General Slider Styles --- */
.adsp-slider-wrapper {
    position: relative;
    max-width: 900px;
    margin: 30px auto;
    overflow: hidden;
    visibility: hidden;
}
.adsp-slider-wrapper.adsp-initialized {
    visibility: visible;
}
.adsp-slider-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}
.adsp-slider-slide {
    min-width: 100%;
    box-sizing: border-box;
    opacity: 1;
    display: flex;
    flex-direction: column;
    height: auto;
    padding: 5px;
}
.adsp-slider-slide > * {
    width: 100%;
    height: 100%;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}
a.adsp-clickable,
a.adsp-clickable:hover {
    text-decoration: none;
    color: inherit;
}

/* Star colors in slider */
.adsp-slider-slide .adsp-star-rating {
    color: var(--adsp-slider-rating-filled-color, #ffb900);
}
.adsp-slider-slide .adsp-star-rating .dashicons-star-empty {
    color: var(--adsp-slider-rating-empty-color, #ccc);
}

/* --- Template Specific Styles --- */

/* Template: Default */
.adsp-slider-template-default {
    padding: 30px 40px;
    background: var(--adsp-slider-bg-color, #fff);
    border: 1px solid var(--adsp-slider-border-color, #e0e0e0);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    text-align: center;
    color: var(--adsp-slider-text-color, #555);
}
.adsp-slider-template-default .adsp-slider-content {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
    font-style: italic;
}
.adsp-slider-template-default .adsp-slider-author-area {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
.adsp-slider-template-default .adsp-slider-author-image img {
    width: 70px;
    height: 70px;
    object-fit: cover;
}
.adsp-slider-author-image.shape-circle img {
    border-radius: 50%;
}
.adsp-slider-author-image.shape-rectangle img {
    border-radius: 8px;
}
.adsp-slider-template-default .adsp-slider-author-image.with-border img {
    border-width: 3px;
    border-style: solid;
}
.adsp-slider-template-default .adsp-slider-author-details {
    text-align: left;
}
.adsp-slider-template-default .adsp-slider-name {
    font-weight: 700;
    font-size: 18px;
    color: var(--adsp-slider-name-color, #333333);
}
.adsp-slider-template-default .adsp-slider-company {
    color: var(--adsp-slider-company-color, #777777);
}

/* Template: Modern Dark */
.adsp-slider-template-modern-dark {
    padding: 35px;
    background: var(--adsp-slider-bg-color, #2c3e50);
    color: var(--adsp-slider-text-color, #ecf0f1);
    border-radius: 10px;
    text-align: left;
}
.adsp-slider-template-modern-dark .adsp-slider-content {
    font-size: 1.1em;
    margin-bottom: 20px;
    flex-grow: 1;
}
.adsp-slider-template-modern-dark .adsp-slider-author-area {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid #34495e;
    padding-top: 20px;
}
.adsp-slider-template-modern-dark .adsp-slider-author-image img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 50%;
}
.adsp-slider-template-modern-dark .adsp-slider-name {
    color: var(--adsp-slider-name-color, #fff);
    font-weight: bold;
}
.adsp-slider-template-modern-dark .adsp-slider-company {
    color: var(--adsp-slider-company-color, #bdc3c7);
}

/* Template: Classic Quote */
.adsp-slider-template-classic-quote {
    padding: 40px;
    background: var(--adsp-slider-bg-color, #fdfdfd);
    color: var(--adsp-slider-text-color, inherit);
    text-align: center;
}
.adsp-slider-template-classic-quote .adsp-slider-content {
    font-family: Georgia, serif;
    font-size: 1.3em;
    line-height: 1.7;
    position: relative;
    padding: 0 30px;
    margin-bottom: 20px;
    flex-grow: 1;
}
.adsp-slider-template-classic-quote .adsp-slider-content::before,
.adsp-slider-template-classic-quote .adsp-slider-content::after {
    content: '"';
    font-size: 3em;
    color: #e0e0e0;
    position: absolute;
}
.adsp-slider-template-classic-quote .adsp-slider-content::before {
    top: -10px;
    left: 0;
}
.adsp-slider-template-classic-quote .adsp-slider-content::after {
    bottom: -30px;
    right: 0;
}
.adsp-slider-template-classic-quote .adsp-slider-author-area {
    margin-top: 20px;
}
.adsp-slider-template-classic-quote .adsp-slider-author-image img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 10px;
}
.adsp-slider-template-classic-quote .adsp-slider-name {
    font-weight: bold;
    color: var(--adsp-slider-name-color, #333333);
}
.adsp-slider-template-classic-quote .adsp-slider-company {
    color: var(--adsp-slider-company-color, #777777);
}

/* Template: Simple Card */
.adsp-slider-template-simple-card {
    background: var(--adsp-slider-bg-color, #fff);
    border-left: 5px solid #3498db;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    color: var(--adsp-slider-text-color, inherit);
}
.adsp-slider-template-simple-card .adsp-slider-content {
    flex-grow: 1;
    margin-bottom: 15px;
}
.adsp-slider-template-simple-card .adsp-slider-author-area {
    text-align: right;
}
.adsp-slider-template-simple-card .adsp-slider-name {
    font-weight: bold;
    color: var(--adsp-slider-name-color, #333333);
}
.adsp-slider-template-simple-card .adsp-slider-company {
    color: var(--adsp-slider-company-color, #777777);
}

/* Template: Elegant Box */
.adsp-slider-template-elegant-box {
    background: var(--adsp-slider-bg-color, #fff);
    border: 1px solid var(--adsp-slider-border-color, #ddd);
    padding: 0;
    display: flex;
    flex-direction: row !important;
    align-items: stretch;
    height: 100%;
    color: var(--adsp-slider-text-color, inherit);
}
.adsp-slider-template-elegant-box .adsp-slider-author-image {
    flex-basis: 35%;
    flex-shrink: 0;
}
.adsp-slider-template-elegant-box .adsp-slider-author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 !important;
}
.adsp-slider-template-elegant-box .adsp-slider-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.adsp-slider-template-elegant-box .adsp-slider-content {
    flex-grow: 1;
}
.adsp-slider-template-elegant-box .adsp-slider-author-area {
    margin-top: auto;
    padding-top: 15px;
}
.adsp-slider-template-elegant-box .adsp-slider-name {
    color: var(--adsp-slider-name-color, #333333);
}
.adsp-slider-template-elegant-box .adsp-slider-company {
    color: var(--adsp-slider-company-color, #777777);
}

/* Template: Minimalist Text */
.adsp-slider-template-minimalist-text {
    padding: 20px;
    text-align: left;
    color: var(--adsp-slider-text-color, inherit);
}
.adsp-slider-template-minimalist-text .adsp-slider-content {
    font-size: 1.2em;
    border-left: 3px solid #ccc;
    padding-left: 20px;
    margin-bottom: 20px;
    flex-grow: 1;
}
.adsp-slider-template-minimalist-text .adsp-slider-name {
    font-weight: bold;
    color: var(--adsp-slider-name-color, #333333);
}
.adsp-slider-template-minimalist-text .adsp-slider-company {
    color: var(--adsp-slider-company-color, #777777);
}

/* --- Navigation Styles --- */
.adsp-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: var(--adsp-slider-nav-bg-color) !important;
    color: var(--adsp-slider-nav-arrow-color) !important;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0.7;
}
.adsp-slider-nav:hover {
    background: var(--adsp-slider-nav-hover-bg-color) !important;
    color: var(--adsp-slider-nav-arrow-hover-color) !important;
    opacity: 1;
}
.adsp-slider-nav.adsp-slider-prev {
    left: -20px;
}
.adsp-slider-nav.adsp-slider-next {
    right: -20px;
}
@media (max-width: 600px) {
    .adsp-slider-nav.adsp-slider-prev { left: 10px; }
    .adsp-slider-nav.adsp-slider-next { right: 10px; }
}
.adsp-slider-nav .dashicons {
    font-size: 24px;
    width: auto;
    height: auto;
    line-height: 1;
    color: inherit;
}
.adsp-slider-nav:hover .dashicons {
    color: inherit;
}
.adsp-slider-dots {
    text-align: center;
    padding: 15px 0 0;
}
.adsp-slider-dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: var(--adsp-slider-nav-dot-color, #bbb);
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
}
.adsp-slider-dot.adsp-dot-active,
.adsp-slider-dot:hover {
    background-color: var(--adsp-slider-nav-dot-active-color, #717171);
}
.adsp-slider-wrapper[data-nav-style="none"] .adsp-slider-nav,
.adsp-slider-wrapper[data-nav-style="none"] .adsp-slider-dots,
.adsp-slider-wrapper[data-nav-style="dots_only"] .adsp-slider-nav,
.adsp-slider-wrapper[data-nav-style="arrows_only"] .adsp-slider-dots {
    display: none;
}