/* =====================================================================
   Consimp Blocks - theme stylesheet
   Port of the old "consimp" theme CSS (style_theme / news / professionisti .less)
   rewritten for core block markup, plus the parts of Hello Elementor / Elementor
   base styling the site relied on.
   ===================================================================== */

:root {
	--brk-col-m: #c4024b;
	--brk-col-d: rgb(147, 64, 84);
	--brk-col2-m: rgb(76, 86, 92);
	--brk-col2-l: #ededed;
	--brk-border: rgb(200, 200, 200);
}

/* ------------------------------------------------ base (Hello Elementor reset) */

*, ::after, ::before { box-sizing: border-box; } /* Hello Elementor */
body { margin: 0; }
.wp-site-blocks { min-height: 100vh; display: flex; flex-direction: column; padding: 0; }
.wp-site-blocks > .brk-main, .wp-site-blocks > main { flex: 1 0 auto; }
.wp-site-blocks > * { margin-block: 0; }

p { margin-block: 0 .9rem; }
h1, h2, h3, h4, h5, h6 { margin-block: .5rem 1rem; }
b, strong { font-weight: bolder; }
img { height: auto; max-width: 100%; border: none; }
figure { margin: 0; }
ul, ol { margin-block: 0 .9rem; }
table { border-collapse: collapse; width: 100%; margin-bottom: 15px; font-size: .9em; }
table td, table th { padding: 15px; line-height: 1.5; vertical-align: top; border: 1px solid hsla(0, 0%, 50.2%, .5019607843); }

/* the language-only blocks are filtered server side; in the editor show them dimmed */
.editor-styles-wrapper .brk-only-en { opacity: .55; }

/* ------------------------------------------------ Elementor-like structure */

/* columns: the gap is made by each column's own padding (Elementor box model) */
.wp-block-columns { gap: 0 !important; margin-bottom: 0; flex-wrap: nowrap; }
.wp-block-columns > .wp-block-column { min-width: 0; }

/* Elementor's widget wrapper is a flex column: margins of neighbouring widgets never collapse,
   and a text widget's last paragraph margin stays inside it. Same for our columns / text groups. */
.brk-main .wp-block-column, .brk-main .brk-col, .brk-main .brk-text, .brk-footer .wp-block-column, .brk-footer .brk-col {
	display: flex; flex-direction: column;
}
.brk-main .wp-block-column > *, .brk-main .brk-col > *, .brk-footer .wp-block-column > *, .brk-footer .brk-col > * { flex-shrink: 0; }
/* inside one text widget margins DO collapse (normal flow), like Elementor's widget container */
.brk-main .brk-text { display: flow-root; }
.brk-main .wp-block-column[class*="is-vertically-aligned-center"] { justify-content: center; }
.brk-main .wp-block-column[class*="is-vertically-aligned-bottom"] { justify-content: flex-end; }
.brk-main .wp-block-column > .wp-block-image.aligncenter, .brk-main .brk-col > .wp-block-image.aligncenter { align-self: center; }
.brk-main .wp-block-column > .wp-block-image.alignright, .brk-main .brk-col > .wp-block-image.alignright { align-self: flex-end; }
@media (max-width: 767px) {
	.wp-block-columns { flex-wrap: wrap !important; }
	.wp-block-columns > .wp-block-column { flex-basis: 100% !important; }
}
@media (min-width: 768px) and (max-width: 781px) {
	.wp-block-columns:not(.is-not-stacked-on-mobile) { flex-wrap: nowrap !important; }
	.wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column { flex-basis: 0 !important; flex-grow: 1; }
	.wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column[style*="flex-basis"] { flex-grow: 0; }
}
.wp-block-group { box-sizing: border-box; }

/* Elementor heading widget: no margins, line-height 1, weight 600 */
.brk-heading { margin: 0; line-height: 1; font-weight: 600; }
h1.brk-heading, h2.brk-heading, h3.brk-heading, h4.brk-heading, h5.brk-heading, h6.brk-heading { margin: 0; }
p.brk-heading { margin: 0; }

/* images: Elementor image widget */
.wp-block-image { margin: 0; line-height: 0; }
.wp-block-image img { vertical-align: middle; display: inline-block; }
.wp-block-image.aligncenter, .wp-block-image .aligncenter { margin-left: auto; margin-right: auto; text-align: center; display: table; }
.wp-block-image.aligncenter { display: block; }
.wp-block-image.alignleft { float: none; margin: 0; text-align: left; }
.wp-block-image.alignright { float: none; margin: 0; text-align: right; }

