/**
Theme Name: Astra Child
Author: Perfect Viral
Author URI: https://www.perfectviral.com
Description: Child theme for Astra
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: garden-state-highway-products
Template: astra
*/

.mask-alpha {
    mask-type: alpha;
}

.mask-intersect {
    mask-composite: intersect;
}

.mask-no-clip {
    mask-clip: border-box;
}

.col-1 {
    grid-column: 1;
}

.row-1 {
    grid-row: 1;
}

body {
    overflow-x: hidden;
}

@media (min-width: 922px) {
    .site-content .ast-container {
        display: unset !important;
    }
}

.ast-single-post.ast-page-builder-template .site-main>article,
.woocommerce.ast-page-builder-template .site-main {
    padding-top: 0px;
    padding-left: 0px;
    padding-right: 0px;
}

/* Hide default page title on block-built pages */
.page header.entry-header,
.ast-page-builder-template header.entry-header {
    display: none !important;
}

/* Force hide all default titles */
.entry-title,
.ast-archive-title,
header.entry-header {
    display: none !important;
}

/* Elementor Section Reference Design */
.reference-image-column {
    width: 329px;
    flex: 0 0 329px;
}

.reference-top-image-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
}

.reference-bottom-image-row {
    display: flex;
    gap: 12px;
    width: 100%;
    margin-top: 12px;
}

.reference-image-1 img {
    width: 185px;
    height: 203px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

.reference-image-2 img {
    width: 132px;
    height: 128px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

.reference-image-3,
.reference-image-4 {
    width: calc(50% - 6px);
}

.reference-image-3 img,
.reference-image-4 img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

.reference-label {
    display: inline-block;
    width: auto;
    background: #f3f0f5;
    border-radius: 50px;
    padding: 7px 14px;
}

.reference-label .elementor-heading-title,
.reference-label .elementor-widget-container {
    font-size: 10px;
    line-height: 1.2;
    font-weight: 600;
    color: #4b2d62;
}

.reference-section-content {
    max-width: 380px;
}

.reference-section-content p,
.reference-section-content .elementor-heading-title {
    margin: 0;
    color: #4B2D62;
    font-size: 17px;
    line-height: 1.42;
    font-weight: 600;
}

@media (max-width: 767px) {
    .reference-image-text-section {
        flex-direction: column;
        gap: 30px;
        padding: 30px 20px;
    }

    .reference-image-column {
        width: 100%;
        flex: 0 0 auto;
    }

    .reference-top-image-row {
        gap: 10px;
    }

    .reference-image-1 {
        width: 58%;
    }

    .reference-image-2 {
        width: 42%;
    }

    .reference-image-1 img {
        width: 100%;
        height: auto;
        aspect-ratio: 0.91 / 1;
    }

    .reference-image-2 img {
        width: 100%;
        height: auto;
        aspect-ratio: 1.03 / 1;
    }

    .reference-bottom-image-row {
        gap: 10px;
        margin-top: 10px;
    }

    .reference-image-3,
    .reference-image-4 {
        width: calc(50% - 5px);
    }

    .reference-image-3 img,
    .reference-image-4 img {
        height: auto;
        aspect-ratio: 1.05 / 1;
    }

    .reference-content-column {
        width: 100%;
    }

    .reference-section-content {
        max-width: 100%;
    }

    .reference-section-content p {
        font-size: 16px;
        line-height: 1.45;
    }
}

.in-your-area-section {
    padding: 3rem 1rem;
    font-family: 'Inter', 'Roboto', sans-serif;
    color: #1a1a1a;
    background-color: #ffffff;
}

.area-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Header Styles */
.area-header {
    margin-bottom: 2.5rem;
}

.area-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin: 0 0 0.5rem 0;
    color: #1a1a1a;
    font-family: 'Nunito', sans-serif
}

.area-subtitle {
    font-size: 1.1rem;
    margin: 0;
    color: #444444;
    font-family: 'Nunito', sans-serif
}

/* Slider Layout Settings */
.area-slider {
    width: 100%;
    /* Hide overflow so slides don't cause horizontal scroll outside container */
    overflow: hidden;
    padding-bottom: 10px;
    /* Slight padding for box-shadows if any */
}

/* Individual Card Styles */
.area-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    /* The light green/grey border at the very bottom of the card */
    border-bottom: 4px solid #e2e8e4;
    padding-bottom: 1.5rem;
}

