/* ========================================================================== */
/*  SUMMIT    DESIGN                                                          */
/* ========================================================================== */

/* ========================================================================== */
/*  GENERAL                                                                   */
/* ========================================================================== */

h3 {
    font-size: 26px;
}

section .section-eyebrow {
    text-transform: uppercase;
    font-weight: bold;
}

.section-eyebrow {
    text-transform: uppercase;
    color: var(--wp--preset--color--brand-secondary);
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 0.1em;
}

.section-with-image-background{
    background: url('/jbhuston/wp-content/uploads/sites/2/2025/12/abstract-blurry-background.jpg');
    background-repeat: no-repeat;
    background-size: cover;
}

.section-with-image-background > section{
    background-color: rgba(255,255,255,0.5);
}

.gform_confirmation_wrapper{
    color: var(--wp--preset--color--brand-text);
}

/* ========================================================================== */
/*  HEADER & HERO                                                             */
/* ========================================================================== */

header .site-logo{
    max-width: 200px;
}

/* Top bar + main nav */

header #navbar {
    padding: 10px;
    margin-top: 0;
}

header #topbar {
    color: white;
    background: var(--wp--preset--color--brand-primary);
    padding: 10px;
    font-size: 15px;
}

@media (max-width: 768px) {
    header #topbar {
        display: none;
    }
}

header #topbar nav a {
    color: white;
    transition: 0.2s;
}

header #topbar nav a:hover {
    color: var(--wp--preset--color--brand-accent);
}

header #topbar .wp-block-button > a {
    background: white;
    color: var(--wp--preset--color--brand-primary);
    font-weight: 600;
    text-transform: uppercase;
    transition: 0.2s;
}

header #topbar .wp-block-button > a:hover {
    background: var(--wp--preset--color--brand-accent);
    color: white;
}

header .wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content {
    color: var(--wp--preset--color--black);
    font-weight: 400;
    transition: 0.2s;
}

header .wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content:hover {
    color: var(--wp--preset--color--brand-primary);
}

header nav .phone-number-nav-item a span {
    transition: inherit;
}

/* Hero cover */

header .wp-block-cover {
    margin-top: 0;
    min-height: 600px;
}

header .wp-block-cover .wp-block-heading {
    font-weight: bold;
}

.header-title-column > h2 {
    max-width: 550px;
}

header #topbar .autosweet-hours-badge a,
header #topbar .autosweet-phone-badge a {
    color: white;
}

header #topbar .autosweet-hours-badge a:hover,
header #topbar .autosweet-phone-badge a:hover {
    color: var(--wp--preset--color--brand-accent);
}

/* Hero section wrapper */

#hero-section{
    margin-top: 0;
}

.home #hero-section .wp-block-cover{
    padding: 150px 10px;
}

@media (max-width: 767px) {
    .home #hero-section .wp-block-cover {
        padding-top: 50px;
    }
}

#hero-section .wp-block-heading {
    color: white;
}

#hero-section .wp-block-button a{
    background-color: white;
    color: var(--wp--preset--color--brand-primary);
    --btn-bg-hover: color-mix(in oklab, white 88%, black);
}

#hero-section .wp-block-button a:hover{
    background-color: var(--btn-bg-hover);
}

/* Hero form card */

#hero-section .wp-block-cover .wp-block-cover__background{
    background-color: var(--wp--preset--color--brand-primary);
    opacity: 0.75;
}

#hero-section .hero-section-form .autosweet-request-service-title{
    color: var(--wp--preset--color--black);
}

.hero-section-form {
    color: var(--wp--preset--color--brand-text);
    background: var(--wp--preset--color--off-white);
    padding: 30px;
    padding-left: 30px !important;
    padding-right: 30px !important;
}

.hero-section-form .autosweet-request-service-title {
    font-size: 24px;
    font-weight: 700;
}

.hero-section-form .autosweet-request-service-title a:hover {
    color: var(--wp--preset--color--brand-accent);
}

.hero-section-form .gform_wrapper {
    padding: 0;
}

.hero-section-form .gform_wrapper .gform_fields {
    row-gap: 20px;
}

.hero-section-form #input_3_4 {
    min-block-size: 8rem;
}

