/*
Theme Name: JNews - Child Theme
Version: 1.0.0
Theme URI: http://themeforest.net/?ref=jegtheme
Description: A basic starter child theme for customization purpose of JNews theme.
Author: Jegtheme
Author URI: http://themeforest.net/user/jegtheme?ref=jegtheme
Template: jnews
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* ------------------------------------------------------------------------- *
 *  Theme customization starts here
/* ------------------------------------------------------------------------- */


/* Variabili colori 
blu #0051A2 = var(--j-entry-link-color);
testi #1A1A1A = var(--j-body-color);
titoli #1F3A5F = var(--j-heading-color);
giallo #FFB800 = var(--j-accent-color);
grigio #5B6472 = var(--j-alt-color);
azzurro scuro #CCDCEB = var(--e-global-color-33efd0a);
azzurro chiaro #EEF4FA = var(--e-global-color-4682918);
beige #F8F4EA = var(--e-global-color-54cb0e8);
rosso #EC0033 = var(--e-global-color-04f1c7e);
atelie icone var(--e-global-color-128f5a0) = var(--e-global-color-128f5a0);
*/


@font-face {
  font-family: "Nimbus";
  src: url("../jnews-child/assets/fonts/Nimbus400.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Nimbus-italic";
  src: url("../jnews-child/assets/fonts/Nimbus400ita.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Nimbus-bold";
  src: url("../jnews-child/assets/fonts/Nimbus600.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Nimbus-bold-italic";
  src: url("../jnews-child/assets/fonts/Nimbus600ita.ttf") format("truetype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

p {
  font-family: "Lato", sans-serif;
  font-size: 1rem;
  color: var(--j-body-color);
  line-height: 1.5rem;
}

h1 {
  color: var(--j-heading-color);
  font-family: 'Nimbus', serif;
  letter-spacing: 0 !important;
}

.jeg_post_title {
  letter-spacing: 0 !important;
}

@media screen and (min-width: 20rem) {
  h1 {
    font-size: calc(2.1818181818vw + 1.5636363636rem) !important;
  }
}

@media screen and (min-width: 75rem) {
  h1 {
    font-size: 3.125rem !important;
  }
}

h2 {
  font-size: 1.5rem;
  color: var(--j-heading-color);
}

a {
  color: var(--j-entry-link-color);
  font-weight: 700;
}

p {
      margin: 0 0 1.5rem;
}




/*** HEADER ***/

.jeg_header_sticky {
  z-index: 9999;
}

.jeg_topbar {
  font-size: 0.8125rem;
}

.jeg_topbar .jeg_menu > li > a {
  font-weight: 400;
}

.jeg_topbar .jeg_top_lang_switcher span {
  display: none;
}

.jeg_topbar .jeg_search_wrapper {
  position: relative;
}

.jeg_topbar .jeg_search_result {
  width: 15.625rem;
  left: 0;
  right: auto;
}

.jeg_topbar .jeg_search_result .jeg_postblock_content {
  padding: 0;
  margin-left: 4.375rem;
}

.jeg_topbar .jeg_search_result .jeg_post_title a {
  color: var(--j-heading-color) !important;
}

.jeg_topbar .search-result-wrapper .jeg_post_meta {
  display: none;
}

.jeg_topbar .jeg_search_input {
  color: #ffffff !important;
}

.jeg_topbar .jeg_search_input::-moz-placeholder {
  color: #ffffff !important;
}

.jeg_topbar .jeg_search_input::placeholder {
  color: #ffffff !important;
}

.jeg_topbar .jeg_top_date::first-letter,
.jeg_topbar .jeg_mobile_top_date::first-letter {
  text-transform: uppercase;
}

.jeg_topbar input,
.jeg_topbar .jeg_mobile_top_date {
  font-size: 0.8125rem;
  font-weight: 400;
}

.jeg_topbar i {
  color: #ffffff;
}

.jeg_topbar i:hover {
  color: #CCDCEB;
}

.jeg_social_icon_block.socials_widget a .jeg-icon svg {
  height: 1.25rem !important;
}

.socials_widget a {
  margin: 0;
}

.socials_widget a .fa {
  font-size: 1.25rem !important;
}

.jeg_midbar .btn {
  font-size: 0.875rem;
  line-height: 2.5rem;
  letter-spacing: 0;
  font-weight: 700;
  border-radius: 0.5rem;
}

.jeg_midbar .btn:hover {
  color: #ffffff;
}

.jeg_bottombar .btn {
  font-size: 1rem;
  letter-spacing: 0;
  font-weight: 600 !important;
  text-transform: capitalize;
  line-height: 1.25rem;
  position: relative;
  display: inline-block;
  color: #EC0033 !important;
  margin-top: 14px;
}

.jeg_bottombar .btn::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 0.188rem;
  background: #EC0033;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.jeg_bottombar .btn:hover {
  box-shadow: none;
}

.jeg_bottombar .btn:hover::after {
  transform: scaleX(1);
}

.wp-block-search__button {
  padding: 0.325rem 1.25rem;
}

.jeg_navbar_mobile {
  box-shadow: none;
  border-bottom: 2px solid var(--j-entry-link-color);
}

.jeg_mobile_logo img {
  max-height: 100%;
}

.jeg_mobile_top_date {
  background: var(--j-entry-link-color);
  text-align: center;
  color: #ffffff;
  padding: 0.3125rem;
  font-size: 0.8125rem;
}

.jeg_mobile_menu li a {
  font-size: 1rem;
}

.jeg_mobile_menu .lang-item-first {
  border-top: 2px solid var(--j-entry-link-color);
  padding-top: 10px;
}

.jeg_mobile_wrapper .copy-left {
  line-height: 1rem;
}

.jeg_mobile_wrapper .socials_widget .fa {
  background-color: #fff;
}

.jnews_header_top_ads{
  background-color: #fff;
}

.jnews_header_bottom_ads {
  background-color: #fff;
  padding: 2rem 0;
}

/* .jnews_content_bottom_ads {
  margin: 0 0 4rem;
}

.jnews_header_bottom_ads {
  background: none !important;
  margin: 2rem 0 0;
}

.home .jnews_header_bottom_ads {
  background: none !important;
  margin: 2rem 0 3rem;
} */

/* @media (max-width: 767px) {
  
  .jeg_prevnext_post a {
    text-align: left !important;
  }

  .jnews_header_bottom_ads {
    margin: 2rem 1rem;
  }
} */



/*** FOOTER ***/

.jeg_footer .jeg_footer_primary {
  padding: 3.75rem 0 2.5rem;
}

.jeg_footer .jeg_footer_title,
.jeg_footer .jeg_block_title,
.jeg_footer .jeg_block_title span {
  color: #ffffff !important;
  font-family: "Nimbus";
  font-size: 1.375rem !important;
  font-weight: bold;
}

.jeg_footer p,
.jeg_footer .menu-item,
.jeg_footer .cat-item {
  font-size: 0.875rem;
  line-height: 1.375rem;
  color: #ffffff;
}

.jeg_footer .menu-item a:hover,
.jeg_footer .cat-item a:hover {
  text-decoration: underline;
  color: #CCDCEB !important;
}

.jeg_footer .widget_categories li a,
.jeg_footer .widget_nav_menu li a,
.jeg_footer .widget_polylang li a {
  font-weight: 400;
}

.jeg_footer .col-md-4 .widget_categories > ul,
.jeg_footer .vc_col-sm-4 .widget_categories > ul {
  -moz-column-count: 1;
       column-count: 1;
}

.jeg_footer #text-2 {
  margin-bottom: 1.25rem;
}

.jeg_footer #custom_html-2 {
  text-align: center;
}

.jeg_footer .widget_jnews_social {
  margin-top: 3rem;
}

.jeg_footer .socials_widget.nobg a {
  margin-right: 1.5625rem;
}

.jeg_footer .socials_widget.nobg a:hover i {
  color: #CCDCEB !important;
}

.jeg_footer .socials_widget.nobg a:last-child {
  margin-right: 0;
}

.jeg_footer .footer-copy-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  border-top: 2px solid rgba(255, 255, 255, 0.3);
  font-size: 0.8125rem;
  padding: 0.625rem 0;
}

.jeg_footer .footer-copy-wrapper .copy-divider {
  padding: 0 0.3125rem;
}

.jeg_footer .footer-copy-wrapper a {
  text-decoration: underline;
}

.jeg_footer .footer-copy-wrapper a:hover {
  color: #CCDCEB !important;
}

.jeg_footer .footer-copy-wrapper .copy-left,
.jeg_footer .footer-copy-wrapper .copy-right {
  padding: 0;
}

.jeg_footer .footer-copy-wrapper .copy-right ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.jeg_footer .footer-copy-wrapper .copy-right li {
  padding: 0 0.5rem;
  position: relative;
}

.jeg_footer .footer-copy-wrapper .copy-right li:not(:last-child)::after {
  content: "/";
  position: absolute;
  right: -0.7rem;
  color: #ffffff;
}

.jeg_footer .footer-copy-wrapper .copy-right li:last-child {
  padding-right: 0;
}

.copy-right ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 20px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.copy-right ul li {
  margin: 0;
}

@media (max-width: 768px) {

  .fa-search:before {
      color: var(--j-entry-link-color) !important;
  }

  .jeg_footer {
    text-align: center !important;
  }

  .jeg_footer #jnews_social-2,
  .jeg_footer #jnews_social-2 * {
    float: none !important;
    text-align: center;
  }
  .jeg_footer .footer_widget {
    margin-bottom: 1.25rem;
  }

  .jeg_footer .footer_widget ul {
    display: none;
  }

  .jeg_footer .footer_widget.active ul {
    display: block;
  }

  .jeg_footer .footer_widget:not(.widget_text, .widget_custom_html) .jeg_footer_title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    cursor: pointer;
      margin-bottom: 20px;
  }

  .jeg_footer .footer_widget:not(.widget_text, .widget_custom_html) .jeg_footer_title::after {
    content: "\f107";
    font-family: "FontAwesome";
    transition: transform 0.3s ease;
    font-size: 1rem;
  }

  .jeg_footer .footer_widget.active .jeg_footer_title::after {
    transform: rotate(180deg);
  }

  .jeg_footer .footer_widget :last-child {
    margin-bottom: 0;
  }

  .jeg_footer .jeg_footer_primary {
    padding: 2.5rem 0 0.5rem;
  }

  .jeg_footer .footer-copy-wrapper {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

    .widget_jnews_social .jeg_footer_title::after {
        display: none;
    }

    div.copy-right {
        
        margin-top: 20px;
    }

    .copy-right ul {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .jeg_footer .footer-copy-wrapper .copy-right li:not(:last-child)::after {
        display: none;
    }
}

@media (min-width: 768px) and (max-width: 991px) {

  .fa-search:before {
        color: var(--j-entry-link-color) !important;
    }

  .jeg_footer #jnews_social-2,
  .jeg_footer #jnews_social-2 * {
    float: none !important;
    text-align: center;
  }

  .jeg_footer .jeg_footer_primary {
    display: flex;
    flex-wrap: wrap;
  }

  .jeg_footer .col-md-3 {
    width: 100%;
    text-align: center;
    margin-bottom: 1.875rem;
  }

  .jeg_footer .col-md-8 {
    width: 100%;
  }

  .jeg_footer .col-md-8 .footer_column {
    width: 33%;
    float: left;
    margin-bottom: 1.25rem;
  }
}


