﻿
@font-face {
    font-family: 'EB Garamond';
    src: url('/fonts/EBGaramond-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900; /* variable font range */
    font-style: normal;
}

@font-face {
    font-family: 'Libre Franklin';
    src: url('/fonts/LibreFranklin-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900; /* variable font range */
    font-style: normal;
}
body {
    font-family: 'Libre Franklin', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'EB Garamond', serif;
}

.embed-code {
    background: #f7f7f7;
    padding: 10px;
    border: 1px solid #ddd;
}

    .embed-code pre {
        border-radius: 6px;
        white-space: pre-wrap;
        word-wrap: break-word;
        overflow-x: auto;
        font-family: monospace;
        font-size: 14px;
    }

/* Reviews Section */
.reviews-container {
    display: flex;
    justify-content: center;
    align-items: center;
}
.pdlist {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 equal columns */
    gap: 10px 20px; /* row-gap and column-gap */
    list-style: none;
    padding: 0;
    margin: 0;
}

    .pdlist li {
        display: flex;
        align-items: center;
    }
/* Swiper Container */
.swiper-container {
    height: auto;
    position: relative;
    overflow: hidden;
    min-height: 265px;
    padding: 20px 40px;
    width: 100%;
}
.swiper-wrapper {
    display: flex;
}

/* Individual Review Card */
.swiper-slide {
    display: flex;
    justify-content: center;
}

.review-card {
    background-color: #fff;
    padding: 20px;
    width: 100%;
    height:100%;
    min-width:300px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.review-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 5px;
}

.review-content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-direction: row;
}
.star {
    width: 16px;
    padding-right: 4px;
}

.section-title-2 h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #32062a;
    font-weight: 600;
    padding: 0 0 10px;
    position: relative;
    display: inline-block;
    text-align: center;
}

    .section-title-2 h2:before {
        position: absolute;
        content: "";
        left: 0;
        right: 0;
        margin: 0 auto;
        bottom: 0;
        width: 80px;
        height: 2px;
        background-color: #000;
    }

.text-center {
    text-align: center;
}
.avatar {
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    margin-right: 5px;
}

.review-header h4 {
    margin: 0;
    font-size: 18px;
    text-align: left;
}

.review-header .date {
    font-size: 14px;
    color: #000;
    margin: 4px 0;
    text-align: left;
}

.g-badge {
    width: 20px;
    height: 20px;
    margin-left: 10px;
}

.stars {
    color: #FFD700;
    margin: 5px 0;
    text-align: left;
}

.review-text {
    color: #000;
    font-size: 16px;
    line-height: 1.5;
    text-align: left;
    margin: 5px 0 10px;
    min-height: 120px; 
    max-height: 120px;
    overflow-y: auto; 
    padding-right: 8px; 
}

    .review-text::-webkit-scrollbar {
        width: 6px;
    }

    .review-text::-webkit-scrollbar-thumb {
        background: #ccc;
        border-radius: 4px;
    }

        .review-text::-webkit-scrollbar-thumb:hover {
            background: #999;
        }

/* Navigation buttons */
.swiper-button-next,
.swiper-button-prev {
    color: #888;
    width: 20px;
    height: 20px;
    background:#fff;
    padding:4px;
}

    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 18px;
    }

.google-logo {
    width: 28px;
    margin-right: 8px;
}
@media (max-width: 992px) {
    .pdlist {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
    }
}

@media (max-width: 576px) {
    .pdlist {
        grid-template-columns: 1fr; /* single column on mobile */
    }

    .review-card {
        min-width: 200px;
    }
}

@media (max-width: 420px) {

    .review-card {
        min-width: 130px;
    }
}