.contact-page .subpage-header .wp-block-cover {
    min-height: 300px;
}

.hero-section-form .gform_wrapper .gfield_label {
    display: none;
}

.hero-section-form .gform_wrapper .gform-footer {
    display: block;
}

.hero-section-form .gform_wrapper .gform-footer input[type="submit"] {
    width: 100% !important;
}

.hero-section-form .gform_wrapper .gform-footer br {
    display: none;
}

/* ========================================================================== */
/*  FOOTER                                                                    */
/* ========================================================================== */

footer {
    padding-top: 50px;
    padding-bottom: 0;
    text-align: center;
    background-color: var(--wp--preset--color--off-white);
}

@media (min-width: 768px) {
    footer {
        text-align: left;
    }
}

footer a {
    color: var(--wp--preset--color--brand-text);
}

footer a:hover {
    color: var(--wp--preset--color--brand-accent);
}

footer .autosweet-hours > ul {
    list-style: none;
    padding-left: 0;
}

footer .wp-block-separator:not(.is-style-wide):not(.is-style-dots) {
    width: 50px;
    height: 5px;
    color: var(--wp--preset--color--brand-primary);
    background-color: var(--wp--preset--color--brand-primary);
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    footer .wp-block-separator:not(.is-style-wide):not(.is-style-dots) {
        margin-left: 0;
    }

    footer .footer-bottom-bar .wp-block-columns .wp-block-column:last-child {
        text-align: right;
    }
}

footer .wp-block-heading {
    font-size: 20px;
    font-weight: 400;
}

.autosweet-credentials-list > ul {
    list-style: none;
    padding-left: 0;
}

#autosweet-website-credit:hover {
    color: var(--wp--preset--color--brand-accent);
}

@media (max-width: 767px) {
    footer .wp-block-navigation,
    footer .wp-block-navigation .wp-block-navigation__container {
        align-items: center;
    }
}

.footer-columns {
    align-items: stretch;
}

.footer-contact-col {
    display: flex;
    flex-direction: column;
}

.footer-contact-col .autosweet-website-credit {
    margin-top: auto;
}

footer .site-logo{
    width: 100%;
    height: auto;
    max-width: 250px;
}

footer #bottombar,
footer #bottombar a{
    color: white;
}

footer #bottombar a:hover{
    color: var(--wp--preset--color--brand-primary);
}

footer #bottombar{
    background-color: var(--wp--preset--color--black);
    padding: 20px 10px;
}

footer .autosweet-location-contacts .as-contact__item{
    margin-bottom: 0;
}


/* ========================================================================== */
/*  AUTOSWEET BLOCKS                                                          */
/* ========================================================================== */

.autosweet-sd-grid .wp-block-buttons{
    margin-top: 50px;
}

.gform-footer br{
    display: none;
}

.call-to-action-section__form > p{
    display: none;
}


/* ========================================================================== */
/*  GRAVITY FORMS                                                             */
/* ========================================================================== */

.gform-body{
    --gf-color-primary: var(--wp--preset--color--brand-primary);
    --gf-form-gap-y: 20px;
    --gf-ctrl-border-color: rgba(0,0,0,0.2);
    --gf-ctrl-shadow: none;
}



/* ========================================================================== */
/*  CONTENT SECTION                                                           */
/* ========================================================================== */

.content-section__columns {
    display: flex;
}

.content-section__columns > .wp-block-column {
    display: flex;
    flex-direction: column;
}

.content-section__media {
    display: flex;
}

.content-section__media > .wp-block-image {
    flex: 1 1 auto;
    display: flex;
}

.content-section__media > .wp-block-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* ========================================================================== */
/*  DOMAINS SECTION                                                           */
/* ========================================================================== */

#domains-section {
    margin: 0 auto;
    width: 100%;
    padding-top: 0;
    padding-bottom: 0;
}

#domains-section .wp-block-heading {
    text-align: center;
}

#domains-section .wp-block-autosweet-core-service-domains-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    margin-top: 40px;
}

#domains-section .autosweet-sd-thumb img {
    height: 550px;
}

#domains-section .autosweet-sd-grid{
    margin-top: 0;
}

