/* ═══ E-E-A-T Components — De Castroverde Criminal Defense ═══ */
/* No background color: sits on top of whatever's already there (hero teal or legacy cream). */

.dcl-attorney-credentials {
    margin: 1.5rem 0 0 0;
    border-top: 1px solid rgba(7, 8, 13, 0.15);
}
/* Divider needs contrast against the hero's own teal background. */
.dcl-attorney-credentials--hero {
    border-top-color: rgba(255, 255, 255, 0.3);
}
/* Separates the block from the body copy that follows on legacy pages. */
.dcl-attorney-credentials--legacy {
    border-bottom: 1px solid rgba(7, 8, 13, 0.15);
    margin-bottom: 1.5rem;
}
.dcl-attorney-credentials-inner {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem 0;
}
.dcl-attorney-photo {
    display: block;
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
}
/* Photo is a transparent PNG; fill contrasts with whatever's behind it. */
.dcl-attorney-credentials--legacy .dcl-attorney-photo {
    background-color: var(--bs-medium);
}
.dcl-attorney-credentials--hero .dcl-attorney-photo {
    background-color: var(--bs-main-200);
}
.dcl-attorney-photo:hover img {
    opacity: 0.85;
}
.dcl-attorney-photo img {
    display: block;
    width: 100%;
    height: 100%;
    /* Keeps the circular crop from cutting off heads. */
    object-position: center top;
    object-fit: cover;
}
.dcl-attorney-info {
    flex: 1 1 auto;
    min-width: 0;
}
.dcl-legal-review-label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--bs-secondary-700);
    margin: 0 0 0.35rem 0;
}
.dcl-legal-review-icon {
    color: var(--bs-secondary-700);
    flex-shrink: 0;
}
.dcl-attorney-name {
    margin: 0 0 0.2rem 0;
}
.dcl-legal-review-link {
    /* Overrides style.css's `main p a` italic/underline (per-property cascade). */
    font-style: normal;
    font-family: var(--font-secondary);
    font-size: 1.15rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--bs-black);
    text-decoration: none;
}
.dcl-legal-review-link:hover {
    text-decoration: underline;
}
/* Higher specificity: a hidden ACF Custom CSS rule was overriding this to gray. */
.dcl-attorney-credentials--hero .dcl-legal-review-link,
.dcl-attorney-credentials--legacy .dcl-legal-review-link {
    color: var(--bs-black);
}
.dcl-attorney-title {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--bs-black);
    margin: 0 0 0.5rem 0;
}
.dcl-attorney-bio {
    font-family: var(--font-primary);
    font-size: 0.85rem;
    color: var(--bs-black);
    margin: 0 0 0.5rem 0;
}
/* Avoids stacking with style.css's global `p` bottom margin. */
.dcl-legal-review-date {
    margin-bottom: 0;
}
.dcl-legal-review-date time {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--bs-black);
}

/* Responsive */
@media (max-width: 600px) {
    .dcl-attorney-credentials-inner {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
}