.area-image-wrap {
    position: relative;
    margin-bottom: 1rem;
}

.area-img {
    width: 100%;
    height: 140px;
    /* Fixed height for consistent image sizing */
    object-fit: cover;
    display: block;
}

/* The title overlaps the image slightly */
.area-card-title {
    position: absolute;
    bottom: -40px;
    left: 10px;
    background-color: #ffffff;
    padding: 0.2rem 0.5rem;
    margin: 0;
    font-size: 1.1rem !important;
    font-weight: bold;
    color: #1a1a1a;
    font-family: 'Nunito', sans-serif;
}

.area-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    /* Pushes the button to the bottom if descriptions vary in length */
    padding: 0.5rem 0.5rem 0 0.5rem;
}

.area-desc {
    font-size: 0.85rem;
    line-height: 1.4;
    color: #444;
    margin: 0 0 1.5rem 0;
}

/* Continue Reading Link */
.area-link {
    margin-top: auto;
    /* Pushes button down */
    align-self: flex-start;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 800;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.area-link:hover {
    color: #fff;
    /* Add a hover effect matching the site's pink */
}

/* The arrow box */
.area-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #e2e8e4;
    /* Light grey/green box from screenshot */
    width: 24px;
    height: 24px;
    font-size: 1.2rem;
    font-weight: 400;
    /* Thin arrow */
    line-height: 1;
    transition: background-color 0.2s ease;
}

.area-link:hover .area-arrow {
    background-color: #d1dacd;
    /* Slightly darker on hover */
}

