.vdg-directory,
.vdg-directory *,
.vdg-card,
.vdg-card *,
.vdg-profile,
.vdg-profile * {
    box-sizing: border-box !important;
    font-family: inherit !important;
    font-weight: 300 !important;
    letter-spacing: 0 !important;
}

.vdg-directory,
.vdg-profile {
    --vdg-ink: #252522 !important;
    --vdg-brown: #624837 !important;
    --vdg-gold: #bd956a !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    color: var(--vdg-ink) !important;
    background: transparent !important;
    font-size: 15px !important;
    line-height: 1.5 !important;
}

.vdg-filters {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 10px 24px !important;
    margin: 0 0 30px !important;
    border-bottom: 1px solid #ddd7d0 !important;
}

.vdg-filter {
    position: relative !important;
    display: inline-flex !important;
    min-height: 42px !important;
    align-items: center !important;
    padding: 0 0 10px !important;
    border: 0 !important;
    color: #70675f !important;
    background: transparent !important;
    box-shadow: none !important;
    cursor: pointer !important;
    font-size: 14px !important;
}

.vdg-filter::after {
    position: absolute !important;
    right: 0 !important;
    bottom: -1px !important;
    left: 0 !important;
    height: 2px !important;
    background: var(--vdg-brown) !important;
    content: "" !important;
    transform: scaleX(0) !important;
    transform-origin: left center !important;
    transition: transform 160ms ease !important;
}

.vdg-filter:hover,
.vdg-filter.is-active {
    color: var(--vdg-ink) !important;
}

.vdg-filter.is-active::after {
    transform: scaleX(1) !important;
}

.vdg-filter:focus-visible {
    outline: 2px solid var(--vdg-gold) !important;
    outline-offset: 2px !important;
}

.vdg-grid {
    display: grid !important;
    width: 100% !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 42px 24px !important;
}

.vdg-grid-item {
    min-width: 0 !important;
}

.vdg-card {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    color: var(--vdg-ink) !important;
}

.vdg-card-link {
    display: block !important;
    width: 100% !important;
    color: inherit !important;
    text-decoration: none !important;
}

.vdg-card-photo {
    position: relative !important;
    display: flex !important;
    width: 100% !important;
    aspect-ratio: 4 / 5 !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    border-radius: 12px !important;
    color: #7d604b !important;
    background: #f0eeeb !important;
}

.vdg-portrait-image {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    object-fit: cover !important;
    object-position: center top !important;
    transition: transform 320ms ease !important;
}

.vdg-portrait-placeholder {
    display: flex !important;
    width: 100% !important;
    height: 100% !important;
    align-items: center !important;
    justify-content: center !important;
    color: #75543f !important;
    background: linear-gradient(145deg, #f6f4f2, #e4ddd7) !important;
    font-size: 44px !important;
}

.vdg-card-link:hover .vdg-portrait-image,
.vdg-card-link:focus-visible .vdg-portrait-image {
    transform: scale(1.04) !important;
}

.vdg-card-info {
    display: grid !important;
    min-height: 78px !important;
    grid-template-columns: minmax(0, 1fr) 34px !important;
    align-items: start !important;
    gap: 14px !important;
    padding: 14px 0 0 !important;
}

.vdg-card-copy {
    min-width: 0 !important;
}

.vdg-card-info h3 {
    margin: 0 !important;
    padding: 0 !important;
    color: #fff !important;
    font-size: 17px !important;
    line-height: 1.35 !important;
    transition: color 160ms ease !important;
}

.vdg-card-link:hover .vdg-card-info h3,
.vdg-card-link:focus-visible .vdg-card-info h3 {
    color: #f3e9df !important;
}

.vdg-card-role,
.vdg-card-experience {
    margin: 4px 0 0 !important;
    color: #efe7e0 !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
}

.vdg-card-arrow {
    display: inline-flex !important;
    width: 34px !important;
    height: 34px !important;
    align-items: center !important;
    justify-content: center !important;
    margin-top: 1px !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: #f4f0ec !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateX(-6px) !important;
    transition: opacity 160ms ease, transform 160ms ease, background-color 160ms ease, visibility 160ms ease !important;
}

.vdg-card-arrow .icon,
.vdg-card-arrow .vdg-card-arrow-fallback {
    display: none !important;
}

.vdg-card-arrow::after {
    width: 12px !important;
    height: 12px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M6 4l4 4-4 4' stroke='%23624837' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: contain !important;
    content: "" !important;
}

.vdg-card-link:hover .vdg-card-arrow,
.vdg-card-link:focus-visible .vdg-card-arrow {
    opacity: 1 !important;
    visibility: visible !important;
    background: #f4f0ec !important;
    transform: translateX(0) !important;
}

.vdg-directory .vdg-card-info h3 {
    color: var(--vdg-ink) !important;
}

.vdg-directory .vdg-card-role,
.vdg-directory .vdg-card-experience {
    color: #786f67 !important;
}

.vdg-directory .vdg-card-link:hover .vdg-card-info h3,
.vdg-directory .vdg-card-link:focus-visible .vdg-card-info h3 {
    color: var(--vdg-brown) !important;
}

.vdg-card-link:focus-visible {
    outline: 2px solid var(--vdg-gold) !important;
    outline-offset: 4px !important;
}

.vdg-empty {
    margin: 24px 0 !important;
    color: #716960 !important;
}

.vdg-directory [hidden] {
    display: none !important;
}

.vdg-profile {
    display: grid !important;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr) !important;
    align-items: start !important;
    gap: 48px !important;
}

