   
    .driver-profile-hero {
      background-color: #ffefe8;
      padding: 2.5rem 0;
    }

    .driver-profile-hero-row {
      align-items: center;
    }

   
    .driver-profile-photo-wrap {
      width: 250px;
      height: auto;
      border-radius: 12px;
      overflow: hidden;
      background-color: rgba(255,255,255,.25);
      border: 4px solid rgba(255,255,255,.35);
      margin: 0 auto;
    }

    .driver-heading-row {
      display: flex;
      align-items: center;
      justify-content: flex-start;
      gap: .85rem;
      flex-wrap: wrap;
      margin-bottom: .75rem;
    }

    .driver-heading-row h1 {
      margin-bottom: 0;
    }

    .driver-heading-pills {
      display: flex;
      align-items: center;
      gap: .65rem;
      flex-wrap: wrap;
    }

    .driver-status-pill {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 128px;
      min-height: 38px;
      padding: .45rem 1rem;
      border-radius: 999px;
      font-size: .95rem;
      font-weight: 700;
      line-height: 1;
      white-space: nowrap;
    }

    .driver-hero-pill {
      border: 1px solid #ff631d;
      border-radius: 999px;
      background-color: #fff;
      color: #ff631d;
    }

    .driver-profile-photo-stack {
      position: relative;
      display: inline-block;
      padding-bottom: 0;
    }

    .driver-profile-photo-wrap img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .driver-score {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      transform: none;
    }

    .driver-score.gold,
    .gold {
      background-color: #eac700;
      color: #fff;
    }

    .driver-score.silver,
    .silver {
      background-color: silver;
      color: #333;
    }

    .driver-score.bronze,
    .bronze {
      background-color: #cd7f32;
      color: #fff;
    }

    .driver-profile-stat {
      border: 1px solid #ffd4c3;
      box-shadow: 0 .125rem .25rem rgba(0,0,0,.075)!important;
      border-radius: 12px;
      padding: 14px;
      height: 100%;
    }

    .driver-profile-stat .stat-value {
      display: block;
      font-size: 1.45rem;
      line-height: 1.1;
      font-weight: 700;
    }

    .driver-profile-stat .stat-copy {
      display: block;
      margin-top: 4px;
      font-size: .9rem;
    }

    .profile-panel {
      background-color: #fff;
      border: 1px solid #ddd;
      border-radius: 12px;
      box-shadow: 0 4px 6px rgba(0,0,0,0.08);
      padding: 20px;
    }

    .profile-panel h2 {
      font-size: 1.55rem;
      margin-bottom: 1rem;
    }

    .profile-panel-cta {
      background: linear-gradient(135deg, #fff8f4 0%, #ffefe8 100%);
      border-color: #ffd4c3;
      padding: 24px 20px;
    }

    .profile-panel-cta-inner {
      width: 100%;
    }

    .profile-panel-cta-title {
      margin: 0 0 1rem;
      font-size: 1.4rem;
      line-height: 1.3;
    }

    .profile-panel-cta-button {
      border-radius: 999px;
      font-weight: 700;
      padding: .85rem 1.5rem;
    }

    .quote-panel {
      background-color: #f8f8f8;
      border-radius: 12px;
      box-shadow: 0 0 2px 0 rgba(50,50,50,0.75);
      padding: 18px;
    }

    @media (min-width: 992px) {
      .driver-quote-sticky {
        position: sticky;
        top: 20px;
        z-index: 1;
      }
    }

    .quote-panel h2 {
      font-size: 1.35rem;
      margin-bottom: .5rem;
    }

    .quote-panel .form-control {
      border-radius: 12px;
      padding: 12px 14px;
      font-size: 16px;
    }

    .driver-info-list {
      margin: 0;
      padding: 0;
      list-style: none;
    }

    .driver-info-list li {
      display: flex;
      align-items: flex-start;
      gap: .6rem;
      padding: .55rem 0;
      border-bottom: 1px solid #eee;
    }

    .driver-info-list li:last-child {
      border-bottom: 0;
    }

    .driver-info-list i {
      color: #ff631d;
    }

    .area-link-card {
      display: flex;
      align-items: center;
      justify-content: space-between;
      background-color: #f8f8f8;
      border: 1px solid #ddd;
      border-radius: 12px;
      padding: .85rem 1rem;
      color: #444;
      text-decoration: none;
    }

    .area-link-card:hover {
      background-color: #ffefe8;
      border-color: #ff631d;
      color: #444;
      text-decoration: none;
    }

    .review-card .review-comment {
      display: -webkit-box;
      -webkit-line-clamp: 4;
      -webkit-box-orient: vertical;
      line-height: 1.5;
      max-height: 6em;
      overflow: hidden;
      margin-bottom: 0;
    }

    .review-card-top {
      min-height: 1.5rem;
    }

    .review-card-meta {
      gap: .75rem;
    }

    .driver-reviews-extra-page[hidden] {
      display: none !important;
    }

    .driver-reviews-actions {
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .driver-reviews-nav {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: .75rem;
      flex-wrap: wrap;
    }

    .driver-reviews-close {
      color: #ff631d;
      text-decoration: none;
      padding-left: .25rem;
      padding-right: .25rem;
    }

    .driver-reviews-close:hover,
    .driver-reviews-close:focus {
      color: #d94f10;
      text-decoration: underline;
      box-shadow: none;
    }

  
    .driver-reviews-average {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: .35rem;
      font-weight: 700;
      line-height: 1;
      margin-bottom: .35rem;
    }

    .driver-reviews-average-value {
      font-size: 1.6rem;
      color: #222;
    }

    .driver-reviews-average-star {
      font-size: 1.45rem;
      color: #f0b400;
    }

    .driver-reviews-count {
      display: block;
      white-space: nowrap;
    }

    .review-card.is-expanded .review-comment {
      display: block;
      -webkit-line-clamp: unset;
      overflow: visible;
    }

    .review-toggle {
      padding: 0;
      border: 0;
      background: transparent;
      color: #ff631d;
      font-weight: 700;
      text-decoration: underline;
      text-underline-offset: 2px;
    }

    .all-reviews-list[hidden] {
      display: none !important;
    }

    .van-pill {
      display: inline-block;
      background-color: #ffefe8;
      border: 1px solid #ffd4c3;
      color: #444;
      border-radius: 999px;
      padding: .35rem .8rem;
      margin: 0 .3rem .4rem 0;
      font-weight: 700;
    }

    .small-muted {
      font-size: .92rem;
      color: #666;
    }

    @media (max-width: 991.98px) {
      .driver-profile-hero {
        padding: 1.75rem 0;
      }

      .driver-profile-hero-row {
        align-items: initial;
      }

      .driver-profile-hero-media,
      .driver-profile-hero-copy {
        flex: 0 0 100%;
        max-width: 100%;
      }

    
      .driver-profile-photo-stack {
        padding-bottom: 0;
      }

      .driver-heading-row {
        justify-content: center;
      }

      .driver-heading-row h1 {
        width: 100%;
        text-align: center;
      }

      .driver-heading-pills {
        width: 100%;
        justify-content: center;
      }

    
      .profile-panel {
        padding: 16px;
      }

      .review-card .review-comment {
        -webkit-line-clamp: 3;
        max-height: 4.5em;
      }

      .driver-reviews-nav {
        gap: .5rem;
      }
    }

    @media (min-width: 992px) {
      .driver-profile-hero-row {
        align-items: flex-start;
      }
    }

    @media (min-width: 768px) {
      .driver-reviews-summary {
        padding: 1rem 1.1rem;
      }

      .driver-reviews-average {
        justify-content: flex-end;
        gap: .45rem;
      }

      .driver-reviews-average-value {
        font-size: 2rem;
      }

      .driver-reviews-average-star {
        font-size: 1.75rem;
      }

      .driver-reviews-count {
        text-align: right;
      }
    }
 
