/* ============================================
   Professional Profile - ReviewAsolicitor Style
   v2.4.0 — Fixed specificity to override theme
   ============================================ */

/* Reset theme interference */
.rs-profile-page,
.rs-profile-page * {
    box-sizing: border-box;
}
.rs-profile-page {
    background: #f8f8f8;
    font-family: var(--rs-font);
}
.rs-profile-page a,
.rs-profile-page a:visited,
.rs-profile-page a:link {
    color: inherit;
    text-decoration: none;
}
.rs-container {
    max-width: var(--rs-container);
    margin: 0 auto;
    padding: 0 20px;
}

/* ============== Breadcrumbs ============== */
.rs-profile-page .rs-breadcrumbs {
    background: #fff;
    padding: 12px 0;
    font-size: 13px;
    border-bottom: 1px solid #eee;
}
.rs-profile-page .rs-breadcrumbs a,
.rs-profile-page .rs-breadcrumbs a:link,
.rs-profile-page .rs-breadcrumbs a:visited {
    color: #333 !important;
    text-decoration: none !important;
}
.rs-profile-page .rs-breadcrumbs a:hover {
    text-decoration: underline !important;
}
.rs-bc-sep {
    margin: 0 6px;
    color: #999;
}
.rs-bc-current {
    color: #666;
}

/* ============== Hero Section ============== */
.rs-profile-page .rs-hero {
    background: #fff;
    padding: 32px 0 0;
    border-bottom: 1px solid #eee;
}
.rs-hero-grid {
    display: grid;
    grid-template-columns: 200px 1fr 280px;
    gap: 28px;
    align-items: start;
}

/* Photo */
.rs-hero-photo img {
    width: 200px;
    height: 240px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}
.rs-profile-page .rs-avatar-placeholder {
    width: 200px;
    height: 240px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--rs-green), #009a57);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 56px;
    font-weight: 700;
    color: white;
}

/* Hero Info */
.rs-profile-page .rs-name {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 2px;
    color: #1a1a1a !important;
    line-height: 1.2;
}
.rs-profile-page .rs-role {
    font-size: 15px;
    color: #555 !important;
    margin: 0 0 10px;
    font-weight: 400;
}
.rs-rating-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}
.rs-profile-page .rs-stars-green .fa-star,
.rs-profile-page .rs-stars-green .fas.fa-star {
    /* color removed — inline style from rs_star_color() controls this */
    font-size: 16px;
}
.rs-profile-page .rs-stars-green .far.fa-star {
    color: #ccc !important;
    font-size: 16px;
}
.rs-profile-page .rs-rating-num {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a !important;
}
.rs-rating-sep {
    color: #ccc;
}
.rs-profile-page a.rs-review-link,
.rs-profile-page a.rs-review-link:link,
.rs-profile-page a.rs-review-link:visited {
    color: #333 !important;
    text-decoration: underline !important;
    font-size: 14px;
}
.rs-profile-page .rs-accepting {
    font-size: 13px;
    color: #333 !important;
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}
.rs-profile-page .rs-accepting .fa-circle {
    color: var(--rs-star) !important;
    font-size: 8px;
}
.rs-profile-page .rs-bio-excerpt {
    font-size: 14px;
    color: #555 !important;
    line-height: 1.65;
    margin: 0;
}
.rs-profile-page a.rs-readmore,
.rs-profile-page a.rs-readmore:link,
.rs-profile-page a.rs-readmore:visited {
    color: #1a1a1a !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    display: inline-block;
    margin-top: 4px;
}
.rs-profile-page a.rs-readmore:hover {
    color: var(--rs-green) !important;
}

/* ============== Hero Sidebar ============== */
.rs-hero-sidebar {
    padding-left: 24px;
    border-left: 1px solid #eee;
}
.rs-firm-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid #eee;
}
.rs-firm-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 6px;
}
.rs-firm-logo-ph {
    width: 48px;
    height: 48px;
    background: #f5f5f5;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-size: 20px;
    border: 1px solid #e0e0e0;
}
.rs-profile-page .rs-firm-name {
    font-weight: 700 !important;
    font-size: 15px;
    color: #1a1a1a !important;
    line-height: 1.3;
}
.rs-details-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.rs-detail-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: #333 !important;
    line-height: 1.4;
}
.rs-detail-row i {
    color: #333 !important;
    width: 18px;
    text-align: center;
    flex-shrink: 0;
    margin-top: 2px;
    font-size: 16px;
}
.rs-profile-page .rs-detail-row .fa-check-circle {
    color: var(--rs-star) !important;
}

