.featured-post-list .section-heading, .featured-post-list .section-subheading {
  max-width: 500px;
}

.featured-post-list .featured-post .featured-post-image {
  padding-bottom: 55.989%;
  display: block;
  background-size: cover;
  background-repeat: no-repeat;
  transition: all 0.2s ease-in;
}

.featured-post-list .featured-post:hover .featured-post-title {
  --text-opacity: 1;
  color: #FA4338;
  color: rgba(250, 67, 56, var(--text-opacity));
}

.featured-post-list .featured-post:hover .featured-post-image {
  box-shadow: 0 3px 24px rgba(0, 0, 0, .2);
}

.featured-post-list .featured-post .featured-post-type {
  display: block;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  --text-opacity: 1;
  color: #8a8f9e;
  color: rgba(138, 143, 158, var(--text-opacity));
  text-transform: uppercase;
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: 3px;
}

.featured-post-list .featured-post .featured-post-type img {
  display: inline-block;
  position: relative;
  top: -2px;
}

@media (min-width: 48rem) {
  .featured-post-list .featured-posts {
    flex-wrap: wrap;
  }

  .featured-post-list .featured-post {
    width: calc( ( 100% - 64px ) / 3 );
  }

  .featured-post-list .featured-post:nth-child( n + 4 ) {
    margin-top: 60px;
  }
}

.featured-content-section .section-heading {
  margin-bottom: 2rem;
}

.featured-content-section.has-subtitle .section-heading {
  margin-bottom: 1rem;
}

.product-overview {
  margin-left: auto;
  margin-right: auto;
}

.product-overview .product {
  width: 100%;
}

.product-overview .product .heading {
  line-height: 48px;
}

.product-overview .product .pipe {
  color: #b2b4b9;
  margin: 0 10px;
}

.product-overview .product .beta-tag, .product-overview .product .new-tag {
  position: relative;
  top: -3px;
}

@media (min-width: 30rem) {
  .product-overview .product {
    width: calc( ( 100% - 32px ) / 2 );
  }
}

@media (min-width: 48rem) {
  .product-overview {
    max-width: 910px
  }

  .product-overview .product {
    width: calc( ( 100% - 64px ) / 3  );
    order: 1;
  }
}

@media (min-width: 1250px) {
  .product-overview {
    position: relative;
    left: -64px
  }
}

@-webkit-keyframes spring {
  0% { transform: scale3d(0.9,0.9,1);
  }

  33% { transform: scale3d(1.2,1.2,1);
  }

  66% { transform: scale3d(1.05,1.05,1);
  }

  100% { transform: scale3d(1,1,1);
  }
}

@keyframes spring {
  0% { transform: scale3d(0.9,0.9,1);
  }

  33% { transform: scale3d(1.2,1.2,1);
  }

  66% { transform: scale3d(1.05,1.05,1);
  }

  100% { transform: scale3d(1,1,1);
  }
}

@-webkit-keyframes revealText {
  0% {
    width:100%
  }

  100% {
    width:0%;
  }
}

@keyframes revealText {
  0% {
    width:100%
  }

  100% {
    width:0%;
  }
}

#header-section .illustration-wrapper .illustration-inner-wrapper {
  overflow: hidden;
  max-width: 100%;
}

#header-section .illustration-wrapper .illustration-inner-wrapper img {
  height: 250px;
  width: auto;
  max-width: none;
  position: relative;
  left: -111px;
}

@media ( min-width: 560px ) {
  #header-section .illustration-wrapper .illustration-inner-wrapper img {
    left: auto;
  }
}

@media ( min-width: 768px ) {
  #header-section .illustration-wrapper .illustration-inner-wrapper img {
    height: 430px;
    left: -168px;
  }
}

