/* Portugality VC Compat — minimal grid and element styles that Visual Composer used to provide.
   Written from scratch for the elements used on the site; class names match VC 5.2. */

/* --- grid --- */
.vc_row { margin-left: -15px; margin-right: -15px; }
.vc_row::before, .vc_row::after, .vc_clearfix::before, .vc_clearfix::after { content: " "; display: table; }
.vc_row::after, .vc_clearfix::after { clear: both; }
.vc_column_container { box-sizing: border-box; width: 100%; min-height: 1px; padding-left: 0; padding-right: 0; position: relative; }
.vc_column_container > .vc_column-inner { box-sizing: border-box; width: 100%; padding-left: 15px; padding-right: 15px; }
.vc_column-inner::before, .vc_column-inner::after { content: " "; display: table; }
.vc_column-inner::after { clear: both; }

@media (min-width: 768px) {
	[class*="vc_col-sm-"] { float: left; }
	.vc_col-sm-1 { width: 8.33333333%; }
	.vc_col-sm-2 { width: 16.66666667%; }
	.vc_col-sm-3 { width: 25%; }
	.vc_col-sm-4 { width: 33.33333333%; }
	.vc_col-sm-5 { width: 41.66666667%; }
	.vc_col-sm-6 { width: 50%; }
	.vc_col-sm-7 { width: 58.33333333%; }
	.vc_col-sm-8 { width: 66.66666667%; }
	.vc_col-sm-9 { width: 75%; }
	.vc_col-sm-10 { width: 83.33333333%; }
	.vc_col-sm-11 { width: 91.66666667%; }
	.vc_col-sm-12 { width: 100%; }
}

/* --- full-window-width row (in VC a script did this) --- */
body.wpb-js-composer { overflow-x: hidden; }
.vc_row.pvc-stretch {
	position: relative;
	box-sizing: border-box;
	width: 100vw;
	left: 50%;
	margin-left: -50vw;
	margin-right: 0;
	padding-left: calc(50vw - 50%);
	padding-right: calc(50vw - 50%);
}
.vc_row.pvc-stretch.pvc-stretch-content { padding-left: 0; padding-right: 0; }
.vc_row-full-width { clear: both; }

/* --- flex rows: equal column height and content alignment --- */
.vc_row.vc_row-flex { display: flex; flex-wrap: wrap; box-sizing: border-box; }
.vc_row.vc_row-flex::before, .vc_row.vc_row-flex::after { display: none; }
.vc_row.vc_row-flex > .vc_column_container { display: flex; }
.vc_row.vc_row-flex > .vc_column_container > .vc_column-inner { flex-grow: 1; display: flex; flex-direction: column; }
.vc_row.vc_row-o-content-middle > .vc_column_container > .vc_column-inner { justify-content: center; }
.vc_row.vc_row-o-content-bottom > .vc_column_container > .vc_column-inner { justify-content: flex-end; }
.vc_row.vc_row-o-full-height { min-height: 100vh; }

/* --- elements --- */
.wpb_content_element { margin-bottom: 35px; }
.wpb_text_column :last-child, .wpb_text_column p:last-child { margin-bottom: 0; }

.wpb_single_image .vc_figure { display: inline-block; vertical-align: top; margin: 0; max-width: 100%; }
.wpb_single_image .vc_single_image-wrapper { display: inline-block; vertical-align: top; max-width: 100%; }
.wpb_single_image img { height: auto; max-width: 100%; vertical-align: top; }
.wpb_single_image img.pvc-css-crop { width: 100%; object-fit: cover; }
.wpb_single_image.vc_align_center { text-align: center; }
.wpb_single_image.vc_align_right { text-align: right; }
.wpb_single_image.vc_align_left { text-align: left; }

.vc_separator { display: flex; flex-direction: row; flex-wrap: nowrap; align-items: center; }
.vc_separator .vc_sep_holder { height: 1px; position: relative; flex: 1 1 auto; min-width: 10%; }
.vc_separator .vc_sep_holder .vc_sep_line { display: block; height: 1px; width: 100%; position: relative; top: 1px; border-top: 1px solid #ebebeb; }
.vc_separator h4 { flex: 0 1 auto; margin: 0; padding: 0 0.8em; font-size: 100%; line-height: 1em; word-wrap: break-word; }
.vc_separator.vc_separator_no_text:not(.vc_sep_shadow) .vc_sep_holder_r { display: none; }

.vc_wp_custommenu ul { list-style: none; margin: 0; padding: 0; }

/* --- image carousel: a scrollable strip --- */
.pvc-carousel .pvc-carousel-track { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.pvc-carousel .pvc-carousel-item { flex: 0 0 calc((100% - (var(--pvc-per-view, 3) - 1) * 10px) / var(--pvc-per-view, 3)); scroll-snap-align: start; }
.pvc-carousel img { display: block; width: 100%; height: auto; }
@media (max-width: 767px) { .pvc-carousel .pvc-carousel-item { flex-basis: 80%; } }

/* --- Ultimate Addons: banner --- */
.ult-banner-block { position: relative; overflow: hidden; width: 100%; margin-bottom: 35px; text-align: center; line-height: 0; }
.ult-banner-block img { display: block; width: 100%; height: auto; max-width: 100%; transition: transform 0.4s ease; }
.ult-banner-block:hover img { transform: scale(1.05); }
.ult-banner-block .bb-top-title { position: absolute; top: 50%; left: 0; right: 0; z-index: 2; margin: 0; padding: 0 15px; transform: translateY(-50%); line-height: 1.3; color: #fff; }
.ult-banner-block .mask { position: absolute; inset: 0; z-index: 1; opacity: 0; background: rgba(0, 0, 0, 0.35); transition: opacity 0.4s ease; }
.ult-banner-block:hover .mask { opacity: 1; }
.ult-banner-block .bb-description { position: absolute; left: 0; right: 0; bottom: 15px; padding: 0 15px; line-height: 1.4; color: #fff; }
.ult-banner-block .bb-link { position: absolute; inset: 0; z-index: 3; }

/* --- Ultimate Addons: info box --- */
.aio-icon-component { margin-bottom: 35px; }
.aio-icon-component .aio-icon-box-link { display: block; text-decoration: none; color: inherit; }
.aio-icon-component .aio-icon-title { margin: 0 0 10px; }
.aio-icon-component .aio-icon-description { line-height: 1.5; }
