/* *********************
 * Hero styles
 * ******************** */

.hero {
    position: relative;
    overflow: hidden;
    margin-top: var(--wp--custom--margin-top-height);
    border-bottom: var(--wp--preset--spacing--s) solid var(--wp--preset--color--ats-theme-primary);
    min-height: 435px;
}

.hero .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center 0;
    background-repeat: no-repeat;
    transform-origin: center center;
    transform: scale(1.2);
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 50%, var(--wp--custom--gradient-circle));
    z-index: 1;
}


.hero .container {
    position: relative;
    margin: 0 auto var(--wp--preset--spacing--2-xl);
    z-index: 3;
}

.hero .container p {
    color: var(--wp--preset--color--ats-theme-bright);
    font-size: var(--wp--preset--font-size--large);
    line-height: 1.5em;
    padding: var(--wp--preset--spacing--2-xl) 0 var(--wp--preset--spacing--xl);
    text-shadow: var(--wp--preset--shadow--text-shadow-default);
}

.hero .svg-overlay {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;  
  opacity: .6;
}

.hero .svg-overlay svg {
    width: 100%;
    height: 100%;
}


@media (prefers-reduced-motion: reduce) {
  .hero-bg {
    animation: none !important;
    transform: none !important;
  }
}


/* *********************
 * Media queries
 * ******************** */

@media screen and (min-width: 768px) {
    .hero {
        display: flex;
        align-items: flex-end;
    }

    .hero .container p {
        font-size: var(--wp--preset--font-size--x-large);
    }
}