/* ========================================================================== */
/*  MIST DESIGN                                                               */
/* ========================================================================== */

:root {
    --archive-hero-image: url("http://wordpress-dev-environment.local/cdg/wp-content/uploads/sites/7/2026/04/pexels-elevate-1267348.jpg");
}

/* ========================================================================== */
/*  HEADER                                                                    */
/* ========================================================================== */

header{
    padding-top: 50px;
    padding-bottom: 10px;
}

header .site-logo{
    max-width: 280px;
}

@media screen and (min-width: 782px) and (max-width: 1023px){
    header .site-logo{
        max-width: 220px;
    }
}

@media screen and (max-width: 781px){
    header .site-logo{
        max-width: 160px;
    }
}

/* ========================================================================== */
/*  FOOTER                                                                    */
/* ========================================================================== */

footer{
    padding: 50px 10px;
}

footer .site-logo{
    max-width: 250px;
}

@media screen and (max-width: 781px){
    #bottombar .wp-block-columns,
    #bottombar .wp-block-group.is-layout-flex,
    #bottombar nav.wp-block-navigation,
    #bottombar .wp-block-navigation__responsive-container-content,
    #bottombar .wp-block-navigation__container{
        justify-content: center !important;
    }
}

.autosweet-website-credits__link{
    color: var(--wp--preset--color--brand-text);
}

.autosweet-website-credits__link:hover{
    color: var(--wp--preset--color--brand-primary);
}


/* ========================================================================== */
/*  COMPONENTS                                                                */
/* ========================================================================== */

/* Buttons */

.hero-section .wp-block-button:not(:first-child) .wp-block-button__link{
    background-color: white;
    color: var(--wp--preset--color--brand-accent);
    --btn-bg-hover: color-mix(in oklab, white 95%, black);
}

.hero-section .wp-block-button:not(:first-child) .wp-block-button__link:hover{
    background-color: var(--btn-bg-hover);
}

.hero-section .wp-block-button.is-style-outline--2 .wp-block-button__link{
    color: white;
    border-color: white;
}


/* Navigation */

nav.wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content:hover{
    color: var(--wp--preset--color--brand-primary);
}

nav.wp-block-navigation .wp-block-navigation-item__content {
  position: relative;
  display: inline-block;
  text-decoration: none;
}

nav.wp-block-navigation .wp-block-navigation-item__content::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 6px;
  height: 1px;
  width: 100%;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.wp-block-navigation__responsive-container-content{
    row-gap: 10px;
}

@media screen and (min-width: 782px) and (max-width: 1023px){
    header .wp-block-navigation__responsive-container-content > .wp-block-navigation__container{
        display: grid;
        grid-template-columns: repeat(4, max-content);
        justify-content: space-between;
        justify-items: end;
        row-gap: 10px;
        width: 100%;
    }

    header .wp-block-navigation__responsive-container-content > .wp-block-navigation__container > .wp-block-navigation-item{
        text-align: right;
        white-space: nowrap;
    }
}

@media screen and (min-width: 1024px){
    header .wp-block-navigation__responsive-container-content > .wp-block-navigation__container{
        display: grid;
        grid-template-columns: repeat(6, max-content);
        justify-content: space-between;
        justify-items: end;
        row-gap: 10px;
        width: 100%;
    }

    header .wp-block-navigation__responsive-container-content > .wp-block-navigation__container > .wp-block-navigation-item{
        text-align: right;
        white-space: nowrap;
    }

    header .wp-block-navigation__responsive-container-content > .wp-block-navigation__container > .wp-block-navigation-item:nth-child(7){
        grid-column: 2;
    }
}

nav.wp-block-navigation .wp-block-navigation-item__content:hover::after,
nav.wp-block-navigation .wp-block-navigation-item__content:focus-visible::after {
  transform: scaleX(1);
}

.wp-block-navigation .has-child .wp-block-navigation__submenu-container .wp-block-navigation-item .wp-block-navigation-item__content{
    font-size: 14px;
    padding: 5px 12px;
}


/* Section Title */

.section-title__subtitle{
    color: var(--wp--preset--color--brand-primary);
    font-size: 28px;
}


/* ========================================================================== */
/*  SECTIONS                                                                  */
/* ========================================================================== */

/* Hero Section */