/*** PARTNERS ***/

.tq-partner-slide {
    height: 100px !important;
    padding: 10px 20px;
    box-sizing: border-box;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.tq-partner-slide a {
    width: 100%;
    height: 100%;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.tq-partner-slide img {
    display: block;
    max-width: 180px;
    max-height: 70px;
    width: auto;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
}

.tq-partner-slider .tq-partner-slide a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 90px;
}

.tq-partner-slider .slick-prev,
.tq-partner-slider .slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    font-size: 0;
    line-height: 0;
    cursor: pointer;
}

.tq-partner-slider .slick-prev {
    left: -45px;
}

.tq-partner-slider .slick-next {
    right: -45px;
}

.tq-partner-slider .slick-prev:before {
    content: "\f053";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--j-entry-link-color);
}

.tq-partner-slider .slick-next:before {
    content: "\f054";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--j-entry-link-color);
}

.tq-partner-slider .slick-prev:before,
.tq-partner-slider .slick-next:before {
    font-size: 22px;
    line-height: 40px;
    opacity: 1;
}

.tq-partner-slider .slick-prev,
.tq-partner-slider .slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 40px;
    height: 40px;
    padding: 0;
    margin: 0;
    border: none;
    background: transparent;
    font-size: 0;
    line-height: 40px;
    cursor: pointer;
}

