.wp-block-image {
 margin-top: 50px !important;
}

.announcement-link {
  z-index: 9999;
  pointer-events: all;
  position: relative;
}

.announcement-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background-color: #0d0e12;
  padding: 10px 0;
  text-align: center;
  cursor: pointer;
  min-height: 50px;
  margin: 0;
  transition: all 0.2s;
  gap: 6px;
  font-weight: 500;
  font-size: calc(1rem * 15 / 16);
  color: #ffffff;
}

.link-arrow {
  color: #f36458;
  margin-top: 3px;
}

.announcement-bar:hover {
  background-color: #191b24;
  gap: 10px;
}

.announcement-text {
  color: #ffffff;
  display: flex;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/****HIDE GOOGLE RECAPTCHA BADGE*****/

.grecaptcha-badge {
  visibility: hidden;
}

/***RELATED CASE HISTORIES****/
.qodef-e-media-image img {
  width: 100%;
}

/****BLOG CHANGES*****/
.sidebar-image {
  max-width: 100px !important;
}

.qodef-custom-blog .qodef-blog .qodef-blog-item .qodef-e-title {
  text-align: left;
  font-weight: 400;
  font-size: 64px;
  line-height: 70px;
}

.qodef-blog
  .qodef-blog-item
  .qodef-e-info
  .qodef-e-info-item.qodef-e-info-category {
  background-color: red;
  border-radius: 0;
}

.qodef-blog
  .qodef-blog-item
  .qodef-e-info
  .qodef-e-info-item.qodef-e-info-category
  a {
  color: white;
  font-family: barlow condensed;
  letter-spacing: 3px;
  font-weight: 600;
}

.qodef-blog .qodef-blog-item .qodef-e-info-date a {
  font-family: barlow condensed;
  font-weight: 300;
  letter-spacing: 1px;
}

.sidebar-text {
  margin-right: 50px;
  font-weight: 500;
}

.qodef-blog .qodef-blog-item .qodef-e-info {
  align-items: flex-start;
}

.qodef-blog .qodef-blog-item .qodef-e-excerpt {
  margin: 0% 0 0;
  font-size: 26px;
  padding: 0px;
  line-height: 36px;
}

.widget a { 
  color: #000;
  font-family: "Barlow Condensed";
  font-size: 15px;
  font-weight: 300;
}

.qodef-blog {
  padding-left: 100px;
}

#qodef-single-post-navigation {
  display: none;
}

@media screen and (max-width: 1150px) {
  .qodef-blog {
    padding: 0px 40px;
  }

  #qodef-page-sidebar {
    display: none;
  }
}

@media screen and (max-width: 500px) {
  .qodef-blog {
    padding: 0px 20px;
  }

  .qodef-custom-blog .qodef-blog .qodef-blog-item .qodef-e-title {
    font-size: 34px;
    line-height: 44px;
  }

  .qodef-blog .qodef-blog-item .qodef-e-excerpt {
    padding: 0;
  }

  .qodef-blog .qodef-blog-item .qodef-e-title .qodef-e-title-link {
    padding: 0;
  }

  .qodef-blog .qodef-blog-item .qodef-e-excerpt {
    margin: 0% 0 0;
    font-size: 20px;
    line-height: 30px;
  }
}

/****LAZY LOADING IMAGES*****/
.lazy-hidden,
.entry img.lazy-hidden,
img.thumbnail.lazy-hidden {
  opacity: 1;
  background-color: #ffffff;
}

figure.wp-block-image img.lazy-hidden {
  min-width: 150px;
}

.lazy-loaded {
  -webkit-transition: opacity 0s;
  -moz-transition: opacity 0s;
  -ms-transition: opacity 0s;
  -o-transition: opacity 0s;
  transition: opacity 0s;
  opacity: 1 !important;
}

/****MAKE PAGE TEMPLATE FULL WIDTH*****/

.qodef-portfolio-single .qodef-e-content .qodef-portfolio-content {
  padding-left: 0px;
}

.qodef-content-grid {
  width: 100%;
  margin: 0px 0px 0px 0px;
}

@media only screen and (min-width: 1441px) {
  .qodef-content-grid-1300 .qodef-content-grid {
    width: 100%;
    margin: 0px 0px 0px 0px;
  }
}

@media only screen and (max-width: 800px) {
  .qodef-content-grid {
    width: 100%;
  }
}

@media only screen and (max-width: 1024px) {
  .qodef-content-grid {
    width: 100%;
  }
}

@media only screen and (max-width: 1200px) {
  .qodef-content-grid {
    width: 100%;
  }
}

/****FORM CONTATTI*****/

