/*
 * Custom isolated styles for Reniassiance Energy Advisory.
 * Related Insights functionality is handled in function-custom.php.
 */

.rea-related-insights-shortcode {
    padding: 0;
}

.rea-related-insights-shortcode__heading {
    margin: 0 0 20px;
    color: #000;
    font-family: "Libre Caslon Text", Sans-serif;
    font-size: 42px;
    font-weight: 500;
    line-height: 1.2;
}

.rea-related-insights-shortcode__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

.rea-related-insights-shortcode__item {
    min-width: 0;
    display: flex;
}

.rea-related-insights-shortcode__item > .elementor,
.rea-related-insights-shortcode__item > .elementor > .elementor-element,
.rea-related-insights-shortcode__item .elementor-2337,
.rea-related-insights-shortcode__item .elementor-2337 .elementor-element-7175077 {
    width: 100%;
    height: 100%;
}

.rea-related-insights-shortcode__item .elementor-2337 .elementor-element-7175077,
.rea-related-insights-shortcode__item .elementor-2337 .elementor-element-bb46912 {
    display: flex;
    flex-direction: column;
}

.rea-related-insights-shortcode__item .elementor-2337 .elementor-element-bb46912 {
    flex: 1 1 auto;
}

.rea-related-insights-shortcode__item .elementor-2337 .elementor-element-82160e0 {
    margin-top: auto;
}

@media (max-width: 1024px) {
    .rea-related-insights-shortcode__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .rea-related-insights-shortcode {
        padding: 0;
    }

    .rea-related-insights-shortcode__heading {
        margin-bottom: 20px;
        text-align: center;
        font-size: 32px;
    }

    .rea-related-insights-shortcode__grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}
.insght-tbl .tablepress {
    max-width: 1000px;
    margin-left: 0;
    border: 1px solid #ddd;
    --head-bg-color: #248D60;
    --head-text-color: #fff;
    --text-color: #38383C;
    --padding: 16px;
}

.insght-tbl .tablepress tbody tr > td {
    background: #fff;
}

.insght-tbl .tablepress tr > :not(:last-child) {
    border-right: 1px solid #ddd;
}

.insght-tbl .tablepress caption {
    display: none;
}

@media (max-width: 767px) {
    :is(.elementor-6611, .elementor-6585) .insght-tbl .elementor-shortcode {
        overflow-x: auto;
    }
}

/* Remove the chart plugin's default graph-card shadow. */
.elementor-widget .chart-box { box-shadow: none; }