.autosweet-sd-card {
  position: relative;
  overflow: hidden;
}

.autosweet-sd-card.has-bg {
  background-image: var(--autosweet-sd-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.autosweet-sd-overlay {
  position: absolute;
  inset: 0;
  background: var(--autosweet-sd-overlay-color, #0b5fa5);
  opacity: var(--autosweet-sd-overlay-opacity, 0.75);
  pointer-events: none;
  z-index: 0;
}

.autosweet-sd-card__content,
.autosweet-sd-thumb {
  position: relative;
  z-index: 1;
}

.autosweet-sd-card.has-bg .autosweet-sd-thumb {
  display: none;
}

#domains-section .autosweet-sd-card .autosweet-sd-title {
    font-size: 28px;
}

#domains-section .autosweet-sd-card .autosweet-sd-title a {
    color: white;
}

#domains-section .autosweet-sd-card .autosweet-sd-title a:hover {
    color: var(--wp--preset--color--brand-accent);
}

#domains-section .wp-block-autosweet-core-service-domains-grid .autosweet-sd-card {
    color: white;
    background-color: var(--wp--preset--color--black);
    text-align: center;
    padding: 40px;
}

#domains-section .wp-block-autosweet-core-service-domains-grid .autosweet-sd-card .autosweet-sd-overlay {
    background-color: var(--wp--preset--color--black);
}

#domains-section .wp-block-autosweet-core-service-domains-grid .autosweet-sd-card:nth-child(even) .autosweet-sd-overlay {
    background-color: var(--wp--preset--color--brand-primary);
}

#domains-section .wp-block-autosweet-core-service-domains-grid .autosweet-sd-card:nth-child(even) .wp-block-button__link{
    background-color: white;
    color: var(--wp--preset--color--brand-primary);
    --btn-bg-hover: color-mix(in oklab, white 88%, black);
}

#domains-section .wp-block-autosweet-core-service-domains-grid .autosweet-sd-card:nth-child(even) .wp-block-button__link:hover{
    background-color: var(--btn-bg-hover);
}


/* ========================================================================== */
/*  SERVICES SECTION                                                          */
/* ========================================================================== */

#services-section {
    padding: 0;
    background: var(--wp--preset--color--off-white);
}

#services-section .wp-block-cover {
    padding: 100px 20px;
}

#services-section .value-props-top-section {
    margin-bottom: 60px;
}

#services-section .section-eyebrow {
    color: var(--wp--preset--color--brand-text);
}

#services-section .autosweet-vpa-items__list {
    font-size: 16px;
    list-style: none;
    margin: 0;
    padding: 0;
    columns: 2;
}

#services-section .autosweet-vpa-items--grid .autosweet-vpa-items__inner {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
}

#services-section .autosweet-vpa-items__list-item {
    position: relative;
    padding-left: 1.75rem;
    font-weight: 600;
    margin-bottom: 10px;
}

#services-section .autosweet-vpa-items__list-item::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0.15em;
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    color: white;
    background: var(--wp--preset--color--brand-primary);
}

#services-section .autosweet-vpa-items__icon{
    color: var(--wp--preset--color--brand-primary);
}

#services-section .autosweet-vpa-items__icon svg{
    height: 50px;
    width: 50px;
}

#services-section .autosweet-vpa-items__title{
    color: var(--wp--preset--color--black);
}

#services-section .autosweet-vpa-items__text{
    color: var(--wp--preset--color--brand-text);
}

/* ========================================================================== */
/*  SERVICE AREA SECTION                                                      */
/* ========================================================================== */

#service-area-section .service-area-content-column {
    padding: 0 75px;
}

#service-area-section .wp-block-heading {
    font-size: 32px;
}

#service-area-section .wp-block-heading,
#service-area-section p {
    max-width: 550px;
}

#service-area-section .autosweet-service-areas ul {
    columns: 2;
}

@media (min-width: 1024px) {
    #service-area-section .autosweet-service-areas ul {
        columns: 4;
    }
}

#service-area-section .autosweet-service-areas ul li {
    margin-bottom: 15px;
}

