/* Agent Card Component Styles */

/* Hero Section */
.agent-index-hero-overlay {
    z-index: -1;
}

.agent-index-hero-image {
    z-index: -2;
    object-fit: cover;
}

/* Agent Card */

.agent-card {
    cursor: pointer;
    transition: transform 0.2s ease;
    overflow: hidden;
}

.agent-card:hover {
    transform: translateY(-2px);
}

/* Image Section */
.agent-card-image-wrapper {
    pointer-events: none;
}

.agent-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.375rem 0.375rem 0 0;
}

.agent-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bs-secondary);
    border-radius: 0.375rem 0.375rem 0 0;
}

.agent-card-placeholder i {
    font-size: 4rem;
    color: #666;
}

.agent-card-image-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 0.75rem;
    padding-bottom: 0;
    z-index: 3;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(24, 25, 28, 0) 80%, #18191c 100%);
}

/* Body Section */
.agent-card-body {
    position: relative;
    min-height: 120px;
    pointer-events: none;
}

.agent-card-body-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 0 0.375rem 0.375rem;
    filter: blur(20px);
    opacity: 0.3;
}

.agent-card-body-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 0 0 0.375rem 0.375rem;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.agent-card-body-content {
    position: relative;
    display: flex;
    flex-direction: column;
    z-index: 2;
    padding: 0.75rem;
    padding-top: 0.5rem;
    border-radius: 0 0 0.375rem 0.375rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0) 0%, rgba(24, 25, 28, 0.66) 55%, #18191c 100%);
}

/* Name and Title */
.agent-card-info {
    margin-bottom: 0.5rem;
}

/* Contact Section */
.agent-card-contact {
    border-top: 1px solid var(--bs-secondary);
    padding-top: 0.5rem;
}

.agent-card-contact-item {
    margin-bottom: 0.5rem;
}

.agent-card-contact-item:last-child {
    margin-bottom: 0;
}

.agent-card-contact-link {
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 4;
    transition: color 0.2s ease;
    pointer-events: auto;
}

.agent-card-contact-link:hover {
    color: #b1a16d;
}

.agent-card-icon {
    margin-right: 0.5rem;
    opacity: 0.75;
}

/* Card-wide link */
.agent-card-link {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    z-index: 2;
    cursor: pointer;
    text-decoration: none;
}