/* ============== Action Buttons ============== */
.rs-action-buttons {
    display: flex;
    gap: 10px;
    padding: 24px 0;
}
.rs-profile-page .rs-btn,
.rs-profile-page a.rs-btn,
.rs-profile-page a.rs-btn:link,
.rs-profile-page a.rs-btn:visited {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    cursor: pointer;
    border: 1.5px solid transparent;
    transition: all 0.2s;
    line-height: 1;
}
.rs-profile-page a.rs-btn-dark,
.rs-profile-page a.rs-btn-dark:link,
.rs-profile-page a.rs-btn-dark:visited {
    background: #1a1a1a !important;
    color: #fff !important;
    border-color: #1a1a1a !important;
}
.rs-profile-page a.rs-btn-dark:hover {
    background: #333 !important;
    color: #fff !important;
}
.rs-profile-page a.rs-btn-outline,
.rs-profile-page a.rs-btn-outline:link,
.rs-profile-page a.rs-btn-outline:visited {
    background: #fff !important;
    color: #1a1a1a !important;
    border-color: #ccc !important;
}
.rs-profile-page a.rs-btn-outline:hover {
    border-color: #999 !important;
    color: #1a1a1a !important;
}
.rs-btn-block {
    width: 100%;
    justify-content: center;
}

/* ============== Tab Bar ============== */
.rs-profile-page .rs-tab-bar {
    background: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 100;
}
.rs-tab-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.rs-tabs-left {
    display: flex;
    gap: 0;
}
.rs-profile-page .rs-tab {
    background: none;
    border: none;
    padding: 16px 20px;
    font-size: 14px;
    font-weight: 600;
    color: #666 !important;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}
.rs-profile-page .rs-tab:hover {
    color: #333 !important;
}
.rs-profile-page .rs-tab.active {
    color: #1a1a1a !important;
    border-bottom-color: #1a1a1a;
}
.rs-profile-page a.rs-write-review-link,
.rs-profile-page a.rs-write-review-link:link,
.rs-profile-page a.rs-write-review-link:visited {
    font-size: 13px;
    color: #333 !important;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    gap: 6px;
}
.rs-profile-page a.rs-write-review-link:hover {
    color: var(--rs-green) !important;
}

/* ============== Content Area ============== */
.rs-content {
    padding: 28px 0 60px;
}
.rs-2col {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 24px;
    align-items: start;
}
.rs-side-col {
    position: sticky;
    top: 70px;
}
.rs-section-heading {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a !important;
    margin: 40px 0 18px;
    padding-top: 24px;
    border-top: 1px solid #eee;
}
#section-overview .rs-section-heading:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

/* ============== Cards ============== */
.rs-profile-page .rs-card {
    background: white;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    padding: 24px;
    margin-bottom: 20px;
}
.rs-profile-page .rs-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a !important;
    margin: 0 0 14px;
}
.rs-profile-page .rs-card h2 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a !important;
    margin: 0 0 16px;
}

/* ============== Overview - Rating ============== */
.rs-overview-rating-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}
.rs-big-rating {
    font-size: 52px;
    font-weight: 700;
    color: #1a1a1a !important;
    line-height: 1;
}
.rs-overview-rating-meta {
    padding-top: 4px;
}
.rs-profile-page .rs-rating-label {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a !important;
    display: block;
    margin-bottom: 2px;
}

/* ============== Criteria Scores ============== */
.rs-criteria-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.rs-criteria-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #f5f5f5;
}
.rs-criteria-row:last-child {
    border-bottom: none;
}
.rs-criteria-row i {
    width: 22px;
    text-align: center;
    color: #555 !important;
    font-size: 15px;
}
.rs-profile-page .rs-criteria-name {
    flex: 1;
    font-size: 14px;
    color: #333 !important;
}
.rs-profile-page .rs-criteria-score {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a !important;
    min-width: 28px;
    text-align: right;
}

/* ============== Contact Card ============== */
.rs-profile-page .rs-contact-card {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
}
.rs-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
}
.rs-contact-col h3,
.rs-hours-col h3 {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 12px;
    color: #1a1a1a !important;
}
.rs-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    margin-bottom: 10px;
}
.rs-contact-item i {
    color: #555 !important;
    width: 16px;
    text-align: center;
}
.rs-profile-page .rs-contact-item a,
.rs-profile-page .rs-contact-item a:link,
.rs-profile-page .rs-contact-item a:visited {
    color: #1a1a1a !important;
    text-decoration: underline !important;
}
.rs-profile-page .rs-contact-item a:hover {
    color: var(--rs-green) !important;
}

