/* NCR Default Hero 1 Block - Shared Styles */


.ncr-default-hero-1-block-parent .container-full {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.ncr-default-hero-1-block {
    padding: 0;
}

.community-utility-bar-new {
    background-color: white;
}

.community-utility-bar-new a {
    color: #0E4D45;
}

.ncr-hero-container {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: flex-end;
    padding: 0;
}

.ncr-hero-bg-desktop,
.ncr-hero-bg-mobile {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

/* ============================================
   HERO VARIANT: Title + Logo
   ============================================ */

.ncr-hero-variant-hero .ncr-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-bottom: 20px;
}

.ncr-hero-title-and-logo {
    display: flex;
    align-items: center;
    gap: 20px;
}

.ncr-hero-title-wrapper {
    padding: 15px 40px;
    margin: 0;
    width: fit-content;
}

.community-page .ncr-hero-title-wrapper {
    background: #F1E6DC !important;
}

.ncr-hero-title {
    color: black;
    font-family: var(--font1);
    font-size: 26px;
    font-weight: 600;
    margin: 0;
    line-height: 1.2;
}

.ncr-hero-logo {
    width: 250px;
    height: auto;
    flex-shrink: 0;
    object-fit: contain;
}

.ncr-hero-border {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 20px;
    background-image: url('../../images/heroborder.png');
    background-repeat: repeat-x;
    background-position: bottom;
    background-size: auto 20px;
    z-index: 1;
}

.community-page .ncr-hero-container::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 0;
    right: 0;
    height: 20px;
    background: repeating-linear-gradient(-45deg,
            transparent,
            transparent 2px,
            var(--primary) 3px,
            var(--primary) 2px,
            transparent 5px,
            transparent 3px);
    z-index: 3;
}

/* ============================================
   SLEEK HEADER VARIANT: Minimal Label
   ============================================ */

.ncr-hero-variant-sleek_header .ncr-sleek-header-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 0;
    gap: 10px;
    width: 100%;
}

.ncr-sleek-header-bg-container {
    position: absolute;
    inset: 0;
    width: 100%;
    overflow: hidden;
    z-index: 1;
}

.ncr-sleek-header-bg-desktop,
.ncr-sleek-header-bg-mobile {
    position: absolute;
    width: 100%;
    height: 436.36%;
    top: -118.07%;
    left: 0;
    object-fit: cover;
}

.ncr-sleek-header-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
}

.ncr-sleek-header-label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    background-color: #E5D8C5;
    position: relative;
    z-index: 2;
}

.ncr-sleek-header-text {
    font-family: var(--font1);
    font-size: 24px;
    font-weight: 700;
    color: black;
    margin: 0;
    line-height: 1;
}

/* ============================================
   MOBILE IMAGE RESPONSIVE LOGIC
   ============================================ */

.ncr-hero-bg-mobile,
.ncr-sleek-header-bg-mobile {
    display: none;
}

@media (max-width: 991px) {
    .ncr-hero-bg-desktop {
        display: none;
    }

    .ncr-hero-bg-mobile {
        display: block;
    }

    .ncr-sleek-header-bg-desktop {
        display: none;
    }

    .ncr-sleek-header-bg-mobile {
        display: block;
    }
}

/* ============================================
   HERO VARIANT - RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1199px) {
    .ncr-hero-variant-hero .ncr-hero-title {
        font-size: 2.2rem;
    }

    .ncr-hero-variant-hero .ncr-hero-logo {
        width: 200px;
    }
}

@media (max-width: 991px) {
    .ncr-hero-variant-hero .ncr-hero-container {
        min-height: 400px;
    }

    .ncr-hero-variant-hero .ncr-hero-title-and-logo {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .ncr-hero-variant-hero .ncr-hero-title-wrapper {
        padding: 12px 30px;
    }

    .ncr-hero-variant-hero .ncr-hero-title {
        font-size: 2rem;
    }

    .ncr-hero-variant-hero .ncr-hero-logo {
        width: 180px;
    }
}

@media (max-width: 767px) {
    .ncr-hero-variant-hero .ncr-hero-container {
        min-height: 350px;
    }

    .ncr-hero-variant-hero .ncr-hero-title-and-logo {
        gap: 12px;
    }

    .ncr-hero-variant-hero .ncr-hero-title-wrapper {
        padding: 10px 20px;
    }

    .ncr-hero-variant-hero .ncr-hero-title {
        font-size: 1.8rem;
    }

    .ncr-hero-variant-hero .ncr-hero-logo {
        width: 150px;
    }

    .ncr-hero-variant-hero .ncr-hero-content {
        padding-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .ncr-hero-variant-hero .ncr-hero-container {
        min-height: 300px;
    }

    .ncr-hero-variant-hero .ncr-hero-title-and-logo {
        gap: 10px;
    }

    .ncr-hero-variant-hero .ncr-hero-title-wrapper {
        padding: 8px 15px;
    }

    .ncr-hero-variant-hero .ncr-hero-title {
        font-size: 1.6rem;
    }

    .ncr-hero-variant-hero .ncr-hero-logo {
        width: 120px;
    }

    .ncr-hero-variant-hero .ncr-hero-content {
        padding-bottom: 12px;
    }
}

/* ============================================
   SLEEK HEADER VARIANT - RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1199px) {
    .ncr-hero-variant-sleek_header .ncr-sleek-header-wrapper {
        padding: 60px 0;
    }

    .ncr-sleek-header-bg-container {
        height: 160px;
    }

    .ncr-sleek-header-label {
        padding: 14px 35px;
    }

    .ncr-sleek-header-text {
        font-size: 22px;
    }
}

@media (max-width: 767px) {
    .ncr-hero-variant-sleek_header .ncr-sleek-header-wrapper {
        padding: 40px 0;
    }

    .ncr-sleek-header-bg-container {
        height: 160px;
    }

    .ncr-sleek-header-label {
        padding: 12px 30px;
    }

    .ncr-sleek-header-text {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .ncr-hero-variant-sleek_header .ncr-sleek-header-wrapper {
        padding: 30px 0;
    }

    .ncr-sleek-header-bg-container {
        height: 160px;
    }

    .ncr-sleek-header-label {
        padding: 10px 25px;
    }

    .ncr-sleek-header-text {
        font-size: 16px;
    }
}

@media (max-width: 1460px) {
    .community-navigation-new .menu-items {
        flex-wrap: nowrap;
    }
}
@media (max-width: 1390px) {
    .community-main-header-new {
        padding: 0px 20px;
    }
    .community-logo-section-new{
        padding: 0;
        padding-bottom: 16px;
    }
    .logo-divider {
        margin-left: 10px;
    }

    .community-logo-section-new img{
        max-height: 75px;
    }
}