#service-area-section .autosweet-service-areas ul li .autosweet-service-areas__text {
    font-size: 16px;
    font-weight: 600;
}

#service-area-section .autosweet-service-areas ul li .autosweet-marker {
    color: var(--wp--preset--color--brand-primary);
}

#service-area-section .service-area-content-column .wp-block-heading {
    text-transform: uppercase;
}

/* ========================================================================== */
/*  ABOUT SECTION                                                             */
/* ========================================================================== */

#about-section .wp-block-image img {
    width: 100%;
    height: 550px;
    object-fit: cover;
}

/* ========================================================================== */
/*  FEATURED BRAND SECTION                                                    */
/* ========================================================================== */

.autosweet-featured-brand {
    color: white;
    background-color: var(--wp--preset--color--brand-primary);
    padding: 25px;
    margin-top: 0;
    margin-bottom: 50px;
}

@media (min-width: 1024px) {
    .autosweet-featured-brand {
        margin-bottom: 0;
    }
}

.autosweet-featured-brand .autosweet-featured-brand__inner {
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

@media (min-width: 1024px) {
    .autosweet-featured-brand .autosweet-featured-brand__inner {
        flex-direction: row;
        gap: 50px;
    }
}

.autosweet-featured-brand p,
.autosweet-featured-brand h2 {
    text-align: center;
    font-weight: bold;
}

.autosweet-featured-brand h2 {
    font-size: 65px;
}

.autosweet-featured-brand img.autosweet-featured-brand__hero-image {
    width: 100%;
    margin-bottom: -150px;
}

#featured-brand-section .featured-brand__logo-link{
    max-width: 350px;
    display: block;
    margin: 0 auto;
}

/* ========================================================================== */
/*  VALUE PROPS SECTION                                                       */
/* ========================================================================== */

#value-props-section {
    padding: 0;
}

#value-props-section .wp-block-cover {
    color: var(--wp--preset--color--brand-text);
    padding: 100px 20px;
}

#value-props-section .value-props-top-section {
    margin-bottom: 60px;
}

#value-props-section .section-eyebrow {
    color: var(--wp--preset--color--brand-text);
}

#value-props-section .autosweet-vpa-items__list {
    font-size: 16px;
    list-style: none;
    margin: 0;
    padding: 0;
    columns: 1;
}

@media (min-width: 768px) {
    #value-props-section .autosweet-vpa-items__list {
        columns: 2;
    }
}

#value-props-section .autosweet-vpa-items__list-item {
    position: relative;
    padding-left: 1.75rem;
    font-weight: 600;
    margin-bottom: 10px;
}

#value-props-section .autosweet-vpa-items__list-item::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0.15em;
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    color: white;
    background: var(--wp--preset--color--brand-primary);
}

/* ========================================================================== */
/*  CALL TO ACTION SECTION                                                    */
/* ========================================================================== */

#call-to-action-section .call-to-action-section__card{
    background-color: var(--wp--preset--color--off-white);
    padding: 50px;
}

#call-to-action-section h2{
    font-size: 30px;
}

#call-to-action-section .autosweet-location-contacts .as-contact__value a{
    color: var(--wp--preset--color--brand-text);
}

#call-to-action-section .autosweet-location-contacts .as-contact__value a:hover{
    color: var(--wp--preset--color--brand-primary);
}


/* ========================================================================== */
/*  TESTIMONIALS SECTION                                                      */
/* ========================================================================== */

#testimonial-section{
    background-color: var(--wp--preset--color--brand-primary);
    padding: 100px 10px;
}

#testimonial-section .wp-block-separator{
    color: white;
    background-color: white;
}

#testimonial-section .wp-block-uagb-post-carousel {
    display: flex;
    text-align: center;
}

#testimonial-section .wp-block-query .wp-block-post{
    background-color: white;
    padding: 32px;
    border-radius: 5px;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.3);
}

#testimonial-section .wp-block-heading{
    color: white;
}

#testimonial-section .uagb-post__image img {
    margin: 0 auto;
}

#testimonial-section .wp-block-uagb-post-carousel .uagb-post__title {
    text-transform: uppercase;
    font-size: 20px;
}

#testimonial-section .wp-block-uagb-post-carousel .uagb-post__text p {
    font-size: 16px;
}

