/* Global styles */
html {scroll-behavior: smooth;}

body {background-color: var(--wp--preset--color--white);}

.custom-red {color: var(--wp--preset--color--red);}

.custom-list {padding-inline-start: 18px;}
.custom-list li::marker {color: var(--wp--preset--color--red) !important; font-size: 24px !important;}

.custom_banner .wp-block-button.is-style-fill a:hover {
    background-color: transparent !important;
    color: var(--wp--preset--color--white) !important;
    border: 1px solid var(--wp--preset--color--white) !important;;
    transition: all .3s ease-in-out;
}

:root :where(.wp-block-button .wp-block-button__link) {
  padding-top: 12px !important;
  padding-right: 32px !important;
  padding-bottom: 12px !important;
  padding-left: 32px !important;
}
.custom_banner {padding-right: 0 !important;}
.custom_banner .wp-block-button.is-style-outline a:hover {
    background-color: var(--wp--preset--color--white) !important;
    color: var(--wp--preset--color--red) !important;
    border: none !important;
    transition: all .3s ease-in-out;
}

header {
  min-height: 96px;
  margin-bottom: -96px;
  position: relative;
  z-index: 999;
}
header .custom-nav img {max-width: 60%;}
.custom-nav {width: 90%; margin: auto}
.custom-nav nav .wp-block-navigation-item .wp-block-navigation-item__label:hover,
footer a:hover {color: var(--wp--preset--color--red) !important; transition: all .3s ease-in-out;}
.custom-red-btn:hover {background-color: var(--wp--preset--color--white) !important; transition: all .3s ease-in-out;}
.wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container {
  background-color: var(--wp--preset--color--white);
  border: none;
  color: var(--wp--preset--color--dark-violet);
  border-radius: 24px;
  padding: 12px;
  font-size: 13px;
  font-weight: 700;
  position: absolute;
  left: -50px;
}

.wp-block-columns.is-layout-flex.wp-container-core-columns-is-layout-2.wp-block-columns-is-layout-flex {width: 90%; margin: auto;}

.custom-homepage-hero-section {padding-top: 70px !important;}
.custom-homepage-hero-section p {text-align: center;}
.wp-block-buttons {gap: 14px; justify-content: center;}
.custom-hero-section-coulumns {justify-content: center;}
.custom-hero-section-coulumns div p {text-align: left;}

.custom-homepage-hero-section figure {display: none;}

.custom-logos-outer {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #fff 20%, #fff 80%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #fff 20%, #fff 80%, transparent);
  max-width: 1200px;
  margin: 0 auto;
}

.custom-logos-inner {
  animation: marquee linear infinite;
}

.custom-logos-inner figure {
  flex-shrink: 0;
}

@keyframes marquee {
  from { transform: translateX(0%); }
  to { transform: translateX(-50%); }
}
.custom-logos-inner {gap: 16px; animation-duration: 10s !important;}
.custom-logos-inner figure img {max-width: 70%;}
section {padding-top: 52px !important; padding-bottom: 52px !important;}
section:has(.custom-services) {padding-top: 0 !important;}
section.wp-block-group:has(.custom-media-text-left),
section.wp-block-group:has(.custom-media-text-right) {padding: 52px 0 !important;}


section .custom-media-text-left, .custom-media-text-right,
section .wp-block-group,
section .custom-single-article {max-width: 90%;}
section .custom-media-text-left h3,
section .custom-media-text-right h3 {font-size: 23px; padding-top: 17px;}
section .custom-media-text-left h4,
section .custom-media-text-right h4 {font-size: 15px;}
section .wp-block-media-text__content {padding: 0 !important;}
section .custom-media-text-left p,
section .custom-media-text-right p,
section .custom-services .wp-block-column p {font-size: 13px;}
section .custom-media-text-left .wp-block-button__link, .custom-media-text-right .wp-block-button__link {transition: all .4s ease-in-out;}
section .custom-media-text-left .wp-block-button__link:hover, .custom-media-text-right .wp-block-button__link:hover {
    background-color: transparent !important;
    color: var(--wp--preset--color--red);
    border: 1px solid var(--wp--preset--color--red) !important;
}