.vdg-profile-photo {
    width: 100% !important;
    overflow: hidden !important;
    border-radius: 12px !important;
    background: #eee9e4 !important;
}

.vdg-profile-photo .vdg-portrait-image,
.vdg-profile-photo .vdg-portrait-placeholder {
    width: 100% !important;
    aspect-ratio: 4 / 5 !important;
    height: auto !important;
    object-fit: cover !important;
}

.vdg-profile-details {
    min-width: 0 !important;
    color: #504940 !important;
    font-size: 16px !important;
    line-height: 1.7 !important;
}

.vdg-profile-details h1,
.vdg-profile-details h2,
.vdg-profile-details h3,
.vdg-profile-details h4 {
    margin: 0 0 10px !important;
    padding: 0 !important;
    color: var(--vdg-ink) !important;
    font-family: inherit !important;
    font-weight: 300 !important;
    line-height: 1.25 !important;
}

.vdg-profile-details h1,
.vdg-profile-details h2 {
    font-size: 24px !important;
}

.vdg-profile-details h3 {
    font-size: 20px !important;
}

.vdg-profile-details h4 {
    font-size: 17px !important;
}

.vdg-profile-details p,
.vdg-profile-details li,
.vdg-profile-details span {
    color: inherit !important;
    font-family: inherit !important;
    font-weight: 300 !important;
}

.vdg-profile-role {
    margin: 0 0 8px !important;
    color: var(--vdg-brown) !important;
    font-size: 18px !important;
}

.vdg-profile-experience,
.vdg-profile-license {
    margin: 0 0 10px !important;
    color: #756b62 !important;
}

.vdg-profile-specialty {
    margin: 20px 0 0 !important;
}

.vdg-profile-specialty h2 {
    margin: 0 0 6px !important;
    color: var(--vdg-ink) !important;
    font-size: 22px !important;
}

.vdg-profile-specialty p,
.vdg-profile-biography p {
    margin: 0 0 16px !important;
    color: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
}

.vdg-profile-biography {
    margin-top: 28px !important;
}

.vdg-profile-biography ul,
.vdg-profile-biography ol {
    margin: 0 0 20px !important;
    padding-left: 20px !important;
}

.vdg-profile-biography li {
    margin: 0 0 10px !important;
    padding: 0 !important;
    font-size: 15px !important;
    line-height: 1.55 !important;
}

.vdg-other-profiles {
    margin: 76px 0 0 !important;
    padding: 0 !important;
}

.vdg-other-profiles > h2 {
    margin: 0 0 24px !important;
    padding: 0 !important;
    color: var(--vdg-ink) !important;
    font-size: 26px !important;
    line-height: 1.25 !important;
}

.vdg-other-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 34px 24px !important;
}

.vdg-other-grid .vdg-card {
    min-width: 0 !important;
}

.vdg-other-grid .vdg-card-info h3,
.vdg-other-grid .vdg-card-role,
.vdg-other-grid .vdg-card-experience {
    color: var(--vdg-ink) !important;
}

@media (max-width: 1024px) {
    .vdg-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 34px 20px !important;
    }

    .vdg-other-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 32px 20px !important;
    }

    .vdg-profile {
        gap: 30px !important;
    }
}

@media (max-width: 640px) {
    .vdg-filters {
        gap: 8px 18px !important;
        margin-bottom: 22px !important;
    }

    .vdg-other-profiles {
        margin-top: 56px !important;
    }

    .vdg-other-profiles > h2 {
        font-size: 22px !important;
    }

    .vdg-other-grid {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 28px !important;
    }

    .vdg-profile-details h1,
    .vdg-profile-details h2 {
        font-size: 21px !important;
    }

    .vdg-profile-details h3 {
        font-size: 18px !important;
    }

    .vdg-filter {
        min-height: 38px !important;
        font-size: 13px !important;
    }

    .vdg-grid {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 30px !important;
    }

    .vdg-card-photo {
        aspect-ratio: 4 / 5 !important;
    }

    .vdg-profile {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 24px !important;
    }

    .vdg-profile-photo .vdg-portrait-image,
    .vdg-profile-photo .vdg-portrait-placeholder {
        aspect-ratio: 4 / 4 !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .vdg-directory *,
    .vdg-directory *::before,
    .vdg-directory *::after,
    .vdg-profile *,
    .vdg-profile *::before,
    .vdg-profile *::after {
        transition-duration: 0.01ms !important;
    }
}