/* Disable links for this carousel only */
#testimonial-section .uagb-post__image a,
#testimonial-section .uagb-post__title a,
#testimonial-section .uagb-post__cta a {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
}

#testimonial-section .uagb-post__title a,
#testimonial-section .uagb-post__excerpt {
    color: var(--wp--preset--color--brand-text);
}

#testimonial-section .uagb-post__excerpt {
    font-size: 14px;
}

#testimonial-section button.slick-arrow {
    color: var(--wp--preset--color--brand-accent);
    background: none;
    border: none;
    cursor: pointer;
}

#testimonial-section button.slick-arrow svg {
    width: 50px;
    height: auto;
}

#testimonial-section button.slick-arrow svg path {
    fill: currentColor;
}

#testimonial-section .uagb-post__inner-wrap.slick-slide {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: auto;
}

#testimonial-section .uagb-block-jb-testimonial-carousel-1 .slick-track {
    display: flex;
    align-items: stretch;
}

/* ========================================================================== */
/*  SERVICE ACTIONS / TABS                                                    */
/* ========================================================================== */

#action-section h2.wp-block-heading {
    text-align: center;
}

.autosweet-service-actions-tabs .autosweet-service-action__headline {
    font-weight: bold;
}

.autosweet-service-actions-tabs .autosweet-tabs__nav {
    display: flex;
    border-bottom: 0;
    gap: 0;
}

.autosweet-service-actions-tabs .autosweet-tabs__nav .autosweet-tabs__tab {
    flex: 1;
    transition: 0.2s;
    color: var(--wp--preset--color--brand-secondary);
    font-weight: bold;
    border-bottom-color: transparent;
}

.autosweet-service-actions-tabs .autosweet-tabs__nav .autosweet-tabs__tab:hover,
.autosweet-service-actions-tabs .autosweet-tabs__nav .autosweet-tabs__tab.is-active {
    border-bottom-color: var(--wp--preset--color--brand-secondary);
}

.autosweet-service-actions-tabs .autosweet-service-action {
    display: flex;
    gap: 25px;
}

/* ========================================================================== */
/*  DIFFERENTIATORS SECTION                                                   */
/* ========================================================================== */

#differentiators-section{
    background-color: var(--wp--preset--color--off-white);
}

#differentiators-section .wp-block-heading {
    text-align: center;
}

#differentiators-section .autosweet-vpa-items .autosweet-vpa-items__inner {
    gap: 15px;
}

#differentiators-section .autosweet-vpa-items .autosweet-vpa-items__item {
    padding: 40px;
}

#differentiators-section .autosweet-vpa-items__icon {
    width: 64px;
    height: 64px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--wp--preset--color--brand-primary);
}

#differentiators-section .autosweet-vpa-items__icon-svg {
    width: 64px;
    height: 64px;
    display: block;
}

/* ========================================================================== */
/*  CONTACT PAGE                                                              */
/* ========================================================================== */

.contact-page-content .wp-block-columns{
    gap: 40px;
}

.contact-page-content .contact-page-content-image-column .wp-block-image,
.contact-page-content .contact-page-content-image-column .wp-block-image img{
    height: 100%;
}

.contact-page-content .contact-page-content-image-column .wp-block-image img{
    object-fit: cover;
}

/* ========================================================================== */
/*  CONTACT PAGE                                                              */
/* ========================================================================== */

.about-page #hero-section{
    text-align: center;
}

/* ========================================================================== */
/*  SERVICE DOMAIN PAGE                                                       */
/* ========================================================================== */

.tax-service-domains #hero-section{
    text-align: center;
}

.tax-service-domains .her-taxonomy-description{
    max-width: 1000px;
}

/* ========================================================================== */
/*  404 PAGE                                                                  */
/* ========================================================================== */

.error-404-content{
    min-height: 50vh;
}

.error-404-code{
    font-size: 100px;
}

/* ========================================================================== */
/*  PRIVACY POLICY PAGE                                                       */
/* ========================================================================== */

.privacy-effective-date {
    display: inline-block;
}

.privacy-effective-date::before {
    content: "Effective as of ";
}