/*
Theme Name: Íonz Astra
Description: Tema filho do Astra com os shortcodes, templates e integrações da Íonz.
Author: Íonz
Template: astra
Version: 1.0.3
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: ionz-astra
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* O Astra carrega o CSS do pai; os estilos específicos acompanham os templates. */

/* Keep the shared transparent Elementor header over the content on public pages. */
body:not(.elementor-editor-active) .elementor-location-header.elementor-106 {
    position: relative;
    height: 0;
    z-index: 20;
}

/* Related cases have their own layout, independent of Astra/ALM float rules. */
.row-cases.ionz-related-cases {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
}

.row-cases.ionz-related-cases > .item {
    float: none;
    width: 100%;
    min-width: 0;
    margin: 0;
}

.row-cases.ionz-related-cases > .item > a,
.row-cases.ionz-related-cases > .item .content,
.row-cases.ionz-related-cases > .item .case-loop {
    display: block;
    height: 100%;
}

@media (max-width: 767px) {
    .row-cases.ionz-related-cases {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Related cards keep room for the artwork and the ellipsis below the title. */
.row-cases.ionz-related-cases .case-loop {
    min-height: 360px;
}

.row-cases.ionz-related-cases .case-loop .dot {
    margin-top: 12px;
    line-height: 1;
}
