.gsc-legacy-divider-flat {
    clear: both;
    display: block;
    height: 1px;
    margin: 1.25rem 0;
    overflow: hidden;
    width: 100%;
}

.gsc-legacy-column img,
.gsc-legacy-column video,
.gsc-legacy-column iframe {
    height: auto;
    max-width: 100%;
}

@media (max-width: 768px) {
    .gsc-legacy-column,
    .gsc-legacy-column-last,
    .gsc-legacy-one-third,
    .gsc-legacy-two-thirds,
    .gsc-legacy-one-half,
    .gsc-legacy-one-quarter,
    .gsc-legacy-three-quarters {
        float: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
    }

    .gsc-legacy-column {
        margin-bottom: 1.5rem;
    }
}

/* Dynamic News and Press list used in the News page legacy one-third column. */
.gsc-news-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.gsc-news-list li {
    margin: 0 0 0.7rem;
    padding: 0;
}

.gsc-news-list a {
    line-height: 1.35;
}

/* Our Formulations three-image hero slider. */
.gsc-formulations-slider {
    aspect-ratio: 980 / 375;
    margin: 0 auto 1.5rem;
    max-width: 980px;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.gsc-formulations-slides {
    height: 100%;
    position: relative;
    width: 100%;
}

.gsc-formulations-slide {
    height: 100%;
    inset: 0;
    object-fit: contain;
    opacity: 0;
    position: absolute;
    transition: opacity 0.55s ease;
    width: 100%;
}

.gsc-formulations-slide.is-active {
    opacity: 1;
    z-index: 1;
}

.gsc-slider-prev,
.gsc-slider-next {
    background: transparent;
    border: 0;
    color: #5f6870;
    cursor: pointer;
    font-size: 3rem;
    line-height: 1;
    padding: 0.25rem 0.5rem;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
}

.gsc-slider-prev { left: 0; }
.gsc-slider-next { right: 0; }

.gsc-slider-prev:hover,
.gsc-slider-next:hover,
.gsc-slider-prev:focus-visible,
.gsc-slider-next:focus-visible {
    color: #0b4c9c;
}

@media (prefers-reduced-motion: reduce) {
    .gsc-formulations-slide {
        transition: none;
    }
}

/* Process slider crops taller source photos to the same 980:375 frame as production. */
.gsc-process-slider .gsc-formulations-slide { object-fit: cover; }

/* Dynamic Case Study list. */
.gsc-case-studies-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.gsc-case-studies-list li { margin: 0 0 0.7rem; padding: 0; }
.gsc-case-studies-list a { line-height: 1.35; }

/* Production-style footer links. */
.gsc-footer-links {
    margin-left: auto;
    text-align: right;
}
.gsc-footer-links a { text-decoration: none; }
@media (max-width: 768px) {
    .gsc-footer-links {
        margin-left: 0;
        margin-top: 0.5rem;
        text-align: center;
        width: 100%;
    }
}

/* Footer: copyright left and site links right on one desktop row. */
.inside-site-info {
    align-items: center;
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.copyright-bar {
    margin-right: 1rem;
    text-align: left;
}

.gsc-footer-links {
    margin-left: auto;
    margin-top: 0;
    text-align: right;
    width: auto;
}

@media (max-width: 768px) {
    .inside-site-info {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    .copyright-bar {
        margin-right: 0;
        text-align: center;
    }

    .gsc-footer-links {
        margin-left: 0;
        margin-top: 0.5rem;
        text-align: center;
        width: 100%;
    }
}

/* v1.7.2: stronger GeneratePress footer alignment selectors. */
@media (min-width: 769px) {
    .site-info .inside-site-info {
        align-items: center;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
    }

    .site-info .copyright-bar {
        flex: 0 1 auto;
        margin: 0;
        text-align: left;
        width: auto;
    }

    .site-info .gsc-footer-links {
        flex: 0 1 auto;
        margin: 0 0 0 auto;
        text-align: right;
        width: auto;
    }
}

@media (max-width: 768px) {
    .site-info .inside-site-info {
        align-items: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    .site-info .copyright-bar,
    .site-info .gsc-footer-links {
        margin: 0;
        text-align: center;
        width: 100%;
    }

    .site-info .gsc-footer-links {
        margin-top: 0.5rem;
    }
}

/* v1.7.3: footer content uses one explicit row so alignment is deterministic. */
.site-info .copyright-bar {
    width: 100%;
}

.site-info .gsc-footer-row {
    align-items: center;
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.site-info .gsc-footer-copyright {
    margin: 0;
    text-align: left;
}

.site-info .gsc-footer-links {
    margin: 0 0 0 auto;
    text-align: right;
    width: auto;
}

@media (max-width: 768px) {
    .site-info .gsc-footer-row {
        flex-direction: column;
        justify-content: center;
    }

    .site-info .gsc-footer-copyright,
    .site-info .gsc-footer-links {
        margin-left: 0;
        text-align: center;
        width: 100%;
    }

    .site-info .gsc-footer-links {
        margin-top: 0.5rem;
    }
}

/* Dynamic Site Map. */
.gsc-site-map ul {
    margin-bottom: 1.25rem;
}
.gsc-site-map-pages,
.gsc-site-map-categories,
.gsc-site-map-posts {
    padding-left: 1.4rem;
}
.gsc-site-map-pages ul {
    margin-bottom: 0;
}
.gsc-site-map li {
    margin-bottom: 0.3rem;
}
.gsc-site-map h2 {
    margin-top: 1.25rem;
}
.gsc-site-map h3 {
    margin-top: 1rem;
}
