/*===
    UTILITIES
===*/
:root {
    font-size: 62.5%;
    --color-primary: #B9DB01;
    --color-secondary: #3E4A00;
}
html {
    scroll-padding-top: 100px;
}
body {
    font-family: 'Noto Sans', sans-serif !important;
    font-size: 1.8rem !important;
    color: #000 !important;
    padding: 0;
    margin: 0 !important;
}
h2 {
    text-transform: uppercase !important;
    font-weight: 700 !important;
    font-size: 3.2rem !important;
    margin-bottom: 10px !important;
    color: var(--color-primary);
}
h3 {
    font-size: 2.2rem !important;
    font-weight: 700 !important;
}
a:link,
a:visited,
a:active {
    transition: all .25s;
}
.hidden {
    display: none;
}
.u-py-md {
    padding: 40px 0;
}
.disclaimer {
    font-size: 1.4rem;
}
/* hide elements before animation */
[data-trig] { 
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
/* show elements after animation */
[data-trig].trig {
  opacity: 1;
}

/*===
    OVERRIDES
===*/
.microsite-header,
.microsite-menu-item .microsite-menu-link:hover,
.microsite-menu-item .microsite-menu-link:focus,
.microsite-menu-item.js-active .microsite-menu-link,
.microsite-menu-item .microsite-menu-link.js-active  {
    border-color: var(--color-primary) !important;
}
.microsite-footer {
    background-color: var(--color-secondary) !important;
}
.microsite-footer .social-links {
    margin: 20px 0 10px 0;
}
.row>* {
    padding: 0 15px;
}
/*===
    SWIPER
===*/
/* .carousel__wrap {
    display: flex;
    align-items: center;
    justify-content: center;
} */
.carousel__grid {
    display: grid;
    grid-template-columns: min-content minmax(0, 1fr) min-content;
    grid-template-rows: repeat(2, min-content);
    column-gap: 10px;
}
.carousel__grid .carousel-button {
    position: relative;
    border: none;
    height: auto;
    align-self: center;
}
.carousel__grid .carousel-arrow-prev {
    border-right: 11px solid var(--color-primary);
}
.carousel__grid .carousel-arrow-next {
    border-left: 11px solid var(--color-primary);
}
.carousel__grid .carousel-arrow {
    display: block;
    width: 0;
    height: 0;
    border-top: 15px solid #fff0;
    border-bottom: 15px solid #fff0;
}
.carousel__grid .carousel-button > * {
    pointer-events: none;
}
.carousel__grid .swiper-pagination {
    position: relative;
    top: unset;
    bottom: unset;
    left: unset;
    right: unset;
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    grid-row: 2 / 3;
    grid-column: 1 / -1;
}
.carousel__grid .swiper-pagination-bullet {
    height: 30px;
    width: 30px;
    background-color: transparent;
    border: 3px solid var(--color-primary);
    box-sizing: border-box;
    opacity: 1;
}
.carousel__grid .swiper-pagination-bullet-active {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}
@media only screen and (max-width: 991px) {
    .carousel__grid .carousel-button {
        position: relative;
        border: none;
        height: auto;
        align-self: flex-end;
        padding: 0;
        transform: none;
        border-bottom: none !important;
    }
}

/*===
HERO
===*/
#hero {
    --height: 450px;
    position: relative;
    min-height: var(--height);
    background-image: linear-gradient(270deg, rgba(0, 0, 0, 0.00) 34.62%, rgba(0, 0, 0, 0.70) 100%);
    background-repeat: no-repeat;
    color: #FFF;
}
#hero img {
    width: 700px;
    margin: 0 auto 20px;
}
#hero .hero__video {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
}
.hero__video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero__video--mobile {
    display: none;
}
#hero .container,
#hero .row {
    min-height: var(--height);
}
#hero .row .col-xs-12{
    display: flex;
    flex-direction: column;
    justify-content: center;
}
#hero h1 {
    font-size: 4.8rem;
    font-weight: 700;
    margin-bottom: 25px;
}
#hero p {
    text-wrap: balance;
    font-size: 1.8rem;
}
/*===
PROTECTION
===*/
#protection {
    background-image: url("https://assets.syngentaebiz.com/images/media/why-victrato-background-protection-desktop.png");
    background-position: top;
    background-repeat: no-repeat;
    background-size: 150%;
    color: #FFF;
    padding-bottom: 40px;
}