.tq-partner-slider .slick-prev {
    left: -35px;
}

.tq-partner-slider .slick-next {
    right: -35px;
}


/*** SINGLE POST ***/

.news-label {
  font-family: "Lato", sans-serif;
  font-size: 0.6875rem;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.0625rem;
  padding: 0.3125rem 0.625rem;
  background-color: #EC0033;
  color: #ffffff;
  display: inline-block;
}

.single-post .jeg_featured {
    height: 485px;
    overflow: hidden;
}

.single-post .jeg_featured .thumbnail-container {
    height: 100%;
    padding-bottom: 0 !important;
}

.single-post .jeg_featured img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

@media (max-width: 767px) {
    .single-post .jeg_featured {
        height: 230px;
    }
}

.single-post .jeg_meta_container {
  border-bottom: 2px solid var(--e-global-color-33efd0a);
  padding-bottom: 1.25rem;
}

.jeg_authorbox {
  background-color: #EEF4FA;
  border: 0;
  border-top: 2px solid var(--j-entry-link-color);
}

.jeg_authorbox h3.jeg_author_name {
  font-size: 1.5rem;
  text-transform: capitalize;
  font-family: 'Nimbus', serif;
}

.jeg_authorbox p.jeg_author_desc {
  font-size: 0.9375rem;
}

.jeg_authorbox a {
  color: var(--j-heading-color);
}

.jeg_authorbox a:hover {
  color: var(--j-entry-link-color);
}

.jeg_authorbox .jeg_author_socials .url {
  margin: 0 0.9375rem;
}

.jeg_authorbox .jeg_author_socials .url:first-child {
  margin-left: 0;
}

.tq_first-text p {
  font-family: "Lato", sans-serif;
  font-size: 1.5rem;
  line-height: 2.25rem;
  font-weight: 500;
  margin-bottom: 0;
}

blockquote {
  color: var(--j-body-color);
  text-align: center;
  margin: 0.9375rem 3.125rem;
  padding: 0 3rem !important;
  border-left: 0 !important;
}

@media (max-width: 767px) {

  blockquote {
    padding: 0 1rem !important;
  }
}

blockquote p {
  font-size: 1.25rem !important;
  line-height: 1.875rem !important;
  font-weight: 500;
  font-family: "Lato", sans-serif !important;
  font-style: normal;
}

blockquote :before,
blockquote :after {
  content: "";
  display: block;
  width: 10.625rem;
  height: 0.125rem;
  background-color: #CCDCEB;
}

blockquote :before {
  margin: 0 auto 1.875rem;
}

blockquote :after {
  margin: 1.875rem auto 0;
}

.jeg_post_category {
  display: none;
}

h2.jeg_post_subtitle {
  font-size: 1.25rem !important;
  color: #5B6472 !important;
  font-family: "Lato", sans-serif;
  font-weight: 500;
}

.jeg_meta_date {
  color: #5B6472 !important;
}

.jeg_meta_date a {
  font-weight: 700;
  color: #5B6472 !important;
}

.jeg_meta_date i {
  color: #5B6472 !important;
}

.entry-content a:hover {
  text-decoration: underline;
}




/*** PREV - NEXT ***/
.jeg_prevnext_post {
  border-top: 0.0625rem solid #CCDCEB;
  border-bottom: 0.0625rem solid #CCDCEB;
  font-size: 1.25rem;
  margin: 4rem 0 2rem;
}

.jeg_prevnext_post .caption {
  color: var(--j-body-color);
  font-size: 1.25rem;
}

.jeg_prevnext_post h3 {
  border-left: 10px solid #CCDCEB;
  font-size: 1.125rem;
  padding-left: 0.5rem;
  font-family: 'Nimbus', serif;
}

.jeg_prevnext_post a :hover {
  color: var(--j-entry-link-color);
}

.jeg_prevnext_post .caption:hover {
  color: #000;
}





/*** SIDEBAR ***/


.widget,
.jeg_sidebar .widget {
  margin-bottom: 4rem;
}

