/* Public representative (Rep) pages */

.rep-hero {
    background: linear-gradient(135deg, #031633 0%, #066ac9 55%, #0cbc87 100%);
    padding: 2.5rem 0 3rem;
    position: relative;
    overflow: hidden;
}

.rep-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255, 193, 7, 0.12) 0%, transparent 45%);
    pointer-events: none;
}

.rep-hero h1,
.rep-hero .h3 {
    color: #fff;
    font-weight: 800;
}

.rep-hero .rep-hero-sub,
.rep-hero .breadcrumb-item,
.rep-hero .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.78);
}

.rep-hero .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.95);
}

.rep-hero .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

.rep-filter-card {
    background: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: 1rem;
    padding: 1.25rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    margin-top: -2rem;
    position: relative;
    z-index: 2;
}

.rep-city-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.rep-city-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 1rem;
    border-radius: 50rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--bs-body-color);
    background: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
    transition: all 0.25s ease;
}

.rep-city-pill:hover {
    border-color: var(--bs-primary);
    color: var(--bs-primary);
}

.rep-city-pill.active {
    background: var(--bs-primary);
    border-color: var(--bs-primary);
    color: #fff;
}

.rep-card {
    border: 0;
    border-radius: 1rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    height: 100%;
}

.rep-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.rep-card-title {
    font-weight: 700;
}

.rep-card-address {
    font-size: 0.875rem;
    color: var(--bs-secondary-color);
    line-height: 1.6;
}

.rep-detail-contact {
    border-radius: 1rem;
    border: 1px solid var(--bs-border-color);
    background: var(--bs-body-bg);
}

.rep-detail-contact .list-group-item {
    border: none;
    padding: 0.75rem 0;
}

.rep-gallery-slide img {
    height: 300px;
    width: auto;
    max-width: 100%;
    object-fit: cover;
    border-radius: 0.75rem;
}

.rep-intro {
    line-height: 1.9;
    font-size: 1.05rem;
}