/* buttons: Elementor button widget (size "sm" default, "lg") */
.wp-block-buttons { gap: 10px; }
.wp-block-button__link { border-radius: 0 !important; display: inline-block; text-align: center; transition: all .3s; }
.wp-block-button.brk-btn-lg .wp-block-button__link { font-size: 18px; padding: 20px 40px; }
.wp-block-button.brk-btn-md .wp-block-button__link { font-size: 16px; padding: 15px 30px; }
.wp-block-button.brk-btn-xs .wp-block-button__link { font-size: 13px; padding: 10px 20px; }
.wp-block-button.brk-btn-xl .wp-block-button__link { font-size: 20px; padding: 25px 50px; }
.wp-block-button__link:hover { opacity: .9; }

/* responsive visibility (Elementor breakpoints) */
/* device visibility: use the editor's native "Hide" (theme.json viewport: mobile <= 767px, tablet <= 1024px) */

/* language-specific images (old classes) */
html[lang^="en"] .brk-hide-if-lang-en { display: none; }
html[lang^="it"] .brk-hide-if-lang-it { display: none; }

/* clickable columns (was: "Make Column Clickable Elementor") - the first link stretches over the column */
.brk-link-col { position: relative; cursor: pointer; }
.brk-link-col .brk-stretch a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.brk-link-col .brk-stretch a { color: inherit; }
/* in the editor: no overlay (so the text can be edited) and a visible hint that the title is the box link */
.editor-styles-wrapper .brk-link-col .brk-stretch a::after { display: none; }
.editor-styles-wrapper .brk-stretch a { text-decoration: underline dotted #c4024b; text-underline-offset: 4px; }

/* ------------------------------------------------ header */

.brk-part-header { position: relative; z-index: 100; }
@media (min-width: 1025px) {
	.brk-part-header { position: sticky; top: var(--wp-admin--admin-bar--height, 0px); }
}
.brk-header { box-shadow: 0 6px 6px rgba(0, 0, 0, .2); }
.brk-header-inner { gap: 0; min-height: 70px; }
.brk-header .brk-logo { margin: 7px 0 7px 10px; flex: 0 0 auto; }
.brk-header .brk-logo img { width: 150px; }
.brk-header-right { gap: 0; flex: 1 1 auto; }

/* main menu (Elementor nav menu, underline pointer) */
.brk-main-nav { font-weight: 600; font-size: 15px; }
.brk-main-nav .wp-block-navigation-item__content {
	position: relative; display: block; padding: 13px 15px; color: #000; line-height: 20px; transition: color .3s;
}
.brk-main-nav .wp-block-navigation__container { gap: 0; }
.brk-main-nav .wp-block-navigation-item__content:hover,
.brk-main-nav .current-menu-item > .wp-block-navigation-item__content { color: var(--brk-col-m); }
.brk-main-nav .current-menu-item > .wp-block-navigation-item__content::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--brk-col-m);
}
@media (min-width: 1025px) {
	.brk-main-nav .wp-block-navigation-item__content::after { left: 15px !important; right: 15px !important; }
}

/* language switcher (shortcode [brk_lang_switch]) */
.brk_menu_lang { display: flex; flex-direction: column; justify-content: center; margin: 0 15px 0 10px; font-weight: 600; font-size: 15px; }
.brk_menu_lang a, .brk_menu_lang a:hover { line-height: 23px; color: rgb(167, 167, 167); }
.brk_menu_lang a.brk_lang_active { color: rgb(196, 2, 75); }