.hero-section{
    color: var(--wp--preset--color--brand-primary);
    padding-bottom: 75px;
    margin-top: 0;
    background-size: cover;
}

.autosweet-data-items.autosweet-data-items--grid .autosweet-data-items__featured {
    overflow: hidden;
    margin-bottom: 30px;
    border-radius: var(--wp--custom--radius--image);
}

.autosweet-data-items.autosweet-data-items--grid .autosweet-data-items__featured img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-height: 150px;
}

.hero-section .wp-block-cover__inner-container {
    align-self: stretch;
    min-height: inherit;
}

.hero-section .hero-content-shell,
.hero-section .hero-content-columns,
.hero-section .hero-copy-column,
.hero-section .hero-copy-stack {
    min-height: inherit;
}

.hero-section .hero-copy-column {
    display: flex;
}

.hero-section .hero-copy-stack {
    display: grid;
    grid-template-rows: 1fr auto 1fr auto;
    width: 100%;
}

.hero-section .hero-copy-intro {
    grid-row: 2;
}

.hero-section .hero-copy-actions {
    align-self: end;
    grid-row: 4;
}

.hero-section p{
    font-size: clamp(1.5em, 3vw, 2em);
    line-height: 1em;
}

.hero-section h1{
    line-height: 1em;
}


/* Call to Action Section */

.call-to-action-section{
    background-color: var(--wp--preset--color--brand-primary);
    padding: 75px 0;
}

.call-to-action-section,
.call-to-action-section .wp-block-heading,
.call-to-action-section .autosweet-form :is(.gfield_label, .gform-field-label, legend.gfield_label),
.call-to-action-section .autosweet-form .gfield_required{
    color: white;
}


/* Value Props Section */

#value-props-section{
    background-color: var(--wp--preset--color--off-white);
}


/* Associations Section */

#associations-section{
    background-color: var(--wp--preset--color--brand-primary);
    background-image: url('http://wordpress-dev-environment.local/cdg/wp-content/uploads/sites/7/2026/04/trusted-and-certified-bkg.png');
    text-align: center;
    border-top: 8px solid white;
    border-bottom: 8px solid white;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

#associations-section,
#associations-section .wp-block-heading,
#associations-section .autosweet-data-items__title{
    color: white;
}

#associations-section .autosweet-data-items.autosweet-data-items--grid .autosweet-data-items__inner .autosweet-data-items__item{
    border: none;
}

#associations-section .autosweet-data-items--grid .autosweet-data-items__inner{
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 220px));
    justify-content: center;
    max-width: 1196px;
    margin-inline: auto;
}

#associations-section .autosweet-data-items__featured {
    aspect-ratio: 1 / 1;
    width: clamp(200px, 18vw, 220px);
    border-radius: 50%;
    overflow: hidden;
    margin-inline: auto;
    margin-bottom: 16px;
    background-color: white;
    padding: 10%;
    box-sizing: border-box;
    box-shadow: 0 5px 10px rgba(0,0,0,0.2); 
}

#associations-section .autosweet-data-items__featured-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

/* Services Section */

#services-section .autosweet-data-items__title {
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 10px;
margin-top: 0;
margin-bottom: 20px;
}

#services-section .autosweet-data-items__title::before {
content: "";
display: block;
width: 52px;
height: 3px;
background-color: var(--wp--preset--color--brand-accent);
border-radius: 2px;
}

#services-section .autosweet-data-items.autosweet-data-items--grid .autosweet-data-items__inner .autosweet-data-items__item {
display: flex;
flex-direction: column;
height: 100%;
}

#services-section .autosweet-data-items.autosweet-data-items--grid .autosweet-data-items__inner .autosweet-data-items__item .autosweet-data-items__title {
order: 1;
}

#services-section .autosweet-data-items.autosweet-data-items--grid .autosweet-data-items__inner .autosweet-data-items__item .autosweet-data-items__text {
order: 2;
}

#services-section .autosweet-data-items.autosweet-data-items--grid .autosweet-data-items__inner .autosweet-data-items__item .autosweet-data-items__featured {
order: 3;
margin-top: auto;
margin-bottom: 0;
padding: 30px 15px;
}

.service-relevant-domains .autosweet-data-items__list{
    gap: 5px;
}

