.odc-agent-profile-featured-image {
    height: 500px;
    overflow: hidden;
    flex-shrink: 0;
}

.agent-profile {
    display: flex;
    gap: 40px;
    background-color: #002349;
}

.odc-agent-profile-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    flex: 1;
}

.odc-agent-profile-info .odc-single-title {
    color: #ffffff;
    font-weight: 600;
    margin: 0;
}

.odc-agent-position {
    color: #d4af37;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.odc-agent-contact-buttons {
    display: flex;
    gap: 12px;
}

.odc-contact-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
}
.odc-contact-details {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
}

.odc-contact-btn:hover {
    background-color: rgba(212, 175, 55, 0.9);
    border-color: #d4af37;
    color: #002349;
    transform: translateX(4px);
}

.odc-contact-btn:active {
    transform: translateX(2px);
}

.contact-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-text {
    word-break: break-word;
    flex: 1;
}

/* Agent Listings Grid */
.agent-listings-section {
    margin-top: 40px;
    display: flex;      
    flex-direction: column;
    gap: 40px;
}

.agent-listing {
    width: 100%;
}

.agent-properties-wrapper {
    width: 100%;
}

.agent-properties-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.agent-properties-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.agent-properties-pagination a,
.agent-properties-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 8px;
    background-color: #f5f5f5;
    color: #002349;
    text-decoration: none;
    border-radius: 4px;
    border: 1px solid #ddd;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
}

.agent-properties-pagination a:hover {
    background-color: #d4af37;
    border-color: #d4af37;
    color: #ffffff;
}

.agent-properties-pagination .page-numbers.current {
    background-color: #002349;
    color: #ffffff;
    border-color: #002349;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .agent-properties-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .agent-profile {
        flex-direction: column;
        gap: 20px;
    }

    .odc-agent-profile-featured-image {
        height: 250px;
    }

    .odc-agent-profile-info {
        padding: 15px;
    }

    .odc-agent-profile-info .odc-single-title {
        font-size: 20px;
    }

    .odc-agent-contact-buttons {
        flex-direction: row;
        gap: 10px;
    }

    .odc-contact-btn {
        flex: 1;
        justify-content: center;
        padding: 10px 12px;
        font-size: 13px;
    }

    .contact-text {
        display: none;
    }

    .contact-icon {
        width: 20px;
        height: 20px;
    }

    .agent-properties-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .agent-profile {
        gap: 15px;
    }

    .odc-agent-profile-featured-image {
        height: 200px;
    }

    .odc-agent-profile-info {
        padding: 12px;
        gap: 15px;
    }

    .odc-agent-profile-info .odc-single-title {
        font-size: 18px;
    }

    .odc-agent-position {
        font-size: 12px;
    }

    .odc-agent-contact-buttons {
        gap: 8px;
    }

    .odc-contact-btn {
        padding: 10px;
    }

    .agent-properties-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .agent-properties-pagination {
        gap: 4px;
    }

    .agent-properties-pagination a,
    .agent-properties-pagination span {
        min-width: 36px;
        height: 36px;
        font-size: 12px;
    }
}