/* Opening Hours */
.rs-hour-row {
    display: flex;
    gap: 12px;
    font-size: 13px;
    color: #555 !important;
    margin-bottom: 4px;
}
.rs-hour-row.rs-today {
    font-weight: 700;
    color: #1a1a1a !important;
}
.rs-day {
    min-width: 90px;
}
.rs-open-badge {
    color: var(--rs-star) !important;
    font-weight: 600;
}
.rs-time.rs-closed {
    color: #999 !important;
}
.rs-location-address {
    font-size: 13px;
    color: #333 !important;
    line-height: 1.5;
}

/* ============== Expertise / Sidebar ============== */
.rs-expertise-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 10px;
}
.rs-expertise-item {
    font-size: 14px;
    color: #333 !important;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
}
.rs-expertise-item i {
    color: #555 !important;
    font-size: 14px;
}
.rs-profile-page a.rs-see-all,
.rs-profile-page a.rs-see-all:link,
.rs-profile-page a.rs-see-all:visited {
    display: inline-block;
    padding: 6px 16px;
    border: 1.5px solid #ccc;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #333 !important;
    text-decoration: none !important;
    margin-top: 4px;
}
.rs-profile-page a.rs-see-all:hover {
    border-color: #999;
    color: #1a1a1a !important;
}

/* ============== Experience ============== */
.rs-experience-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.rs-exp-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 6px;
}
.rs-profile-page .rs-exp-role {
    font-size: 13px;
    color: #555 !important;
    margin: 2px 0 0;
}
.rs-profile-page .rs-exp-dates {
    font-size: 12px;
    color: var(--rs-green) !important;
    margin: 2px 0 0;
}

/* Languages */
.rs-lang-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.rs-lang-tag {
    padding: 6px 16px;
    border: 1.5px solid #ddd;
    border-radius: 20px;
    font-size: 13px;
    color: #333 !important;
    background: white;
}

/* Bio */
.rs-profile-page .rs-bio-full {
    font-size: 14px;
    color: #555 !important;
    line-height: 1.8;
}

/* ============== Reviews Tab ============== */

.rs-reviews-summary-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}
.rs-profile-page .rs-rev-big {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a !important;
}
.rs-rev-slash {
    font-size: 16px;
    color: #888 !important;
    margin-right: 4px;
}
.rs-profile-page .rs-rev-count {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a !important;
    margin-left: 4px;
}

/* Breakdown */
.rs-breakdown-section {
    display: flex;
    gap: 40px;
}
.rs-breakdown-col {
    flex: 1;
}
.rs-profile-page .rs-breakdown-col h4 {
    font-size: 13px;
    font-weight: 700;
    color: #1a1a1a !important;
    margin: 0 0 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.rs-breakdown-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}
.rs-profile-page .rs-brk-label {
    font-size: 13px;
    color: #555 !important;
    min-width: 80px;
}
.rs-brk-bar {
    width: 200px;
    height: 10px;
    background: #e8e8e8;
    border-radius: 5px;
    overflow: hidden;
}
.rs-brk-fill {
    height: 100%;
    background: #ccc;
    border-radius: 5px;
}
.rs-brk-fill.rs-fill-green {
    background: var(--rs-star);
}
.rs-profile-page .rs-brk-count {
    font-size: 13px;
    font-weight: 600;
    color: #333 !important;
    min-width: 24px;
    text-align: right;
}

/* ============== Review Card ============== */
.rs-profile-page .rs-review-card {
    background: white;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    padding: 24px;
    margin-bottom: 16px;
}
.rs-rev-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 10px;
}
.rs-reviewer {
    display: flex;
    align-items: center;
    gap: 10px;
}
.rs-reviewer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--rs-star);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff !important;
    font-size: 15px;
    flex-shrink: 0;
}
.rs-reviewer-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
}
.rs-profile-page .rs-reviewer-name {
    font-weight: 700;
    font-size: 15px;
    color: #1a1a1a !important;
}
.rs-profile-page .rs-verified {
    color: var(--rs-star) !important;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 3px;
}
.rs-profile-page .rs-rev-date {
    font-size: 12px;
    color: #999 !important;
    display: block;
    width: 100%;
}
.rs-area-badge {
    padding: 4px 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 12px;
    color: #555 !important;
    white-space: nowrap;
    background: white;
}
.rs-rev-stars {
    margin-bottom: 8px;
}
.rs-rev-stars .fa-star {
    font-size: 14px;
}
.rs-profile-page .rs-rev-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a !important;
    margin: 6px 0 8px;
}
.rs-profile-page .rs-rev-text {
    font-size: 14px;
    color: #555 !important;
    line-height: 1.7;
    margin: 0 0 16px;
}