/* Entry Content */
.entry-content{
    padding-top: 50px;
    padding-bottom: 75px;
}


/* ========================================================================== */
/*  BLOCKS                                                                    */
/* ========================================================================== */

/* Data Listing */

.autosweet-data-items .autosweet-data-items__icon{
    color: var(--wp--preset--color--brand-accent);
}

.autosweet-data-items .autosweet-data-items__icon svg{
    width: 40px;
    height: 40px;
}

.autosweet-data-items.autosweet-data-items--grid .autosweet-data-items__inner .autosweet-data-items__item{
    border: 1px solid rgba(0,0,0,0.33);
    align-items: flex-start;
    padding: 20px;
}

.autosweet-data-items.autosweet-data-items--grid .autosweet-data-items__inner .autosweet-data-items__item .autosweet-data-items__title{
    font-size: 28px;
}

.autosweet-data-items.autosweet-data-items--grid .autosweet-data-items__inner .autosweet-data-items__item .autosweet-data-items__title a{
    color: var(--wp--preset--color--brand-primary);
}

.autosweet-data-items.autosweet-data-items--grid .autosweet-data-items__inner .autosweet-data-items__item .autosweet-data-items__title a:hover{
    color: var(--wp--preset--color--brand-accent);
}

.autosweet-data-items.autosweet-data-items--list .autosweet-data-items__list-item .autosweet-data-items__list-text{
    color: var(--wp--preset--color--brand-primary);
    font-size: 30px;
    font-weight: bold;
}

.autosweet-data-items__carousel-slide.has-featured-bg{
    height: 600px;
    align-items: flex-end;
    text-align: right;
}

.autosweet-data-items__carousel-slide .autosweet-data-items__title,
.autosweet-data-items__carousel-slide .autosweet-data-items__text {
    font-size: 50px;
    text-align: right;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.autosweet-data-items--carousel {
    position: relative;
}

.autosweet-data-items__carousel-ui {
    position: relative;
    display: block;
}

.autosweet-data-items__carousel-track {
    overflow-x: hidden;
    padding-bottom: 0;
    scrollbar-width: none;
}

.autosweet-data-items__carousel-track::-webkit-scrollbar {
    display: none;
}

.autosweet-data-items__carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    border: none;
    color: white;
}

.autosweet-data-items__carousel-button-icon {
    width: 32px;
    height: 32px;
}

.autosweet-data-items__carousel-button--prev {
    left: 12px;
}

.autosweet-data-items__carousel-button--next {
    right: 12px;
}

.autosweet-data-items__carousel-dots {
    position: absolute;
    right: 16px;
    left: auto;
    bottom: 16px;
    transform: none;
    z-index: 3;
    margin-top: 0;
    justify-content: flex-end;
}

