/* HomePro agent directory refinements for RealesWP pages. */
#search-agent-form {
    width: 100%;
    max-width: 760px;
    margin: 0 auto 28px;
    padding: 22px;
    border: 1px solid #dfe8ea;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(23, 44, 59, .06);
}
#search-agent-form h2 {
    margin: 0 0 18px;
    color: #1d2d36;
    font-size: 34px;
    line-height: 1.2;
    font-weight: 600;
    text-align: center;
}
#search-agent-form .form-group {
    margin: 0;
}
#search-agent-form .form-group .input-lg {
    height: 58px;
    padding: 14px 64px 14px 18px;
    border: 1px solid #cad7db;
    border-radius: 14px;
    font-size: 16px;
    line-height: 1.4;
    color: #22323a;
    box-shadow: none;
}
#search-agent-form .form-group .input-lg:focus {
    border-color: #0eaaa6;
    box-shadow: 0 0 0 3px rgba(14, 170, 166, .12);
}
#search-agent-form .form-group span {
    top: 8px;
    right: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 12px;
    background: #0eaaa6;
    color: #fff;
    font-size: 18px;
}

.page-wrapper .page-caption .page-title {
    text-shadow: 0 2px 16px rgba(0, 0, 0, .25);
}

.hprc-agent-page {
    padding-bottom: 70px;
}
.hprc-agent-page .entry-content {
    margin-bottom: 6px;
}

.hprc-agent-page .agentsItem,
.hprc-agent-page .agentsItem-2 {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 100%;
    border: 1px solid #dfe8ea;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 30px rgba(23, 44, 59, .07);
    overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease;
}
.hprc-agent-page .agentsItem:hover,
.hprc-agent-page .agentsItem-2:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(23, 44, 59, .1);
}
.hprc-agent-page .agentsItemPhoto {
    height: 158px;
    background-position: 50% 32%;
}
.hprc-agent-page .agentsItemBg {
    background: linear-gradient(180deg, rgba(31, 43, 51, .18), rgba(31, 43, 51, .82));
}
.hprc-agent-page a.agentsItemAvatar {
    width: 96px;
    height: 96px;
    margin-left: -48px;
    bottom: -48px;
    border: 4px solid #fff;
    box-shadow: 0 10px 25px rgba(27, 41, 48, .2);
}
.hprc-agent-page a.agentsItemAvatar img {
    width: 96px;
    height: 96px;
}
.hprc-agent-page .agentsItemName,
.hprc-agent-page .agentsItem-2-name {
    margin: 62px 20px 0;
    padding: 0;
    text-align: center;
    font-size: 22px;
    line-height: 1.25;
    font-weight: 600;
    white-space: normal;
    overflow: visible;
    text-overflow: initial;
}
.hprc-agent-page .agentsItemName a,
.hprc-agent-page .agentsItem-2-name {
    color: #20313a;
}
.hprc-agent-page .agentsItemName a:hover,
.hprc-agent-page .agentsItem-2-name:hover {
    color: #0eaaa6;
}
.hprc-agent-page .agentsItem.hasRating .reviewRating {
    padding: 8px 0 4px;
}
.hprc-agent-page .agentsItemContact,
.hprc-agent-page .agentsItem-2-contact {
    display: grid;
    gap: 10px;
    margin-top: 16px;
    padding: 0 20px 18px;
    text-align: left;
    white-space: normal;
    overflow: visible;
    text-overflow: initial;
}
.hprc-agent-page .agentsItemContactItem,
.hprc-agent-page .hprc-agent-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    margin: 0;
    padding: 10px 12px;
    border-radius: 12px;
    background: #f5f9f9;
    color: #31434d;
    font-size: 14px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}