.area-link {
    display: inline-block;
    padding: 10px 22px;
    background-color: #c0426f;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.area-slider .swiper-button-prev,
.area-slider .swiper-button-next {
    color: #000;
}

.area-slider .swiper-button-prev {
    left: -10px;
}

.area-slider .swiper-button-next {
    right: -10px;
}

.swiper-button-next,
.swiper-button-prev {
    color: #c0426f !important;
}

.swiper-button-next,
.swiper-rtl .swiper-button-prev {
    right: -20px !important;
}

.swiper-button-prev,
.swiper-rtl .swiper-button-next {
    left: -20px !important;
}


/* Styling for Demonstration Videos Nav to match Tailwind pill design */
.demonstration_videos .elementor-nav-menu--main {
    background-color: rgba(222, 220, 222, 0.6);
    padding: 8px 16px;
    border-radius: 300px;
    display: inline-flex;
    align-items: center;
    height: 60px;
}

.demonstration_videos .elementor-nav-menu {
    display: flex;
    gap: 4px;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.demonstration_videos .elementor-nav-menu>li {
    display: flex;
    align-items: center;
}

.demonstration_videos .elementor-nav-menu>li>a.elementor-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    position: relative;
    border-radius: 10px;
    flex-shrink: 0;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-weight: 800;
    font-size: 16px;
    color: #3c2452;
    background-color: transparent;
}

.demonstration_videos .elementor-nav-menu>li>a.elementor-item::after,
.demonstration_videos .elementor-nav-menu>li>a.elementor-item::before {
    display: none !important;
}

.demonstration_videos .elementor-nav-menu>li>a.elementor-item:hover {
    background-color: rgba(200, 193, 203, 0.5);
    color: #000;
}

.demonstration_videos .elementor-nav-menu>li>a.elementor-item.elementor-item-active {
    background-color: rgba(200, 193, 203, 0.7);
    color: #c0426f;
    border-radius: 300px;
}

.demonstration_videos .elementor-nav-menu>li>a.elementor-item.elementor-item-active:hover {
    background-color: rgba(200, 193, 203, 0.9);
}

/* Mobile dropdown to match Tailwind_Mobile_Nav_Walker */
.demonstration_videos .elementor-nav-menu--dropdown ul.elementor-nav-menu>li {
    margin-bottom: 8px;
}

.demonstration_videos .elementor-nav-menu--dropdown ul.elementor-nav-menu>li:last-child {
    margin-bottom: 0;
}

.demonstration_videos .elementor-nav-menu--dropdown a.elementor-item {
    display: block;
    width: 100%;
    padding: 12px;
    font-weight: 800;
    font-size: 16px;
    border-radius: 12px;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-decoration: none;

    background-color: #ffffff;
    color: #3c2452;
}

.demonstration_videos .elementor-nav-menu--dropdown a.elementor-item:hover {
    background-color: rgba(200, 193, 203, 0.5);
}

.demonstration_videos .elementor-nav-menu--dropdown a.elementor-item.elementor-item-active {
    background-color: #c0426f;
    color: #ffffff;
}

.demonstration_videos .elementor-nav-menu--dropdown a.elementor-item.elementor-item-active:hover {
    background-color: #c0426f;
}

/* Fix WooCommerce Pages Layout (Checkout, Cart, My Account) with Custom Shell */
.ariel-portal-shell .wp-block-woocommerce-checkout,
.ariel-portal-shell .wp-block-woocommerce-cart,
.ariel-portal-shell .woocommerce {
    max-width: 1140px !important;
    margin: 0 auto !important;
    padding-top: 140px !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    font-family: 'Nunito', sans-serif !important;
}

/* Ensure inputs, buttons, and headings inherit the font */
.ariel-portal-shell .wp-block-woocommerce-checkout input,
.ariel-portal-shell .wp-block-woocommerce-checkout button,
.ariel-portal-shell .wp-block-woocommerce-checkout select,
.ariel-portal-shell .wp-block-woocommerce-checkout textarea,
.ariel-portal-shell .wp-block-woocommerce-checkout label,
.ariel-portal-shell .wp-block-woocommerce-checkout h1,
.ariel-portal-shell .wp-block-woocommerce-checkout h2,
.ariel-portal-shell .wp-block-woocommerce-checkout h3,
.ariel-portal-shell .wp-block-woocommerce-checkout h4,
.ariel-portal-shell .wp-block-woocommerce-checkout h5,
.ariel-portal-shell .wp-block-woocommerce-checkout h6,
.ariel-portal-shell .wp-block-woocommerce-checkout div,
.ariel-portal-shell .wp-block-woocommerce-checkout span,
.ariel-portal-shell .wp-block-woocommerce-cart input,
.ariel-portal-shell .wp-block-woocommerce-cart button,
.ariel-portal-shell .wp-block-woocommerce-cart select,
.ariel-portal-shell .wp-block-woocommerce-cart textarea,
.ariel-portal-shell .wp-block-woocommerce-cart label,
.ariel-portal-shell .wp-block-woocommerce-cart h1,
.ariel-portal-shell .wp-block-woocommerce-cart h2,
.ariel-portal-shell .wp-block-woocommerce-cart h3,
.ariel-portal-shell .wp-block-woocommerce-cart h4,
.ariel-portal-shell .wp-block-woocommerce-cart h5,
.ariel-portal-shell .wp-block-woocommerce-cart h6,
.ariel-portal-shell .wp-block-woocommerce-cart div,
.ariel-portal-shell .wp-block-woocommerce-cart span {
    font-family: 'Nunito', sans-serif;
}

@media (min-width: 1024px) {

    .ariel-portal-shell .wp-block-woocommerce-checkout,
    .ariel-portal-shell .wp-block-woocommerce-cart,
    .ariel-portal-shell .woocommerce {
        padding-top: 180px !important;
    }
}

/* Checkout Place Order Button Styling */
.ariel-portal-shell .wc-block-components-checkout-place-order-button {
    background-color: #3c2452 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 15px 24px !important;
    font-weight: 800 !important;
    font-size: 16px !important;
    transition: background-color 0.3s ease !important;
}

.ariel-portal-shell .wc-block-components-checkout-place-order-button:hover {
    background-color: #c0426f !important;
    color: #ffffff !important;
}

.ariel-portal-shell .wc-block-components-checkout-place-order-button .wc-block-components-button__text {
    color: #ffffff !important;
}

.links_desc .elementor-icon-list-text {
    text-decoration: underline;
}

.sign-posting-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 10rem 1rem;
    font-family: "Inter", Sans-serif;
    color: #1a1a1a;
}