@media ( min-width: 1024px ) {
  #header-section {
    position: relative;
    height: 722px;
    margin-top: -30px;
    overflow: hidden
  }

  #header-section > .illustration-wrapper {
    position: absolute;
    bottom: 0;
    left: calc( ( 100vw - 2560px ) / 2 + 55px );
    height: 721px;
    width: 2560px;
  }

  #header-section > .illustration-wrapper .header-bg {
    padding-top: 20px;
    position: absolute;
    bottom: 0;
  }

  #header-section > .illustration-wrapper .header-bg svg {
    height: 705.48px;
    width: auto;
    position: relative;
  }

  #header-section > .illustration-wrapper .notification-zone {
    position: absolute;
    padding-bottom: 74px;
    padding-left: 37px;
    padding-right: 37px;
    z-index: 10;
  }

  #header-section > .illustration-wrapper .notification-zone.no-padding-left {
    padding-left: 0;
  }

  #header-section > .illustration-wrapper .notification-zone.no-padding-right {
    padding-right: 0;
  }

  #header-section > .illustration-wrapper .notification {
    padding: 8px;
    padding-top: 21px;
    position: relative;
    transition:
          opacity 0.2s ease-in,
          top 0.2s ease-in;
    top: 16px;
    opacity: 0;
    line-height: 21px;
  }

  #header-section > .illustration-wrapper .notification > svg {
    position: absolute;
    width: 100%;
    height: auto;
    top: 0;
    left: 0;
    z-index: 1;
    filter: drop-shadow( 0 3px 24px rgba(0, 0, 0, .25) );
  }

  #header-section > .illustration-wrapper .notification.reversed > svg {
    transform: scaleX( -1 );
  }

  #header-section > .illustration-wrapper .notification.deliveries-scanned {
    padding-top: 20px;
  }

  #header-section > .illustration-wrapper .notification .box-icon {
    display: block;
    position: absolute;
    top: 8px;
    left: 8px;
    opacity: 0;
    z-index: 2;
    transition: opacity 0.2s ease-out 0.3s;
    width: 10px;
    height: 10px;
  }

  #header-section > .illustration-wrapper .notification .box-icon img {
    max-width: 100%;
    height: auto;
  }

  #header-section > .illustration-wrapper .notification .text {
    display: block;
    z-index: 2;
    position: relative;
    font-size: 13px;
    bottom: -2px;
  }

  #header-section > .illustration-wrapper .notification .text:after {
    /* :after is used to hide text so it can be animated in */
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    height: 101%;
    width: 101%;
    z-index: 2;
    background: #ffffff;
  }
}

@media ( min-width: 1600px ) {
  #header-section > .illustration-wrapper {
    left: calc( ( 100vw - 2560px ) / 2 );
  }
}

@media ( max-width: 1680px ) {
  #header-section > .illustration-wrapper .notification-zone.hide-1680 {
    display: none !important;
  }
}

@media ( min-width: 768px ) and ( max-width: 1023px ) {
  #header-section .page-hero {
    text-align: center
  }

  #header-section .page-hero .marketo-form {
    margin-left: auto;
    margin-right: auto;
  }
}

#header-section .notification-zone:hover .notification, #header-section .notification.active {
  opacity: 1;
  top: 0;
  -webkit-animation: 0.5s spring ease-in;
          animation: 0.5s spring ease-in;
  will-change: transform;
}

#header-section .notification-zone:hover .notification .box-icon, #header-section .notification.active .box-icon {
  opacity: 1;
}

#header-section .notification-zone:hover .notification .text, #header-section .notification.active .text {
  border: none;
  box-shadow: none;
}

#header-section .notification-zone:hover .notification .text:after, #header-section .notification.active .text:after {
  -webkit-animation: 0.6s revealText 0.6s ease forwards;
          animation: 0.6s revealText 0.6s ease forwards;
  will-change: width;
  border: none;
  box-shadow: none;
}

/* Speed up animation slightly on hover */

#header-section .notification-zone:hover .notification .box-icon {
  opacity: 1;
}

#header-section .notification-zone:hover .notification .text:after {
  -webkit-animation: 0.6s revealText 0.3s ease forwards;
          animation: 0.6s revealText 0.3s ease forwards;
}

@media (max-width: 1024px ){
  #header-section .notification-zone {
    display: none !important;
  }
}

@media ( min-width: 480px ) {
  #workplace-platform {
    padding-top: calc( 30px + 0.5rem )
  }
}

@media ( min-width: 768px ) {
  #workplace-platform {
    padding-top: calc( 30px + 4rem )
  }
}

@media ( min-width: 1024px ) {
  #workplace-platform {
    padding-top: calc( 30px + 5rem )
  }
}

body > footer {
  background-size: cover;
  background-repeat: no-repeat;
  clip-path: url(#clipPathPaintedTop2);
  -webkit-clip-path: url(#clipPathPaintedTop2);
  margin-top: -16px;
}

main.relative {
  /* prevents nav from going underneath hero */
  z-index: 2;
}

#header-section .subheading {
  line-height: 1.5825;
}

@media ( min-width: 1024px ) {
  #header-section .heading {
    max-width: 490px;
  }

  #header-section .subheading {
    max-width: 465px;
  }
}

#header-section .marketo-form {
  /* TODO: !important is yucky, would like to find a better way to center the form */
  max-width: 388px !important;
}

#secondary-hero-section .heading {
  max-width: 560px;
}

#secondary-hero-section .subheading {
  max-width: 530px;
  line-height: 1.5825;
}

#secondary-hero-section .marketo-form {
  /* TODO: !important is yucky, would like to find a better way to center the form */
  width: 388px !important;
}

@media ( max-width: 1023px ) {
  #primary-hero {
    max-width: 515px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 32px
  }
}

@media ( min-width: 1024px ) {
  #primary-hero {
    margin-left: calc( ( 100vw - 852px ) / 2 );
    margin-top: 48px;
    width: 43%
  }
}

@media ( min-width: 1280px ) {
  #primary-hero {
    margin-left: 215px
  }
}

@media ( min-width: 1600px ) {
  #primary-hero {
    margin-left: 163px
  }
}