.video-responsive {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.video-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.widget_jnews_popular .popularpost_meta {
  display: none;
}

.popularpost_item:first-child {
  display: block;
  border-bottom: 0;
  padding-bottom: 0;
}
.popularpost_item:first-child .jeg_post_title {
  font-size: 1.375rem;
  line-height: 1.75rem;
  min-height: 3.4375rem !important;
}

@media only screen and (min-width: 768px) and (max-width: 1023px) {

  .popularpost_item:first-child .jeg_post_title {
    padding-right: 4.375rem;
  }
}

.popularpost_item:first-child .jeg_post_title a:before {
  border-left: 1px solid #CCDCEB;
  color: var(--j-entry-link-color);
  position: absolute;
  font-size: 2.5rem;
  width: 3.125rem;
  padding: 0.625rem;
}

.popularpost_item:first-child:hover .jeg_post_title a:before {
  color: var(--j-heading-color);
  border-left: 1px solid var(--j-entry-link-color);
  padding: 0.625rem;
  font-size: 2.5rem;
}

.jeg_block_heading_5:before {
  display: none !important;
}

.popularpost_item:nth-child(2) {
  border-top: 2px solid #CCDCEB;
  padding-top: 1.5rem;
}

.popularpost_item {
  display: flex;
  padding-left: 0;
}

.popularpost_item .jeg_thumb {
  display: block;
  padding-right: 0.625rem;
  flex-shrink: 0;
}

.popularpost_item .jeg_post_title {
  font-size: 1.125rem;
  line-height: 1.375rem;
}

.popularpost_item .jeg_post_title a:before {
  background: none !important;
  color: var(--j-entry-link-color);
  font-size: 1.375rem;
  position: relative;
  display: block;
  padding: 0 0 0.3rem;
}

.popularpost_item:hover .jeg_post_title a:before {
  color: var(--j-heading-color);
}

.widget_jnews_module_block_29 .jeg_postsmall h3.jeg_post_title {
  font-size: 1.125rem;
}

.widget_in-scena {
  position: relative;
  background: #D9E5F0;
  background-image: url("/wp-content/themes/jnews-child/assets/img/TQ.svg");
  background-repeat: no-repeat;
  background-position: top left;
  background-size: 11.25rem;
  padding: 1.875rem 1.25rem 0;
  border-left: 0.125rem solid var(--j-entry-link-color);
}

.widget_in-scena h2 {
  font-family: 'Nimbus', serif;
}

.widget_in-scena .jeg_block_title {
  font-size: 2.25rem !important;
  font-family: 'Nimbus', serif;
}

.widget_in-scena .in-scena_cta {
  text-align: right;
  margin-top: 1rem;
}

.widget_in-scena .in-scena_cta .in-scena_btn {
  background: var(--j-accent-color);
  text-transform: uppercase;
  padding: 0.625rem 1.25rem;
  border-radius: 0.5rem;
  color: var(--j-body-color);
  font-size: 0.875rem;
  top: 0.625rem;
  position: relative;
  font-family: 'Lato', sans-serif;
}

.widget_in-scena .in-scena_cta .in-scena_btn:hover {
  background: var(--j-entry-link-color);
  color: #ffffff !important;
}

.jeg_sidebar .widget_jnews_social,
.elementor-widget-sidebar .widget_jnews_social {
  border-top: 0.125rem solid var(--j-accent-color);
  padding-top: 0.5rem;
  display: flex;
  justify-content: space-between;
}

.jeg_sidebar .widget_jnews_social h3,
.elementor-widget-sidebar .widget_jnews_social h3 {
  font-family: "Lato", sans-serif;
  font-size: 1.875rem;
}

@media screen and (min-width: 20rem) {

  .jeg_sidebar .widget_jnews_social h3,
.elementor-widget-sidebar .widget_jnews_social h3 {
    font-size: calc(0.6818181818vw + 1.7386363636rem) !important;
  }
}

@media screen and (min-width: 75rem) {

  .jeg_sidebar .widget_jnews_social h3,
.elementor-widget-sidebar .widget_jnews_social h3 {
    font-size: 2.25rem !important;
  }
}

.jeg_sidebar .widget_jnews_social .jeg_social_wrap,
.elementor-widget-sidebar .widget_jnews_social .jeg_social_wrap {
  margin-left: auto;
  padding-top: 0.75rem;
}

.jeg_sidebar .widget_jnews_social .socials_widget i,
.elementor-widget-sidebar .widget_jnews_social .socials_widget i {
  color: var(--j-entry-link-color) !important;
  font-size: 1.5rem !important;
}

.jeg_sidebar .widget_jnews_social .socials_widget.nobg .jeg_twitter .jeg-icon svg,
.elementor-widget-sidebar .widget_jnews_social .socials_widget.nobg .jeg_twitter .jeg-icon svg {
  fill: var(--j-entry-link-color) !important;
}

.video-center {
  display: flex;
  justify-content: center;
}

@media (min-width: 768px) and (max-width: 1024px) {

  .jeg_block_title span {
    font-size: 2rem;
    line-height: 2.25rem;
  }
}

.tq-widget-newsletter .custom-html-widget {
  text-align: center;
  margin-bottom: 1.5625rem;
}

.tq-widget-newsletter {
  background-color: var(--e-global-color-33efd0a);
  padding: 1.875rem;
}

.tq-widget-newsletter h3 {
    font-family: 'Nimbus', serif;
    font-size: 1.875rem;
    font-weight: 700;
    margin: 0;
    position: relative;
    min-height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: normal;
}

.tq-widget-newsletter h3::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('/wp-content/uploads/2026/09/ico-newsletter.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.tq-widget-newsletter h3 span {
    position: relative;
    z-index: 1;
}

.tq-widget-newsletter p {
  margin-bottom: 1rem;
}

.tq-widget-atelier {
  background-color:  var(--e-global-color-4682918);
  border-top: 2px solid var(--j-entry-link-color);
  padding: 1.25rem;
}

.tq-widget-atelier h2 {
  font-size: 2.25rem;
  font-family: 'Nimbus', serif !important;
  font-weight: 700;
}

.tq-widget-atelier h3 {
  font-family: 'Nimbus', serif !important;
  font-weight: 700;
  font-size: 1.25rem !important;
  line-height: 1.75rem;
  margin-bottom: 0 !important;
}

.tq-widget-atelier .jeg_post_meta,
.tq-widget-atelier .jeg_postblock_16 .jeg_posts,
.tq-widget-atelier .jeg_block_navigation {
  display: none;
}

.tq-widget-atelier .jeg_readmore {
  margin-top: 0 !important;
  line-height: 1.125rem;
}

.tq-widget-atelier .jeg_post_excerpt {
  margin-top: 0 !important;
  text-align: center;
}

.tq-widget-atelier .jeg_post_excerpt p {
  display: none;
}

.tq-widget-atelier .jeg_postblock_16 {
  margin-bottom: 0;
}

.tq-widget-atelier .link-atelier p {
  margin-bottom: 0;
}

.tq-widget-atelier .link-atelier a {
  color: var(--j-body-color) !important;
  font-weight: 600 !important;
  font-size: 0.875rem;
}

.tq-widget-atelier .link-atelier a:hover {
  color: var(--j-entry-link-color) !important;
}

.tq-widget-atelier .jeg_postbig .jeg_thumb .thumbnail-container {
  height: 12.9375rem !important;
  padding-bottom: 0 !important;
}

.tq-widget-atelier .jeg_postbig .jeg_thumb .thumbnail-container img {
  width: 100% !important;
  height: 12.9375rem !important;
  object-fit: cover !important;
}

.wpjb-box {
  padding: 0;
  border: 0;
  box-shadow: none;
}

.tq-widget-social {
  border-top: 2px solid var(--j-accent-color);
}


.tq-widget-social i.fa {
    color: var(--j-entry-link-color) !important;
    font-size: 1.5625rem !important;
}

.tq-widget-social .jeg_twitter .jeg-icon svg {
  fill: var(--j-entry-link-color) !important;
  height: 1.5625rem;
}

.tq-widget-ritratti h3 {
  font-family: var(--tqw-font-heading);
  font-weight: 700;
}



/*** PARTI COMUNI ***/
.first-word {
  font-family: "Lato", sans-serif !important;
  font-weight: 900;
  font-style: normal;
  padding-right: 0;
  font-size: 1.75rem;
}
@media screen and (min-width: 20rem) {
  .first-word {
    font-size: calc(0.4545454545vw + 1.6590909091rem) !important;
  }
}
@media screen and (min-width: 75rem) {
  .first-word {
    font-size: 2rem !important;
  }
}

button {
  border: none;
}

.main-button {
  background-color: var(--j-accent-color);
  padding: 0.625rem 1.25rem !important;
  border: none;
  border-radius: 0.5rem;
  box-shadow: none;
  color: var(--j-body-color) !important;
  font-size: 0.875rem;
  text-transform: uppercase;
  font-weight: 600;
}

.main-button:hover {
  background-color: var(--j-heading-color);
  color: #ffffff !important;
}

.jscroll-to-top>a {
  background: var(--e-global-color-33efd0a);
  color: var(--e-global-color-text);
}

/*** HEADING WIDGET ***/
.jeg_block_heading_6 {
  margin-bottom: 0;
}

.tq_heading .jeg_block_heading_6,
.jnews_related_post_container .jeg_block_heading_6,
.widget .jeg_block_heading_6 {
  border-bottom: 0 !important;
}

.tq_heading .jeg_block_heading_6::after,
.widget .jeg_block_heading_6::after {
  display: none !important;
}

.jnews_related_post_container .jeg_block_heading.jeg_block_heading_6::after {
    opacity: 0 !important;
}


.main-title h2 {
  font-size: 2rem !important;
  position: relative;
  line-height: 1.1;
  width:100%;
  padding-left: 1.25rem;
}

.tq_heading .jeg_block_title,
.jnews_related_post_container .jeg_block_title  {
    position: relative;
    line-height: 1.1;
    width:100%;
    margin-bottom: 1rem;
    padding-left: 1.25rem;
}

.tq_heading .jeg_block_title:before,
.jnews_related_post_container .jeg_block_title:before,
.main-title h2:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 5px;
    height: 100%;
    background: var(--j-accent-color);
}

