:root {
    --font-landing: "Raleway", sans-serif;
    --font-landing2: "Kumbh Sans", sans-serif;
    --font-header: "Source Serif 4", serif;
    --font-body: "Noto Sans", sans-serif;
    --gold: #C59014;
}

.header__link {
    background: url(../images/CLM-Logo.png) 0 0 no-repeat;
    background-size: contain;
}

/* only for landing page so it doesn't conflict with sticky navigation */
.sub-menu {
    z-index: 3;
}

.site-header .wrap .search-section .header-search-header .search-field {
    background-color: #d0d3da;
}

#main-content > .wrap { 
    max-width: none; 
}

#sub-landing-nav {
    position: sticky;
    top: 0;
    background-color: #000;
    z-index: 2;
}
#sub-landing-nav .row.row1 {
    background-image: url('../images/shimmer-texture.jpg');
    background-repeat: no-repeat;
    height: 25px;
    background-size: 100%;
    background-position-y: bottom;
}
#sub-landing-nav .row.row2 .two-thirds {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 20px 5px;
}
#sub-landing-nav .row.row2 .two-thirds > div {
    display: grid;
}
#sub-landing-nav .row.row2 .two-thirds > div.sticky-nav-50-item img ~ span {
    margin-left: -15px;
}
#sub-landing-nav .row.row2 .two-thirds > div a {
    color: #fff;
    text-decoration: none;
    display: grid;
    grid-template-columns: repeat(2,1fr);
    align-items: center;
    justify-items: center;
}
#sub-landing-nav .row.row2 .two-thirds > div a > img {
    max-width: 85px;
}
#sub-landing-nav .row.row2 .two-thirds > div a > span {
    font-family: var(--font-landing);
    font-weight: 700;
    font-size: 18px;
    line-height: 1.3em;
}
#sub-landing-nav .row.row2 .one-third {
    position: relative;
}
#sub-landing-nav .row.row2 .one-third img.hero-logo-banner-desktop {
    position: absolute;
    right: 0;
    max-width: 250px;
}
#sub-landing-nav .row.row2 .one-third img.hero-logo-banner-mobile {
    display: none;
}

#hero {
    background-image: url('../images/Img_Cotton-Field-Golden-Sunset.jpg');
    background-size: cover;
    background-repeat: no-repeat;
}
#hero .hero-cta-content {
    padding-top: 80px;
    padding-left: 40px;
    margin-bottom: 60px;
}
#hero .hero-cta-content p {
    max-width: 800px;
    width: 100%;
    margin-bottom: 15px;
}
#hero .hero-cta-content h1, 
#hero .hero-cta-content p,
#hero #fiftyin50 h2 {
    color: #fff;
}
#hero .hero-cta-content .btn__read__more__white {
    position: relative;
    background: transparent;
    padding: 8px 69px 8px 20px;
    outline-color: #fff;
    margin-left: 6px;
    font-size: 16px;
}
#hero .hero-cta-content .btn__read__more__white::after {
    background: url(../images/arrow-white-down.svg) center center no-repeat;
    position: absolute;
    right: 5%;
}
#hero .hero-cta-content .btn__read__more__white:hover {
    color: var(--gold);
    outline-color: var(--gold);
}
#hero .hero-cta-content .btn__read__more__white:hover::after {
    background: url(../images/arrow-gold-down.svg) center center no-repeat
}
#hero #fiftyin50 {
    padding-left: 40px;
    margin-bottom: 20px;
}
#hero #fiftyin50 .video-placeholder {    
    width: 920px;
    height: 516px;
    flex: none;
    order: 1;
    flex-grow: 0;
    background: #646566;
}
#hero #fiftyin50 .video-container {
    position: relative;
}
/* #hero #fiftyin50 .video-container img {
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    top: 50%;
    cursor: pointer;
    z-index: 10;
}
#hero #fiftyin50 .video-container #hero-video {
    max-width: 100%;
    height: auto;
} */
#hero #fiftyin50 .video-container #vimeo-video {
    max-width: 100%;
}

#milestone-moments {    
    padding-top: 100px;
    padding-bottom: 100px;
    background-color: rgb(251, 215, 178, 0.25);
}
#milestone-moments > .wrap {
    padding-left: 40px;
}
#milestone-moments .two-thirds p {
    font-family: var(--font-landing);
    font-weight: 400;
    margin-bottom: 15px;
}