section .custom-media-text-left .wp-block-button__link.has-red-color:hover, .custom-media-text-right .wp-block-button__link.has-red-color:hover {
    background-color: var(--wp--preset--color--red) !important;
    color: var(--wp--preset--color--white) !important;
    border: none !important;
    transition: all .3s ease-in-out;
}

section .custom-services .wp-block-column h3 {font-size: 23px;}
.custom_banner {max-width: 90%; margin: auto;}
.custom_banner figure {display: none;}
.custom_banner .wp-block-buttons {justify-content: center;}

/* Blog */
.custom-articles-outer {padding-top: 0 !important;}
.wp-block-query:has(.custom-articles) {max-width: 90%; margin: 52px auto 0;}
ul.custom-articles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding-top: 52px !important;
  padding-bottom: 52px !important;
}

ul.custom-articles li {
  background-color: var(--wp--preset--color--white);
  padding: 12px;
  margin: 0 !important;
  border-radius: 16px;
  width: 90%;
}

ul.custom-articles li img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  object-fit: cover;
}
ul.custom-articles li h3 {font-size: 23px;}
ul.custom-articles li p {font-size: 13px;}

ul.custom-articles li .wp-block-post-excerpt__more-text {margin-top: 0;}
ul.custom-articles li .wp-block-post-excerpt__more-text a {
  color: var(--wp--preset--color--red) !important;
  font-weight: 700;
  text-decoration: none;
}

  .custom-contact-outer .custom-contact-inner {max-width: 90%;}
  .custom-contact-outer .form-group {margin-bottom: 1.5rem;}
  .custom-contact-outer .form-group input {
    font-size: 16px;
    font-weight: 400;
    width: 100%;
    display: flex;
    padding: 16px 24px;
    border: 1px solid #ddd;
    border-radius: 24px;
  }
  .custom-contact-outer .custom-contact-inner {
    display: grid !important;
    gap: 77px !important;
    grid-template-columns: 1fr !important;
  }
  .custom-contact-left-container {max-width: 450px;}
  .custom-contact-outer .form-group textarea {
    font-size: 16px;
    font-weight: 400;
    width: 100%;
    display: flex;
    padding: 16px 24px;
    border: 1px solid #ddd;
    border-radius: 24px;
  }
  .custom-contact-outer .honeypot {display: none;}
  .custom-contact-outer #custom-contact-btn {padding: 12px 24px !important;}
  .custom-contact-outer svg#custom-send {vertical-align: sub; padding-inline-start: 5px;}
  
  .custom-contact-right-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient( to top right, rgb(27, 20, 100) 0%, rgba(27, 20, 100, 1) 50%, rgba(0, 0, 0, 0.1) 100% );
    border-radius: 24px;
    z-index: 1;
  }


.custom-contact-right-container > * {position: relative; z-index: 2;}

.custom-contact-right-container .wp-block-button a img {vertical-align: sub;}

/* footer */
footer {margin-top: 0 !important;}
footer .custom-mobile-container {max-width: 90%; grid-template-columns: 1fr;}
footer .custom-mobile-container h2 {font-size: 30px;}
footer .custom-mobile-container .custom-footer-nav a {text-decoration: none;}
footer .custom-social-medias figure img:hover {
    scale: 1.2;
    transition: all .3s ease-in-out;
    cursor: pointer;
}

.up-to-top {
  position: fixed;
  right: 20px;
  bottom: 40px;
}

/* Events */
address.tribe-events-address span.tribe-address {display: none;}

.tribe-events-venue-map {
    width: 450px;
}

/* Media Queries */
@media (width <= 480px) {
  .custom-hero-section-first-title {font-size: 28px; text-align: center;}
  .wp-block-button__link.wp-element-button {font-size: 13px; min-width: 215px;}
  .custom-hero-section-coulumns div {max-width: 100%;}
  .custom-hero-section-coulumns div p {font-size: 10px !important;}
  
  .custom-contact-outer .custom-contact-inner {max-width: 90%;}
  .custom-contact-left h2 {font-size: 22px;}
  .custom-contact-outer .form-group input,
  .custom-contact-outer .form-group textarea {
  font-size: 13px;
  font-weight: 400;
  display: flex;
  padding: 10px 12px;
  }
  .custom-contact-right-container {padding: 16px 12px !important;}
  .custom-contact-right-container h3 {font-size: 20px;}
  .custom-contact-right-container p {font-size: 13px;}
  .custom-contact-right-container .wp-block-group {gap: 10px;}
  .custom-contact-right-container .wp-block-image img {max-width: 27px;}
  .custom-contact-right-container .wp-block-spacer {height: 45px !important;}
  .custom-contact-right-container .wp-block-button a {padding-right: 0; padding-left: 0;}

}