.tq_heading .jeg_block_title span,
.jnews_related_post_container .jeg_block_title span,
.main-title h2 span,
.wpjb-ultimi-titolo strong {
    font-family: "Lato", sans-serif;
    font-weight: 800;
    font-style: normal;
    font-size: 2rem;
}

.tq_heading .jeg_block_title strong,
.jnews_related_post_container .jeg_block_title strong,
.main-title h2 strong {
    font-family: "Nimbus-italic", serif;
    margin-left: 10px;
    font-size: 2.25rem;
    color: var(--j-heading-color);
    font-weight: 400 !important;
}

.wpjb-ultimi-titolo em  {
    font-family: "Nimbus-italic", serif;
    font-size: 2.25rem;
    color: var(--j-heading-color);
    font-weight: 400 !important;
}


/* .main-title h2 span,
.wpjb-ultimi-titolo strong {
  padding: 0 0 0 0.625rem !important;
} */

.custom-html-widget {
  clear: both;
}

.jeg_block_heading_5 .jeg_block_title span {
  font-size: 2rem;
  font-weight: 800;
  padding: 0 !important;
}

@media (max-width: 767px) {


  .tq_heading .jeg_block_title span,
  .jnews_related_post_container .jeg_block_title span,
  .main-title h2 span  {
    font-size: 1.5rem;
    white-space: normal !important;
        overflow-wrap: anywhere;
        line-height: 1.875rem;
  }

  .tq_heading .jeg_block_title strong,
  .jnews_related_post_container .jeg_block_title strong,
  .main-title h2 strong {
    font-size: 1.75rem;
      margin-left: 0.5rem;
      margin-top: 0.15rem;
  }


  .jeg_block_heading_5 .jeg_block_title span {
     font-size: 1.5rem;
  }
}


