.rmc-rep-locator {
    margin-top: 100px;
}

.rmc-rep-locator h1 {
    font-size: 40px;
    line-height: 1.2;
    color: #3a3a3a;
    margin-top: .5rem;
    margin-bottom: 48px;
    padding-bottom: 1rem;
    border-bottom: 0.67px solid #718096;
}

.rep-locator-container {
    width: 100%;
    padding: 8px 12px 0;
    margin: 0 auto
}

#rmc-rep-locator .divider {
    width: 100%;
    height: 1px;
    background: #eee;
}

#rmc-rep-locator h2 {
    margin: 1.5em 0 1em;
    padding: 0 12px;
    font-size: 2rem;
    color: #191919;
}

.rep-locator-layout {
    display: block;
    width: 100%
}

.rep-locator-content {
    width: 100%
}

.rep-filters {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    margin-bottom: 2rem;
    position: relative
}

.rep-filter-group {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    position: relative;
    width: 300px
}

.rep-filter-label {
    font-weight: 500;
    color: #374151;
    font-size: .875rem
}

.rep-select {
    width: 100%;
    padding: .75rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: .375rem;
    background-color: #fff;
    color: #374151;
    font-size: .875rem;
    transition: all .2s ease;
    box-shadow: 0 1px 2px rgba(0,0,0,.05);
    cursor: pointer;
    position: relative
}

.rep-select option {
    position: absolute;
    background-color: #fff;
    border: none;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,.1)
}

.rep-cards-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px;
    padding-bottom: 24px;
}

.rep-grid-empty {
    padding: 2rem;
    text-align: center;
    color: #6b7280;
    background: #f9fafb;
    border-radius: .5rem;
    border: 1px solid #e5e7eb
}

.rep-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: .5rem;
    overflow: hidden;
    transition: transform .2s ease , box-shadow .2s ease!important;
    height: 100%;
    display: flex;
    flex-direction: column
}

.rep-card:hover {
    transform: translateY(-2px)!important;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,.1) , 0 2px 4px -1px rgba(0,0,0,.06)!important
}

.rep-card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column
}

.rep-card-title {
    margin: 0 0 .5rem 0;
    color: #111827;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4
}

.rep-card-subtitle {
    color: #6b7280;
    font-size: .875rem;
    margin-bottom: 1rem;
    line-height: 1.4
}

.rep-location {
    display: inline-block;
    margin-left: .5rem;
    padding-left: .5rem;
    border-left: 2px solid #e5e7eb
}

.rep-card-details {
    color: #6b7280;
    margin-top: auto
}

.rep-contact-item {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: .75rem
}

.rep-contact-item:last-child {
    margin-bottom: 0
}

.rep-contact-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: #d2232a;
    flex-shrink: 0
}

.rep-contact-link {
    color: #4b5563;
    font-size: .875rem;
    line-height: 1.5;
    text-decoration: none!important;
    font-style: normal;
    word-break: break-word;
    transition: color .2s ease!important
}

.rep-contact-link:hover {
    color: #d2232a!important;
    text-decoration: underline!important
}

@media (max-width: 1200px) {
    .rep-cards-grid {
        grid-template-columns:repeat(2,1fr)
    }

    .rep-filter-group {
        width: 100%;
        max-width: 300px
    }
}

@media (max-width: 768px) {
    .rep-locator-container {
        padding:.75rem
    }

    .rep-cards-grid {
        grid-template-columns: 1fr
    }

    .rep-state-select {
        width: 100%;
        max-width: none
    }

    .rep-card-title {
        font-size: 1.125rem
    }
}
