/*
Theme Name: Subblock
Author: Subatomic
Author URI: sosubatomic.com
Description: The 2026 block theme.
Version: 1
©2026 Subatomic, LLC
*/

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=PT+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap');

:root {
  --header-desktop-offset: 144px; /* set this to your desktop header height */
  --header-mobile-offset: 100px; /* set this to your mobile header height */
  --tertiary-nav-mobile-background: var(--wp--preset--color--background);
  --form-border-width: 1px;
  --form-border-color: var(--wp--preset--color--neutral);
  --form-border-radius: 0.375rem;
  --form-focus: 0.375rem;
  --form-placeholder-color: #00000073;
  --form-disabled-bg: var(--wp--preset--color--neutral);
  --form-file-bg: var(--wp--preset--color--neutral);
  --form-check-bg: var(--wp--preset--color--primary);
}

/*
HEADER
*/

/*Submenu: decrease spacing*/
@media (min-width: 991px) {
  header :where(.wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item a:not(.wp-element-button)),
  header :where(.wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-submenu a:not(.wp-element-button)),
  header :where(.wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-submenu button.wp-block-navigation-item__content),
  header :where(.wp-block-navigation .wp-block-navigation__submenu-container .wp-block-pages-list__item button.wp-block-navigation-item__content) {
    line-height: 1.25;
    padding: .25em 1em;
  }
  header .wp-block-navigation .has-child .wp-block-navigation-submenu__toggle[aria-expanded=true]~.wp-block-navigation__submenu-container,
  header .wp-block-navigation .has-child:not(.open-on-click):hover>.wp-block-navigation__submenu-container,
  header .wp-block-navigation .has-child:not(.open-on-click):not(.open-on-hover-click):focus-within>.wp-block-navigation__submenu-container {
    padding: .5em 0;
  }
  /* To prevent submenu from going off page */
  header .wp-block-navigation > .wp-block-navigation-item
  > .wp-block-navigation__submenu-container {
    left: auto !important;
    right: 0 !important;
    text-align: left;
  }
  /* Nested flyout menus */
  header .wp-block-navigation .wp-block-navigation__submenu-container
  .wp-block-navigation__submenu-container {
    left: auto !important;
    right: 100% !important;
    top: 0;
  }
}
#site-footer {
  position: relative;
}
#site-footer:before {
  content: '';
  background-image: url(/wp-content/themes/subblock/assets/images/footer-w.svg);
  background-repeat: no-repeat;
  background-position: calc(100% + 215px) center;
  opacity: .11;
  height: 100%;
  width: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
}
#site-footer > * > * {
  z-index: 2;
}
/*
HERO
*/
.customized-hero.hero-container {
  background-color: #13909e;
  position: relative;
  box-shadow: inset 0 var(--header-mobile-offset) 0 var(--wp--preset--color--base);
  padding-top: var(--header-mobile-offset)!important;
  margin-top: calc(-1 * var(--header-mobile-offset))!important;
}
@media (min-width: 992px) {
  .customized-hero.hero-container {
    box-shadow: inset 0 var(--header-desktop-offset) 0 var(--wp--preset--color--base);
    padding-top: var(--header-desktop-offset)!important;
    margin-top: calc(-1 * var(--header-desktop-offset))!important;
  }
}
@media (min-width: 576px) {
  .customized-hero:not(.has-carousel) .hero-image {
    height: calc(100% - var(--wp--preset--spacing--minus-1) - var(--wp--preset--spacing--minus-1) - var(--header-desktop-offset));
    top: var(--header-desktop-offset);
  }
}
.customized-hero:before {
  content: '';
  background-image: url(/wp-content/themes/subblock/assets/images/header-w.svg);
  background-repeat: no-repeat;
  background-position: calc(100% + 215px) -60px;
  opacity: .75;
  height: 100%;
  width: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 0;
}
@media (min-width: 992px) {
  .customized-hero:before {
    background-position: calc(100% + 215px) -30px;
  }
}
.customized-hero .hero-text-wrapper {
  font-size: clamp(1.066rem, 1.066rem + ((1vw - 0.2rem) * 0.73), 1.65rem);
  padding: var(--wp--preset--spacing--minus-1) var(--wp--preset--spacing--plus-3) var(--wp--preset--spacing--minus-1) var(--wp--preset--spacing--base);
  background-color: var(--wp--preset--color--background);
  height: 100%;
  position: relative;
  z-index: 1;
}
@media (min-width: 576px) {
  .customized-hero .hero-text-wrapper {
    display: flex;
    align-items: center;
    width: 50%;
    min-height: 500px;
  }
}
.customized-hero h1 {
  font-size: clamp(29.768px, 1.861rem + ((1vw - 3.2px) * 1.737), 52px);
  margin-top: 0;
  margin-bottom: 1rem;
}
.customized-hero .wp-block-buttons {
  margin-top: 1.75rem;
}
.customized-hero .hero-image {
  height: 45vw;
  width: calc(100% - var(--wp--preset--spacing--base) - var(--wp--preset--spacing--base));
  margin: var(--wp--preset--spacing--minus-1) var(--wp--preset--spacing--base);
  object-position: top;
  position: relative;
  z-index: 2;
}
@media (min-width: 576px) {
  .customized-hero .hero-image {
    height: calc(100% - var(--wp--preset--spacing--minus-1) - var(--wp--preset--spacing--minus-1));
    right: 0;
    position: absolute;
    width: 50%;
  }
}
.customized-hero .hero-slider.is-fade .hero-inner {
  z-index: 2;
}
@media (max-width: 575px) {
  .customized-hero .hero-control-prev, .customized-hero .hero-control-next {
    align-items: flex-start;
    padding-top: calc(45vw + var(--wp--preset--spacing--minus-1) + var(--wp--preset--spacing--minus-1) - 10px);
  }
  .customized-hero .hero-slider.is-fade .hero-inner {
    height: calc(45vw + var(--wp--preset--spacing--minus-1) + var(--wp--preset--spacing--minus-1) + 6px);
    position: relative;
  }
}
/*
Customized Cards
*/
.customized-cards .card.card-rollover {
  aspect-ratio: auto;
}
.customized-cards .card-rollover .card-body {
  border: 3px solid var(--wp--preset--color--tertiary);
}
.customized-cards .card-rollover .card-content {
  font-size: clamp(16px, 1rem + ((1vw - 3.2px) * 0.469), 22px);
}
/* 1st card */
.customized-cards .wp-block-columns:nth-of-type(1) .wp-block-column:nth-of-type(1) .card-body {
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
}
/* 4th card */
.customized-cards .wp-block-columns:nth-of-type(2) .wp-block-column:nth-of-type(2) .card-body {
  border-bottom-left-radius: 24px;
  border-bottom-right-radius: 24px;
}
@media (min-width: 992px) {
  .customized-cards .card-rollover .card-body {
    border-radius: 24px;
  }
  /* 1st card */
  .customized-cards .wp-block-columns:nth-of-type(1) .wp-block-column:nth-of-type(1) .card-body {
      border-bottom-right-radius: 0;
  }
  /* 2nd card */
  .customized-cards .wp-block-columns:nth-of-type(1) .wp-block-column:nth-of-type(2) .card-body {
      border-bottom-left-radius: 0;
  }
  /* 3rd card */
  .customized-cards .wp-block-columns:nth-of-type(2) .wp-block-column:nth-of-type(1) .card-body {
      border-top-right-radius: 0;
  }
  /* 4th card */
  .customized-cards .wp-block-columns:nth-of-type(2) .wp-block-column:nth-of-type(2) .card-body {
      border-top-left-radius: 0;
  }
}
.customized-cards .card-rollover .card-content .wysiwyg-text {
  padding: 1rem 1rem;
}
@media (min-width: 576px) {
  .customized-cards .card-rollover .card-content .wysiwyg-text {
    padding: 1rem 2.5rem;
  }}