#milestone-timeline {
    padding-top: 60px;
    padding-bottom: 100px;
}
#milestone-timeline .timeline-entry {
    display: grid;
    grid-template-columns: 1fr 3fr 1fr;
    padding-left: 40px;
}
#milestone-timeline .timeline-entry .icon {
    grid-column: 1;
}
#milestone-timeline .timeline-entry:first-of-type .icon {
    position: relative;
}
#milestone-timeline .timeline-entry:first-of-type .icon:before {
    content: '';
    width: 2px;
    height: 100px;
    background-color: #000;
    display: block;
    position: absolute;
    left: calc(87px / 2); /* 87px is the size of the icon asset */
    bottom: 100%;
}
#milestone-timeline .timeline-entry .icon:after {
    content: '';
    width: 2px;
    height: 100%;
    background-color: #000;
    display: block;
    position: relative;
    left: calc(87px / 2); /* 87px is the size of the icon asset */
    z-index: -1;
}
#milestone-timeline .timeline-entry.last > .icon:after {
    content: none;
}
#milestone-timeline .timeline-entry .content {
    grid-column: 2 / 4;
    padding-right: 40px;
    padding-bottom: 40px;
}
#milestone-timeline .timeline-entry .content h3 {
    font-family: var(--font-landing2);
    font-weight: 600;
    font-size: 26px;
    line-height: 1.25;
    color: #212322;
    text-transform: none;
}
#milestone-timeline .timeline-entry .content .subtitle {
    font-family: var(--font-landing2);
    font-size: 1.1rem;
    line-height: 1.4;
    margin-bottom: 10px;
    color: #212322;
    text-transform: uppercase;
}
#milestone-timeline .timeline-entry .content p:not(.subtitle) {
    font-family: var(--font-landing);
    font-size: 1rem;
    line-height: 1.6;
    color: #212322;
}
#milestone-timeline .timeline-entry .cta-arrow {
    grid-column: 5;
    display: flex;
    width: 40px;
}
#milestone-timeline .timeline-entry .cta-arrow > a {
    position: relative;
    display: inherit;
}
#milestone-timeline .timeline-entry .cta-arrow > a:after {
    content: '';
    background-image: url(../images/arrow-gold-circle-right.svg);
    background-repeat: no-repeat;
    background-size: 40px;
    position: absolute;
    top: 50%;
    height: 40px;
    width: 40px;
    transform: translateY(-50%);
    opacity: 0;
}
#milestone-timeline .timeline-entry .cta-arrow > a:hover > img {
    opacity: 0;
}
#milestone-timeline .timeline-entry .cta-arrow > a:hover:after {
    opacity: 1;
}
#milestone-timeline .btn__view__more__black {
    background-color: transparent;
    outline-color: #000;
    color: #000;
}
#milestone-timeline .view-more-container {
    display: grid;
    grid-template-columns: 1fr 3fr 1fr;
}
#milestone-timeline .btn__view__more__black {
    background-color: transparent;
    outline-color: #000;
    color: #000;
    grid-column: 2;    
    margin-left: 30px;
}
#milestone-timeline .btn__view__more__black:hover {
    color: var(--gold);
    outline-color: var(--gold);
}
#milestone-timeline .btn__view__more__black:after {
    background: url(../images/black-arrow.svg);
    background-repeat: no-repeat;    
}
#milestone-timeline .btn__view__more__black:hover:after {
    background: url(../images/arrow-gold.svg);
    background-repeat: no-repeat;
}

#seal-of-cotton {
    background-image: url('../images/shimmer-texture.jpg');
    background-repeat: repeat;
}
#seal-of-cotton .wrap.grid {
    padding-left: 40px;
}
#seal-of-cotton .tab-cover {
    background-color: #000;
    margin-bottom: 60px;
    padding: 60px 80px; 
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;   
}
#seal-of-cotton .tab-cover h2, 
#seal-of-cotton .tab-cover p {
    color: #fff;
} 
#seal-of-cotton .tab-cover p {
    font-family: var(--font-landing);
    font-weight: 400;
}

