/*
Theme Name: GBS Child
Theme URI: https://www.gbs-group.it/
Author: Global Business Solution S.r.l.
Author URI: https://www.gbs-group.it/
Description: GBS Custom WordPress Theme. This theme is not available for you to download or buy.
Template: gbs
Version: 1.0.0
*/

/* =Theme customization starts here
------------------------------------------------------- */


:root {
	--sideNav-width: 100%;
	--viewportHeight: 100vh;
	--sideNav-paddingY: 20px;
	--sideNav-paddingX: 25px;
	--gray-border: #c9c9c9;
}

* {
	box-sizing: border-box;
}


html {
	background-color: var(--background-color) !important;
}

main {
	min-height: 100vh;
}

/**************************custom************************/

header.transparent #action-bar {
    color: #ffffff;
    border-bottom: 1px solid #8E8275;
}
.gap-140px{
    gap: 140px;
}
.gap-140px > .col-50{
    width: calc(50% - 70px);
}

.box-card.box-media.col-25-flex.post-card-tp,
.box-card.box-media.col-50.post-card-tp {
    height: 100%;
    min-height: 400px;
}

.box-card.box-media.col-25-flex figure,
.box-card.box-media.col-25-flex a,
.box-card.box-media.col-50 figure,
.box-card.box-media.col-50 a {
    display: block;
    height: 100%;
    aspect-ratio: auto !important;
}

.box-card.box-media.col-25-flex img,
.box-card.box-media.col-50 img {
    display: block;
    width: 100%;
    min-height: 400px;
    object-fit: cover;
}

.dynamic-grid.is-asimmetrica .box-card.box-media .title-h4-middle {
    font-size: 18px;
    line-height: 1.3;
    word-break: break-word;
}

@media (max-width: 1024px) {
    .box-card.box-media.col-25-flex.post-card-tp,
    .box-card.box-media.col-25-flex figure,
    .box-card.box-media.col-25-flex a,
    .box-card.box-media.col-25-flex img,
    .box-card.box-media.col-50.post-card-tp,
    .box-card.box-media.col-50 figure,
    .box-card.box-media.col-50 a,
    .box-card.box-media.col-50 img {
        min-height: 320px;
    }
}

@media (max-width: 640px) {
    .dynamic-grid.is-asimmetrica .box-card.box-media .title-h4-middle {
        font-size: 16px;
    }

    .box-card.box-media.col-25-flex.post-card-tp,
    .box-card.box-media.col-25-flex figure,
    .box-card.box-media.col-25-flex a,
    .box-card.box-media.col-25-flex img,
    .box-card.box-media.col-50.post-card-tp,
    .box-card.box-media.col-50 figure,
    .box-card.box-media.col-50 a,
    .box-card.box-media.col-50 img {
        min-height: 240px;
    }
}

/* Requested: no forced min-height on media card figure/link wrappers */
.box-card.box-media.col-25-flex figure,
.box-card.box-media.col-25-flex a,
.box-card.box-media.col-50 figure,
.box-card.box-media.col-50 a {
    min-height: unset;
}

.layout8 p.hover-show {
    padding: 0;
    margin: 0;
}