img {
  user-drag: none;
  -webkit-user-drag: none;
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

.wpcf7 form .wpcf7-response-output {
  border: none;
}

.wpcf7 form .wpcf7-response-output.sent {
  border: none;
}

.wpcf7-response-output {
  font-size: 24px;
}

input[type="email"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="text"],
input[type="url"],
textarea {
  text-transform: none;
  font-family: barlow condensed;
  font-size: 16px;
}

/*allontanamento pallini slider*/

.qodef-interactive-link-showcase .qodef-m-item .qodef-e-title {
  font-family: barlow condensed;
  font-weight: 100;
}

.qodef-video-button .qodef-m-play {
  margin-left: 7%;
}

.qodef-video-button .qodef-m-play {
  justify-content: left;
}

/*general typography*/
body {
  font-family: barlow condensed;
  line-height: 2rem;
  font-size: 20px;
}

/*allontanamento pallini slider*/
.swiper-container-horizontal > .swiper-pagination-bullets {
  margin-bottom: -15%;
}

/****BOTTONI*****/

/*style outined button*/
.qodef-button.qodef-layout--outlined {
  border: 1px solid #5c5c5c;
}

/****HEADER CHANGES*****/

/*mobile header color */
#qodef-page-mobile-header {
  background-color: white;
  z-index: 1000;
}

.qodef-mobile-header-navigation {
  background-color: white;
}

/* text header color*/
.qodef-menu-item-text {
  font-weight: 400;
  font-family: barlow condensed;
}

@media only screen and (max-width: 1024px) {
  .qodef-menu-item-text {
    color: black;
  }
}

/****BLOG CHANGES*****/

/* justify content left */
.qodef-custom-blog .qodef-blog .qodef-blog-item .qodef-e-info {
  justify-content: left;
}

.qodef-custom-blog .qodef-blog .qodef-blog-item .qodef-e-info-date {
  text-align: left;
}

.qodef-grid.qodef-gutter--normal > .qodef-grid-inner > .qodef-grid-item {
  padding: 0;
}

.titolo-blog {
  margin-top: 75px;
}

/* blog titles changes*/
.qodef-skin-light {
  color: white;
}

/* excerpt titles changes*/
.qodef-e-excerpt {
  font-size: 20px;
  line-height: 2rem;
  padding-right: 20%;
}

.qodef-blog .qodef-blog-item .qodef-e-excerpt {
  margin: 0% 0 0;
}

/****PORTFOLIO CHANGES*****/

/* category changes*/
.qodef-m-filter-item-name {
  text-transform: none;
  font-family: barlow condensed;
  font-weight: 300;
  font-size: 18px;
}

.qodef-m-filter .qodef-m-filter-items {
  position: relative;
  display: flex;
  align-items: left;
  justify-content: left;
  margin-left: 5.5%;
}

/* adjust categories positions on ipad*/
@media only screen and (max-width: 1025px) {
  .qodef-m-filter .qodef-m-filter-item {
    padding-top: 40px;
  }

  .qodef-m-filter .qodef-m-filter-items {
    flex-wrap: wrap;
    justify-content: left;
    align-items: left;
  }
}

/* adjust categories positions on mobile*/
@media only screen and (max-width: 680px) {
  .qodef-m-filter .qodef-m-filter-items {
    align-items: left;
  }

  .qodef-m-filter .qodef-m-filter-item {
    padding-top: 10px;
  }

  .qodef-m-filter .qodef-m-filter-item.qodef--active:after,
  .qodef-m-filter .qodef-m-filter-item:hover:after {
    width: 80px;
  }
}

/* portfolio titles changes*/

.titolo-capitoli-portfolio {
  font-weight: 500;
  font-size: 3rem;
  font-family: barlow condensed;
}

@media only screen and (min-width: 1025px) {
  .titolo-portfolio {
    font-size: 80px;
    font-weight: 500;
    font-family: barlow condensed;
  }
}

.sottotitolo-portfolio {
  font-weight: 100;
  color: #3c3c3c;
  font-family: barlow condensed;
  font-size: 50px;
}

.titolo-sezione-richiesta {
  color: #a4a4a4;
  font-size: 38px;
  font-weight: 100;
  font-family: barlow condensed;
}

/*sidebar info*/

.heavy-weight-text {
  font-weight: 600;
  font-size: 18px;
  font-family: barlow condensed;
  color: #565656;
}

/*citazioni*/

.testo-in-evidenza {
  font-size: 3rem;
  line-height: 5rem;
  font-weight: 400;
  font-family: barlow condensed;
}

@media only screen and (max-width: 1240px) {
  .testo-in-evidenza {
    font-size: 38px;
    line-height: 3.7rem;
  }

  .titolo-sezione-richiesta {
    font-size: 40px;
  }
}

@media only screen and (max-width: 768px) {
  .testo-in-evidenza {
    font-size: 32px;
    line-height: 3.2rem;
  }

  .titolo-sezione-richiesta {
    font-size: 34px;
  }
}

@media only screen and (max-width: 414px) {
  .testo-in-evidenza {
    font-size: 30px;
    line-height: 2.8rem;
  }

  .titolo-sezione-richiesta {
    font-size: 24px;
  }
}

@media only screen and (max-width: 380px) {
  .testo-in-evidenza {
    font-size: 23px;
    line-height: 2rem;
  }
}