#seal-of-cotton-content {    
    padding-top: 70px;
    position: relative;
    background: linear-gradient(180deg, #E9DBAC 0.78%, rgba(233, 219, 172, 0) 38.24%, #eeeddb 86%);
}
#seal-of-cotton-content:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    bottom: 0;
    background-image: url('../images/Img_Cotton-Field-Golden-Sunrise.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position-y: bottom;
}
#seal-of-cotton-content .two-thirds {
    position: relative;
    z-index: 1;
}
#seal-of-cotton-content article {
    margin-bottom: 50px;
    padding-left: 40px;
    max-width: 66%;    
}
/* #seal-of-cotton-content article.testimonial-article {
    box-shadow: 4px 4px 35px 20px rgba(0,0,0,0.1), 
    25px 0px 20px -20px rgba(0,0,0,0.1), 
    0px 25px 20px -20px rgba(0,0,0,0.1), 
    -25px 0px 20px -20px rgba(0,0,0,0.1);
} */
#seal-of-cotton-content article p {
    margin-bottom: 10px;
    font-family: var(--font-landing);
}
#seal-of-cotton-content article:last-of-type {
    margin-bottom: 400px;
}
#seal-of-cotton-content .testimonial-slider {
    overflow: hidden;
}
/* #seal-of-cotton-content .testimonial-slider .swiper-slide {
    width: 100% !important;
} */
#seal-of-cotton-content .testimonial-slider .swiper-slide .post__left {
    position: relative;
    flex: inherit;
}
#seal-of-cotton-content .testimonial-slider .swiper-slide .post__left .post__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* max-height: 570px; */
    max-width: 440px; /* a third of a third of the full container width */
}
#seal-of-cotton-content .testimonial-slider .swiper-slide .post__right {
    flex: 1;
    background-color: #F9EEDC;
}
#seal-of-cotton-content .testimonial-slider .swiper-slide .post__right .post__content .golden-quotes {
    width: 85px;
}
#seal-of-cotton-content .testimonial-slider .swiper-slide .post__right .post__content .quote {
    font-family: var(--font-landing);
    font-weight: 600;
    font-style: italic;
    font-size: 20px;
    line-height: 28px;
    color: #212322;
}
#seal-of-cotton-content .testimonial-slider .swiper-slide .post__right .post__content .name {
    font-family: var(--font-landing);
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    line-height: 0;
    margin-top: 20px;
    color: #212322;
}
#seal-of-cotton-content .testimonial-slider .swiper-slide .post__right .post__content .title {
    font-family: var(--font-landing);
    font-weight: 400;
    font-style: italic;
    font-size: 16px;
    color: #212322;
    display: block;
    line-height: 1.4;
    margin-top: -5px;
}
#seal-of-cotton-content .testimonial-slider .swiper-pagination-bullet {
    background-color: #212322;
    opacity: 1;
}
#seal-of-cotton-content .testimonial-slider .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background-color: var(--gold);
}
#seal-of-cotton-content .testimonial-slider .swiper-pagination-bullets.swiper-pagination-horizontal {
    text-align: center;
    margin-block: 30px 0;
}
#seal-of-cotton-content .testimonial-slider .section__wrapper .slider-container .landing-page-swiper { 
    overflow: hidden;    
}
#seal-of-cotton-content .testimonial-slider .section__wrapper .slider-container .landing-page-swiper.reversed .post__left {
    order: 2;
}
#seal-of-cotton-content .seal-of-cotton-img-placeholder {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
#seal-of-cotton-content .seal-of-cotton-img-placeholder .img-placeholder {
    min-height: 280px;
    width: 100%;
    aspect-ratio: 1/1;
    background-color: gray;
}
#seal-of-cotton-content .seal-of-cotton-img-placeholder ~ .cta-container {
    width: 100%; 
}
#seal-of-cotton-content .seal-of-cotton-img-placeholder ~ .cta-container a {
    font-family: var(--font-landing);
    font-size: 16px;
    font-weight: 700;
    line-height: 26px;
    letter-spacing: 0em;
    text-align: left;
    display: block;
    width: 100%; 
    position: relative;  
    text-decoration: none; 
    text-transform: uppercase;
    color: #000;
    margin-block: 20px 40px;
}
#seal-of-cotton-content .seal-of-cotton-img-placeholder ~ .cta-container a:after {
    content: '';
    background-image: url('../images/circle-arrow-black.svg');
    background-size: 25px;
    height: 25px;
    width: 25px;
    position: absolute;
    right: 0;
    transition: background-image 0.25s ease-out;
}
#seal-of-cotton-content .seal-of-cotton-img-placeholder ~ .cta-container a.no-link:after {
    content: none;
}
#seal-of-cotton-content .seal-of-cotton-img-placeholder ~ .cta-container a:hover:after {
    background-image: url('../images/arrow-gold-circle-right.svg');
}

