/* --- Base Swiper adjustments --- */
.wd-swiper {
    padding-bottom: 50px;
    /* Space for pagination */
    padding-left: 10px;
    padding-right: 10px;
}

.wd-swiper .swiper-button-next,
.wd-swiper .swiper-button-prev {
    color: #333;
    transform: scale(0.7);
}

.wd-swiper .swiper-pagination-bullet-active {
    background: #000;
}

/* --- Base Card Styles --- */
.wd-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.wd-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.wd-img-wrap {
    margin-bottom: 20px;
}

.wd-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f9f9f9;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.wd-video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    margin-bottom: 20px;
    background: #000;
}

.wd-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

.wd-message {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
    flex-grow: 1;
}

.wd-rating {
    color: #f1c40f;
    font-size: 20px;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.wd-author-info {
    margin-top: auto;
}

.wd-name {
    font-size: 18px;
    font-weight: 700;
    color: #222;
    margin: 0 0 5px 0;
}

.wd-designation {
    font-size: 14px;
    color: #888;
    margin: 0;
}

/* --------------------------------------
   Layout 1: Classic (Center aligned)
   -------------------------------------- */
.wd-layout-1 .wd-card {
    text-align: center;
    align-items: center;
}

/* --------------------------------------
   Layout 2: Modern (Left aligned + Quote mark)
   -------------------------------------- */
.wd-layout-2 .wd-card {
    text-align: left;
    position: relative;
    overflow: hidden;
    border-left: 4px solid #333;
}

.wd-layout-2 .wd-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    right: 20px;
    font-size: 120px;
    color: rgba(0, 0, 0, 0.04);
    font-family: Georgia, serif;
    line-height: 1;
    z-index: 0;
}

.wd-layout-2 .wd-card>* {
    position: relative;
    z-index: 1;
}

.wd-layout-2 .wd-author-info {
    border-top: 1px solid #eee;
    padding-top: 15px;
    margin-top: 20px;
}

/* --------------------------------------
   Layout 3: Minimal (No shadow, border)
   -------------------------------------- */
.wd-layout-3 .wd-card {
    box-shadow: none;
    border: 1px solid #eaeaea;
    background: transparent;
    text-align: center;
    align-items: center;
}

.wd-layout-3 .wd-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    background: #fff;
}

.wd-layout-3 .wd-rating {
    order: -1;
    /* Move rating above everything else */
    margin-bottom: 15px;
}

.wd-layout-3 .wd-img {
    border: none;
    box-shadow: none;
    width: 100px;
    height: 100px;
}

/* --------------------------------------
   Layout 4: Focused (Inline author & image)
   -------------------------------------- */
.wd-layout-4 .wd-card {
    text-align: left;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas:
        "video video"
        "message message"
        "rating rating"
        "image author";
    column-gap: 15px;
    align-items: center;
    padding: 35px;
}

.wd-layout-4 .wd-video-wrapper {
    grid-area: video;
}

.wd-layout-4 .wd-message {
    grid-area: message;
    margin-bottom: 10px;
}

.wd-layout-4 .wd-rating {
    grid-area: rating;
    margin-bottom: 20px;
}

.wd-layout-4 .wd-img-wrap {
    grid-area: image;
    margin: 0;
}

.wd-layout-4 .wd-author-info {
    grid-area: author;
    margin: 0;
}

.wd-layout-4 .wd-img {
    width: 60px;
    height: 60px;
    margin: 0;
}