/*
 Theme Name: Astra Child
 Theme URI: https://expomeeting.it/astra-child
 Description: Tema child per il tema principale "Astra"
 Author: Expo Meeting
 Author URI: https://expomeeting.it
 Template: astra
 Version: 1.0.0
 License: GNU General Public License v2 or later
 License URI: https://www.gnu.org/licenses/gpl-2.0.html
 Text Domain: astra-child
 Tags: custom, child-theme
*/

:root {
    --color-primary: #122a5b;
    --color-gray: #7A7A7A;
    --color-abstract-text: var(--color-primary);
}

body {
    font-family: "Manrope", "Helvetica", "Arial", sans-serif;
}

.max-w-standard {
    max-width: 1240px;
    margin: 0 auto;
}

.ast-container {
    padding: 0;
    width: 100%;
    max-width: 100%;
}

.site-primary-header-wrap {
    max-width: 1240px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.custom-header-image {
    height: 281px;
    width: 100%;
    overflow: hidden;
    display: block;
}

.custom-header-image img {
    width: 100%;
    height: 100%;
    display: block;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.ast-post-format- .entry-content > div {
    width: 100% !important;
}

.ast-post-format- .entry-content > div > table,
.ast-post-format- .entry-content > div > table tbody,
.ast-post-format- .entry-content > div > table tr,
.ast-post-format- .entry-content > div > table td {
    border: 0;
}

.heading-title h1 {
    font-size: 65px;
    font-weight: 600;
    text-transform: none;
    font-style: normal;
    text-decoration: none;
    line-height: 1.2em;
    letter-spacing: 0;
    word-spacing: 0;
    color: var(--color-primary) !important;
}

.text-container {
    font-size: 15px;
    font-weight: 300;
    color: var(--color-gray);
}

.is-required-true .field-cover::after {
    right: -10px !important;
}

.is-required-true .checkbox-cover.field-cover > span > span > span {
    display: block;
}

.is-required-true .checkbox-cover.field-cover > span > span > span::after {
    right: -24px !important;
    font-size: 27px;
    font-weight: normal;
}

.is-abstract .entry-meta {
    display: none;
}

.custom-header-image h1,
.is-abstract .entry-title {
    font-size: 40px !important;
    color: var(--color-primary);
    text-transform: uppercase;
    margin-bottom: 0 !important;
}

.is-abstract .site-content .ast-container {
    width: 100%;
    max-width: 100%;
}

.is-abstract .content-area {
    margin-top: 0 !important;
}

.is-abstract .site-content .ast-container .entry-header,
.custom-header-image {
    display: flex;
    align-items: center;
    background-color: var(--color-primary);
    min-height: 300px;
    background-image: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), url('/wp-content/uploads/2025/10/header-skeleton.webp');
    background-attachment: fixed;
    background-position: top left;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    margin-bottom: 40px;
}


@media screen and (max-width: 767px) {
    .is-abstract .site-content .ast-container .entry-header,
    .custom-header-image {
        min-height: 100px;
        height: 100%;
    }

    .entry-content {
        margin-bottom: 65px;
    }

    .is-abstract .entry-title,
    .custom-header-image h1 {
        font-size: 24px !important;
    }

    .custom-header-image + div {
        margin-left: 10px;
        margin-right: 10px;
    }
}

.is-abstract .site-content .ast-container .entry-content,
.is-abstract .site-content .ast-container .entry-title,
.is-abstract nav.post-navigation {
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
    width: 100%;
    max-width: 1240px;
}

.eael-grid-post-holder-inner {
    position: relative;
}

.eael-entry-wrapper {
    position: absolute;
    top: 62%;
    left: 0;
    width: 100%;
    padding: 0 45px !important;
}

.eael-entry-wrapper .eael-grid-post-link {
    text-decoration: none !important;
    color: #4c4c4c !important;
    font-size: 15px;
    line-height: 16px;

    display: -webkit-box; /* necessario per line-clamp */
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2; /* numero di righe da mostrare */
    overflow: hidden;
    text-overflow: ellipsis;
}

.container {
    max-width: 1240px;
    width: 100%;
    margin: 0 auto;

    padding-left: 20px !important;
    padding-right: 20px !important;
}

.formcraft-content-two-columns .e-con-inner {
    max-width: 1240px;
}

.site-below-footer-wrap[data-section="section-below-footer-builder"] {
    background-color: #2d2d2d;
    color: white;
}

.tabular-cover .row-count {
    display: none !important;
}

html .formcraft-css .fc-form .field-cover > span {
    width: 100%;
    text-align: left;
}

@media screen and (max-width: 767px) {
    .formcraft-content-two-columns > .e-con-inner {
        flex-flow: column-reverse !important;
        row-gap: 40px !important;
    }
}

@media screen and (max-width: 767px) {
    .ast-header-break-point .ast-builder-menu-mobile .main-navigation {
        display: block;
    }
}