/*
Theme Name: Spark Infrastructure Advisors
Theme URI: http://example.com
Author: Your name
Author URI: http://pinegrow.com/
Description: This theme was created with Pinegrow Web Editor
Version: 1.0.29
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: spark_infrastructure_advisors
*/

/* Keep the About portrait compact in stacked layouts. */
.spark-about-portrait {
    min-height: 0 !important;
}

.spark-about-portrait img {
    width: min(80vw, 280px) !important;
    height: auto !important;
}

/* Keep the About portrait beside the introduction on larger screens. */
/* Keep the About introduction and portrait side by side. */
@media (min-width: 768px) {
    .spark-about-hero-grid {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 280px !important;
        grid-template-rows: auto !important;
        gap: 40px !important;
        align-items: start !important;
    }

    .spark-about-hero-grid > div:first-child {
        grid-column: 1 !important;
        grid-row: 1 !important;
        align-self: start !important;
    }

    .spark-about-portrait-wrap {
        grid-column: 2 !important;
        grid-row: 1 !important;
        width: 280px !important;
        margin: 0 !important;
        padding: 0 !important;
        justify-self: end !important;
        align-self: start !important;
        text-align: center !important;
    }
/* Hide empty Insights archive and unused pagination space. */
.spark-insights-archive:not(:has(*)),
.spark-insights-pagination:not(:has(a)) {
    display: none;
}/* Tighten spacing below the featured Insights article. */
.spark-insights-featured {
    min-height: 0 !important;
    padding-bottom: 24px !important;
}

.spark-insights-more {
    padding-top: 36px !important;
}