[class*=" eicon-"],
[class^="eicon"] {
  color: black;
  margin-right: 2rem;
  margin-left: 2rem;
  padding: 10px;
  border-radius: 50%;
}

.swiper-container-horizontal > .swiper-pagination-bullets,
.swiper-pagination-custom,
.swiper-pagination-fraction {
  margin-bottom: -12%;
}

.swiper-pagination-bullets .swiper-pagination-bullet:after {
  background-color: #c3c3c3;
}

.swiper-container-horizontal > .swiper-pagination-bullets,
.swiper-pagination-custom,
.swiper-pagination-fraction {
  margin-bottom: -16%;
}

/****FOOTER CHANGES*****/

#qodef-page-footer-top-area {
  text-align: left !important;
  padding-left: 10rem;
}

@media only screen and (min-width: 1025px) {
  #qodef-page-footer-bottom-area {
    text-align: center;
  }

  #qodef-page-footer-top-area {
    text-align: left;
    padding-left: 10rem;
  }
}

.widget.widget_media_image img {
  margin: 0;
}

@media only screen and (max-width: 768px) {
  #text-7 {
    padding-right: 40px;
  }

  #qodef-page-footer-top-area
    .qodef-col-num--3
    .qodef-grid-inner
    .qodef-grid-item:nth-child(1) {
    order: 1;
  }

  .footer-title {
    margin-top: 20%;
  }

  h5.footer-text-1 {
    margin-top: 30%;
  }

  #qodef-page-footer-top-area {
    text-align: left;
    padding-left: 6%;
  }

  #qodef-page-footer-bottom-area {
    text-align: left;
    padding-left: 6%;
  }
}

.qodef-mobile-header-navigation > ul {
  padding: 0px 0;
  width: 100%;
}

.qodef-mobile-header-navigation > ul > li > a {
  border-top: 1px solid #c8c8c8;
  padding-bottom: 4px;
  padding-top: 12px;
  padding-left: 10%;
}

.qodef-mobile-header-navigation > ul {
  padding: 0 0;
}

.qodef-header-navigation > ul > li > a span {
  font-weight: 400;
}

.qodef-e-role {
  font-size: 16px;
}

/****SIDE AREA CHANGES*****/

/*make side area lines thinner*/
.qodef-opener-icon.qodef-source--predefined .qodef-m-line {
  height: 4px;
}

#qodef-side-area {
  padding: 80px 40px;
  align-items: start;
  width: 40%;
  color: #3d3d3d;
}

#qodef-side-area .widget .qodef-widget-title {
  color: #3d3d3d;
}

#qodef-side-area .widget {
  color: #3d3d3d;
}

/*align text to the left*/
#qodef-side-area #qodef-side-area-inner {
  text-align: left;
}

/****MENU CHANGES*****/

.qodef-menu-item-text {
  font-family: barlow condensed;
  font-weight: 400;
}

.qodef-header-navigation > ul > li {
  margin: 0 14px;
}

/*make active line black*/
.qodef-fullscreen-menu > ul > li > a span {
  background-image: linear-gradient(black, black);
}

/*make background white*/
#qodef-fullscreen-area {
  background-color: white;
}

#qodef-fullscreen-area .qodef-fs-close-cursor {
  color: black;
}

/*sub menu mobile position*/
.qodef-mobile-header-navigation .qodef-drop-down-second-inner ul {
  padding: 0 0 0 50px;
}

/*button-squared*/
.qodef-button.qodef-html--link {
  border-radius: 0px;
  padding: 1px 35px;
}

button[type="submit"] {
  border-radius: 0px;
}

/*make all images full width on large screens*/
@media screen and (min-width: 1200px) {
  img {
    width: 100%;
  }
}
.latest-posts-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin: 20px 0;
}

.latest-post {
  flex: 1 1 300px;
  transition: box-shadow 0.3s ease;
}

.latest-post-image {
  overflow: hidden;
}

.latest-post-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 1s ease;
}

.latest-post-image:hover img {
  transform: scale(1.05);
}

.latest-post-content {
  padding-top: 20px;
  padding-bottom: 20px;
  max-width: 90%;
}

.latest-post-title {
  font-size: 24px;
  line-height: 34px;
  font-weight: 500;
  margin-top: 0;
  margin-bottom: 10px;
  text-wrap: balance;
}

.latest-post-title a {
  color: #333;
  text-decoration: none;
}

.latest-post-meta {
  font-size: 0.85em;
  color: #666;
  margin-bottom: 15px;
}

.latest-post-excerpt {
  margin-bottom: 14px;
  line-height: 1.5;
  font-weight: 300;
}

.latest-post-read-more {
  display: inline-block;
  padding: 5px 15px;
  background-color: #0073aa;
  color: white;
  text-decoration: none;
  border-radius: 3px;
  font-size: 0.9em;
  transition: background-color 0.3s ease;
}

.latest-post-read-more:hover {
  background-color: #005177;
}

@media (max-width: 768px) {
  .latest-posts-container {
    flex-direction: column;
  }
}
