/**
Theme Name: Ebara Technologies 2025 Template
Author: MoreVisibility
Author URI: https://www.morevisibility.com
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.00
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ebara-technologies-2025-template
Template: astra
*/
.site-width{
    max-width:1920px;
    margin-left: auto;
    margin-right:auto;
}
.single-post .entry-content{
    margin-bottom:0 !important;
}
.single-post .ast-article-single{
    padding-left:0 !important;
    padding-right:0 !important;
}

.blog .ast-article-post .ast-article-inner{
    background-color:#f2f2f2 !important;
}

.wp-block-image,
.wp-block-image img,
.ast-article-single img{
    box-shadow: none !important;
}
.footer-widget-area[data-section="section-footer-menu"],
.ast-footer-copyright{
    width: auto;
    white-space: nowrap;
    margin-bottom: 0 !important;
}
.ast-footer-row-inline .footer-widget-area.widget-area.site-footer-focus-item {
    width: auto !important;
}
.site-footer-primary-section-1{
    justify-content:flex-start;
}
#astra-footer-menu{
    padding-left:0 !important;
    flex-wrap:nowrap !important;
}
.site-primary-footer-wrap[data-section="section-primary-footer-builder"].ast-footer-row-inline .site-footer-section{
    column-gap:30px;
}
.gform_required_legend{
    display: none;
}

.breadcrumb-home-icon {
    display: inline-flex;
    align-items: center;
    color:#fff;
    svg{
        color:#fff;
        fill:#fff;
    }
    .single-product &{
        color:#262e50;
        svg{
            color:#262e50;
            fill:#262e50;
        }
    }
}
.interior-header.bc-white,
.single-product-brochure{
    .yoast-breadcrumbs{
        color:#fff;
        a{
            color:#fff;
        }
    }
}
.is-style-ebara-overlay,
.ebara-overlay{
    overflow: hidden;
    &:after{
        content: '';
        position: absolute;
        top: 70%;
        left: 30%;
        width: 100%;
        height: 100%;
        background-image: url(images/ebara-ribbon.svg);
        background-repeat: no-repeat;
        background-size: 900px;
    }
}
/*DIAGONAL BACKGROUNS STRIPE MASK */
.diagonal-mask {
    position: relative;
    overflow: hidden;
}

.diagonal-mask::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;

    /* ONLY the mask overlay — no image here */
    background: linear-gradient(165deg,
    #fff 0%,
    #fff 45%,
    transparent 45%,
    transparent 65%,
    #fff 65%,
    #fff 100%
    );
}

/* Ensure content stays above the overlay */
.diagonal-mask > * {
    position: relative;
    z-index: 1;
}
footer div#gform_confirmation_message_10 {
    color: #fff;
}

/* --------------------------------------------------------------------------
   External Events Archive
   Grey border cards + company blue accents (per design reference)
   -------------------------------------------------------------------------- */

.post-type-archive-external-event #content{
    background: linear-gradient(180deg, #f8fafc 0%, #f3f6f9 100%);
    padding-top:60px;
}
.external-events-archive {
    padding: 0 0 2.5rem;
}

.external-events-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}

@media (min-width: 600px) {
    .external-events-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .external-events-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

.external-event-card {
    margin: 0;
}

.external-event-card__inner {
    background: #fff !important;
    border-right: 1px solid #D9E2EA !important;
    border-bottom: 1px solid #D9E2EA !important;
    border-top: 1px solid #D9E2EA !important;
    border-left: 4px solid #004fff !important;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
}

.external-event-card__inner:hover {
    border-left-color: #262e50 !important;
    box-shadow: 0 2px 8px rgba(38, 46, 80, 0.08) !important;
}

/* Equal aspect ratio image container */
.external-event-card__image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f0f0f0;
}

.external-event-card__image-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.external-event-card__image-link:focus {
    outline: 2px solid #004fff;
    outline-offset: 2px;
}

.external-event-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    vertical-align: middle;
    transition: transform 0.25s ease;
}

.external-event-card__inner:hover .external-event-card__image {
    transform: scale(1.02);
}

.external-event-card__content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.external-event-card__title {
    margin: 0 0 0.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.35;
    color: #212529;
}

.external-event-card__title a {
    text-decoration: none;
    color: #262e50;
    transition: color 0.2s ease;
}