/* --- Jump to Category Navigation --- */
.sp-jump-links {
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.sp-jump-label {
    color: #444;
    /* Darker than blue, like standard text */
    font-weight: 700;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.5rem;
}

.sp-jump-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.sp-jump-btn {
    background-color: #c0426f;
    color: #ffffff;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 4px;
    transition: background-color 0.2s ease, transform 0.1s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    flex: 1;
    text-align: center;
    max-width: max-content;
}

.sp-jump-btn:hover {
    background-color: #c9006c;
    transform: translateY(-2px);
    color: #ffffff;
    text-decoration: none;
}


/* --- Category Sections --- */
.sp-category-section {
    margin-bottom: 4rem;
}

.sp-category-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
    font-family: "Poppins", Sans-serif;
}

.sp-posts-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    padding-bottom: 2rem;
}


/* --- Card Layout --- */
.sp-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2rem;
    align-items: stretch;
}

/* --- Card Left Side (Pink Background) --- */
.sp-card-left {
    background-color: #c0426f;
    color: #ffffff;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    min-height: 250px;
}

.sp-card-support-type {
    font-size: 1.2rem;
    font-weight: 800;
    margin: 0;
    text-transform: uppercase;
    color: #ffffff;
    letter-spacing: 0.5px;
    font-family: "Poppins", Sans-serif;
}

.sp-card-images {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.sp-card-logo,
.sp-card-second-img {
    max-width: 100%;
    height: auto;
    max-height: 120px;
    object-fit: contain;
    /* Optional: Adds light background padding if logos are transparent dark text */
    /* background: rgba(255,255,255,0.9); */
    /* padding: 0.5rem; */
}

.sp-card-desc {
    font-size: 0.95rem;
    margin: 0;
    opacity: 0.95;
    line-height: 1.4;
}


/* --- Card Right Side (Info Blocks) --- */
.sp-card-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-top: 0;
}

.sp-info-block {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sp-info-label {
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0;
    color: #1a1a1a;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    font-family: "Poppins", Sans-serif;
}

.sp-contact-box {
    background-color: #c0426f;
    color: #ffffff;
    padding: 1rem 1.2rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Links inside the contact box should be white */
.sp-contact-box a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
}

.sp-contact-box a:hover {
    text-decoration: underline;
}

.sp-btn-link {
    display: block;
    text-align: center;
    border: 4px solid #c0426f;
    /* Thick pink border matching design */
    color: #1a1a1a;
    font-weight: 800;
    padding: 0.8rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.2s ease;
    background-color: #ffffff;
}

.sp-btn-link:hover {
    background-color: #c0426f;
    color: #ffffff;
    text-decoration: none;
}


/* --- Responsive Design --- */
@media (max-width: 768px) {
    .sp-card {
        grid-template-columns: 1fr;
        /* Stack into single column on mobile */
        gap: 1.5rem;
    }

    .sp-jump-buttons {
        flex-direction: column;
        width: 100%;
    }

    .sp-jump-btn {
        text-align: center;
        width: 100%;
    }
}