/* ==========================================================================
   ACF to Standard WP Migrator - Full Width Responsive Post Images (100% Width)
   ========================================================================== */

/* Force all single post content images to 100% available container width */
.single-post article.post .entry-content img:not(.avatar):not(.wp-smiley):not(.emoji):not(.custom-logo):not(.site-logo),
.single-post article.type-post .entry-content img:not(.avatar):not(.wp-smiley):not(.emoji):not(.custom-logo):not(.site-logo),
.single-post .entry-content img:not(.avatar):not(.wp-smiley):not(.emoji):not(.custom-logo):not(.site-logo),
.single .entry-content img:not(.avatar):not(.wp-smiley):not(.emoji):not(.custom-logo):not(.site-logo),
.single-post .post-content img:not(.avatar):not(.wp-smiley):not(.emoji):not(.custom-logo):not(.site-logo),
.single-post .entry-content > img:not(.avatar):not(.wp-smiley):not(.emoji):not(.custom-logo):not(.site-logo),
.single-post .entry-content > p > img:not(.avatar):not(.wp-smiley):not(.emoji):not(.custom-logo):not(.site-logo),
.single-post .entry-content > a > img:not(.avatar):not(.wp-smiley):not(.emoji):not(.custom-logo):not(.site-logo),
.single-post .entry-content > p > a > img:not(.avatar):not(.wp-smiley):not(.emoji):not(.custom-logo):not(.site-logo) {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 1.5em !important;
    margin-bottom: 1.5em !important;
    float: none !important;
    clear: both !important;
    box-sizing: border-box !important;
}

/* Reset image containers and alignment wrappers to full width in single posts */
.single-post .entry-content figure:not(.wp-block-gallery .wp-block-image),
.single-post .entry-content figure.wp-block-image,
.single-post .entry-content .wp-block-image,
.single-post .entry-content div.wp-block-image,
.single-post .entry-content .alignnone,
.single-post .entry-content .aligncenter,
.single-post .entry-content .alignleft,
.single-post .entry-content .alignright,
.single-post article.post .entry-content figure:not(.wp-block-gallery .wp-block-image),
.single-post article.post .entry-content .wp-block-image {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 1.5em !important;
    margin-bottom: 1.5em !important;
    float: none !important;
    display: block !important;
    box-sizing: border-box !important;
    clear: both !important;
}

