/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

.truck-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 24px;
}

.truck-card {
    display: block;
    text-decoration: none;
    border: 1px solid #eee;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    transition: .15s ease;
}

.truck-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .08);
}

.truck-img img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.truck-body {
    padding: 14px;
}

.truck-title {
    font-weight: 700;
    margin-bottom: 8px;
}

.truck-meta {
    display: flex;
    justify-content: space-between;
    opacity: .85;
}

.truck-price {
    font-weight: 700;
}

@media (max-width: 920px) {
    .truck-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .truck-grid {
        grid-template-columns: 1fr;
    }
}

.zoom-in-class {
    overflow: hidden;
    border-radius: 16px;
}

.zoom-in-class img {
    border-radius: 16px;
    transition: transform 0.3s ease;
    display: block;
}

.zoom-in-class:hover img {
    transform: scale(1.1);
}


/* Header background on specific pages (e.g. FAQ) */

body.header-bg-ast-color-7 .site-header,
body.header-bg-ast-color-7 .ast-primary-header-bar,
body.header-bg-ast-color-7 .ast-below-header-bar {
    background-color: var(--ast-global-color-7) !important;
}

body.page-id-2888 .site-header,
body.page-id-2888 .ast-primary-header-bar,
body.page-id-2888 .ast-below-header-bar {
    background-color: var(--ast-global-color-7) !important;
}

/* Fix Spectra tablet layout that squeezes Latest Vehicles slider */
@media (min-width: 768px) and (max-width: 1023.98px) {
    div[data-spectra-id="spectra-1d6c5f92-2554-437f-80fd-3783f2814b2e"].wp-block-spectra-container {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
    }

    div[data-spectra-id="spectra-1d6c5f92-2554-437f-80fd-3783f2814b2e"].wp-block-spectra-container > * {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }

    div[data-spectra-id="spectra-1d6c5f92-2554-437f-80fd-3783f2814b2e"].wp-block-spectra-container .latest-vehicles-slider {
        display: block !important;
        width: 100% !important;
    }
}

  .financing-banner {
    position: relative;
    width: 100%;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
  }

  .financing-overlay {
    position: absolute;
    inset: 0;
    background: transparent;
    z-index: 1;
  }

  .financing-content {
    position: relative;
    z-index: 2;
    padding: 20px 30px;
    max-width: 1100px;
    width: calc(100% - 80px);
    background: transparent;
  }

  .financing-content h2 {
    margin: 0;
    color: #ffffff;
    font-size: 54px;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.5px;
    text-shadow: 0 3px 16px rgba(0, 0, 0, 0.28);
  }

  .highlight {
    display: inline-block;
    color: #ff5a5f;
    text-shadow: 0 0 10px rgba(255, 72, 72, 0.24);
    animation: warmGlow 2.8s ease-in-out infinite;
  }

  @keyframes warmGlow {
    0% {
      color: #ff6b6b;
      text-shadow: 0 0 8px rgba(255, 80, 80, 0.22);
      opacity: 1;
    }
    50% {
      color: #d90429;
      text-shadow: 0 0 18px rgba(217, 4, 41, 0.36);
      opacity: 1;
    }
    100% {
      color: #ff6b6b;
      text-shadow: 0 0 8px rgba(255, 80, 80, 0.22);
      opacity: 1;
    }
  }

  @media (max-width: 1024px) {
    .financing-content h2 {
      font-size: 40px;
    }
  }

  @media (max-width: 768px) {
    .financing-banner {
      min-height: 180px;
    }

    .financing-content {
      width: calc(100% - 40px);
      padding: 16px 20px;
    }

    .financing-content h2 {
      font-size: 28px;
      line-height: 1.25;
    }
  }

  @media (max-width: 480px) {
    .financing-content h2 {
      font-size: 22px;
    }
  }

  @media (min-width: 920px) {
    ul.sub-menu {
      background-color: #2b2b2b !important;
    }
  }

  @media (max-width: 920px) {
    .ast-header-break-point .ast-mobile-popup-content,
    .ast-header-break-point .main-header-menu {
      background-color: #ffffff !important;
    }

    .ast-header-break-point .main-header-menu .menu-link,
    .ast-header-break-point .main-header-menu .menu-item > .ast-menu-toggle,
    .ast-header-break-point .ast-mobile-popup-content .menu-link {
      color: #1f1f1f !important;
    }
  }

  .hero-typing {
    font-size: 46px;
    font-weight: 700;
    color: #fff !important;
    line-height: 1.2;
    max-width: 680px;
    text-align: left;
    margin: 0 auto;
    background: transparent !important;
  }

  #typing-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    min-height: calc(2.4em + 10px);
    background: transparent !important;
  }

  #typing-text,
  #typing-text * {
    color: #fff !important;
  }

  .hero-typing-line {
    display: block;
    max-width: 100%;
    white-space: normal;
    word-break: normal;
    color: #fff !important;
    background: transparent !important;
  }

  .hero-typing-row {
    position: relative;
    display: block;
    width: 100%;
    background: transparent !important;
  }

  .hero-typing-text {
    display: inline;
    max-width: 100%;
    background: transparent !important;
  }

  .hero-typing-truck {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 0;
    top: 0;
    width: 1.05em;
    height: 1.05em;
    color: #fff !important;
    opacity: 0;
    pointer-events: none;
    transform: translate(var(--truck-x, 0), var(--truck-y, 0));
    transition: opacity 0.2s ease;
  }

  .hero-typing-truck svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: currentColor;
  }

  .hero-typing-truck.is-visible {
    opacity: 1;
  }

  .hero-typing-subline {
    font-size: 0.86em;
    font-weight: inherit;
    color: #fff !important;
    opacity: 0.92;
  }
  
  .hero-typing strong {
    color: #ff3c1f;
  }
  
  @media (max-width: 768px) {
    .hero-typing {
      font-size: 28px;
    }

    #typing-text {
      min-height: auto;
    }
  }

  /* Home hero fallback while background image is still loading */
  body.home .entry-content > .wp-block-spectra-container:first-child,
  body.home .entry-content > .wp-block-uagb-container:first-child,
  body.home .entry-content > .wp-block-cover:first-child {
    background-color: #1f1f1f !important;
  }

  body.home .entry-content > .wp-block-spectra-container:first-child .uagb-section__background-image,
  body.home .entry-content > .wp-block-uagb-container:first-child .uagb-section__background-image,
  body.home .entry-content > .wp-block-spectra-container:first-child .uagb-section__overlay,
  body.home .entry-content > .wp-block-uagb-container:first-child .uagb-section__overlay {
    background-color: #1f1f1f !important;
  }
  