/* Tagged Solicitor */
.rs-tagged-solicitor {
    padding: 14px 0;
    border-top: 1px solid #f0f0f0;
    margin-bottom: 12px;
}
.rs-profile-page .rs-tagged-label {
    font-size: 12px;
    color: #888 !important;
    display: block;
    margin-bottom: 8px;
}
.rs-tagged-person {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a !important;
}
.rs-tagged-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}
.rs-tagged-avatar-ph {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e8f5e9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--rs-star) !important;
}

/* Review Footer */
.rs-rev-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 1px solid #f0f0f0;
}
.rs-rev-actions {
    display: flex;
    gap: 8px;
}
.rs-profile-page .rs-icon-btn {
    background: #fff !important;
    border: 1px solid #ddd !important;
    border-radius: 20px;
    padding: 4px 14px;
    font-size: 13px;
    color: #555 !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s;
}
.rs-profile-page .rs-icon-btn:hover {
    border-color: #999 !important;
    color: #333 !important;
}
/* Report button states */
.rs-profile-page .rs-report-btn:hover {
    border-color: #E41E3F !important;
    color: #E41E3F !important;
}
.rs-profile-page .rs-report-btn.rs-loading {
    opacity: 0.6;
    pointer-events: none;
}
.rs-profile-page .rs-report-btn.rs-reported {
    border-color: #E41E3F !important;
    color: #E41E3F !important;
    background: #fff5f5 !important;
    pointer-events: none;
    font-weight: 600;
}
/* Helpful voted states */
.rs-profile-page .rs-helpful-wrap.rs-voted .rs-icon-btn {
    pointer-events: none;
    opacity: 0.6;
}
.rs-profile-page .rs-collected {
    font-size: 12px;
    color: #888 !important;
}
.rs-profile-page .rs-collected strong {
    color: #333 !important;
}

/* ============== CTA Sidebar Card ============== */
.rs-profile-page .rs-cta-card {
    border: 2px solid var(--rs-green) !important;
    background: #f6fdf9 !important;
}
.rs-profile-page .rs-cta-card h3 {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    color: #1a1a1a !important;
}
.rs-profile-page .rs-cta-card p {
    font-size: 13px;
    color: #555 !important;
    line-height: 1.6;
    margin: 0 0 14px;
}
.rs-cta-list {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
}
.rs-cta-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a !important;
    margin-bottom: 8px;
}
.rs-cta-list li i {
    color: #555 !important;
}