.external-event-card__title a:hover,
.external-event-card__title a:focus {
    color: #004fff;
}

.product-brochure-archive-item .woocommerce-LoopProduct-link {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-brochure-archive-item__image-wrap {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.product-brochure-archive-item__image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.external-event-card__dates {
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #004fff;
}

.external-event-card__date-sep {
    margin: 0 0.25em;
    font-weight: 400;
    color: #6c757d;
}

.external-event-card__location {
    margin: 0 0 0.5rem;
    font-size: 0.875rem;
    color: #6c757d;
    line-height: 1.4;
}

.external-event-card__additional {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    line-height: 1.55;
    color: #6c757d;
}

.external-event-card__additional--collapsible .external-event-card__additional-content {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
}

.external-event-card__additional--collapsible.is-expanded .external-event-card__additional-content {
    display: block;
    -webkit-line-clamp: unset;
}

.external-event-card__additional-toggle {
    margin-top: 0.35rem;
    border: 0;
    background: transparent;
    -webkit-appearance: none;
    appearance: none;
    color: #004fff;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    box-shadow: none;
}

.external-event-card__additional-toggle:hover,
.external-event-card__additional-toggle:focus {
    background: transparent;
    box-shadow: none;
    color: #004b8e;
}

.external-event-card__additional-toggle:focus {
    outline: none;
}

.external-event-card__additional-toggle:focus-visible {
    outline: none;
}

.external-event-card__additional p:last-child {
    margin-bottom: 0;
}

.external-event-card__additional a {
    color: #004fff;
}

.external-event-card__additional a:hover {
    color: #004b8e;
}

/* Pagination */
.external-events-archive .pagination,
.external-events-archive .nav-links {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e0e0e0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.external-events-archive .pagination a,
.external-events-archive .nav-links a,
.external-events-archive .pagination span,
.external-events-archive .nav-links span.current {
    display: inline-block;
    padding: 0.5rem 0.85rem;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background: #fff;
    color: #262e50;
    text-decoration: none;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.external-events-archive .pagination a:hover,
.external-events-archive .nav-links a:hover {
    border-color: #004fff;
    color: #004fff;
}

.external-events-archive .pagination span.current,
.external-events-archive .nav-links span.current {
    border-color: #004fff;
    background: #004fff;
    color: #fff;
}

.external-events-archive--empty {
    padding: 2.5rem;
    text-align: center;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
    color: #6c757d;
}

.single-product{
    .similar-products-container{
        background-color: #f2f2f2;
        padding: 80px 30px;
        width: 100%;
        position: relative;
        display: block;
        h2{
            color: #000;
            font-weight: 700;
            margin-bottom: 20px;
        }
        .similar-products-inner-container{
            max-width:1400px;
            margin:0 auto;
            position: relative;
            display: block;
            width:100%;
        }
    }
}
.woocommerce-checkout.woocommerce-order-received .woocommerce-order ul.woocommerce-order-overview li > *,
.woocommerce-checkout.woocommerce-order-received .woocommerce-order ul.woocommerce-order-overview li{
    color:#fff !important;
}

.wp-block-woocommerce-cart.alignwide{
    max-width: 100% !important;
    margin: 0 auto !important;
}

/* --------------------------------------------------------------------------
   Search Results (Google-style layout)
   -------------------------------------------------------------------------- */
.search.search-results #content {
    background: var(--ast-global-color-4);
}

.ebara-search-page {
    width: 100%;
    padding: 0 0 48px;
}

.ebara-search-shell {
    width: min(100%, 1130px);
    margin: 0 auto;
    padding: 0 24px;
}

.ebara-search-hero {
    padding: 56px 0 22px;
    text-align: center;
}

.ebara-search-brand {
    color: var(--ast-global-color-0);
    font-size: 44px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}

.ebara-search-title {
    margin: 0 0 24px;
    font-size: 1rem;
    color: var(--ast-global-color-3);
    font-weight: 400;
}
.ebara-search-form-wrap {
    max-width: 500px;
    margin: 0 auto;
}
.ebara-search-form-wrap .search-form {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--ast-global-color-6);
    border-radius: 999px;
    padding: 8px 10px 8px 18px;
    background: #fff;
    box-shadow: none;
}
.ebara-search-form-wrap .search-form label{
    width: 100%;
}
.ebara-search-form-wrap .search-form:hover,
.ebara-search-form-wrap .search-form:focus-within {
    box-shadow: 0 2px 8px rgba(32, 33, 36, 0.18);
    border-color: transparent;
}

.ebara-search-form-wrap .search-field {
    width: 100%;
    border: 0;
    font-size: 1rem;
    line-height: 1.45;
    color: var(--ast-global-color-2);
    background: transparent;
    box-shadow: none !important;
}

.ebara-search-form-wrap .search-field:focus {
    outline: none;
}

.ebara-search-form-wrap .search-submit {
    border: 0;
    background: var(--ast-global-color-0);
    color: var(--ast-global-color-4);
    border-radius: 999px;
    padding: 10px 18px;
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1;
}

.ebara-search-form-wrap .search-submit:hover {
    background: var(--ast-global-color-1);
}

.ebara-search-results {
    padding-top: 8px;
}

.ebara-search-count {
    margin: 0 0 16px;
    color: var(--ast-global-color-3);
    font-size: 0.9rem;
}

.ebara-search-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.ebara-search-result {
    margin: 0;
    padding: 0 0 24px;
    border: 0;
    border-bottom: 1px solid var(--ast-global-color-6);
    background: transparent !important;
}

.ebara-search-result:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.ebara-search-result + .ebara-search-result {
    margin-top: 22px;
    padding-top: 2px;
}

.ebara-search-result__url {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    color: var(--ast-global-color-2);
    font-size: 0.86rem;
    line-height: 1.35;
    text-decoration: none;
    margin-bottom: 4px;
}

.ebara-search-result__path {
    color: var(--ast-global-color-3);
    font-size: 0.8rem;
}

.ebara-search-result__title {
    margin: 0 0 4px;
    font-size: 1.33rem;
    line-height: 1.3;
    font-weight: 400;
}

.ebara-search-result__title a {
    color: var(--ast-global-color-0);
    text-decoration: none;
}

.ebara-search-result__title a:hover,
.ebara-search-result__title a:focus {
    text-decoration: underline;
}

.ebara-search-result__description {
    margin: 0;
    color: var(--ast-global-color-3);
    font-size: 0.93rem;
    line-height: 1.58;
}

.ebara-search-pagination {
    margin-top: 36px;
}

.ebara-search-pagination ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.ebara-search-pagination a,
.ebara-search-pagination span {
    display: inline-block;
    padding: 6px 11px;
    border: 1px solid var(--ast-global-color-6);
    border-radius: 999px;
    font-size: 0.85rem;
    color: var(--ast-global-color-0);
    text-decoration: none;
    line-height: 1;
}

.ebara-search-pagination .current {
    border-color: var(--ast-global-color-0);
    background: var(--ast-global-color-0);
    color: var(--ast-global-color-4);
}

.ebara-search-empty {
    margin-top: 12px;
    border: 1px solid var(--ast-global-color-6);
    border-radius: 10px;
    padding: 22px;
    background: var(--ast-global-color-7);
}

.ebara-search-empty h2 {
    margin: 0 0 6px;
    font-size: 1.2rem;
}

.ebara-search-empty p {
    margin: 0;
    color: var(--ast-global-color-3);
}

@media (max-width: 768px) {
    .ebara-search-hero {
        padding-top: 36px;
    }

    .ebara-search-shell {
        padding: 0 16px;
    }

    .ebara-search-brand {
        font-size: 36px;
    }

    .ebara-search-form-wrap .search-form {
        flex-wrap: wrap;
        border-radius: 20px;
    }

    .ebara-search-form-wrap .search-submit {
        width: 100%;
    }
}

ul.products > li {
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    padding: 10px !important;
    transition: border-color 0.3s ease;
    &:last-child{
        border-bottom: 1px solid #dcdcdc !important;
    }
    &:hover{
        border-color:#004fff;
        &:last-child{
            border-bottom: 1px solid #004fff !important;
        }
    }
    a{
        text-decoration: none;
        h2{
            text-decoration: none;
        }
    }
    &.type-product-brochure{
        padding-bottom:25px !important;
    }
}


.ast-primary-header-bar .main-header-menu.ast-account-nav-menu>.menu-item {
    height: auto !important;
    line-height: unset !important;
    bottom: -5px;
}

@media (max-width: 1024px) {
    .ast-hfb-header .site-header {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}