.customized-cards .card-rollover .card-content .wysiwyg-text p:last-child {
  margin-bottom: 0;
}
/*
ICONS
*/
.icon-divider {
  display: flex;
  align-items: flex-end;
  flex-direction: row;
  margin-bottom: 1.25rem;
}
.icon-divider .wp-block-separator {
  border: 0;
  border-radius: 3px;
  margin: 0 0 0 10px;
  height: 3px;
  width: 100%;
}
.bookmark {
  background-color: #13909e;
  border-radius: 0 0 14px 14px;
  display: flex!important;
  align-items: center;
  justify-content: center;
  height: 80px;
  width: 80px;
  padding: 1rem;
}
@media (min-width: 576px) {
  .bookmark {
    height: 132px;
    width: 132px;
  }
}
/*
LISTS
*/
.list-hearts {
  list-style: none;
  padding-left: 40px;
}
.list-hearts li {
  position: relative;
  margin-bottom: 1rem;
}
.list-hearts li:before {
  content: '';
	position: absolute;
  top: 6px;
  left: -40px;
  height: 30px;
  width: 30px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
@media (min-width: 576px) {
  .list-hearts {
    padding-left: 60px;
  }
  .list-hearts li:before {
    left: -60px;
  	height: 40px;
    width: 40px;
  }
}
.list-hearts li:before {
  background-image: url('data:image/svg+xml;utf8,<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 40 36.15"><path fill="%2365eefb" d="M28.74,3c4.63,0,8.26,3.96,8.26,9.01,0,5.42-3.95,8.98-13.67,17.2-1.09.92-2.28,1.93-3.52,2.99-.79-.67-1.55-1.32-2.29-1.95C6.73,21.07,3,17.6,3,12.01,3,6.96,6.63,3,11.26,3c2.47,0,4.57,1.14,6.22,3.38l2.38,3.22,2.43-3.18c1.73-2.27,3.9-3.42,6.45-3.42M28.74,0c-4.25,0-7.07,2.29-8.84,4.6C18.1,2.16,15.28,0,11.26,0,4.95,0,0,5.27,0,12.01c0,8.19,6.46,12.65,19.81,24.15,12.9-11.17,20.19-15.86,20.19-24.15,0-6.73-4.95-12.01-11.26-12.01h0Z"/></svg>');
}
/*
MAIN
*/
h1 a,h2 a,h3 a,h4 a,h5 a,h6 a,
.h1 a,.h2 a,.h3 a,.h4 a,.h5 a,.h6 a {
  color: var(--wp--preset--color--primary);
}
.h1,.h2,.h3,.h4,.h5,.h6 {
  color: var(--wp--preset--color--primary);
  font-family: var(--wp--preset--font-family--primary);
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.1;
  text-transform: none;
}
/*
INCLUDES
*/
.hero-container:not(.text-reversed) .hero-control-prev-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231dbed2'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e") !important;
}
.hero-container:not(.text-reversed) .hero-control-next-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231dbed2'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
}
.hero-container:not(.text-reversed) .hero-indicators button {
  background-color: var(--wp--preset--color--tertiary)!important;
}
.showcase-container .showcase-indicators button {
  transition: background-color .3s ease!important;
  background-color: var(--wp--preset--color--tertiary)!important;
}
.carousel-control-prev-icon,
.testimonial-control-prev-icon,
.showcase-control-prev-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231dbed2'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e") !important;
}
.carousel-control-next-icon,
.testimonial-control-next-icon,
.showcase-control-next-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231dbed2'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
}
.carousel-control-prev:not(:disabled):not(.is-disabled):hover .carousel-control-prev-icon,
.carousel-control-prev:not(:disabled):not(.is-disabled):focus .carousel-control-prev-icon,
.testimonial-control-prev:not(:disabled):not(.is-disabled):hover .testimonial-control-prev-icon,
.testimonial-control-prev:not(:disabled):not(.is-disabled):focus .testimonial-control-prev-icon,
.showcase-control-prev:not(:disabled):not(.is-disabled):hover .showcase-control-prev-icon,
.showcase-control-prev:not(:disabled):not(.is-disabled):focus .showcase-control-prev-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231dbed2'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e") !important;
}
.carousel-control-next:not(:disabled):not(.is-disabled):hover .carousel-control-next-icon,
.carousel-control-next:not(:disabled):not(.is-disabled):focus .carousel-control-next-icon,
.testimonial-control-next:not(:disabled):not(.is-disabled):hover .testimonial-control-next-icon,
.testimonial-control-next:not(:disabled):not(.is-disabled):focus .testimonial-control-next-icon,
.showcase-control-next:not(:disabled):not(.is-disabled):hover .showcase-control-next-icon,
.showcase-control-next:not(:disabled):not(.is-disabled):focus .showcase-control-next-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231dbed2'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
}