#seal-accolades .accolade-row {
    margin-bottom: 50px;
}
#seal-accolades .accolade-row .row1 {
    display: flex;
    gap: 20px;
}
#seal-accolades .accolade-row .row1 > .golden-quotes {
    width: 75px;
}
#seal-accolades .accolade-row .row2 {
    margin-left: 95px;
}
#seal-accolades .accolade-row .row1 p, 
#seal-accolades .accolade-row .row1 span {
    font-family: var(--font-landing);
    font-size: 16px;
}
#seal-accolades .accolade-row .row2 span {
    /* margin-left: 95px; */
}
#seal-accolades .accolade-row .row2 span.name {
    font-weight: 600;
    display: block;
    /* margin-top: -25px; */
}
.site-footer .footer__left .footer__info #footer__newsletter #btn__newsletter:hover {
    color: var(--gold);
    border-color: var(--gold);
}
.site-footer .footer__left .footer__info .footer__social .footer__social__item.facebook a {
    background-image: url(../images/fb-gold.svg);
}
.site-footer .footer__left .footer__info .footer__social .footer__social__item.twitter a {
    background-image: url(../images/tw-gold.svg);
}
.site-footer .footer__left .footer__info .footer__social .footer__social__item.linkedin a {
    background-image: url(../images/li-gold.svg);
}



/* UTILITIES */
h1, h2, h3 {
    font-family: var(--font-landing);
    font-weight: 600;
    text-transform: uppercase;
}
.grid {    
    display: grid;
    grid-template-columns: 2fr 1fr;
}
.grid .two-thirds {
    grid-column: 1;
}
.grid .one-third {
    grid-column: 2;
}
.scroll_top_container {
    bottom: 20%;
    z-index: 100;
}
.btn__arrow__scroll__top:hover {
    background-color: var(--gold);
    outline-color: var(--gold);
}


/* @media (min-width: 1600px) {
    #seal-of-cotton-content:after { background-position-y: calc(100vh * 3.2); }
}
@media (min-width: 2000px) {
    #seal-of-cotton-content:after { background-position-y: calc(100vh * 3); }
} */

