/* ==========================================================================
   1. Sidebar Customization (Force White Skin)
   ========================================================================== */

/* Override Sidebar Background */
.side-aside .widget-title {
    color: #222 !important;
    border-color: #eee !important;
}

/* Close Button */
.side-aside .close-side-aside {
    color: #333 !important;
}

.side-aside .close-side-aside:hover {
    color: #ff0000 !important;
}

/* Scrollbar customization for white theme */
.side-aside-wrapper::-webkit-scrollbar-thumb {
    background-color: #ccc !important;
}

.side-aside-wrapper::-webkit-scrollbar-track {
    background-color: #f5f5f5 !important;
}


/* ==========================================================================
   2. Icons Block Styling
   ========================================================================== */
#cd-lateral-nav {
    display: block;
    margin-bottom: 20px;
    padding: 15px;
    border-bottom: 1px solid #eee;
    position: relative;
    z-index: 99;
    /* Space for the close button if it is absolute */
}


#cd-lateral-nav .topIcons {
    margin-bottom: 10px;
}



/* Sidebar Logo */
.sidebar-logo {
    text-align: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #eee;
}

.sidebar-logo img {
    max-width: 150px;
    height: auto;
    display: inline-block;
}

.cntnrIcons {
    display: flex;
    justify-content: space-around;
    /* Distribute icons evenly */
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.cntnrIcons .icons {
    text-align: center;
    flex: 1;
    /* Equal width */
    max-width: 60px;
    /* Adjust as needed */
}

.cntnrIcons .icons a {
    display: block;
    transition: transform 0.2s ease;
}

.cntnrIcons .icons a:hover {
    transform: translateY(-3px);
    /* Hover Effect */
}

.cntnrIcons .icons img {
    width: 40px;
    /* Icon size */
    height: 40px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

/* Mobile Responsiveness for Icons */
@media (max-width: 767px) {
    .cntnrIcons .icons img {
        width: 32px;
        height: 32px;
    }
}


/* ==========================================================================
   Custom CSS v7 - Opinions Slider Design & Fixes
   ========================================================================== */

/* 1. Opinions Slider Container */
.opinions-slider-container {
    padding: 40px 0;
    position: relative;
    background: #fff;
    /* White background as requested */
}

.opinions-slider-container .section-title {
    text-align: right;
    margin-bottom: 30px;
    padding-right: 15px;
    font-size: 20px;
    font-weight: bold;
    color: #e02f2f;
    /* Red */
    border-bottom: 2px solid #ddd;
    display: inline-block;
}

/* 2. Swiper Layout */
.opinionsSwiper {
    padding: 20px 50px 50px 50px !important;
    /* Side padding for arrows */
}

/* 3. Opinion Card Styling */
.opinion-slide {
    height: auto;
}

.opinion-card-link {
    display: block;
    text-decoration: none;
    height: 100%;
    color: inherit;
}

.opinion-card {
    background: #fff;
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid #eee;
}

.opinion-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: #e02f2f;
}

/* 4. Author Image (Larger) */
.opinion-author-img {
    width: 160px;
    /* Increased size */
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 15px auto;
    border: 5px solid #f0f0f0;
    transition: border-color 0.3s;
}

.opinion-card:hover .opinion-author-img {
    border-color: #e02f2f;
    /* Red border on hover */
}

.opinion-author-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 5. Typography */
.opinion-author-name {
    font-size: 20px;
    font-weight: bold;
    color: #e02f2f;
    margin: 10px 0 5px 0;
}

.opinion-author-title {
    font-size: 14px;
    color: #777;
    display: block;
    margin-bottom: 15px;
}

.opinion-post-title {
    font-size: 18px;
    font-weight: bold;
    line-height: 1.4;
    margin: 0;
    color: #333;
}

/* 6. Navigation Buttons (Red Circles) */
.swiper-button-next,
.swiper-button-prev {
    color: #fff !important;
    background: #e02f2f !important;
    width: 45px !important;
    height: 45px !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 10px rgba(224, 47, 47, 0.3) !important;
    opacity: 1 !important;
    top: 50% !important;
    transform: translateY(-50%);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: #b50b0b !important;
    transform: translateY(-50%) scale(1.1);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px !important;
    font-weight: bold;
}

/* Pagination Dots */
.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #ccc;
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: #e02f2f !important;
    width: 12px;
}

/* ==========================================================================
   Single Opinion Page Styling
   ========================================================================== */
.single-opinion-author-box {
    text-align: center;
    margin-bottom: 30px;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 10px;
    border: 1px solid #eee;
}

.opinion-author-img-large {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px auto;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.opinion-author-img-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.opinion-author-name-single {
    font-size: 28px;
    font-weight: bold;
    color: #e02f2f;
    margin: 0 0 10px 0;
}

.opinion-author-title-single {
    font-size: 18px;
    color: #555;
    display: block;
}