/* ArchiveBio 2.8.7 - final Elementor polish.
 * Loaded after the 2.8.5/2.8.6 compatibility layers so Elementor's Global
 * Styles cannot enlarge or compress ArchiveBio components unexpectedly.
 */

.elementor .elementor-widget-archivebio-blocks .ab-person-grid,
.elementor .ab-shortcode .ab-person-grid {
    gap: 14px !important;
}

.elementor .elementor-widget-archivebio-blocks .ab-person-card,
.elementor .ab-shortcode .ab-person-card,
.elementor .elementor-widget-archivebio-blocks .ab-news-card,
.elementor .ab-shortcode .ab-news-card {
    border-radius: 17px !important;
    box-shadow: 0 2px 10px rgba(15, 23, 42, .035) !important;
}

.elementor .elementor-widget-archivebio-blocks .ab-person-card__body,
.elementor .ab-shortcode .ab-person-card__body {
    padding: 14px 14px 15px !important;
}

.elementor .elementor-widget-archivebio-blocks .ab-person-card h3,
.elementor .ab-shortcode .ab-person-card h3,
.elementor .elementor-widget-archivebio-blocks .ab-news-card__body h2,
.elementor .ab-shortcode .ab-news-card__body h2 {
    font-size: var(--ab-fs-md) !important;
    line-height: 1.56 !important;
    font-weight: 780 !important;
}

.elementor .elementor-widget-archivebio-blocks .ab-person-card__meta,
.elementor .ab-shortcode .ab-person-card__meta,
.elementor .elementor-widget-archivebio-blocks .ab-person-card__english,
.elementor .ab-shortcode .ab-person-card__english,
.elementor .elementor-widget-archivebio-blocks .ab-news-card__meta,
.elementor .ab-shortcode .ab-news-card__meta {
    font-size: var(--ab-fs-xs) !important;
    line-height: 1.65 !important;
}

.elementor .elementor-widget-archivebio-blocks .ab-person-card__excerpt,
.elementor .ab-shortcode .ab-person-card__excerpt,
.elementor .elementor-widget-archivebio-blocks .ab-news-card__body p,
.elementor .ab-shortcode .ab-news-card__body p {
    font-size: var(--ab-fs-sm) !important;
    line-height: 1.78 !important;
}

.elementor .elementor-widget-archivebio-blocks .ab-shortcode-heading,
.elementor .ab-shortcode .ab-shortcode-heading {
    gap: 14px !important;
    margin-bottom: 18px !important;
}

.elementor .elementor-widget-archivebio-blocks .ab-shortcode-heading h2,
.elementor .ab-shortcode .ab-shortcode-heading h2 {
    font-size: var(--ab-fs-2xl) !important;
    line-height: 1.48 !important;
}

.elementor .elementor-widget-archivebio-blocks .ab-shortcode-heading > a,
.elementor .ab-shortcode .ab-shortcode-heading > a {
    min-height: 36px !important;
    font-size: var(--ab-fs-sm) !important;
}

.elementor .elementor-widget-archivebio-blocks .ab-shortcode-category,
.elementor .ab-shortcode .ab-shortcode-category {
    min-height: 112px !important;
    padding: 15px !important;
    border-radius: 15px !important;
}

.elementor .elementor-widget-archivebio-blocks .ab-shortcode-category strong,
.elementor .ab-shortcode .ab-shortcode-category strong {
    font-size: var(--ab-fs-sm) !important;
}

.elementor .elementor-widget-archivebio-blocks .ab-shortcode-category span,
.elementor .ab-shortcode .ab-shortcode-category span {
    font-size: var(--ab-fs-xs) !important;
    line-height: 1.65 !important;
}

.elementor .elementor-widget-archivebio-blocks .ab-shortcode-search,
.elementor .ab-shortcode .ab-shortcode-search {
    gap: 7px !important;
    padding: 7px !important;
    border-radius: 15px !important;
}

.elementor .elementor-widget-archivebio-blocks .ab-shortcode-search input[type="search"],
.elementor .ab-shortcode .ab-shortcode-search input[type="search"],
.elementor .elementor-widget-archivebio-blocks .ab-field input,
.elementor .elementor-widget-archivebio-blocks .ab-field select,
.elementor .ab-shortcode .ab-field input,
.elementor .ab-shortcode .ab-field select {
    min-height: var(--ab-control-height) !important;
    padding: 9px 12px !important;
    border-radius: 11px !important;
    font-size: var(--ab-fs-sm) !important;
    line-height: 1.55 !important;
}

.elementor .elementor-widget-archivebio-blocks .ab-button,
.elementor .ab-shortcode .ab-button,
.elementor .elementor-widget-archivebio-blocks button,
.elementor .ab-shortcode button {
    min-height: var(--ab-control-height) !important;
    padding: 9px 18px !important;
    border-radius: 12px !important;
    font-size: var(--ab-fs-sm) !important;
    line-height: 1.45 !important;
}

/* Native ArchiveBio header inside an Elementor-powered page. */
body.archivebio-site .ab-header__bar {
    gap: 22px !important;
}

body.archivebio-site .ab-header .ab-search-control--header,
body.archivebio-site .ab-header-search > button[type="submit"] {
    min-height: 46px !important;
}

body.archivebio-site .ab-header .ab-search-control--header input[type="search"] {
    min-height: 44px !important;
    font-size: var(--ab-fs-sm) !important;
}

body.archivebio-site .ab-header-search > button[type="submit"] {
    min-width: 74px !important;
    padding: 8px 14px !important;
    font-size: var(--ab-fs-sm) !important;
}

body.archivebio-site .ab-primary-nav > a {
    padding-inline: 10px !important;
    font-size: .84rem !important;
    font-weight: 650 !important;
}

body.archivebio-site .ab-mobile-nav > a,
body.archivebio-site .ab-mobile-nav > button {
    min-height: 50px !important;
    font-size: .75rem !important;
    line-height: 1.3 !important;
}

@media (max-width: 720px) {
    .elementor .elementor-widget-archivebio-blocks .ab-person-grid,
    .elementor .ab-shortcode .ab-person-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }

    .elementor .elementor-widget-archivebio-blocks .ab-person-card__body,
    .elementor .ab-shortcode .ab-person-card__body {
        padding: 11px !important;
    }

    .elementor .elementor-widget-archivebio-blocks .ab-person-card h3,
    .elementor .ab-shortcode .ab-person-card h3 {
        font-size: .96rem !important;
    }

    .elementor .elementor-widget-archivebio-blocks .ab-person-card__meta,
    .elementor .ab-shortcode .ab-person-card__meta,
    .elementor .elementor-widget-archivebio-blocks .ab-person-card__english,
    .elementor .ab-shortcode .ab-person-card__english {
        font-size: .76rem !important;
    }

    .elementor .elementor-widget-archivebio-blocks .ab-person-card__excerpt,
    .elementor .ab-shortcode .ab-person-card__excerpt {
        display: none !important;
    }

    .elementor .elementor-widget-archivebio-blocks .ab-shortcode-news-grid,
    .elementor .ab-shortcode .ab-shortcode-news-grid,
    .elementor .elementor-widget-archivebio-blocks .ab-shortcode-categories,
    .elementor .ab-shortcode .ab-shortcode-categories {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }
}