/* search toggle */
.brk-search { margin: 0 10px 0 0; }
.brk-search .wp-block-search__button {
	background: rgba(0, 0, 0, .05); color: #000; border: 0; border-radius: 3px; padding: 0; width: 33px; height: 33px;
	display: flex; align-items: center; justify-content: center; margin: 0;
}
.brk-search .wp-block-search__button svg { width: 20px; height: 20px; fill: currentColor; }
.brk-search .wp-block-search__input { font-size: 18px; border: 1px solid #ddd; border-radius: 3px; height: 33px; }
.brk-search .wp-block-search__input::placeholder { color: rgb(190, 190, 190); }

/* language links inside the menu: only in the mobile dropdown */
.brk-nav-lang { display: none !important; }
.wp-block-navigation__responsive-container.is-menu-open .brk-nav-lang { display: block !important; }
.wp-block-navigation__responsive-container.is-menu-open .brk-nav-lang .brk_menu_lang { margin: 10px 0 0; align-items: flex-start; font-size: 16px; }
.wp-block-navigation__responsive-container.is-menu-open .brk-nav-lang .brk_menu_lang a { color: rgb(167, 167, 167); padding: 4px 0; }
.wp-block-navigation__responsive-container.is-menu-open .brk-nav-lang .brk_menu_lang a.brk_lang_active { color: rgb(196, 2, 75); }

/* mobile / tablet: hamburger up to 1024px like Elementor, black dropdown */
@media (max-width: 1024px) {
	.brk-main-nav .wp-block-navigation__responsive-container:not(.is-menu-open) { display: none !important; }
	.brk-main-nav .wp-block-navigation__responsive-container-open { display: flex !important; margin-right: 12px; }
	.brk-main-nav .wp-block-navigation__responsive-container-open svg { width: 40px; height: 40px; }
	.brk-header-right > .brk_menu_lang { display: none; }
}
.brk-main-nav .wp-block-navigation__responsive-container.is-menu-open { background: #000 !important; color: #fff !important; padding: 20px; }
.brk-main-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { color: #fff; font-size: 16px; font-weight: bold; padding: 10px 0; }
.brk-main-nav .wp-block-navigation__responsive-container.is-menu-open .current-menu-item > .wp-block-navigation-item__content::after { display: none; }
.brk-main-nav .wp-block-navigation__responsive-container-close { color: #fff; }
.brk-main-nav .wp-block-navigation__responsive-container-open { background: rgba(0, 0, 0, .05); border-radius: 3px; padding: 6px; color: #333; }
@media (max-width: 767px) {
	.brk-header-inner { min-height: 0; }
	.brk-header .brk-logo { margin: 5px 0 5px 10px; }
	.brk-header .brk-logo img { width: 126px !important; }
	.brk-search { display: none; }
}

/* ------------------------------------------------ footer */

.brk_footer_section { margin-top: 50px; background-color: var(--brk-col2-l); }
body.home .brk_footer_section { background-color: #fff !important; }
.brk_footer_consimp_email a, .brk-footer .brk_footer_consimp_email a { color: #000 !important; }
.brk-footer p { margin-bottom: .9rem; }

/* ------------------------------------------------ slider (home) */

.brk-slider { position: relative; overflow: hidden; }
/* no layout jump while the page loads: until consimp.js has started the slider, show only the first slide */
body:not(.wp-admin) .brk-slider:not(.is-ready) > .wp-block-cover ~ .wp-block-cover { display: none; }
.brk-slider > .wp-block-cover { margin: 0 !important; width: 100%; }
.brk-slider.is-ready > .wp-block-cover { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; }
.brk-slider.is-ready > .wp-block-cover.is-active { position: relative; opacity: 1; z-index: 1; }
.brk-slide { padding: 0 !important; align-items: flex-end !important; }
.brk-slide .wp-block-cover__image-background { object-position: center center; }
/* Ken Burns "zoom in" (as Elementor's slides): the active slide's image grows 100% -> 130% in 20s,
   and eases back in 10s after the slide changes. Front end only (.is-ready is added by consimp.js). */
.brk-slider.is-ready > .wp-block-cover { overflow: hidden; }
.brk-slider.is-ready > .wp-block-cover .wp-block-cover__image-background { transform: scale(1); transition: transform 10s linear; will-change: transform; }
.brk-slider.is-ready > .wp-block-cover.is-zoom .wp-block-cover__image-background { transform: scale(1.3); transition-duration: 20s; }
@media (prefers-reduced-motion: reduce) {
	.brk-slider.is-ready > .wp-block-cover .wp-block-cover__image-background { transition: none; transform: none !important; }
}
.brk-slide .wp-block-cover__inner-container {
	position: relative; width: 100% !important; max-width: none !important; align-self: stretch; margin-left: 50px !important;
}
@media (min-width: 1600px) { .brk-slide .wp-block-cover__inner-container { margin-left: 200px !important; } }
.brk-slide .wp-block-cover__inner-container::before {
	content: ""; position: absolute; top: 0; left: 0; bottom: 0; width: 100%; max-width: 650px; z-index: 0;
	background: url('../img/ellisse_slider.svg') no-repeat bottom left; background-size: 100% auto; opacity: .6;
}
.brk-slide .wp-block-cover__inner-container > * { position: relative; z-index: 1; }
.brk-slide .wp-block-cover__inner-container { display: flex; flex-direction: column; justify-content: flex-end; padding: 0 0 40px 80px; box-sizing: border-box; }
.brk-slide .brk-slide-heading { color: #fff; font-size: 40px !important; font-weight: 600; line-height: 1; margin: 0 0 15px !important; text-align: left; }
.brk-slide .brk-slide-description { text-align: left; }
.brk-slide .brk-slide-description { color: #fff; font-size: 22px !important; margin: 0 !important; line-height: 1.4; }
.brk-slider-nav button {
	position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; background: none; border: 0; color: #fff; cursor: pointer;
	width: 40px; height: 60px; font-size: 40px; line-height: 1; padding: 0; opacity: .9;
}
.brk-slider-nav .brk-prev { left: 10px; }
.brk-slider-nav .brk-next { right: 10px; }
.brk-slider-dots { position: absolute; bottom: 8px; left: 0; right: 0; z-index: 3; display: flex; justify-content: center; gap: 6px; }
.brk-slider-dots button { width: 6px; height: 6px; border-radius: 50%; border: 0; padding: 0; background: #000; opacity: .2; cursor: pointer; }
.brk-slider-dots button.is-active { opacity: 1; }
@media (max-width: 1024px) {
	.brk-slide .wp-block-cover__inner-container { margin-left: 0 !important; padding: 0 0 20px 20px; }
	.brk-slide .wp-block-cover__inner-container::before { left: -25%; width: 120%; }
	.brk-slide .brk-slide-heading { font-size: 32px !important; }
	.brk-slide .brk-slide-description { font-size: 17px !important; max-width: 80%; }
}
.editor-styles-wrapper .brk-slider > .wp-block-cover { margin-bottom: 10px !important; }

/* ------------------------------------------------ dash headings */

/* the dash offset is padding, so it adds to the block's own (Elementor widget) margin as before */
.brk_home_heading, .brk_dash_heading { font-size: 34px !important; font-weight: 600 !important; color: #000 !important; padding: 0 0 20px 40px !important; line-height: 1 !important; }
.brk_home_heading::before, .brk_dash_heading::before {
	content: ''; display: block; float: left; background-color: #c4024b; margin: 12px 0 0 -40px; width: 30px; height: 9px;
}
@media (max-width: 767px) {
	.brk_home_heading, .brk_dash_heading { font-size: 28px !important; padding: 0 0 20px 27px !important; }
	.brk_home_heading::before, .brk_dash_heading::before { margin: 13px 0 0 -27px; width: 20px; height: 6px; }
}

/* ------------------------------------------------ image boxes (Elementor image-box widget) */

.brk-image-box { text-align: center; display: flow-root; } /* flow-root: no margin collapsing, like Elementor's wrapper */
.brk-image-box .brk-image-box-img { margin: 0 auto 15px; line-height: 1.4; }
.brk-image-box .brk-image-box-img img { vertical-align: middle; }
.brk-image-box .brk-image-box-title { color: var(--brk-col-m); font-weight: 600; font-size: 1.75rem; line-height: 1.2; margin: 0 0 15px; }
.brk-image-box .brk-image-box-desc { margin: 0; }

/* services boxes (home + services index) */
.brk-image-box.brk_servizi_box { background: rgb(237, 237, 237) url('../img/servizi_box.png') no-repeat bottom right; height: 260px; padding: 0 30px; text-align: left; }
.brk_servizi_box .brk-image-box-img { width: 100%; margin: 40px 0 16px 0 !important; text-align: left; } /* +6px = Elementor's inline-image line gap */
.brk_servizi_box .brk-image-box-img img { width: 90px; }
.brk_servizi_box .brk-image-box-title { color: #000; font-size: 24px; line-height: normal; margin: 8px 0 10px; text-align: left; }
.brk_servizi_box .brk-image-box-desc { color: #c4024b; font-size: 18px; text-align: left; }
@media (max-width: 767px) {
	.brk_servizi_box .brk-image-box-title { font-size: 22px; }
	.brk_servizi_box .brk-image-box-desc { font-size: 14px; }
}

/* ESG box */
.brk-image-box.brk_esg_box { background: rgb(237, 237, 237) url('../img/esg_box.png') no-repeat bottom right; background-size: auto 60%; height: 260px; padding: 0 30px; text-align: left; }
.brk_esg_box .brk-image-box-img { width: auto; margin: 40px 0 16px 0 !important; text-align: left; }
.brk_esg_box .brk-image-box-img img { display: block; height: 75px; width: auto !important; }
.brk_esg_box .brk-image-box-title { color: #000; font-size: 24px; line-height: normal; margin: 8px 0 10px; text-align: left; }
.brk_esg_box .brk-image-box-desc { color: #c4024b; font-size: 18px; text-align: left; }
@media (max-width: 767px) {
	.brk_esg_box .brk-image-box-title { font-size: 22px; }
	.brk_esg_box .brk-image-box-desc { font-size: 14px; }
}

/* industries boxes */
/* Elementor "image left" image-box: image column = 30% of the box */
.brk-image-box.brk_industries_box { padding: 0; text-align: left; display: grid; grid-template-columns: 30% 1fr; align-items: start; }
.brk_industries_box .brk-image-box-img { grid-row: 1 / span 2; margin: 0 !important; text-align: left; }
.brk_industries_box .brk-image-box-img img { width: 100% !important; max-width: 150px; }
.brk_industries_box .brk-image-box-title { color: #000; font-size: 20px; line-height: normal; margin: 50px 0 16px !important; text-align: left; }
.brk_industries_box .brk-image-box-desc { color: #c4024b; }

/* "progetti" boxes */
.brk-image-box.brk_progetti_box_borsa, .brk-image-box.brk_progetti_box_fusioni, .brk-image-box.brk_progetti_box_crisi {
	background-color: #c4024b; background-image: url('../img/progetti_box.png'), url('../img/icona_bianca_borsa.png');
	background-position: top left, bottom right; background-repeat: no-repeat, no-repeat; background-size: 70%, 30%;
	height: 200px; padding: 22px 20px 0 22px !important; text-align: left;
}
.brk-image-box.brk_progetti_box_fusioni { background-image: url('../img/progetti_box.png'), url('../img/icona_bianca_fusioni.png'); }
.brk-image-box.brk_progetti_box_crisi { background-image: url('../img/progetti_box.png'), url('../img/icona_bianca_crisi.png'); }
.brk_progetti_box_borsa .brk-image-box-title, .brk_progetti_box_fusioni .brk-image-box-title, .brk_progetti_box_crisi .brk-image-box-title { text-align: left; color: #fff !important; font-size: 21px; line-height: normal; margin: 0 0 15px; }
.brk_progetti_box_borsa .brk-image-box-desc, .brk_progetti_box_fusioni .brk-image-box-desc, .brk_progetti_box_crisi .brk-image-box-desc { text-align: left; color: #fff !important; }
.brk_progetti_section_text .wp-block-column, .brk_progetti_section_text > .brk-col { background-color: rgb(237, 237, 237); }
.brk_progetti_section_text h3 { color: var(--brk-col-d); font-size: 24px; margin: 10px 0 5px; }

/* ------------------------------------------------ service page */

/* old CSS padding on the column + Elementor's own 10px inner padding */
.brk_servizi_section .brk_servizi_column { position: relative; line-height: 2; min-height: 500px; padding: 30px 40px 310px 30px !important; }
.brk_servizi_section .brk_servizi_column::before {
	content: ""; background-image: url('../img/servizi_pagina_sfumatura.svg'); background-size: 100% auto; background-repeat: no-repeat;
	background-position: bottom right; position: absolute; top: 0; right: 0; bottom: 0; opacity: .55; width: 100%; max-width: 900px; pointer-events: none;
}
@media (max-width: 600px) { .brk_servizi_section .brk_servizi_column { padding-right: 30px !important; padding-bottom: 160px !important; } }
.brk_servizi_section .brk_btn_back { margin-top: 50px; }

/* ------------------------------------------------ contacts page */

/* Elementor: red text widget (padding 20px) inside the column's 10px gap padding, full row height */
.brk_dove_siamo_section .wp-block-column:last-child {
	background-color: var(--brk-col-m); background-clip: padding-box; border: 10px solid #fff;
	color: #fff; line-height: 1.5 !important; padding: 20px !important;
}
.brk_dove_siamo_section .wp-block-column:last-child p { line-height: 1.5; }
.brk_dove_siamo_section .wp-block-column:last-child a { color: #fff; text-decoration: underline; }
.brk_staff_section .brk-heading { margin: 20px 0 0 0 !important; color: #000 !important; text-align: center; font-size: 18px !important; }
.brk_staff_section .wp-block-column p { margin: 0 !important; font-size: 14px; line-height: normal; text-align: center; }
.brk_staff_section .wp-block-column .brk-heading + p, .brk_staff_section .wp-block-column .brk-heading + .brk-text { margin-top: 6px !important; }

/* ------------------------------------------------ page title sections */

.brk_page_title_section, .brk_page_title_section_2, .brk_page_title_section_prof {
	display: flex !important; align-items: center; justify-content: center; min-height: 190px; box-sizing: border-box; padding: 0 !important;
	background-repeat: no-repeat; background-position: bottom center, bottom center, 0 0; background-size: auto, 400px, auto;
}
.brk_page_title_section {
	background-image: linear-gradient(180deg, rgba(237,237,237,.6), rgba(237,237,237,.6) 88%, rgba(255,255,255,.5) 88%),
		url('../img/page_title_ellisse.svg'),
		linear-gradient(180deg, rgb(237,237,237), rgb(237,237,237) 88%, #fff 88%);
}
.brk_page_title_section_2, .brk_page_title_section_prof {
	background-image: linear-gradient(180deg, rgba(196,2,75,.7), rgba(196,2,75,.7) 88%, rgba(255,255,255,.8) 88%),
		url('../img/page_title_ellisse_black.svg'),
		linear-gradient(180deg, #c4024b, #c4024b 88%, #fff 88%);
}
.brk_page_title_section > *, .brk_page_title_section_2 > *, .brk_page_title_section_prof > * { width: 100%; }
.brk_page_title_section h1, .brk_page_title_section_2 h1, .brk_page_title_section_prof h1 {
	line-height: normal !important; padding: 0 10px 18px 10px; margin: 0 !important; font-size: 36px !important; text-align: center; font-weight: 600;
}
.brk_page_title_section h1 { color: var(--brk-col-m) !important; }
.brk_page_title_section_2 h1, .brk_page_title_section_prof h1 { color: #fff !important; }
@media (max-width: 767px) {
	.brk_page_title_section h1, .brk_page_title_section_2 h1, .brk_page_title_section_prof h1 { font-size: 30px !important; }
}

/* ------------------------------------------------ text (Elementor text editor widget) */

/* headings that came from Elementor text widgets (style_theme.less) - shortcode headings keep Hello's margins */
.brk-main .wp-block-heading:is(h2, h3, h4, h5, h6):not(.brk-heading, .brk-image-box-title, .brk-slide-heading, .widgettitle) { margin-top: 1rem; margin-bottom: .5rem; }
.brk-main ul.wp-block-list { margin: 1em 0; list-style: disc outside; padding-left: 1.5em; }
.brk-main ul.wp-block-list li { list-style: disc outside; }

/* inline (auto width) widgets placed side by side */
.brk-inline-row { gap: 0; }
.brk-inline-row > .wp-block-image { display: inline-block; width: auto; }

/* ------------------------------------------------ e-mail obfuscation */

.brk_obfsmail { color: var(--brk-col-d); cursor: pointer; }

/* ------------------------------------------------ ESG acronym */

.brk_esg_acronimo { cursor: pointer; }
.brk_esg_acronimo_box.brk-js-hidden { display: none; }

/* ------------------------------------------------ shortcode output: news */

/* measured on the Elementor site: only the single-news header used the theme body font */
.brk_news_single_header, .brk_news_archive { font-family: "Open Sans", Roboto, sans-serif; color: #333; }

.brk_news_cat_mini_title {
	display: block; position: absolute; top: -6px; right: 60px; min-width: 100px; text-align: center; background-color: #fff;
	border: 1px solid var(--brk-col-m); color: var(--brk-col-m); font-size: 10px; padding: 0 5px;
}
.brk_news_cat_icon { display: block; width: 60px; height: 60px; margin: 10px 10px 0 0; background-size: 60px; background-image: url('../img/news_comunicazioni.png'); background-repeat: no-repeat; }
.brk_news_cat_icon.comunicazioni { background-image: url('../img/news_comunicazioni.png'); }
.brk_news_cat_icon.stampa { background-image: url('../img/news_stampa.png'); }
.brk_news_cat_icon.riconoscimenti { background-image: url('../img/news_riconoscimenti.png'); }

.brk_latest_news { list-style: none; padding: 0; display: flex; flex-wrap: nowrap; margin: 0; }
.brk_latest_news .brk_latest_news_item { flex-grow: 1; flex-basis: 0; background-color: var(--brk-col-m); margin: 12px; padding: 20px; min-height: 130px; }
.brk_latest_news .brk_latest_news_item a { display: block; }
.brk_latest_news .brk_news_cat_icon_wrap { float: right; }
.brk_latest_news .brk_news_cat_icon_wrap .brk_news_cat_icon { display: block; width: 90px; height: 90px; margin: 0; background-size: 90px; background-position: top right; }
.brk_latest_news .brk_desc_wrap .brk_data { color: #fff; font-size: 15px; }
.brk_latest_news .brk_desc_wrap .brk_title { color: #fff; font-size: 20px; }
@media (max-width: 767px) { .brk_latest_news { display: block; width: 100%; } }

.brk_news_archive .brk_news_cat_buttons { display: flex; flex-wrap: wrap; justify-content: space-between; margin: 0 -10px 12px -10px; }
.brk_news_archive .brk_news_cat_buttons .brk_btn { flex-grow: 1; background-color: var(--brk-col2-m); margin: 0 10px 10px 10px; padding: 12px; text-align: center; color: #fff; }
.brk_news_archive .brk_news_btn_index { display: block; text-align: center; }
.brk_news_archive .brk_news_cat_title { font-size: 24px; font-weight: bold; color: var(--brk-col2-m); display: block; text-align: center; margin: 10px 0 20px 0 !important; }
.brk_news_archive .brk_news_list .brk_news_item { background-color: var(--brk-col-m); position: relative; margin-bottom: 20px; }
.brk_news_archive .brk_news_list .brk_news_item .brk_news_cat_mini_title { top: -8px; right: 60px; }
.brk_news_archive .brk_news_list .brk_wrap { display: flex; justify-content: space-between; }
.brk_news_archive .brk_news_list .brk_desc { padding: 12px 0 5px 20px; min-height: 96px; }
.brk_news_archive .brk_news_list .brk_desc .brk_data { color: #fff !important; font-size: 12px; margin: 0; }
.brk_news_archive .brk_news_list .brk_desc .brk_title { display: block; margin: 10px 0 0 0; padding: 0; color: #fff !important; font-size: 16px; font-weight: bold; line-height: normal; }
.brk_news_archive .brk_news_list .brk_news_cat_icon_wrap .brk_news_cat_icon { width: 50px; height: 50px; margin: 10px 10px 0 0; background-size: 50px; }

/* single news */
.brk_news_single_content { border: 1px solid var(--brk-border); position: relative; padding: 10px; }
.brk_news_single_header { position: relative; }
.brk_news_single_content .brk_news_cat_icon { margin: 0 0 4px 0; background-image: url('../img/news_col_comunicazioni.png'); }
.brk_news_single_content .brk_news_cat_icon.comunicazioni { background-image: url('../img/news_col_comunicazioni.png'); }
.brk_news_single_content .brk_news_cat_icon.stampa { background-image: url('../img/news_col_stampa.png'); }
.brk_news_single_content .brk_news_cat_icon.riconoscimenti { background-image: url('../img/news_col_riconoscimenti.png'); }
.brk_news_single_content .brk_data { font-size: 11px; margin-bottom: 10px; }
.brk_news_single_content .brk_news_cat_mini_title { top: -27px; right: 30px; }
.brk_news_single_content .brk_news_single_featured_image img { margin-bottom: 30px; width: 100%; }
.brk_news_single_content .wp-block-file {
	background-color: rgb(237,237,237); background-image: url('../img/wp_block_file.png'); background-size: 30% 100%; background-repeat: no-repeat;
	background-position: top right; display: flex; align-items: center; justify-content: space-between; margin: 20px 0 0 0; font-weight: bold; height: 60px; padding: 0 20px;
}
.brk_news_single_navigation { margin: 0 10px; }
.brk_news_single_navigation .post-navigation-link-previous a, .brk_news_single_navigation .post-navigation-link-next a,
.brk_news_single_navigation .wp-block-post-navigation-link a {
	display: inline-block; background-color: var(--brk-col-m); padding: 10px 30px; color: #fff !important; text-transform: none; font-size: 14px; font-family: "Roboto Slab", serif;
}

/* news sidebar (WordPress Popular Posts) */
.brk-sidebar .widget { list-style: none; margin: 0 0 20px 0; padding: 15px; border: 1px solid var(--brk-border); }
.brk-sidebar .widget .widgettitle { font-size: 18px; font-weight: bold; color: var(--brk-col2-m); margin: 0; line-height: 1.2; }
.brk-sidebar .widget .widgettitle::after { content: ''; display: block; width: 40px; height: 5px; background-color: var(--brk-col-m); margin: 7px 0 10px 0; }
.brk-sidebar .widget.popular-posts ul { list-style: none; margin: 0; padding: 0; }
.brk-sidebar .widget.popular-posts li { display: block; margin: 0; padding: 15px 0; border-bottom: 1px solid var(--brk-border); line-height: normal; }
.brk-sidebar .widget.popular-posts li .wpp-post-title { font-size: 14px; font-weight: bold; color: var(--brk-col2-m); margin: 0; }
.brk-sidebar .widget.popular-posts li .wpp-meta.post-stats { display: block; margin-top: 7px; }
.brk-sidebar .widget.popular-posts li:last-of-type { border-bottom: none; padding-bottom: 0; }

/* search results */
.brk-search-item { margin-bottom: 40px; }
.brk-search-item .wp-block-post-title { font-size: 21px; font-weight: 600; margin: 0 0 13px; }
.brk-search-item .wp-block-post-title a { color: var(--brk-col2-m); }
.brk-search-item .wp-block-post-excerpt__more-link { color: var(--brk-col-m); font-weight: 500; font-size: 12px; }

/* ------------------------------------------------ professionals */

.brk_professionisti_list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; margin: 0 -15px; justify-content: center; }
@media (max-width: 1159px) { .brk_professionisti_list .brk_show_only_in_desktop { display: none; } }
.brk_professionisti_list .brk_professionisti_item { max-width: 360px; width: 100%; margin: 15px; text-align: center; }
.brk_professionisti_list .brk_prof_img img { display: block; width: 100%; height: auto; }
.brk_professionisti_list .brk_professionisti_item img { width: 100%; height: auto; } /* inline like the original (keeps its 7px line gap) */
.brk_professionisti_list .brk_prof_nome { font-size: 26px; text-align: center; color: #000; margin: 12px 0 0 0; }
.brk_professionisti_list .brk_prof_ruolo { color: var(--brk-col-d); font-size: 17px; margin: 0 0 2px 0; }
.brk_professionisti_list .brk_prof_titolo { color: var(--brk-col2-m); font-size: 17px; margin: 0; line-height: 1.1; }

.brk_prof_section { margin-top: 50px !important; }
/* Elementor: grey widget-wrap with 20px padding, inset by the column's 10px gap padding */
.brk_prof_section .wp-block-column.prof_col_curr { background: rgb(237,237,237); background-clip: padding-box; border: 20px solid #fff; padding: 20px !important; }
.brk_prof_section .prof_col_curr .brk_title {
	font-size: 36px; font-weight: bold; color: #000 !important; margin: 0 0 20px 40px; line-height: 1.2;
}
.brk_prof_section .prof_col_curr .brk_title::before { content: ''; display: block; float: left; background-color: #c4024b; margin: 18px 0 0 -40px; width: 30px; height: 9px; }
.brk_prof_section .prof_col_curr .brk_subtitle { color: var(--brk-col-d); text-transform: uppercase; font-weight: bold; }
.brk_prof_section .prof_col_curr .brk_prof_contact { border-top: 1px solid rgb(120,120,120); padding-top: 10px; margin-top: 20px; }
.brk_prof_contact .brk_prof_email, .brk_prof_contact .brk_prof_linkedin, .brk_prof_contact .brk_prof_tel { line-height: 30px; color: var(--brk-col-d); }
.brk_prof_contact .brk_prof_email a, .brk_prof_contact .brk_prof_linkedin a, .brk_prof_contact .brk_prof_tel a { color: var(--brk-col-d); }
.brk_prof_contact .brk_prof_email::before, .brk_prof_contact .brk_prof_linkedin::before, .brk_prof_contact .brk_prof_tel::before {
	content: ""; width: 40px; height: 30px; float: left; background: url('../img/ico_mail.png') no-repeat; background-size: 32px;
}
.brk_prof_contact .brk_prof_linkedin::before { background-image: url('../img/ico_linkedin.png'); }
.brk_prof_contact .brk_prof_tel::before { background-image: url('../img/ico_tel.png'); }
@media (max-width: 767px) {
	.brk_prof_section .prof_col_curr .brk_title { font-size: 28px; margin: 0 0 20px 27px; }
	.brk_prof_section .prof_col_curr .brk_title::before { margin: 13px 0 0 -27px; width: 20px; height: 6px; }
}

/* ------------------------------------------------ misc from old theme */

.brk-consent-buttons { display: block; }
.brk-consent-buttons a { display: block; text-align: right; }