.autosweet-data-items__carousel-dot {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.autosweet-data-items__carousel-dot.is-active {
    background: #fff;
}

.autosweet-data-items a.autosweet-data-items__list-text:hover{
    color: var(--wp--preset--color--brand-accent);
}




/* ========================================================================== */
/*  ARCHIVE CARD                                                              */
/* ========================================================================== */

.autosweet-archive-card__media {
    overflow: hidden;
}

.autosweet-archive-card__media img {
    border-radius: var(--wp--custom--radius--image);
}

/* ========================================================================== */
/*  ARCHIVES                                                                  */
/* ========================================================================== */

.archive-template .archive-content{
    padding-top: 50px;
    padding-bottom: 75px;
}

.archive-template .archive-hero.wp-block-cover {
    background-image: var(--archive-hero-image);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.archive-template .autosweet-archive-card__title{
    margin-top: 5px;
    font-size: 24px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}

.archive-template .autosweet-archive-card__title,
.archive-template .autosweet-archive-card__title a{
    color: var(--wp--preset--color--brand-primary);
}

.archive-template .autosweet-archive-card__title a{
    display: -webkit-box;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}

.archive-template .autosweet-archive-card__title a:hover{
    color: var(--wp--preset--color--brand-primary--hover);
}

.archive-template .autosweet-archive-card__excerpt--preview {
    margin-bottom: 25px;
}

.archive-template .wp-block-query .is-layout-grid{
    row-gap: 60px;
}

.archive-template--services .services-by-domain-archive {
    gap: 40px;
}

.archive-template--services .services-by-domain-archive__domain-group {
    gap: 20px;
}

.archive-template--services .services-by-domain-archive__domain-header {
    border-bottom: 1px solid var(--wp--preset--color--brand-primary);
    padding-bottom: 12px;
    margin-bottom: 50px;
}

.archive-template--services .services-by-domain-archive__domain-title,
.archive-template--services .services-by-domain-archive__domain-title a {
    color: var(--wp--preset--color--brand-primary);
}

.archive-template--services .services-by-domain-archive__domain-title a:hover {
    color: var(--wp--preset--color--brand-primary--hover);
}

.archive-template--services .services-by-domain-archive__cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 30px;
    row-gap: 30px;
}

@media (max-width: 1024px) {
    .archive-template--services .services-by-domain-archive__cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .archive-template--services .services-by-domain-archive__cards-grid {
        grid-template-columns: 1fr;
    }
}

.wp-block-query-pagination{
    margin-top: 75px;
}

.autosweet-data-items.autosweet-data-items--grid .autosweet-data-items__inner{
    text-align: left;
}


/* ========================================================================== */
/*  SINGLE PAGE - SERVICES                                                    */
/* ========================================================================== */

.single-services .service-relevant-domains{
    background-color: var(--wp--preset--color--off-white);
    padding: 30px;
}

.single-services .service-features .autosweet-data-items .autosweet-data-items__list{
    list-style: disc;
    padding: revert;
    gap: 0;
}

.single-services .service-features .autosweet-data-items .autosweet-data-items__list .autosweet-data-items__list-item{
    display: list-item;
    font-size: 18px;
    font-weight: normal;
    color: var(--wp--preset--color--brand-text);
}

.single-services .service-features .autosweet-data-items .autosweet-data-items__list .autosweet-data-items__list-item::marker{
    color: var(--wp--preset--color--brand-primary);
}

.service-disclaimer{
    font-size: 12px;
}

.service-disclaimer p{
    background-color: var(--wp--preset--color--off-white);
    padding: 10px;
}

.service-page-content{
    padding-bottom: 75px;
}

.service-relevant-domains .autosweet-data-items.autosweet-data-items--list .autosweet-data-items__list-item{
    font-size: 20px;
}

.service-relevant-domains .autosweet-data-items .autosweet-data-items__icon svg{
    width: 20px;
    height: 20px;
}

.service-relevant-domains .autosweet-data-items__icon{
    margin-bottom: 0;
}


/* ========================================================================== */
/*  ASSOCIATIONS                                                              */
/* ========================================================================== */

.autosweet-data-items.autosweet-data-items--grid.associations-listing .autosweet-data-items__inner .autosweet-data-items__featured img{
    object-fit: contain;
}



/* ========================================================================== */
/*  CALCULATORS                                                               */
/* ========================================================================== */

p.autosweet-calculator-suite__subtitle{
    font-size: inherit;
}


/* ========================================================================== */
/*  FEATURED BRANDS                                                           */
/* ========================================================================== */

.autosweet-data-items.autosweet-data-items--grid.associations-listing .autosweet-data-items__inner .autosweet-data-items__featured img{
    object-fit: contain;
}

#featured-brand-section{
    padding: 48px 30px;
}

#featured-brand-section .autosweet-data-items--carousel{
    --autosweet-carousel-gap: 48px;
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    padding: 0 24px;
}

#featured-brand-section .autosweet-data-items--carousel .autosweet-data-items__carousel-track{
    scrollbar-width: none;
}

#featured-brand-section .autosweet-data-items--carousel .autosweet-data-items__carousel-track::-webkit-scrollbar{
    display: none;
}

#featured-brand-section .autosweet-data-items--carousel .autosweet-data-items__carousel-slide{
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 96px;
}

#featured-brand-section .autosweet-data-items--carousel .autosweet-data-items__carousel-slide-link{
    display: flex;
    align-items: center;
    justify-content: center;
}

#featured-brand-section .autosweet-data-items--carousel .autosweet-data-items__image{
    margin: 0;
}

#featured-brand-section .autosweet-data-items--carousel .autosweet-data-items__image-img{
    width: auto;
    max-height: 66px;
    object-fit: contain;
}