@media only screen and (max-width: 1600.5px) {
  .site-header .grid-container,
  .site-footer .grid-container {
    max-width: 1366px !important;
  }
  .site-footer .inside-footer-widgets .footer-widget-1{
    width: 22%;
  }
}

@media only screen and (max-width: 1440.5px) {
  .site-header .grid-container,
  .site-footer .grid-container {
    max-width: 1200px !important;
  }
  ul.social-links > li > a {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  .site-footer .inside-footer-widgets .footer-widget-1{
    width: 25%;
  }
  .site-footer .inside-footer-widgets .footer-widget-2, 
  .site-footer .inside-footer-widgets .footer-widget-3{
    width: 18%;
  }
  footer.site-info .inside-site-info .footer-bar > .widget_block:last-child{
    padding-left: 30px;
  }
  .portfolio-card .portfolio-card-content{
    padding: 32px;
  }
  .portfolio-card .logo-box img {
    height: 50px;
    margin-bottom: 20px;
  }
}

@media only screen and (max-width: 1200.5px) {
  .site-header .grid-container,
  .site-footer .grid-container {
    max-width: 1024px !important;
  }
  .site-footer .widget_nav_menu ul > li:not(:last-child) {
    margin-bottom: 16px;
  }
  .site-footer .inside-footer-widgets .footer-widget-1 {
    width: 30%;
  }
  .portfolio-cards-container .cards-row .single-col{
    width: 50%;
  }
  .portfolio-cards-container .cards-row .single-col.large {
    width: 100%;
  }
  .portfolio-card.with-banner .portfolio-card-banner {
    width: 30%;
  }
}

@media only screen and (max-width: 1024.5px) {
  .site-header .grid-container,
  .site-footer .grid-container {
    max-width: 767px !important;
  }
  .site-footer .footer-widgets-container{
    padding-top: 60px;
  }
  footer.site-info .inside-site-info{
    padding-bottom: 50px;
  }
  .site-footer .inside-footer-widgets .footer-widget-1 {
    width: 100%;
  }
  .site-footer .inside-footer-widgets .footer-widget-1 .widget:not(.widget_media_image){
    margin-bottom: 0px;
  }
  .site-footer .inside-footer-widgets .footer-widget-2{
    margin-left: 0;
  }
  .site-footer .inside-footer-widgets > div:not(:first-child){
    margin-top: 48px;
  }
  .site-footer .inside-footer-widgets .footer-widget-2, .site-footer .inside-footer-widgets .footer-widget-3 {
    width: 33.33%;
  }
  .portfolio-items-filter-container{
    justify-content: center;
  }
}

@media only screen and (max-width:768px){
  .site-header .grid-container, 
  .site-footer .grid-container{
    padding-left: 20px;
    padding-right: 20px;
  }


  header.site-header{
    background-color: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(10px);
  }
  header.site-header .main-navigation{
    margin-right: 0;
  }
  header.site-header .header-widget{
    display: none;
    max-width: 100%;
    justify-content: flex-start;
  }
  header.site-header .main-navigation.toggled ~ .header-widget{
    display: flex;
  }

  .wpcf7-form .form-group:has(.wpcf7-submit) > p{
    flex-direction: row;
  }

  .site-footer .inside-footer-widgets > div:not(:first-child){
    margin-top: 0;
  }
  .footer-widgets .widget{
    margin-bottom: 16px;
  }
  .site-footer .widget_nav_menu ul > li:not(:last-child) {
    margin-bottom: 8px;
  }
  .site-footer .inside-footer-widgets .footer-widget-2, 
  .site-footer .inside-footer-widgets .footer-widget-3,
  .site-footer .inside-footer-widgets .footer-widget-4 {
    width: 100%;
  }
  footer.site-info .inside-site-info .footer-bar{
    flex-direction: column-reverse;
    gap: 48px 0;
  }
  footer.site-info .inside-site-info .footer-bar,
  footer.site-info .inside-site-info .footer-bar > .widget_block{
    width: 100%;
  }
  footer.site-info .inside-site-info .copyright-bar{
    width: 100%;
    text-align: center;
  }
  footer.site-info .inside-site-info .footer-bar > .widget_block:last-child{
    padding-left: 0;
  }

  .portfolio-card .portfolio-card-content {
    padding: 24px;
  }
}


@media only screen and (max-width:576.5px){
  .portfolio-card.with-banner .portfolio-card-banner{
    width: 100%;
    height: 250px;
  }
  .portfolio-card.with-banner .portfolio-card-content{
    width: 100%;
  }
  .portfolio-cards-container .cards-row .single-col {
    width: 100%;
  }
  .portfolio-items-filter-container > div:last-child{
    max-width: 300px;
    width: 100%;
    padding-left: 0;
    margin-top: 24px;
  }
  .portfolio-items-filter-container > div:last-child button{
    width: 100%;
  }
}

