.elementor-4983 .elementor-element.elementor-element-e077375{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-4983 .elementor-element.elementor-element-dc0e2d7{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-4983 .elementor-element.elementor-element-8434366{--display:flex;}.elementor-4983 .elementor-element.elementor-element-f684df8{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-4983 .elementor-element.elementor-element-f684df8.e-con{--flex-grow:0;--flex-shrink:0;}.elementor-4983 .elementor-element.elementor-element-6aad225.elementor-element{--align-self:stretch;}.elementor-4983 .elementor-element.elementor-element-1845f2c{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}/* Start custom CSS for html, class: .elementor-element-b584a67 *//* Container for the cards that will move */
.thb-rev-slider-track {
    display: flex;
    gap: 30px; /* This must match the 'gap' variable in JS */
    transition: transform 0.5s ease-in-out;
    width: max-content; /* Important: prevents cards from wrapping */
}

/* Ensure the "window" hides the overflowing cards */
.thb-rev-right {
    overflow: hidden;
    width: 100%;
}

/* Ensure cards have a consistent width for the JS math to work */
.thb-rev-card {
    min-width: 400px; /* Or whatever width you prefer */
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .thb-rev-card {
        min-width: 280px;
    }
}

/* Scoped namespace for testimonials */
.thb-rev-section {
    background-color: #F8F7F3;
    font-family: 'Poppins', sans-serif;
    color: #112233;
    padding: 80px 20px;
    width: 100%;
}

.thb-rev-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 40px;
}

/* Left Content */
.thb-rev-left {
    flex: 0 0 35%;
}

.thb-rev-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 20px 0;
}

.thb-rev-intro {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #4B5563;
    margin-bottom: 30px;
}

/* Clickable Navigation Buttons */
.thb-rev-nav {
    display: flex;
    gap: 15px;
}

.thb-rev-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease-in-out;
    outline: none;
}

/* Specific button states */
.thb-rev-prev {
    background-color: #D1D5DB;
    color: #4B5563;
}

.thb-rev-prev:hover {
    background-color: #9CA3AF;
}

.thb-rev-next {
    background-color: #051531; /* Deep Navy */
    color: white;
}

.thb-rev-next:hover {
    background-color: #33CC33; /* Twin Home Buyer Green on hover */
    transform: scale(1.1);
}

.thb-rev-next:active {
    transform: scale(0.95);
}

/* Right Content: Cards */
.thb-rev-right {
    flex: 1;
    display: flex;
    gap: 20px;
    overflow: hidden; /* Hide overflow for the partial card look */
}

.thb-rev-card {
    background: white;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
    min-width: 320px;
    flex: 1;
}

.thb-rev-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid #F8F7F3;
}

.thb-rev-name {
    display: block;
    font-style: italic;
    color: #9CA3AF;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.thb-rev-stars {
    color: #FFB800;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.thb-rev-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #4B5563;
}

.thb-rev-text strong {
    color: #112233;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .thb-rev-container {
        flex-direction: column;
        text-align: center;
    }
    
    .thb-rev-left {
        width: 100%;
    }

    .thb-rev-nav {
        justify-content: center;
        margin-bottom: 30px;
    }

    .thb-rev-card {
        min-width: 100%;
    }
    
    .thb-rev-right .thb-rev-card:last-child {
        display: none; /* Hide partial card on smaller screens */
    }
}/* End custom CSS */
/* Start custom CSS for container, class: .elementor-element-f684df8 *//* 🔹 Twin Home Buyer comparison block – scoped styling */
.thb-comparison-section {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #053253;
  color: #ffffff;
  padding: 60px 0 80px;

  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
}

@media (min-width: 1025px) {
  .thb-comparison-section {
    margin-left: -52vw;
    margin-right: -48vw;
  }
}

.thb-comparison-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
  text-align: center;
}

.thb-comparison-title {
  margin: 0 0 8px;
  font-size: 32px;
  font-weight: 700;
}