/*** WIDGET ***/

.widget_recent_entries li a {
  font-size: 1.125rem;
  font-family: 'Nimbus', serif;
  color: var(--j-heading-color);
  line-height: 1rem;
}

.widget_recent_entries li a:hover {
  color: var(--j-entry-link-color) !important;
}

.widget a {
  color: var(--j-heading-color);
  font-family: 'Nimbus', serif;
}

.widget a:hover {
  color: var(--j-entry-link-color) !important;
}

.widget_jnews_popular .popularpost_item:first-child .jeg_thumb,
.widget_jnews_popular .popularpost_item:first-child .thumbnail-container {
    width: 100%;
    height: auto;
}

.widget_jnews_popular .popularpost_item:first-child .jeg_thumb img,
.widget_jnews_popular .popularpost_item:first-child .thumbnail-container img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.widget_jnews_popular .popularpost_item:not(:first-child) .jeg_thumb {
    width: 120px;
    height: 86px;
    flex: 0 0 120px;
    overflow: hidden;
}

.widget_jnews_popular .popularpost_item:not(:first-child) .jeg_thumb img {
    width: 120px;
    height: 86px;
    object-fit: cover;
}

.widget-interesting-content-box {
  background: var(--e-global-color-54cb0e8);
  border-top: 2px solid var(--j-accent-color);
  padding: 0 1rem 1rem;
}

.widget-interesting-content-box .textwidget {
  clear: both;
}

.widget-interesting-content-box h2 {
  font-size: 1.875rem;
  font-family: 'Nimbus', serif !important;
  color: var(--j-heading-color) !important;
  font-weight: 400;
  padding: 1rem 0 0 !important;
}

.interesting-content-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 20px;
    list-style: none;
    padding: 0;
    margin: 0 !important;
}

.interesting-content-list li a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Lato', sans-serif !important;
    color: var(--j-heading-color);
    text-decoration: none;
}

.interesting-content-list li a span {
    text-decoration: underline;
}

.interesting-content-list li a::before {
    content: "\f0da";
    font-family: FontAwesome;
    font-size: 1rem;
    color: var(--j-accent-color);
    text-decoration: none;
}

/*** CORRELATI ***/

.jnews_related_post_container .jeg_post_meta {
  font-size: 0.8125rem;
}

.jnews_related_post_container .jeg_post_title {
  font-size: 1.125rem;
  font-family: 'Nimbus', serif;
}

.jnews_related_post_container h3.jeg_post_title a:hover {
  color: var(--j-entry-link-color);
}




/*** ATELIER ***/

.atelier-article {
  margin-top: -5rem;
}

.atelier-article .featured_image {
  height: 790px;
  overflow: hidden;
}

.atelier-article .featured_image .thumbnail-container {
  height: 100%;
  padding-bottom: 0 !important;
}

.atelier-article .featured_image .thumbnail-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.atelier-hero-wrapper {
	position: relative;
}

.atelier-sponsor-overlay{
    position:absolute;
    top: 10rem;
    left:0;
    width:100%;
    z-index: 1;
}

.atelier-sponsor-overlay .container{
    height:100%;
    display:flex;
    justify-content:flex-end;
    align-items:flex-start;
}

.atelier-sponsor-header {
  max-width: 21.875rem;
  background-color: #F8F4EA;
  box-shadow: 0 5px 10px 0 rgb(0 0 0 / 0.25);
  border-radius: 0.3125rem;
  padding: 2.5rem 1.25rem 1.875rem;
  font-family: 'Lato', sans-serif;
}

.sponsor-label {
  font-size: 0.875rem;
  text-align: center;
  color: #000;
}

.atelier-sponsor-logo {
  text-align: center;
}

.atelier-sponsor-logo img {
  display: block;
  padding: 1rem 0;
  margin: 0 auto;
  max-width: 19.375rem;
}

.atelier-sponsor-intro {
  font-size: 1rem;
  line-height: 1.5rem;
  text-align: center;
  margin-bottom: 1.875rem;
}

.atelier-sponsor-link {
  text-align: center;
}

.atelier-btn {
  display: inline-block;
  background: var(--j-accent-color);
  color: #000;
  font-size: 0.875rem;
  padding: 0.625rem 1.25rem;
  text-transform: uppercase;
  border-radius: 0.5rem;
}

.atelier-btn:hover {
  background: var(--j-entry-link-color);
  color: #fff;
}

.atelier-sponsor-name {
  margin-top: 1.875rem;
  font-size: 1.25rem;
}

.atelier-sponsor-email, 
.atelier-sponsor-numbers {
  display: flex;
  align-items: flex-start;
  gap: 0.725rem;
  line-height: 1.8rem;
}

.atelier-sponsor-email > i {
  margin-top: 0.5rem;
  flex-shrink: 0;
}

.atelier-sponsor-email i,
.atelier-sponsor-numbers i {
  color: var(--e-global-color-128f5a0);
  width: 20px;
  text-align: center;
}

.atelier-sponsor-email a,
.atelier-sponsor-numbers a {
  color: #000 !important;
  font-weight: normal;
}