/* Ensure links wrapping full width images also behave as full width blocks */
.single-post .entry-content a:has(> img),
.single-post article.post .entry-content a:has(> img),
.single-post .entry-content a > img,
.single-post article.post .entry-content a > img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* Standard WP Galleries in single posts: let gallery items fill their column width */
.single-post .gallery,
.single-post article.post .gallery,
.single-post .wp-block-gallery,
.single-post article.post .wp-block-gallery {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.single-post .gallery .gallery-item img,
.single-post .wp-block-gallery .wp-block-image img {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    margin: 0 !important;
}

/* Kadence Column & Grid Logos */
.wp-block-kadence-column .wp-block-image {
    margin: 0 auto !important;
    text-align: center;
}
.wp-block-kadence-column .wp-block-image img {
    margin: 0 auto !important;
    transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
    max-width: 100% !important;
    height: auto !important;
}
.wp-block-kadence-column .wp-block-image a:hover img {
    transform: scale(1.05);
    opacity: 0.92;
}

/* ==========================================================================
   Kadence Advanced Gallery Protection & Refinement
   ========================================================================== */
.entry-content .wp-block-kadence-advancedgallery,
article.post .entry-content .wp-block-kadence-advancedgallery {
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 1.5em !important;
    margin-bottom: 2em !important;
    clear: both !important;
}

.entry-content .wp-block-kadence-advancedgallery .kb-gallery-ul,
article.post .entry-content .wp-block-kadence-advancedgallery .kb-gallery-ul {
    margin: 0 !important;
    padding: 0 !important;
}

.entry-content .wp-block-kadence-advancedgallery .kadence-blocks-gallery-item img,
article.post .entry-content .wp-block-kadence-advancedgallery .kadence-blocks-gallery-item img,
.entry-content .wp-block-kadence-advancedgallery .splide__slide img,
article.post .entry-content .wp-block-kadence-advancedgallery .splide__slide img,
.entry-content .wp-block-kadence-advancedgallery .kb-slide-item img,
article.post .entry-content .wp-block-kadence-advancedgallery .kb-slide-item img,
.entry-content .wp-block-kadence-advancedgallery .kb-gallery-slide-item img,
article.post .entry-content .wp-block-kadence-advancedgallery .kb-gallery-slide-item img {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    clear: none !important;
    float: none !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    object-fit: cover !important;
    transition: transform 0.25s ease-in-out, opacity 0.25s ease-in-out;
}

.entry-content .wp-block-kadence-advancedgallery .kadence-blocks-gallery-item:hover img,
article.post .entry-content .wp-block-kadence-advancedgallery .kadence-blocks-gallery-item:hover img {
    opacity: 0.94;
}

.entry-content .wp-block-kadence-advancedgallery figure {
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    clear: none !important;
}

/* ==========================================================================
   Project Posts Gallery Slider: Hide Pagination Dots
   ========================================================================== */
.wp-block-kadence-advancedgallery .splide__pagination,
.wp-block-kadence-advancedgallery .kt-carousel-dotstyle-dark .splide__pagination,
.wp-block-kadence-advancedgallery .kt-blocks-carousel .splide__pagination,
.entry-content .wp-block-kadence-advancedgallery .splide__pagination {
    display: none !important;
}

/* ==========================================================================
   Single Project Posts ONLY: Match Header Container Boundaries, No Sidebar, Top Slider
   ========================================================================== */

/* 1. Hide Sidebar strictly on single project posts */
body.single-post.is-project-single-post #secondary,
body.single-post.category-projects #secondary,
body.single-post.category-project #secondary,
body.single-post.category-פרויקטים #secondary,
body.single-post:has(article.single-entry.category-projects) #secondary,
body.single-post:has(article.single-entry.category-project) #secondary,
body.single-post:has(article.single-entry.category-פרויקטים) #secondary,
body.single-post.is-project-single-post .primary-sidebar,
body.single-post.category-projects .primary-sidebar,
body.single-post.category-project .primary-sidebar,
body.single-post:has(article.single-entry.category-projects) .primary-sidebar {
    display: none !important;
}

/* 2. Container boundaries on single project posts: Match header boundaries */
body.single-post.is-project-single-post #primary,
body.single-post.category-projects #primary,
body.single-post.category-project #primary,
body.single-post.category-פרויקטים #primary,
body.single-post:has(article.single-entry.category-projects) #primary {
    width: 100% !important;
    max-width: 100% !important;
}

body.single-post.is-project-single-post #primary .content-container,
body.single-post.category-projects #primary .content-container,
body.single-post.category-project #primary .content-container,
body.single-post.category-פרויקטים #primary .content-container,
body.single-post:has(article.single-entry.category-projects) #primary .content-container {
    grid-template-columns: 1fr !important;
    max-width: var(--global-content-width) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: var(--global-content-edge-padding) !important;
    padding-right: var(--global-content-edge-padding) !important;
    box-sizing: border-box !important;
    display: block !important;
}

body.single-post.is-project-single-post #main.site-main,
body.single-post.category-projects #main.site-main,
body.single-post.category-project #main.site-main,
body.single-post.category-פרויקטים #main.site-main,
body.single-post:has(article.single-entry.category-projects) #main.site-main {
    width: 100% !important;
    max-width: 100% !important;
}

body.single-post.is-project-single-post .entry-content,
body.single-post.category-projects .entry-content,
body.single-post.category-project .entry-content,
body.single-post.category-פרויקטים .entry-content,
body.single-post:has(article.single-entry.category-projects) .entry-content {
    width: 100% !important;
    max-width: 100% !important;
}

