/* =========================================================================
   [editorial_board] shortcode styles
   Enqueued site-wide (see functions/customPosts.php) since the shortcode
   can be dropped into any page, not just Mini Site pages.
   ========================================================================= */

.eb-shortcode-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 28px;
}

.eb-shortcode-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: inherit;
    text-decoration: none;
    background: #ffffff;
    border: 1px solid rgba(16, 26, 43, 0.08);
    border-radius: 14px;
    padding: 28px 18px 22px;
    box-shadow: 0 2px 8px rgba(16, 26, 43, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.eb-shortcode-card:hover,
.eb-shortcode-card:focus {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(16, 26, 43, 0.14);
    border-color: #b8872b;
}

.eb-shortcode-card__photo {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    background: #eef0f3;
    margin-bottom: 16px;
    box-shadow: 0 0 0 4px #ffffff, 0 0 0 5px rgba(16, 26, 43, 0.08);
}

.eb-shortcode-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.eb-shortcode-card__photo-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e9edf2, #dde2e8);
}

.eb-shortcode-card__name {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 6px;
    color: #101a2b;
}

.eb-shortcode-card__designation {
    margin: 0 0 10px;
    font-size: 11.5px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.eb-shortcode-card__company {
    display: inline-block;
    margin: 0;
    padding: 4px 12px;
    font-size: 11.5px;
    font-weight: 600;
    color: #8a5a11;
    background: rgba(184, 135, 43, 0.12);
    border-radius: 999px;
    letter-spacing: 0.02em;
}