@media (max-width: 1400px) {
    #sub-landing-nav .row.row2 .one-third img.hero-logo-banner-desktop {
        right: 40px;
    }
}
@media (max-width: 1023px) {
    .nav-menu.active {
        background-color: #F3F3F3;
    }
    .nav-menu.active::before {
        background: url('../images/Polygon.png');
        background-repeat: no-repeat;
    }
    #primary-menu .sub-menu {
        background-color: #d0d3da
    }
}
@media (max-width: 900px) {
    #seal-of-cotton-content article {
        max-width: 100%;
    }
    #seal-of-cotton-content .two-thirds {
        max-width: 100vw;
    }
    /* #seal-of-cotton-content .testimonial-slider .section__wrapper .slider-container .landing-page-swiper,
    #seal-of-cotton-content .testimonial-slider .section__wrapper .slider-container .landing-page-swiper .swiper-wrapper,
    #seal-of-cotton-content .testimonial-slider .section__wrapper .slider-container .landing-page-swiper .swiper-slide {
        width: calc(100% - 80px) !important;
    }     */
    #seal-of-cotton-content .testimonial-slider .swiper-slide .post__left,
    #seal-of-cotton-content .testimonial-slider .swiper-slide .post__right {
        width: 50%;
    }

    #sub-landing-nav .row.row2 .two-thirds > div.sticky-nav-50-item img ~ span {
        margin-left: 0;
    }

    #hero {
        padding-top: 160px;
    }
    #hero .hero-cta-content,
    #hero #fiftyin50,
    #milestone-moments > .wrap,
    #milestone-timeline .timeline-entry,
    #seal-of-cotton-content article {
        padding-right: 40px;
    }
    #hero #fiftyin50 .video-container #vimeo-video {
        height: auto;
        aspect-ratio: 16 / 9;
    }
    .testimonial-slider > .section__wrapper {
        padding: 0;
    }

    #sub-landing-nav .row.row2 .two-thirds {
        margin-right: 15px;
    }
    #sub-landing-nav .row.row2 .two-thirds > div a > span {
        font-size: 17px;        
    }

    #sub-landing-nav .row.row2 .one-third img.hero-logo-banner-desktop {
        display: none;
    }
    #sub-landing-nav .row.row2 .one-third img.hero-logo-banner-mobile {
        display: block;
        max-width: 380px;
        margin-inline: auto;
    }
    #sub-landing-nav .row.row2 .one-third {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
    }

    .swiper-slide .post__right .post__content {
        padding-block: 10px;
    }
    #seal-of-cotton-content .testimonial-slider .swiper-slide .post__right .post__content .quote {
        font-size: 18px;
        margin-bottom: 0;
    }


    .grid {    
        grid-template-columns: 1fr;
        grid-template-rows: 1fr;
    }
    .grid .two-thirds {
        grid-column: 1;
    }
    .grid .one-third {
        grid-column: 1;
    } 
}
@media (max-width: 767px) {
    #sub-landing-nav .row.row2 > .grid,
    #hero > .grid,
    #milestone-moments > .wrap.grid,
    #milestone-timeline > .grid,
    #seal-of-cotton > .grid,
    #seal-of-cotton-content > .grid {
        grid-template-rows: 1fr;
    }
    #sub-landing-nav .row.row2 .two-thirds > div a {
        grid-template-columns: 1fr;
    }
    #sub-landing-nav .row.row2 .two-thirds > div a > img {
        width: 30px;
        height: 30px;
    }
    #sub-landing-nav .row.row2 .two-thirds > div a > span {
        font-size: 12px;
        text-align: center;
        max-width: 100px;
        margin-top: 5px;
    } 
    
    #sub-landing-nav .row.row2 .one-third img.hero-logo-banner-mobile {
        max-width: 250px;
    }
    
    #hero {
        padding-top: 130px;
        background-position: -300px 0px;
    }
    #hero .hero-cta-content,
    #hero #fiftyin50,
    #milestone-moments > .wrap,
    #seal-of-cotton .wrap.grid {
        padding-right: 40px;
    }
    #seal-of-cotton-content:after {
        background-size: 400%;
    }
    #hero #fiftyin50 .video-placeholder {
        width: auto;
        height: 175px;
        aspect-ratio: 16/9;
    }
    #hero #fiftyin50 .video-container {
        background-color: #000;
    }
    /* #hero #fiftyin50 .video-container img {
        width: 55px;
    } */
    /* #hero #fiftyin50 .video-container #vimeo-video {
        height: auto;
    } */
    #seal-of-cotton-content article {        
        max-width: 100%;
        padding-right: 40px;
    }
    #seal-of-cotton-content article.testimonial-article {
        padding-right: 20px;
        padding-left: 20px;
    }
    /* #seal-of-cotton-content .testimonial-slider .swiper-wrapper,
    #seal-of-cotton-content .testimonial-slider .swiper-slide {
        width: calc(100vw - 80px) !important;
    } */
    #seal-of-cotton-content .seal-of-cotton-img-placeholder {
        grid-template-columns: 1fr;
    }
    #seal-of-cotton-content .seal-of-cotton-img-placeholder img {
        width: 100%;
    }

    #milestone-timeline .timeline-entry {
        margin-bottom: 40px;
    }
    #milestone-timeline .timeline-entry .icon > img {
        position: relative;
        width: 50px;
        z-index: 1;
    }
    #milestone-timeline .timeline-entry .icon:after {
        height: 112%;
    }
    #milestone-timeline .timeline-entry:first-of-type .icon:before,
    #milestone-timeline .timeline-entry .icon:after {
        left: calc(48px / 2);
    }    
    #milestone-timeline .timeline-entry .content {
        padding-bottom: 0;
    }
    #milestone-timeline .timeline-entry .content .subtitle {
        font-size: 16px;
    }
    #milestone-timeline .timeline-entry .content p:not(.subtitle) {
        font-size: 12px;
    }
    #milestone-timeline .timeline-entry .cta-arrow {
        grid-column: 3;
    }
    #milestone-timeline .timeline-entry .cta-arrow > a {
        width: 25px;
        margin-top: 10px;
    }    
    #milestone-timeline .btn__view__more__black {
        padding: 4px 15px;
    }

    #seal-of-cotton .tab-cover {
        padding-inline: 30px;
    }

    #seal-of-cotton-content .testimonial-slider .section__wrapper .slider-container .landing-page-swiper.reversed .post__left {
        order: unset;
    }

    #seal-accolades .accolade-row .row1 {
        flex-direction: column;
    }
    #seal-accolades .accolade-row .row1 > .golden-quotes {
        width: 35px;
    }
    #seal-accolades .accolade-row .row2,
    #seal-accolades .accolade-row .row2 span {
        margin-left: 0;
    }
    #seal-accolades .accolade-row .row2 span.name {
        margin-top: 0;
    }   
    
    #seal-of-cotton-content .testimonial-slider .swiper-slide .post__left, 
    #seal-of-cotton-content .testimonial-slider .swiper-slide .post__right {
        width: 100%;
    }
}