body.single-post.is-project-single-post .entry-content-wrap,
body.single-post.category-projects .entry-content-wrap,
body.single-post.category-project .entry-content-wrap,
body.single-post.category-פרויקטים .entry-content-wrap,
body.single-post:has(article.single-entry.category-projects) .entry-content-wrap {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* 3. Hide static featured image strictly on single project posts */
body.single-post.is-project-single-post .entry-hero,
body.single-post.is-project-single-post .entry-hero .post-thumbnail,
body.single-post.is-project-single-post .entry-thumbnail,
body.single-post.is-project-single-post .post-top-featured,
body.single-post.category-projects .entry-hero,
body.single-post.category-projects .entry-hero .post-thumbnail,
body.single-post.category-projects .entry-thumbnail,
body.single-post.category-projects .post-top-featured,
body.single-post:has(article.single-entry.category-projects) .entry-hero,
body.single-post:has(article.single-entry.category-projects) .entry-thumbnail,
body.single-post:has(article.single-entry.category-projects) .post-top-featured,
body.single-post:has(article.single-entry.category-projects) > .post-thumbnail,
body.single-post article.single-entry.category-projects > .post-thumbnail {
    display: none !important;
}

/* 4. Top Slider in Single Project Posts: 100% container width */
body.single-post.is-project-single-post .entry-content > .wp-block-kadence-advancedgallery:first-child,
body.single-post.category-projects .entry-content > .wp-block-kadence-advancedgallery:first-child,
body.single-post.category-project .entry-content > .wp-block-kadence-advancedgallery:first-child,
body.single-post.category-פרויקטים .entry-content > .wp-block-kadence-advancedgallery:first-child,
body.single-post:has(article.single-entry.category-projects) .entry-content > .wp-block-kadence-advancedgallery:first-child {
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 0 !important;
    margin-bottom: 2.5rem !important;
}

/* Prevent any negative margin breakouts on single project posts */
body.single-post.is-project-single-post .wp-block-kadence-advancedgallery,
body.single-post.category-projects .wp-block-kadence-advancedgallery,
body.single-post.category-project .wp-block-kadence-advancedgallery,
body.single-post.category-פרויקטים .wp-block-kadence-advancedgallery,
body.single-post:has(article.single-entry.category-projects) .wp-block-kadence-advancedgallery,
body.single-post.is-project-single-post .entry-content .alignfull,
body.single-post.is-project-single-post .entry-content .alignwide,
body.single-post.category-projects .entry-content .alignfull,
body.single-post.category-projects .entry-content .alignwide,
body.single-post:has(article.single-entry.category-projects) .entry-content .alignfull,
body.single-post:has(article.single-entry.category-projects) .entry-content .alignwide {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
}

.wp-block-kadence-advancedgallery .kt-blocks-carousel,
.wp-block-kadence-advancedgallery .splide,
.wp-block-kadence-advancedgallery .splide__track {
    width: 100% !important;
    max-width: 100% !important;
}

.wp-block-kadence-advancedgallery .splide__list {
    display: flex !important;
    width: 100% !important;
}

.wp-block-kadence-advancedgallery .splide__slide {
    width: 100% !important;
}

/* ==========================================================================
   Single Project Posts: Content Typography, Section Headings & Clean Separation
   ========================================================================== */

/* 1. Hide duplicate raw ACF title meta fields on single posts */
body.single-post.is-project-single-post .acf-field-etgar_title,
body.single-post.is-project-single-post .acf-field-project_info_title,
body.single-post.category-projects .acf-field-etgar_title,
body.single-post.category-projects .acf-field-project_info_title,
body.single-post:has(article.single-entry.category-projects) .acf-field-etgar_title,
body.single-post:has(article.single-entry.category-projects) .acf-field-project_info_title {
    display: none !important;
}

/* 2. Text Container: Comfortable, readable width (960px), centered with side padding */
body.single-post.is-project-single-post .entry-header,
body.single-post.category-projects .entry-header,
body.single-post:has(article.single-entry.category-projects) .entry-header,
body.single-post.is-project-single-post .entry-content > :not(.wp-block-kadence-advancedgallery),
body.single-post.category-projects .entry-content > :not(.wp-block-kadence-advancedgallery),
body.single-post.category-project .entry-content > :not(.wp-block-kadence-advancedgallery),
body.single-post.category-פרויקטים .entry-content > :not(.wp-block-kadence-advancedgallery),
body.single-post:has(article.single-entry.category-projects) .entry-content > :not(.wp-block-kadence-advancedgallery) {
    max-width: 960px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 2rem !important;
    padding-right: 2rem !important;
    box-sizing: border-box !important;
}

/* 3. Post Title Styling on single posts */
body.single-post.is-project-single-post .entry-title,
body.single-post.category-projects .entry-title,
body.single-post:has(article.single-entry.category-projects) .entry-title {
    font-size: 34px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    color: var(--global-palette3, #1c1c1c) !important;
    margin-top: 1.5rem !important;
    margin-bottom: 1.5rem !important;
}

/* 4. Section Blocks */
body.single-post.is-project-single-post .acf-field-block,
body.single-post.category-projects .acf-field-block,
body.single-post:has(article.single-entry.category-projects) .acf-field-block {
    margin-top: 2rem !important;
    margin-bottom: 3rem !important;
    padding-top: 0 !important;
    border-top: none !important;
    clear: both !important;
}

body.single-post.is-project-single-post .acf-field-block ~ .acf-field-block,
body.single-post.category-projects .acf-field-block ~ .acf-field-block,
body.single-post:has(article.single-entry.category-projects) .acf-field-block ~ .acf-field-block {
    margin-top: 3rem !important;
    padding-top: 2.5rem !important;
    border-top: 1px solid var(--global-palette7, #eeece6) !important;
}

body.single-post.is-project-single-post .acf-field-block h3,
body.single-post.category-projects .acf-field-block h3,
body.single-post.is-project-single-post .acf-field-block h2,
body.single-post.category-projects .acf-field-block h2,
body.single-post:has(article.single-entry.category-projects) .acf-field-block h3,
body.single-post:has(article.single-entry.category-projects) .acf-field-block h2 {
    font-size: 26px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    color: #b36647 !important;
    margin-top: 0 !important;
    margin-bottom: 1.25rem !important;
    display: inline-block !important;
    position: relative !important;
    letter-spacing: -0.01em !important;
}

body.single-post.is-project-single-post .acf-field-block div,
body.single-post.category-projects .acf-field-block div,
body.single-post:has(article.single-entry.category-projects) .acf-field-block div {
    font-size: 18px !important;
    line-height: 1.85 !important;
    color: var(--global-palette4, #352e2b) !important;
}

body.single-post.is-project-single-post .acf-field-block div p,
body.single-post.category-projects .acf-field-block div p,
body.single-post:has(article.single-entry.category-projects) .acf-field-block div p {
    margin-bottom: 1.25em !important;
}

/* 5. Kadence Text(Adv) Blocks for Single Project Posts */
body.single-post.is-project-single-post .entry-content h3.wp-block-kadence-advancedheading,
body.single-post.category-projects .entry-content h3.wp-block-kadence-advancedheading,
body.single-post.category-project .entry-content h3.wp-block-kadence-advancedheading,
body.single-post.category-פרויקטים .entry-content h3.wp-block-kadence-advancedheading,
body.single-post:has(article.single-entry.category-projects) .entry-content h3.wp-block-kadence-advancedheading {
    font-size: 26px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    color: #b36647 !important;
    margin-top: 2rem !important;
    margin-bottom: 1.25rem !important;
    display: block !important;
    position: relative !important;
    letter-spacing: -0.01em !important;
}

/* Elegant separator above subsequent section headings */
body.single-post.is-project-single-post .entry-content h3.wp-block-kadence-advancedheading:not(:first-of-type),
body.single-post.category-projects .entry-content h3.wp-block-kadence-advancedheading:not(:first-of-type),
body.single-post.category-project .entry-content h3.wp-block-kadence-advancedheading:not(:first-of-type),
body.single-post.category-פרויקטים .entry-content h3.wp-block-kadence-advancedheading:not(:first-of-type),
body.single-post:has(article.single-entry.category-projects) .entry-content h3.wp-block-kadence-advancedheading:not(:first-of-type) {
    margin-top: 3.5rem !important;
    padding-top: 2.5rem !important;
    border-top: 1px solid var(--global-palette7, #eeece6) !important;
}

/* Kadence Text(Adv) Paragraphs on single posts */
body.single-post.is-project-single-post .entry-content p.wp-block-kadence-advancedheading,
body.single-post.category-projects .entry-content p.wp-block-kadence-advancedheading,
body.single-post.category-project .entry-content p.wp-block-kadence-advancedheading,
body.single-post.category-פרויקטים .entry-content p.wp-block-kadence-advancedheading,
body.single-post:has(article.single-entry.category-projects) .entry-content p.wp-block-kadence-advancedheading,
body.single-post.is-project-single-post .entry-content > p,
body.single-post.category-projects .entry-content > p,
body.single-post:has(article.single-entry.category-projects) .entry-content > p {
    font-size: 18px !important;
    line-height: 1.85 !important;
    color: var(--global-palette4, #352e2b) !important;
    margin-bottom: 1.25em !important;
}

/* ==========================================================================
   Customer Reviews / Testimonials Grid (Image 1) & Popup Lightbox (Image 2)
   ========================================================================== */

/* 1. Testimonials Grid Wrapper & Cards (Matching Image 1) */
.kt-blocks-testimonials-wrap_9776_testimonials,
.kt-testimonial-grid-wrap {
    width: 100% !important;
}

.kt-testimonial-grid-wrap {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 24px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

@media (max-width: 991px) {
    .kt-testimonial-grid-wrap {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 600px) {
    .kt-testimonial-grid-wrap {
        grid-template-columns: 1fr !important;
    }
}

.kt-testimonial-grid-wrap .kt-testimonial-grid-item {
    display: flex !important;
}

.kt-testimonial-grid-wrap .kt-testimonial-item-wrap {
    background-color: #d8cfc4 !important;
    border: none !important;
    border-radius: 2px !important;
    padding: 38px 24px 34px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: center !important;
    cursor: pointer !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease !important;
    width: 100% !important;
    box-sizing: border-box !important;
    min-height: 240px !important;
    outline: none !important;
}

.kt-testimonial-grid-wrap .kt-testimonial-item-wrap:hover,
.kt-testimonial-grid-wrap .kt-testimonial-item-wrap:focus-visible {
    transform: translateY(-4px) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

/* Rating Stars on Cards: 5 warm orange/gold stars centered at top */
.kt-testimonial-grid-wrap .kt-testimonial-rating-wrap {
    margin: 0 0 16px 0 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 4px !important;
}

.kt-testimonial-grid-wrap .kt-testimonial-rating-wrap .kt-svg-testimonial-rating-icon,
.kt-testimonial-grid-wrap .kt-testimonial-rating-wrap svg {
    color: #cb7a2e !important;
    fill: #cb7a2e !important;
    width: 17px !important;
    height: 17px !important;
    display: inline-flex !important;
}

/* Card Name & Occupation Typography */
.kt-testimonial-grid-wrap .kt-testimonial-text-wrap {
    width: 100% !important;
}

.kt-testimonial-grid-wrap .kt-testimonial-meta-wrap {
    margin-top: 0 !important;
    padding-top: 0 !important;
    width: 100% !important;
}

.kt-testimonial-grid-wrap .kt-testimonial-name {
    font-size: 19px !important;
    font-weight: 700 !important;
    color: #000000 !important;
    margin: 0 0 10px 0 !important;
    line-height: 1.35 !important;
    text-align: center !important;
}

.kt-testimonial-grid-wrap .kt-testimonial-occupation {
    font-size: 14.5px !important;
    font-weight: 600 !important;
    color: #222222 !important;
    margin: 0 !important;
    line-height: 1.45 !important;
    text-align: center !important;
}

/* Hide content, media, and empty title from the front cards */
.kt-testimonial-grid-wrap .kt-testimonial-content-wrap,
.kt-testimonial-grid-wrap .kt-testimonial-media-wrap,
.kt-testimonial-grid-wrap .kt-testimonial-title-wrap {
    display: none !important;
}

/* ==========================================================================
   2. Lightbox Popup Modal for Testimonial Detail (Matching Image 2)
   ========================================================================== */
.kb-review-modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.45) !important;
    backdrop-filter: blur(2px) !important;
    -webkit-backdrop-filter: blur(2px) !important;
    z-index: 999999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
    box-sizing: border-box !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 0.25s ease, visibility 0.25s ease !important;
}

.kb-review-modal-overlay.is-active {
    opacity: 1 !important;
    visibility: visible !important;
}

.kb-review-modal-dialog {
    background: #ffffff !important;
    border: 6px solid #d8cfc4 !important;
    width: 100% !important;
    max-width: 680px !important;
    max-height: 85vh !important;
    overflow-y: auto !important;
    position: relative !important;
    padding: 44px 50px 42px !important;
    box-sizing: border-box !important;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2) !important;
    transform: scale(0.95) !important;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    direction: rtl !important;
    text-align: center !important;
}

.kb-review-modal-overlay.is-active .kb-review-modal-dialog {
    transform: scale(1) !important;
}

/* Close Button (X in top-left) */
.kb-review-modal-close {
    position: absolute !important;
    top: 20px !important;
    left: 20px !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    background: #eef0f2 !important;
    border: none !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    transition: background 0.2s ease, transform 0.2s ease !important;
    z-index: 10 !important;
    color: #555555 !important;
}

.kb-review-modal-close:hover {
    background: #e0e3e6 !important;
    transform: scale(1.08) !important;
    color: #111111 !important;
}

.kb-review-modal-close svg {
    width: 16px !important;
    height: 16px !important;
    stroke: currentColor !important;
}

/* Modal Header: Avatar & Info */
.kb-review-modal-header {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 18px !important;
    margin-bottom: 24px !important;
    text-align: right !important;
    direction: rtl !important;
}

.kb-review-modal-avatar {
    width: 66px !important;
    height: 66px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    flex-shrink: 0 !important;
    border: 2px solid #e8e2d8 !important;
}

.kb-review-modal-header-info {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    align-items: flex-start !important;
}

.kb-review-modal-title {
    font-size: 17px !important;
    font-weight: 700 !important;
    color: #111111 !important;
    line-height: 1.35 !important;
    margin: 0 !important;
}

.kb-review-modal-stars {
    display: flex !important;
    gap: 3px !important;
    color: #cb7a2e !important;
}

.kb-review-modal-stars svg {
    width: 15px !important;
    height: 15px !important;
    fill: #cb7a2e !important;
    color: #cb7a2e !important;
}

/* Modal Body Content */
.kb-review-modal-body {
    font-size: 15.5px !important;
    line-height: 1.85 !important;
    color: #333333 !important;
    text-align: center !important;
    margin-top: 15px !important;
    border-top: 1px solid #f2ede6 !important;
    padding-top: 24px !important;
}

.kb-review-modal-body p {
    margin-bottom: 1.25em !important;
}

.kb-review-modal-body p:last-child {
    margin-bottom: 0 !important;
}

.kb-review-modal-body strong,
.kb-review-modal-body b {
    font-weight: 700 !important;
    color: #111111 !important;
}

@media (max-width: 767px) {
    .kb-review-modal-dialog {
        padding: 30px 20px 25px !important;
        max-height: 90vh !important;
    }
    .kb-review-modal-close {
        top: 12px !important;
        left: 12px !important;
        width: 32px !important;
        height: 32px !important;
    }
    .kb-review-modal-avatar {
        width: 52px !important;
        height: 52px !important;
    }
    .kb-review-modal-title {
        font-size: 15px !important;
    }
}