#promotional-banner {
  position: relative;
  background-image: url( /images/section-backgrounds/ears-mobile.svg );
  background-position: 45% 245px;
  background-size: cover;
  background-repeat: no-repeat;
}

#promotional-banner .illustrations {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (min-width: 810px) {
  #promotional-banner {
    background-image: url( /images/section-backgrounds/ears-tablet.svg );
    background-position: 170px 44px
  }

  #promotional-banner a.btn-gem {
    align-self: flex-start;
  }

  #promotional-banner .illustrations {
    position: relative;
    padding-left: 0;
    padding-right: 0;
    align-self: center;
  }

  #promotional-banner .illustrations .illustration-image {
    height: auto;
    width: 100%;
    position: relative;
    left: 0;
    transform: translateX(-24px);
  }
}

@media ( min-width: 1024px ) {
  #promotional-banner .illustrations .illustration-image {
    transform: translateX(-40px);
  }
}

@media ( min-width: 1248px ) {
  #promotional-banner {
    background-image: url( /images/section-backgrounds/ears-cropped-bottom-right.svg );
    background-position: bottom right;
    background-size: 30%
  }
}

@media ( min-width: 1284px ) {
  #promotional-banner .illustrations .illustration-image {
    left: calc(((100vw - 80.25rem)/2)* -1);
  }
}

@media (min-width: 1600px ) {
  #promotional-banner .description {
    width: 50%;
  }

  #promotional-banner .illustrations {
    width: 80%;
  }

  #promotional-banner .illustrations .illustration-image {
  }
}

@media (min-width: 1680px ) {
  #promotional-banner .illustrations .illustration-image {
    left: 0;
  }
}

#promotional-banner::before {
  content: '';
}

@media ( min-width: 1248px ) {
  #promotional-banner::before {
    background-image: url( /images/section-backgrounds/ears-cropped-top.svg );
    background-position: center top;
    background-size: 30%;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%
  }
}

@media (min-width: 1680px ) {
  #promotional-banner::before {
    background-position: 40% top
  }
}

.product-overview {
  left: unset;
  right: 0;
}

@media (min-width: 30rem) {
  .product-overview .workplace-platform-wrapper {
    width: 100%;
  }
}

@media (min-width: 48rem) {
}

@media (min-width: 1250px) {
  .product-overview {
    margin-right: 0
  }
}

.workplace-platform-wrapper {
  width: 100%;
}

@media (min-width: 1250px) {
  .workplace-platform-wrapper h2 {
    width: 410px;
  }
}

#integrations-section-wrapper {
  background-image: url( /images/section-backgrounds/freckles.svg );
  background-size: 1456px 942px;
  background-position: center 85%;
  background-repeat: no-repeat;
}

@media (max-width: 47.999rem) {
  #integrations-section-wrapper {
    background-size: contain
  }
}

.integrations-section .heading {
  line-height: 1.1667em;
  max-width: 650px;
}

.integrations-section .description {
  max-width: 600px;
}

@media (min-width: 64rem) {
  .integrations-section .integration-card {
    width: calc( 25% - ( 32px * 3 / 4 ) ) /* 25% - (gutter-width * num-gutters / num-cards) */
  }
}

.integrations-section .integration-card > img {
  height: 40px;
}

.integrations-section .integration-card > img[src="/images/integrations/microsoft-teams.svg"] {
  width: 40.5px;
}

.banner .text, .banner .cta {
  max-width: 728px;
}

#secondary-hero .heading {
  max-width: 730px;
}

#secondary-hero-section {
  background-image: url( /images/section-backgrounds/squiggles.svg );
  background-size: 1560px 632px;
  background-position: center 30px;
  background-repeat: no-repeat;
  clip-path: url(#clipPathPaintedTopAndBottom);
  -webkit-clip-path: url(#clipPathPaintedTopAndBottom);
  margin-top: -16px;
}

@media (max-width: 47.999rem) {
  #secondary-hero-section {
    background-size: contain
  }
}

.side-by-side-hero-section {
  background-size: cover;
  background-repeat: no-repeat;
  clip-path: url(#clipPathPaintedTop);
  -webkit-clip-path: url(#clipPathPaintedTop);
  margin-top: -16px;
}

.side-by-side-hero-section .heading, .side-by-side-hero-section .subheading {
  --text-opacity: 1;
  color: #feb0c5;
  color: rgba(254, 176, 197, var(--text-opacity));
}

.side-by-side-hero-section .logo-strip .border-t {
  border-color: #feb0c5;
  border-bottom: none;
}

/* Pulled from old index page */

#desks-video-banner:before {
  background-image: url( /images/home/lionsgate-interstitial.jpg );
  background-size: cover;
  background-repeat: no-repeat;
}

#desks-video-banner .play-video-icon-lg {
  width: 80px;
  height: 80px;
  position: static;
}

#desks-video-banner h2 {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}