.thb-comparison-subtitle {
  margin: 0 0 32px;
  font-size: 16px;
  opacity: 0.85;
}

.thb-comparison-card {
  position: relative;
  margin: 40px auto 0;
  background: #0a2f4a;
  border-radius: 16px;
  padding: 60px 0 0;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
}

.thb-logo-wrapper {
  position: absolute;
  top: -37px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  padding: 10px;
}

.thb-logo-wrapper img {
  max-width: 100%;
  max-height: 100%;
}

.thb-comparison-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 14px;
}

.thb-comparison-table thead th {
  padding: 18px 20px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
}

.thb-col-feature {
  width: 28%;
}

.thb-col-ours {
  width: 36%;
  background: #f3f7fb;
  color: #0a2840;
  text-align: center;
}

.thb-col-agent {
  width: 36%;
  background: #0b3456;
  text-align: center;
}

.thb-comparison-table tbody th,
.thb-comparison-table tbody td {
  padding: 18px 20px;
  text-align: left;
  vertical-align: middle;
}

.thb-comparison-table tbody th {
  background: #0b4b87;
  color: #ffffff;
  font-weight: 600;
  border-bottom: 2px solid #053253;
}

.thb-ours {
  background: #f3f7fb;
  color: #0a2840;
  border-bottom: 2px solid #d5e0ec;
}

.thb-agent {
  background: #0b3456;
  color: #ffffff;
  border-bottom: 2px solid #053253;
}

/* Icon colors */
.thb-check,
.thb-x {
  display: block;
  text-align: center;
  margin: 0 auto 6px;
  font-size: 22px;
  font-weight: 700;
}

.thb-ours .thb-check {
  color: #1aa74a !important;
}

.thb-agent .thb-x {
  color: #c62828 !important;
}

.thb-cell-text {
  line-height: 1.4;
}

/* ⭐ Rating Block */
.thb-rating-block {
  text-align: center;
  padding: 28px 0 32px;
  background: #053253;
  border-radius: 0 0 16px 16px;
}

.thb-stars {
  color: #f8c100;
  font-size: 20px;
  letter-spacing: 2px;
  margin-right: 6px;
}

.thb-rating-text {
  color: #ffffff;
  font-size: 16px;
}

.thb-rating-text strong {
  font-weight: 700;
}

@media (max-width: 900px) {
  .thb-comparison-card {
    padding-top: 50px;
  }

  .thb-comparison-title {
    font-size: 24px;
  }

  .thb-comparison-table tbody th,
  .thb-comparison-table tbody td {
    font-size: 12px;
  }
}/* End custom CSS */
/* Start custom CSS *//* EDIT HERO H2 TEXT HERE */
.thb-hero__subheadline {
    font-size: 0 !important;
    line-height: 0 !important;
}

.thb-hero__subheadline::after {
    content: "NO REPAIRS. NO FEES. NO HASSLE."; /* Change this text */
    display: block;
    font-size: clamp(28px, 4vw, 52px);
    font-weight: 900;
    line-height: 1.1;
    color: #ffffff;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    margin-bottom: 14px;
}


/* EDIT HERO PARAGRAPH TEXT HERE */
.thb-hero__supporttext {
    font-size: 0 !important;
    line-height: 0 !important;
}

.thb-hero__supporttext::after {
    content: "Need to sell your house as is? Twin Home Buyer gives Bay Area homeowners a simple cash offer without repairs, cleaning, showings, or realtor fees. Sell in any condition and choose the closing date that works for you."; /* Change this text */
    display: block;
    max-width: 620px;
    font-size: clamp(15px, 1.5vw, 18px);
    font-weight: 700;
    line-height: 1.45;
    color: #ffffff;
}


/* MOBILE */
@media (max-width: 767px) {
    .thb-hero__subheadline::after {
        font-size: 32px;
        line-height: 1.1;
    }

    .thb-hero__supporttext::after {
        font-size: 15px;
        line-height: 1.45;
        max-width: 100%;
    }
}/* End custom CSS */