/**
 * Ultra-Clean Borderless Design
 * Modern, minimalist aesthetic with subtle shadows and generous whitespace
 */

/* ===========================
   CORE RESET - REMOVE ALL BORDERS
   =========================== */

.listing-logo-box,
.listing-map-box,
.listing-contact-box,
.listing-description,
.listing-brand-logo,
.listing-branch-photos,
.listing-lawyer-profile,
.listing-accreditations,
.listing-rankings,
.listing-review-sources,
.listing-regulated,
.listing-about,
.sidebar-rating-display {
    border: none !important;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.listing-logo-box:hover,
.listing-map-box:hover,
.listing-lawyer-profile:hover,
.listing-accreditations:hover,
.sidebar-rating-display:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06), 0 2px 4px rgba(0, 0, 0, 0.03);
    transform: translateY(-1px);
}

/* ===========================
   SPACIOUS LAYOUT
   =========================== */

.listing-sidebar-left,
.listing-main-content,
.listing-sidebar-right {
    padding: 0 !important;
}

/* Generous spacing between sections */
.listing-logo-box,
.listing-map-box,
.listing-description,
.listing-branch-photos,
.listing-lawyer-profile,
.listing-accreditations,
.listing-rankings,
.listing-review-sources,
.listing-regulated,
.listing-about {
    margin-bottom: 32px;
}

/* ===========================
   CLEAN TYPOGRAPHY
   =========================== */

.listing-title {
    font-size: 42px !important;
    font-weight: 800 !important;
    color: var(--rs-text) !important;
    line-height: 1.1 !important;
    letter-spacing: -0.04em !important;
    margin-bottom: 24px !important;
}

h2 {
    font-size: 26px !important;
    font-weight: 700 !important;
    color: var(--rs-text) !important;
    margin-bottom: 24px !important;
    letter-spacing: -0.02em !important;
}

h3 {
    font-size: 19px !important;
    font-weight: 600 !important;
    color: #374151 !important;
}

/* ===========================
   ULTRA-CLEAN CARDS
   =========================== */

.listing-logo-box,
.listing-map-box {
    padding: 40px;
}

.listing-description,
.listing-lawyer-profile,
.listing-accreditations,
.listing-rankings,
.listing-review-sources,
.listing-regulated {
    padding: 48px 40px;
}

.listing-about {
    padding: 0;
    overflow: hidden;
}

.listing-about h2 {
    background: linear-gradient(135deg, var(--rs-green) 0%, #0143B5 100%);
    padding: 24px 32px;
    margin: 0 0 32px 0;
}

.about-content {
    padding: 0 40px 40px;
}

/* ===========================
   ADDRESS SECTION - MINIMAL
   =========================== */

.listing-contact-box {
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin-top: 32px;
}

.listing-contact-title {
    font-size: 28px !important;
    font-weight: 700 !important;
    color: #111827 !important;
    margin-bottom: 20px !important;
}

.address-line {
    font-size: 17px;
    line-height: 1.8;
    color: #4b5563;
}

.phone-row {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #111827 !important;
    margin-top: 28px !important;
}

.website-row a {
    font-size: 17px;
    color: var(--rs-green);
    font-weight: 600;
}

/* ===========================
   CLEANER SIDEBAR RATING
   =========================== */

.sidebar-rating-display {
    padding: 32px;
    margin-bottom: 24px;
}

.rating-value-sidebar {
    font-size: 64px !important;
    font-weight: 900 !important;
    color: var(--rs-green) !important;
}

.rating-max-sidebar {
    font-size: 20px !important;
    color: #9ca3af !important;
}

.sidebar-rating-stars {
    font-size: 24px !important;
}

.sidebar-rating-stars .fas {
    color: var(--rs-green) !important;
}

.sidebar-rating-count {
    font-size: 14px !important;
    color: #6b7280 !important;
}

/* ===========================
   PHONE NUMBER - PROMINENT
   =========================== */

.listing-phone-large {
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 16px 28px !important;
    background: linear-gradient(135deg, rgba(0, 166, 81, 0.08) 0%, rgba(0, 184, 90, 0.06) 100%) !important;
    border-radius: 12px !important;
    color: var(--rs-green) !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

.listing-phone-large:hover {
    background: linear-gradient(135deg, rgba(0, 166, 81, 0.12) 0%, rgba(0, 184, 90, 0.10) 100%) !important;
    transform: translateX(4px) !important;
}

.listing-phone-large i {
    font-size: 20px !important;
}

/* ===========================
   LAWYER PROFILE - PREMIUM
   =========================== */

.listing-lawyer-profile {
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%) !important;
    position: relative;
    padding: 56px 48px !important;
}

.listing-lawyer-profile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--rs-green) 0%, #0143B5 100%);
    border-radius: 16px 16px 0 0;
}

.lawyer-avatar {
    width: 140px !important;
    height: 140px !important;
    margin: 0 auto 24px !important;
    border: 4px solid #f3f4f6 !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08) !important;
}

.lawyer-name {
    font-size: 26px !important;
    font-weight: 800 !important;
    margin-bottom: 8px !important;
}

.lawyer-title {
    font-size: 16px !important;
    color: #6b7280 !important;
    margin-bottom: 28px !important;
}

/* ===========================
   DESCRIPTION - CLEAN
   =========================== */

.listing-description p {
    font-size: 17px !important;
    line-height: 1.8 !important;
    color: #4b5563 !important;
}

/* ===========================
   REMOVE SECTION DIVIDERS
   =========================== */

.about-row {
    border-bottom: 1px solid #f3f4f6 !important;
}

.about-row:last-child {
    border-bottom: none !important;
}

/* ===========================
   REVIEW BREAKDOWN - CLEANER
   =========================== */

.review-count-box {
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
    border: none !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.breakdown-bar {
    margin-bottom: 16px;
}

.bar-track {
    background: #f3f4f6 !important;
    border-radius: 8px;
}

.bar-fill {
    background: linear-gradient(90deg, var(--rs-green) 0%, #0143B5 100%) !important;
    border-radius: 8px;
}

/* ===========================
   RESPONSIVE REFINEMENTS
   =========================== */

@media (max-width: 768px) {
    .listing-title {
        font-size: 32px !important;
    }

    .listing-logo-box,
    .listing-map-box,
    .listing-description,
    .listing-lawyer-profile,
    .listing-accreditations {
        padding: 32px 24px !important;
    }

    .sidebar-rating-display {
        padding: 24px !important;
    }
}