/* ============== Suitability Check ============== */
.rs-profile-page .rs-suitability {
    background: #fff;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}
.rs-profile-page .rs-suitability-card {
    border: 2px solid var(--rs-green);
    border-radius: 10px;
    padding: 20px 24px;
    background: #f6fdf9;
}
.rs-suit-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    flex-wrap: wrap;
    gap: 8px;
}
.rs-profile-page .rs-suit-header h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a !important;
    margin: 0;
}
.rs-profile-page .rs-suit-header h3 i {
    color: #888 !important;
    margin-left: 4px;
}
.rs-suit-dots {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: #555 !important;
    font-weight: 600;
}
.rs-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}
.rs-dot-green {
    background: var(--rs-green);
}
.rs-dot-red {
    background: #e53935;
}
.rs-profile-page .rs-suit-desc {
    font-size: 13px;
    color: #555 !important;
    margin: 0 0 14px;
    line-height: 1.5;
}
.rs-suit-input-row {
    display: flex;
    gap: 10px;
    align-items: center;
}
.rs-suit-icon {
    width: 40px;
    height: 40px;
    background: var(--rs-green);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.rs-suit-icon i {
    color: #fff !important;
    font-size: 16px;
}
.rs-profile-page .rs-suit-input {
    flex: 1;
    padding: 10px 14px;
    border: 1.5px solid #ddd;
    border-radius: 6px;
    font-size: 13px;
    color: #333 !important;
    background: #fff;
    outline: none;
}
.rs-profile-page .rs-suit-input:focus {
    border-color: var(--rs-green);
}
.rs-profile-page .rs-suit-btn {
    white-space: nowrap;
    flex-shrink: 0;
}

/* ============== Green Circle Badges ============== */
.rs-circle-badges {
    display: flex;
    gap: 32px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}
.rs-circle-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.rs-circle-ring {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid var(--rs-green);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0faf5;
}
.rs-profile-page .rs-circle-pct {
    font-size: 18px;
    font-weight: 700;
    color: var(--rs-green) !important;
}
.rs-profile-page .rs-circle-label {
    font-size: 12px;
    color: #555 !important;
    text-align: center;
    line-height: 1.3;
    font-weight: 600;
}

/* ============== Responsive ============== */

/* --- Tablet (900px) --- */
@media (max-width: 900px) {
    .rs-hero-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .rs-hero-photo img,
    .rs-profile-page .rs-avatar-placeholder {
        width: 140px;
        height: 170px;
    }
    .rs-hero-sidebar {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid #eee;
        padding-top: 16px;
    }
    .rs-2col {
        grid-template-columns: 1fr;
    }
    .rs-contact-grid {
        grid-template-columns: 1fr;
    }
    .rs-action-buttons {
        flex-wrap: wrap;
    }
    .rs-profile-page .rs-sidebar {
        position: static;
    }
    .rs-profile-page .rs-tab {
        padding: 12px 16px;
        font-size: 13px;
    }
    .rs-profile-page .rs-review-card {
        padding: 18px;
    }
}

/* --- Mobile (600px) --- */
@media (max-width: 600px) {
    .rs-profile-page .rs-name {
        font-size: 22px;
    }
    .rs-big-rating {
        font-size: 40px;
    }
    .rs-brk-bar {
        width: 120px;
    }

    /* Hero section */
    .rs-hero-grid {
        gap: 14px;
    }
    .rs-hero-photo img,
    .rs-profile-page .rs-avatar-placeholder {
        width: 100px;
        height: 120px;
    }
    .rs-hero-info {
        padding: 0;
    }
    .rs-profile-page .rs-hero {
        padding: 20px 0 0;
    }

    /* Action buttons */
    .rs-action-buttons {
        flex-direction: column;
        gap: 8px;
    }
    .rs-action-buttons .rs-quote-btn,
    .rs-action-buttons .rs-review-btn {
        width: 100%;
        justify-content: center;
    }

    /* Tabs */
    .rs-profile-page .rs-tab-bar {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .rs-profile-page .rs-tab-bar::-webkit-scrollbar {
        display: none;
    }
    .rs-profile-page .rs-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .rs-profile-page .rs-tab {
        padding: 10px 14px;
        font-size: 12px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    /* Content area */
    .rs-container {
        padding: 0 12px;
    }
    .rs-profile-page .rs-section {
        padding: 16px;
    }

    /* Rating section */
    .rs-profile-page .rs-rating-summary {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .rs-profile-page .rs-brk-rows {
        width: 100%;
    }
    .rs-brk-bar {
        width: 100%;
        max-width: 200px;
    }

    /* Circle badges */
    .rs-profile-page .rs-circle-badges {
        flex-direction: column;
        align-items: center;
    }

    /* Review cards */
    .rs-profile-page .rs-review-card {
        padding: 14px;
    }
    .rs-profile-page .rs-review-header {
        flex-wrap: wrap;
    }
    .rs-profile-page .rs-review-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    /* Sidebar cards */
    .rs-profile-page .rs-sidebar-card {
        padding: 16px;
    }

    /* Suitability */
    .rs-profile-page .rs-suitability-form {
        flex-direction: column;
    }
    .rs-profile-page .rs-suitability-form input {
        width: 100%;
    }
    .rs-profile-page .rs-suitability-form button {
        width: 100%;
    }

    /* Breadcrumbs */
    .rs-profile-page .rs-breadcrumbs {
        font-size: 11px;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }
}

/* --- Small Mobile (480px) --- */
@media (max-width: 480px) {
    .rs-profile-page .rs-name {
        font-size: 20px;
    }
    .rs-big-rating {
        font-size: 36px;
    }

    /* Hero compact */
    .rs-hero-photo img,
    .rs-profile-page .rs-avatar-placeholder {
        width: 80px;
        height: 96px;
    }
    .rs-profile-page .rs-hero-meta {
        font-size: 12px;
        gap: 6px;
    }
    .rs-profile-page .rs-hero-stars i {
        font-size: 12px;
    }

    /* Reduce padding */
    .rs-profile-page .rs-section {
        padding: 12px;
    }
    .rs-profile-page .rs-section-title {
        font-size: 16px;
    }

    /* Contact list */
    .rs-profile-page .rs-contact-item {
        font-size: 13px;
    }

    /* Tags */
    .rs-profile-page .rs-practice-tag {
        padding: 4px 10px;
        font-size: 11px;
    }

    /* Review */
    .rs-profile-page .rs-review-title {
        font-size: 14px;
    }
    .rs-profile-page .rs-review-text {
        font-size: 13px;
    }
    .rs-profile-page .rs-owner-reply {
        padding: 10px;
    }
}