.atelier-sponsor-email a:hover,
.atelier-sponsor-numbers a:hover {
  color: var(--j-entry-link-color) !important;
}

.atelier-sponsor-social {
  margin: 1.25rem auto 0;
  text-align: center;
}

.atelier-sponsor-social i.fa-brands {
  font-size: 1.25rem;
}

.atelier-sponsor-social .atelier-social {
  padding: 0 0.625rem;
  color: var(--e-global-color-128f5a0) !important;
}

.atelier-sponsor-social .atelier-social:hover {
  color: var(--j-entry-link-color) !important;
}

.atelier-sponsor-social .atelier-social:first-child {
  padding-left:0;
}

.atelier-sponsor-social .atelier-social:last-child {
  padding-right:0;
}

.atelier-header {
    max-width: 920px;
    margin: 4rem auto 2rem;
    text-align: center;
}

.atelier-header .jeg_post_title {
  font-weight: 600;
  margin-bottom: 0.625rem;
}

.single-post .atelier-header .jeg_meta_container {
  border-bottom: 0 !important;
}

.atelier-subtitle {
  font-size: 1.25rem;
  color: #5B6472;
  font-family: 'Lato', sans-serif;
  font-weight: 500;
  margin-bottom: 0.625rem;
}

.atelier-content h2 {
  font-family: 'Nimbus', serif !important;
}

.atelier-content .widget-image-caption {
  background: #F8F4EA;
  margin-top: 0 !important;
  color: var(--e-global-color-128f5a0);
  font-size: 0.8125rem;
  font-family: 'Lato', sans-serif;
}

.atelier-article blockquote :before,
.atelier-article blockquote :after {
  background-color: #DDD6CB !important;
}

.atelier-content-grid__title .elementor-heading-title {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin: 0;
}

.atelier-content-grid__title .elementor-heading-title::before,
.atelier-content-grid__title .elementor-heading-title::after {
    content: "";
    flex: 1;
    height: 2px;
    background: #DDD6CB;
}

.atelier-content-grid h3 {
  font-family: 'Nimbus', serif !important;
}

.atelier-box-card .elementor-widget-image {
    position: relative;
}

.atelier-box-card .elementor-widget-image::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 45%;
    background: linear-gradient(
        to top,
        #F8F4EA 0%,
        rgba(248,244,234,0) 100%
    );
    pointer-events: none;
}

.atelier-pr-disclaimer {
  font-family: 'Lato', sans-serif;
  font-size: 0.875rem;
  color: var(--e-global-color-128f5a0);
  margin: 0 auto;
  padding: 0 90px;
}

@media (max-width: 767px) {

  .atelier-article .featured_image .thumbnail-container {
    height: 100%;
    padding-bottom: 0 !important;
}

.atelier-article .featured_image .thumbnail-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

  .post-wrapper:has(.atelier-article) {
       margin-top: -2rem !important;
    }

 .atelier-sponsor-overlay {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    margin-top: -3.125rem;
    z-index: auto;
  }

  .atelier-sponsor-overlay .container {
    height: auto;
    display: block;
  }

 .atelier-article .featured_image {
    height: 60vw;
    min-height: 320px;
    max-height: 500px;
  }

  .atelier-article blockquote {
    padding: 0 1rem !important;
    margin: 1rem 0;
  }

  .atelier-pr-disclaimer {
    width: 100%;
    padding: 0;
  }

  .atelier-sponsor-header {
     max-width: 100%;
      width: 100%;
  }

}

@media (min-width: 768px) and (max-width: 1023px) {

  .atelier-header {
    margin-top: 6rem;
  }

  .atelier-pr-disclaimer {
    width: 100%;
    padding: 0;
  }
}



/*** SPECIALI ***/

.speciale-article {
  margin-top: -5rem !important;
}

.speciale-hero {
    position: relative;
    height: 790px;
    overflow: hidden;
}

.speciale-title h1 {
  font-family: 'Nimbus-bold', serif !important;
  font-size: 5.625rem !important;
}

.box-speciale h2 {
  font-family: 'Nimbus-bold', serif !important;
}

.titoli-magnolia .elementor-heading-title {
  font-family: 'Magnolia Script', sans-serif !important;
}

.speciali-correlati .jeg_post_meta {
  display: none;
}

.tq-speciali-related__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.post-type-archive-speciale .tq-speciali-related__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.tq-speciale-card__image {
    display: block;
    width: 100%;
    aspect-ratio: 2 / 3;
    overflow: hidden;
}

.tq-speciale-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.tq-speciali-related__title {
    position: relative;
    padding-left: 1rem;
    line-height: 1.1;
    width: 100%;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.tq-speciali-related__title:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 5px;
    height: 100%;
    background: var(--j-accent-color);
}

.tq-speciali-related__title span {
    font-family: "Lato", sans-serif;
    font-weight: 800;
    font-style: normal;
    font-size: 2rem;
}

.tq-speciali-related__title strong {
    font-family: "Nimbus-italic", serif;
    margin-left: 5px;
    font-size: 2.25rem;
    color: var(--j-heading-color);
}

.tq-speciale-card__title a {
  color: var(--j-heading-color);
  text-decoration: underline;
}

.tq-speciale-card__title a:hover {
  color: var(--j-entry-link-color);
}

.tq-speciali-button-container {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.tq-speciali-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 1.25rem;
    border-radius: 8px;
    background: var(--j-accent-color);
    color: #000;
    font-family: "Lato", sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    transition: all .25s ease;
    gap: 0.75rem;
}

.tq-speciali-button:hover {
    background: var(--j-heading-color);
    color: #fff;
    text-decoration: none;
}

