.agents-page .agents-title-accent {
    color: #1e59ae;
}

.agents-page .agents-intro .agents-wrap p {
    color: #000;
}

.agents-page .agent-license {
    margin: auto 0 0;
    padding-block: 10px;
    border-block: 1px solid #dbe4ef;
    color: #435670;
}

.agents-page .agent-license + .agent-contact {
    margin-top: 0;
    border-top: 0;
}

.agents-page .agent-card:has(a[href$="/Joseph-Lawler"]) .agent-content {
    container-type: inline-size;
}

.agents-page .agent-card:has(a[href$="/Joseph-Lawler"]) h2 {
    font-size: clamp(.9rem, 6.5cqi, 1.38rem);
    line-height: 1.656rem;
}

.agents-page:has(> .agents-choice-guide) {
    display: flow-root;
}

body:has(.agents-page) footer.bg-primary.q-mt-sm {
    margin-top: 0 !important;
}

body:has(.agents-page) .main-footer {
    background-color: #1e59ae;
}

.agents-page + .site-footer {
    margin-top: 0;
    padding-bottom: 0;
    background: #1e59ae;
    color: #fff;
}

.agents-page + .site-footer .footer-grid :is(h2, a, address) {
    color: #fff;
}

@media (max-width: 400px) {
    .agents-page + .site-footer .footer-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.agents-page + .site-footer .footer-bottom {
    padding-bottom: 22px;
    border-top: 0;
    background: #fff;
    color: #111d30;
    box-shadow: 0 0 0 100vmax #fff;
    clip-path: inset(0 -100vmax);
}

.agents-page + .site-footer .footer-bottom a {
    color: #1e59ae;
}

.profile-summary > .profile-license {
    margin: 16px 0 0;
    padding-block: 10px;
    border-block: 1px solid #dbe4ef;
    color: #435670;
    line-height: 1.65;
}