#protection .container {
    padding-top: 100px;
}
.protection__wrap {
    display: grid;
    grid-template-rows: minmax(0, min-content) 125px minmax(0, 1fr);
}
.protection__buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: max-content;
    margin: 0 auto 20px;
    overflow: hidden;
    grid-row: 1 / 3;
    grid-column: 1 / -1;
    order: 1;
    z-index: 3;
}
.protection__buttons .protection__button {
    background-color: transparent;
    background-repeat: no-repeat;
    background-size: cover;
    border: 0;
    width: 151px;
    height: 206px;
}
.protection__buttons .protection__button[data-trial="ace"] {
    background-image: url("https://assets.syngentaebiz.com/images/media/why-victrato-buttons-ace.png");
}
.protection__buttons .protection__button[data-trial="king"] {
    background-image: url("https://assets.syngentaebiz.com/images/media/why-victrato-buttons-king.png");
}
.protection__buttons .protection__button[data-trial="queen"] {
    background-image: url("https://assets.syngentaebiz.com/images/media/why-victrato-buttons-queen.png");
}
.protection__buttons .protection__button[data-trial="jack"] {
    background-image: url("https://assets.syngentaebiz.com/images/media/why-victrato-buttons-jack.png");
}
.protection__buttons .protection__button[data-trial="10"] {
    background-image: url("https://assets.syngentaebiz.com/images/media/why-victrato-buttons-10.png");
}
@media (hover: hover) {
    .protection__buttons .protection__button:hover,
    .protection__buttons .protection__button:focus-visible {
        background-position: 50% 100%;
    }
}
.protection__buttons .protection__button--active {
    background-position: 100% 100%;
}
.protection__info {
    grid-row: 2 / 4;
    grid-column: 1 / -1;
}
.protection__data {
    display: none;
    color: #000;
    background-color: #FFF;
    border: 5px solid var(--color-primary);
    border-radius: 10px;
    padding: 120px 100px 40px;
}
.protection__data--active {
    display: block;
}
.protection__data h3 {
    text-transform: uppercase;
    font-size: 3.2rem !important;
    color: var(--color-primary);
    margin-bottom: 10px;
}
.protection__data p {
    text-wrap: balance;
}
.protection__data img {
    margin: 0 auto;
}
.protection__data figcaption {
    text-align: center;
    font-style: italic;
    font-size: 1.2rem;
    margin-top: 40px;
}
#protection .carousel-button {
    visibility: hidden;
    height: 0;
    width: 0;
}
#protection .swiper-wrapper {
    display: block;
}
/*===
FIELD REPORTS
===*/
#field-reports {
    background-image: url("https://assets.syngentaebiz.com/images/media/why-victrato-background-field-reports-desktop.png");
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover;
    color: #FFF;
}
#field-reports-row {
    width: 90%;
    margin: 0 auto;
}
.field-reports__card {
    background-color: var(--color-primary);
    color: #3D4D55;
    padding: 20px;
    border-radius: 30px 0;
    position: relative;
}
.field-reports__card::after {
    content: '';
    position: absolute;
    bottom: -49px;
    left: -69px;
    width: 69px;
    height: 49px;
    background-color: var(--color-primary);
    border-radius: 30px 0;
}
.field-reports__card h2 {
    color: currentColor;
}
#field-reports-video {
    background-color: #3D4D55;
    padding-top: 50px;
    color: #FFF;
    text-wrap: balance;
}
#field-reports-video .video__wrapper {
    aspect-ratio: 16/9;
    width: 100%;
    overflow: hidden;
    background-color: transparent;
    border: 0;
    margin-top: 30px;

    display: grid;
    place-items: center;
}
.video__wrapper * {
    grid-row: 1 / -1;
    grid-column: 1 / -1;
}
.video__wrapper .video__wrapper-imgs {
    display: grid;
    place-items: center;
    width: 100%; height: 100%;
}
.video__wrapper .video__wrapper-imgs * {
    grid-row: 1 / -1;
    grid-column: 1 / -1;
    /* pointer-events: none; */
}
.video__wrapper-imgs .video__wrapper-thumbnail {
    width: 100%;
    height: 100%;
}
.video__wrapper iframe {
    width: 100%;
    height: 100%;
}
/*===
RESOURCES
===*/
#resources__cards {
    color: #3D4D55;
}
#resources__cards .col-md-12 {
    display: flex;
    flex-direction: column;
}
#resources__cards img {
    display: block;
    margin-bottom: 20px;
}
#resources__cards h3 {
    font-size: 2rem;
    margin-bottom: 15px;
}
#resources__cards a.btn {
    background-color: var(--color-secondary);
    border: 2px solid var(--color-secondary);
    border-radius: 0;
    padding: 10px 20px;
    color: #FFF;
    font-size: 1.6rem;
    font-weight: 600;
    text-decoration: none;
    margin-top: auto;
}
#resources__cards a.btn:hover,
#resources__cards a.btn:focus-visible {
    background-color: #FFF;
    color: var(--color-secondary);
}
/*===
RECOMMENDED PRODUCTS
===*/
#recommended-products {
    background-image: url("https://assets.syngentaebiz.com/images/media/why-victrato-background-recommend-products-desktop.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    color: #FFF;
}
#recommended-products h2 {
    color: currentColor;
}
#recommended-products .row:last-of-type {
    margin-top: 30px;
}
.rp__card {
    border: 2px solid #FFF;
    border-radius: 15px;
    padding: 30px 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: #FFF;
}
.rp__card .rp__card-logo {
    max-height: 60px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.rp__card .rp__card-logo img {
    display: block;
    margin: 0 auto;
}
.rp__card .rp__card-cta {
    display: inline-block;
    background-color: #3D4D55;
    border: 2px solid #3D4D55;
    border-radius: 10px;
    text-decoration: none;
    text-align: center;
    font-size: 1.6rem;
    font-weight: 600;
    color: #FFF;
    transition: all .25s;
    padding: 10px 20px;
    margin-top: auto;
}
.rp__card .rp__card-cta:hover,
.rp__card .rp__card-cta:focus-visible {
    background-color: transparent;
    color: #3D4D55;
}
.rp__card .rp__card-logo--tendovo {
    height: 40px;
}
.rp__card .rp__card-logo--miravis-neo {
    height: 70px;
    transform: translateY(10px);
}
.rp__card .rp__card-logo--cruisermaxx-apx {
    height: 45px;
}

@media only screen and (max-width: 992px) {
    .carousel__grid .swiper-pagination {
        grid-row: 2 / 3;
        grid-column: 2 / 3;
        margin-top: 0;
    }
    .carousel__grid .carousel__wrap {
        grid-row: 1 / 2;
        grid-column: 1 / -1;
        margin-bottom: 15px;
    }
    .carousel__grid .carousel-button {
        align-self: center;
        grid-row: 2 / 3;
    }
    .carousel__grid .carousel-button.left {
        grid-column: 1 / 2;
    }
    .carousel__grid .carousel-button.right {
        grid-column: 3 / 4;
    }
    
    .microsite-header.mobile-sticky-nav + main {
        margin-top: 70px;
    }

    .hero__video--desktop {
        display: none;
    }
    .hero__video--mobile {
        display: block;
    }
    #hero {
        --height: 400px;
        padding: 0 0 30px;
    }
    #hero h1 {
        font-size: 3.8rem;
    }

    #protection br {
        display: none;
    }
    #protection .swiper-wrapper {
        display: flex;
    }
    #protection .carousel-button {
        visibility: visible;
        height: auto;
        width: auto;
    }
    .protection__data {
        display: block;
    }
    .protection__buttons {
        width: 100%;
        height: 172px;
        gap: 0;
    }
    .protection__buttons .protection__button {
        background-repeat: no-repeat;
        position: relative;
        width: 126px;
        height: 172px;
    }
    .protection__buttons .protection__button--active {
        z-index: 10;
    }
    .protection__buttons .protection__button {
        margin-left: -85px; /* overlap amount */
        padding: 12px 20px;
        border-radius: 8px;
        position: relative;
    }
    .protection__buttons .protection__button:first-child {
        margin-left: 0;
    }
    .protection__buttons[data-trial="ace"] .protection__button[data-trial="ace"] {
        z-index: 5;
    }
    .protection__buttons[data-trial="ace"] .protection__button[data-trial="king"] {
        z-index: 4;
    }
    .protection__buttons[data-trial="ace"] .protection__button[data-trial="queen"] {
        z-index: 3;
    }
    .protection__buttons[data-trial="ace"] .protection__button[data-trial="jack"] {
        z-index: 2;
    }
    .protection__buttons[data-trial="ace"] .protection__button[data-trial="10"] {
        z-index: 1;
    }
    
    .protection__buttons[data-trial="king"] .protection__button[data-trial="ace"] {
        z-index: 4;
    }
    .protection__buttons[data-trial="king"] .protection__button[data-trial="king"] {
        z-index: 5;
    }
    .protection__buttons[data-trial="king"] .protection__button[data-trial="queen"] {
        z-index: 3;
    }
    .protection__buttons[data-trial="king"] .protection__button[data-trial="jack"] {
        z-index: 2;
    }
    .protection__buttons[data-trial="king"] .protection__button[data-trial="10"] {
        z-index: 1;
    }

    .protection__buttons[data-trial="queen"] .protection__button[data-trial="ace"] {
        z-index: 3;
    }
    .protection__buttons[data-trial="queen"] .protection__button[data-trial="king"] {
        z-index: 4;
    }
    .protection__buttons[data-trial="queen"] .protection__button[data-trial="queen"] {
        z-index: 5;
    }
    .protection__buttons[data-trial="queen"] .protection__button[data-trial="jack"] {
        z-index: 2;
    }
    .protection__buttons[data-trial="queen"] .protection__button[data-trial="10"] {
        z-index: 1;
    }

    .protection__buttons[data-trial="jack"] .protection__button[data-trial="ace"] {
        z-index: 2;
    }
    .protection__buttons[data-trial="jack"] .protection__button[data-trial="king"] {
        z-index: 3;
    }
    .protection__buttons[data-trial="jack"] .protection__button[data-trial="queen"] {
        z-index: 4;
    }
    .protection__buttons[data-trial="jack"] .protection__button[data-trial="jack"] {
        z-index: 5;
    }
    .protection__buttons[data-trial="jack"] .protection__button[data-trial="10"] {
        z-index: 1;
    }

    .protection__buttons[data-trial="10"] .protection__button[data-trial="ace"] {
        z-index: 1;
    }
    .protection__buttons[data-trial="10"] .protection__button[data-trial="king"] {
        z-index: 2;
    }
    .protection__buttons[data-trial="10"] .protection__button[data-trial="queen"] {
        z-index: 3;
    }
    .protection__buttons[data-trial="10"] .protection__button[data-trial="jack"] {
        z-index: 4;
    }
    .protection__buttons[data-trial="10"] .protection__button[data-trial="10"] {
        z-index: 5;
    }
    .protection__data {
        padding: 120px 20px 20px;
    }

    .protection__navigation {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .protection__navigation-dots {
        display: flex;
        gap: 10px;
        position: unset;
    }
    .protection__navigation-dots .protection__dot {
        display: block;
        border: 3px solid var(--color-primary);
        background-color: transparent;
        width: 30px;
        height: 30px;
        opacity: 1;
    }
    .protection__dot.protection__dot--active {
        background-color: var(--color-primary);
    }

    #field-reports .carousel__grid .swiper-pagination-bullet {
        border-color: #FFF;
    }
    #field-reports .carousel__grid .swiper-pagination-bullet-active {
        background-color: #FFF;
    }
    .field-reports__card {
        background-color: #3D4D55;
        color: #FFF;
        margin-bottom: 20px;
    }
    .field-reports__card::after {
        display: none;
    }
}
@media only screen and (max-width: 768px) {
    #protection {
        background-image: url("https://assets.syngentaebiz.com/images/media/why-victrato-background-protection-mobile.png");
    }

    #field-reports {
        background-image: url("https://assets.syngentaebiz.com/images/media/why-victrato-background-field-reports-mobile.png");
    }
    .video__wrapper-imgs img:not(.video__wrapper-thumbnail) {
        width: 100px;
    }

    #resources .col-lg-4:not(:first-of-type) {
        margin-top: 20px;
    }
    #recommended-products {
        background-image: url("https://assets.syngentaebiz.com/images/media/why-victrato-background-recommend-products-mobile.png");
    }
    #recommended-products .col-lg-4:not(:first-of-type) {
        margin-top: 20px;
    }
}

@media only screen and (max-width: 992px) and (min-width: 768px) {
    #protection {
        background-size: 200%;
    }
}
@media only screen and (max-width: 768px) and (min-width: 500px) {
    #protection {
        background-size: 105%;
    }
}