.tq-speciali-button .elementor-button-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.tq-speciali-button .elementor-button-icon svg {
    width: 1.125rem;
    height: 1.125rem;
    fill: #000;
}

.tq-speciali-button:hover .elementor-button-icon svg {
    width: 1.125rem;
    height: 1.125rem;
    fill: #fff;
}

.tq-speciali-button .elementor-button-text {
    line-height: 1;
}

.tq-speciale-card__date {
  font-size: 0.875rem;
}

@media (max-width: 467px) {

  .post-wrapper:has(.speciale-article) {
       margin-top: -2rem !important;
    }
  
 .speciale-hero {
    height: 60vw;
    min-height: 320px;
    max-height: 500px;
  }

  .speciale-title h1 {
    font-size: 2.5rem !important;
  }
}

@media (max-width: 767px) {

    .tq-speciali-related__grid {
        display: flex;
        gap: 1rem;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: .5rem;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
    }

    .tq-speciali-related__grid::-webkit-scrollbar {
        display: none;
    }

    .tq-speciale-card {
        flex: 0 0 160px;
        scroll-snap-align: start;
    }
}

/*** PAGINE GENERICHE ***/

.jeg_share_button.share-float.share-monocrhome a {
  background-color: var(--j-entry-link-color) !important;
  color: #fff;
}

.jeg_share_button .jeg_btn-facebook,
.jeg_share_button .jeg_btn-twitter,
.jeg_share_button .jeg_btn-pinterest,
.jeg_share_button .jeg_btn-linkedin,
.jeg_share_button .jeg_btn-whatsapp,
.jeg_share_button .jeg_btn-toggle,
.jeg_share_button .jeg_btn-email   {
  background-color: var(--j-entry-link-color) !important;
}

.jeg_share_button .jeg_btn-facebook span,
.jeg_share_button .jeg_btn-twitter span,
.jeg_share_button .jeg_btn-pinterest span,
.jeg_share_button .jeg_btn-linkedin span,
.jeg_share_button .jeg_btn-whatsapp span,
.jeg_share_button .jeg_btn-email span {
  color: #fff;
}


.block-contatti a {
  text-decoration: underline;
}

.blocco-contatti a:hover {
  color: var(--j-heading-color) !important;
}

.people-card {
  font-size: 0.9375rem;
}

.people-card a {
  font-size: 0.8125rem;
}

.people-ruolo::before {
   content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-right: 8px;
    background: url('/wp-content/uploads/2026/07/ico-lavoro.svg') no-repeat center;
    background-size: contain;
    vertical-align: middle;
    transform: translateY(-1px);
}

.list-contatti p {
  line-height: 1.6875rem;
}

@media (max-width: 767px) {
  .list-contatti a {
    display: block;
  }
}


/*** CATEGORY PAGE  ***/

.jeg_heroblock .jeg_meta_author {
    display: none;
}

.jeg_heroblock .jeg_meta_date a,
.jeg_heroblock .jeg_meta_date a i {
  color: #fff !important;
}

.jeg_meta_date a i {
  padding-right: 0.25rem;
}

.jeg_hero_style_1 .jeg_postblock_content {
  padding: 0 1rem 0.6rem;
}

.jeg_heroblock .jeg_post_title {
  font-family: 'Nimbus', serif;
}

.jeg_cat_content {
  margin-top: 4rem;
}

.jeg_postblock .jeg_meta_author,
.jeg_postblock .jeg_meta_comment {
  display: none;
}

.jeg_postblock_3 .jeg_post_title {
  font-family: 'Nimbus', serif;
  font-size: 1.5rem;
  line-height: 1.9375rem;
}

.jeg_postblock_3 .jeg_post_title a:hover {
  color: var(--j-entry-link-color) !important;
}

.entry-header .jeg_post_meta .fa  {
  font-size: 0.75rem;
}


.tq_btn,
.wpjb-btn-cta,
.tqw-cta,
.jeg_readmore {
  background: var(--j-accent-color);
  text-transform: uppercase;
  padding: 0.625rem 1.25rem;
  border-radius: 0.5rem;
  color: var(--j-body-color);
  font-size: 0.875rem;
  top: 0.625rem;
  position: relative;
  font-family: 'Lato', sans-serif !important;
  color: #000 !important;
  border: none;
  box-shadow: none;
  font-weight: 600;
  height: 2.375rem;
}

.cgbw-banner-button {
  height: 2.375rem;
  font-size: 0.875rem !important;
  letter-spacing: 0 !important;
  padding: 0.375rem 1.25rem 0.625rem !important;
}

.tq_btn:hover,
.widget a.tq_btn:hover,
.wpjb-btn-cta:hover,
.tqw-cta:hover,
.cgbw-banner-button:hover,
.jeg_readmore:hover {
  background: var(--j-entry-link-color) !important;
  color: #fff !important;
}

.tqw-cta,
.cgbw-banner-button:hover {
  text-decoration: none !important;
}

.tq-main-title {
  color: var(--j-heading-color);
  position: relative;
  line-height: 1.1;
  width: 100%;
  margin-bottom: 1rem;
  padding-left: 1.25rem;
  min-height: 3rem; 
  display: flex;
  align-items: center;
}

.tq-main-title:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 5px;
  height: 3rem;
  background: var(--j-accent-color);
}

.tq-main-title .first-word {
  font-family: "Lato", sans-serif;
  font-weight: 800;
  font-style: normal;
  font-size: 2rem;
}

.tq-main-title em,
.elementor-heading-title em {
  font-family: "Nimbus-italic", serif;
  margin-left: 0.3125rem;
  font-size: 2.25rem;
  color: var(--j-heading-color);
  font-weight: 400 !important;
}