.hprc-agent-page .agentsItemContactItem .fa,
.hprc-agent-page .hprc-agent-contact-item .fa,
.hprc-agent-page .agentsItem-2-contact .fa {
    flex: 0 0 18px;
    width: 18px;
    text-align: center;
    color: #0eaaa6;
    font-size: 16px;
}
.hprc-agent-page .agentsItemContactItem a,
.hprc-agent-page .hprc-agent-contact-item a,
.hprc-agent-page .agentsItem-2-contact a {
    color: inherit;
    text-decoration: none;
}
.hprc-agent-page .agentsItemContactItem a:hover,
.hprc-agent-page .hprc-agent-contact-item a:hover,
.hprc-agent-page .agentsItem-2-contact a:hover {
    color: #0eaaa6;
}
.hprc-agent-page .agentsItemSocial,
.hprc-agent-page ul.agentsItem-2-social {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0 20px 18px;
    list-style: none;
    text-align: left;
}
.hprc-agent-page ul.agentsItem-2-social > li {
    float: none;
    margin: 0;
}
.hprc-agent-page .agentsItemSocial .btn,
.hprc-agent-page ul.agentsItem-2-social .btn,
.hprc-agent-page .agent-contact .btn {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
    border-color: #d5e2e6;
    background: #fff;
    color: #0eaaa6;
    line-height: 40px;
    box-shadow: none;
}
.hprc-agent-page .agentsItemSocial .btn:hover,
.hprc-agent-page ul.agentsItem-2-social .btn:hover,
.hprc-agent-page .agent-contact .btn:hover {
    border-color: #0eaaa6;
    background: #ecf8f7;
    color: #0eaaa6;
}
.hprc-agent-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 8px;
    padding: 0 20px 20px;
}
.hprc-agent-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 44px;
    padding: 10px 14px;
    border: 1px solid #d5e2e6;
    border-radius: 12px;
    background: #fff;
    color: #1f3139;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.25;
    text-decoration: none !important;
    text-align: center;
    white-space: nowrap;
    transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.hprc-agent-action:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(23, 44, 59, .08);
    color: #0eaaa6;
}
.hprc-agent-action.is-primary {
    border-color: #0eaaa6;
    background: linear-gradient(125deg, #0eaaa6 0%, #0a9692 100%);
    color: #fff;
}
.hprc-agent-action.is-primary:hover {
    color: #fff;
    background: linear-gradient(125deg, #0ca29e 0%, #088f8c 100%);
}
.hprc-agent-action .fa {
    font-size: 14px;
    flex: 0 0 auto;
}
.hprc-agent-action span:last-child {
    display: inline-block;
}
.hprc-agent-actions.has-primary .hprc-agent-action.is-primary {
    grid-column: 1 / -1;
}
.hprc-agent-actions.has-two-actions.has-primary .hprc-agent-action:not(.is-primary),
.hprc-agent-actions.has-one-action .hprc-agent-action {
    grid-column: 1 / -1;
}
.hprc-agent-page .agentsItem-2 {
    padding-bottom: 0;
}
.hprc-agent-page .agentsItem-2-fig {
    height: 214px;
}
.hprc-agent-page .agentsItem-2-name {
    display: block;
    margin-top: 20px;
    padding: 0 20px;
    text-align: left;
}
.hprc-agent-page .agentsItem-2-specs {
    padding: 8px 20px 0;
    color: #62727b;
    font-size: 13px;
    line-height: 1.5;
    white-space: normal;
}

.hprc-agent-single .agent {
    padding: 22px;
    border: 1px solid #dfe8ea;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 30px rgba(23, 44, 59, .06);
}
.hprc-agent-single .agent-avatar img {
    width: 170px;
    height: 170px;
    box-shadow: 0 12px 30px rgba(23, 44, 59, .14);
}
.hprc-agent-single .ratingContainer {
    margin-top: 16px;
}
.hprc-agent-single .agent-contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding-top: 16px;
}
.hprc-agent-single .contactForm {
    padding: 24px;
    border: 1px solid #dfe8ea;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 30px rgba(23, 44, 59, .05);
}
.hprc-agent-single .contactForm .form-control {
    border-color: #cad7db;
    border-radius: 12px;
    min-height: 48px;
    box-shadow: none;
}
.hprc-agent-single .contactForm textarea.form-control {
    min-height: 120px;
    resize: vertical;
}
.hprc-agent-single .contactForm .form-control:focus {
    border-color: #0eaaa6;
    box-shadow: 0 0 0 3px rgba(14, 170, 166, .12);
}
.hprc-agent-single .contactForm #sendMessageBtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 20px;
    border-radius: 12px;
    background: linear-gradient(125deg, #0eaaa6 0%, #0a9692 100%);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}
.hprc-agent-single .contactForm #sendMessageBtn:hover {
    background: linear-gradient(125deg, #0ca29e 0%, #088f8c 100%);
}

@media (max-width: 991px) {
    .hprc-agent-page .agentsItemName,
    .hprc-agent-page .agentsItem-2-name,
    #search-agent-form h2 {
        font-size: 28px;
    }
}
@media (max-width: 767px) {
    #search-agent-form {
        padding: 18px 16px;
        border-radius: 16px;
    }
    #search-agent-form h2 {
        margin-bottom: 16px;
        font-size: 24px;
        text-align: center;
    }
    #search-agent-form .form-group .input-lg {
        height: 54px;
        padding-left: 14px;
        padding-right: 58px;
        font-size: 15px;
    }
    .hprc-agent-page {
        padding-bottom: 92px;
    }
    .hprc-agent-page .agentsItem,
    .hprc-agent-page .agentsItem-2,
    .hprc-agent-single .agent,
    .hprc-agent-single .contactForm {
        border-radius: 16px;
    }
    .hprc-agent-page .agentsItemPhoto {
        height: 148px;
    }
    .hprc-agent-page .agentsItemName,
    .hprc-agent-page .agentsItem-2-name {
        margin: 58px 16px 0;
        font-size: 20px;
    }
    .hprc-agent-page .agentsItemContact,
    .hprc-agent-page .agentsItem-2-contact,
    .hprc-agent-page .agentsItemSocial,
    .hprc-agent-page ul.agentsItem-2-social,
    .hprc-agent-actions {
        padding-left: 16px;
        padding-right: 16px;
    }
    .hprc-agent-actions {
        grid-template-columns: minmax(0, 1fr);
    }
    .hprc-agent-single .agent-avatar img {
        width: 150px;
        height: 150px;
    }
    .hprc-agent-single .contactForm {
        padding: 18px 16px;
    }
}