@media (width > 480px) {
  .custom-hero-section-first-title {font-size: 30px; text-align: center;}
  .custom-homepage-hero-section p {text-align: center;}
  .wp-block-buttons {flex-wrap: nowrap;}
  .wp-block-button__link.wp-element-button {font-size: 12px; min-width: 155px;}
  .custom-hero-section-coulumns div {max-width: 100%;}
  .custom-hero-section-coulumns div p {font-size: 13px !important;}

  ul.custom-articles li {padding: 22px;}
}

@media (width <= 599px) {
  .custom-nav .wp-block-navigation-item:not(:last-child) a {color: #000 !important; font-size: 13px !important;}
  .wp-block-navigation-item.custom-red-btn.wp-block-navigation-link {
    background-color: var(--wp--preset--color--red) !important;
    color: var(--wp--preset--color--white) !important;
    border-radius: 100px !important;
    padding: 6px 16px !important;
    font-weight: 400;
  }
  .custom-nav .wp-block-navigation__responsive-container-close {background-color: #000 !important;}
  .custom-nav,
  .custom-homepage-hero-section .wp-block-columns {width: 90%; margin: auto}
  header .custom-nav img {max-width: 80%;}
  
  .custom-contact-outer .form-group input,
  .custom-contact-outer .form-group textarea {width: 90%;}
  
  .copyright {
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
  }
}

@media (width >= 600px) {
  header .custom-nav img {max-width: 80%; vertical-align: baseline;}
  .custom-nav ul {font-size: 11px !important;}
  .custom-red-btn {
    background-color: var(--wp--preset--color--red) !important;
    color: var(--wp--preset--color--white) !important;
    border-radius: 200px;
    padding: 6px 16px !important;
  }
  .custom-homepage-hero-section .wp-block-columns {max-width: 90% !important;}
  section .custom-media-text-right .wp-block-media-text__content .wp-block-group {margin-left: auto; width: 100%;}
  .custom-contact-outer .form-group input,
  .custom-contact-outer .form-group textarea {width: 100%;}
}
@media (width <= 680px) {.custom-banner-text {padding-left: 5% !important; padding-right: 5% !important;}}
@media (width >= 768px) {
  .custom-nav ul {font-size: 14px !important;}
  .custom-homepage-hero-section {padding-top: 70px;}
  .custom-hero-section-coulumns {justify-content: left; padding-bottom: 70px;}
  .custom-hero-section-coulumns div p {font-size: 12px !important;}
  .custom-homepage-hero-section .wp-block-columns:first-child {justify-content: space-between;}
  .custom-homepage-hero-section .custom-hero-section-first-title {text-align: start; font-size: 23px;}
  .custom-homepage-hero-section p {text-align: left;}
  .custom-homepage-hero-section .wp-block-column:has(.custom-hero-section-first-title) {max-width: 50%;}
  .wp-block-buttons {justify-content: start;}
  .custom-homepage-hero-section .wp-block-column:has(figure) {text-align: end; max-width: 315px;}
  .custom-homepage-hero-section figure {display: inline-block; max-width: 315px;}

  section .custom-media-text-left, .custom-media-text-right,
  section .wp-block-group {max-width: 90%;}
  section .custom-media-text-left h3,
  section .custom-media-text-right h3 {font-size: 20px; padding-top: 15px;}
  section .custom-media-text-left h4,
  section .custom-media-text-right h4 {font-size: 14px;}
  section .custom-media-text-left p,
  section .custom-media-text-right p,
  section .custom-services .wp-block-column p,
  section .custom-services .wp-block-column a {font-size: 12px;}

  section .custom-services .wp-block-column h3 {font-size: 20px;}

  ul.custom-articles {grid-template-columns: repeat(2, 1fr); gap: 40px;}

    
  footer .custom-mobile-container { grid-template-columns: repeat(2, 1fr);}
  footer a {text-decoration: none !important;}
}


@media (width >= 992px) {
  header .custom-nav img {max-width: 80%;}
  .custom-nav ul {font-size: 16px !important;}
  .custom-homepage-hero-section {padding-top: 100px !important;}
  .custom-hero-section-coulumns {justify-content: left; padding-bottom: 100px;}

  .custom-homepage-hero-section .wp-block-column:has(figure) {text-align: end; max-width: 400px;}
  .custom-homepage-hero-section figure {display: inline-block; max-width: 400px;}

  .wp-block-button__link.wp-element-button {font-size: 16px; min-width: 215px;}

  section .custom-media-text-left h3,
  section .custom-media-text-right h3 {font-size: 22px; padding-top: 15px;}
  section .custom-media-text-left h4,
  section .custom-media-text-right h4 {font-size: 16px;}
  section .custom-media-text-left p,
  section .custom-media-text-right p,
  section .custom-services .wp-block-column p,
  section .custom-services .wp-block-column a {font-size: 14px;}

  .custom_banner figure {display: block;}
  .custom-banner-text {
    position: absolute;
    left: 30px;
    max-width: 400px !important;
  }
  .custom-banner-text h2 {font-size: 30px !important;}
  .custom-banner-text p {font-size: 16px !important;}
  .custom_banner .wp-block-buttons {justify-content: start;}
  
  .custom-banner-image {
    position: absolute;
    right: 0;
  }
  ul.custom-articles {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding-top: 90px !important;
    padding-bottom: 90px !important;
  }
  
  .custom-contact-outer .custom-contact-inner {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  footer .custom-mobile-container { grid-template-columns: repeat(3, 1fr);}
}
@media (width > 1200px) {
  header .custom-nav img {max-width: 100%;}

  .custom-homepage-hero-section {padding-top: 130px !important;}
  .custom-homepage-hero-section .wp-block-column:has(figure) {max-width: 90%;}
  .custom-homepage-hero-section figure {max-width: 90%;}
  .custom-homepage-hero-section .custom-hero-section-first-title {font-size: 30px;}

  section .custom-media-text-left h3,
  section .custom-media-text-right h3 {font-size: 24px; padding-top: 15px;}

  ul.custom-articles {
    padding-top: 104px !important;
    padding-bottom: 104px !important;
  }
  
  ul.custom-articles li {
    padding: 24px;
    margin: 0 !important;
    border-radius: 32px;
    width: 270px;
  }
  
  ul.custom-articles li img {
    width: 270px;
    height: 291px;
    border-radius: 16px;
    object-fit: cover;
  }
  
}

@media (width > 1400px) {
  .custom-homepage-hero-section .wp-block-columns {max-width: 1280px !important;}
  .custom-homepage-hero-section {padding-top: 180px !important;}
  .custom-homepage-hero-section .wp-block-column:has(figure) {max-width: 100%;}
  .custom-homepage-hero-section figure {max-width: 100%;}
  .custom-homepage-hero-section .custom-hero-section-first-title {font-size: 32px;}

  .custom-banner-text {left: 60px; max-width: 500px !important;}
  .custom-banner-text h2 {font-size: 32px !important;}
  .custom-banner-text p {font-size: 18px !important;}

  ul.custom-articles li {width: 341px;}
  ul.custom-articles li img {width: 352px; height: 379px;}
}

@media (width > 1580px) {
  .wp-block-columns.is-layout-flex.wp-container-core-columns-is-layout-2.wp-block-columns-is-layout-flex,
  section .wp-block-group,
  section:has(.wp-block-media-text) > div,
  .custom_banner,
  section .custom-single-article,
  .wp-block-query:has(.custom-articles),
  .custom-contact-outer .custom-contact-inner,
  footer .custom-mobile-container {max-width: 1280px; margin: auto;}

  .custom-logos-inner {gap: 65px; animation-duration: 25s !important;}
  .custom-logos-inner figure img {max-width: 100%;}
  .custom-banner-text {left: 100px; max-width: 600px !important;}
}



/*
header.wp-block-template-part {
  position: sticky;
  top: 25px;
  width: 100%;
  z-index: 1000;
  background-color: transparent;
  transition: background-color all 0.3s ease-in-out;
}

header.wp-block-template-part.scrolled {
    background-color: var(--wp--preset--color--dark-violet);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

*/
