/* ══════════════════════════════════════════════════════════════
   primeSegments.cshtml page-specific overrides
   Moved out of that view's inline <style> block (same cascade position:
   linked right after the shared PersonalSegmentsPrivate.css, so these
   still win the same way they did inline). Content/order unchanged.
   ══════════════════════════════════════════════════════════════ */

                .aq-body__panel {
            /* bronze comes from .primeQualify in GeneralStyle.css */
            padding: 30px 30px 30px 30px;
            display: flex;
            border-radius: 16px;
            flex-direction: column;
            justify-content: space-between;
            gap: 20px;
        }
     /*    .Bluetitle{
            margin-bottom:16px !important;
        } */

      /*  .sb-img-card img {
         
            object-fit: fill; 
           
        }*/

        .aq-cards {
            display: flex;
            flex-direction: column;
            gap: 14px;
        }

        .Bluetitle {
            margin-top: 15px;
        }
            .offers-grid{
                display: grid !important;
            }
        .aq-card {
            /* translucent white + border come from .aq-card in GeneralStyle.css */
            border-radius: 12px;
            padding: 18px;
            display: flex;
            align-items: flex-start;
            gap: 14px;
        }
          .offer-card__icon {
            /* purple chip comes from .offer-card__icon_Background */
        }

            .offer-card__icon img {
                width: 70%;
            }
        .aq-card__icon {
            flex-shrink: 0;
            width: 36px;
            height: 36px;
            background: #FFFFFF4D;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-top: 1px;
        }

        .aq-card__icon svg {
            width: 18px;
            height: 18px;
        }

        .aq-card__text {
            font-size: 13.5px;
            color: #FFFFFF;
            line-height: 1.65;
            font-weight: 500;
            margin: 0;
        }

        .aq-card__text strong {
            font-weight: 800;
            color: #003B70;
        }

        .aq-disclaimer {
            font-size: 24px;
            font-weight: 400;
            border-radius: 16px;
            color: #ffffff;
            line-height: 1.55;
            margin-top: auto;
            padding-top: 12px;
        }

        .Hero_Desc {
            font-size: 24px;
        }

        .Hero_Content {
            max-width: 70%;
        }

        .Hero_Title {
            flex-direction: row;
            margin: 0px !important;
            font-size: 48px;
            font-weight: 400;
            color: #ffffff;
            line-height: 1.12;
            display: flex;
            gap: 10px;
        }
        /* Section pattern, keeping the existing #f5f8fc as the base colour */
        .principles-section {
            background-color: #f5f8fc;
            background-image: url("/assets/NewFolder/prime_Pattern.svg");
            background-repeat: no-repeat;
            background-position: right bottom;
        }

        /* ── PRINCIPLES: three per row, an incomplete last row centres itself ──
           Flex rather than the shared 3-column grid, so the two leftover cards sit
           in the middle as in the design instead of hugging the left edge. */
        .principles-grid {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 16px;
        }

            .principles-grid .principle-card {
                flex: 0 0 calc((100% - 32px) / 3);
                max-width: calc((100% - 32px) / 3);
            }

        /* ── OFFERS: light purple cards on white, replacing the navy panel.
           Cards flow to their content, so the rows fill unevenly as drawn. ── */
        .offers-section {
            background: #FFFFFF;
        }

            .offers-section .section-desc {
                color: #5F6674;
            }

            .offers-grid {
                display: flex;
                flex-wrap: wrap;
                gap: 16px;
            }

                .offers-grid .offer-card {
                    flex: 1 1 240px;
                    min-width: 0;
                }

        /* ── CTA: ctaImg photo under the .PersonalPrimeOverlay wash ──
           The overlay is inset:0/absolute, so the copy and buttons are lifted above
           it; without this they would sit under the tint. */
        .Personal_Segment_CTA--prime {
            background: #3E1051;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
        }

            .Personal_Segment_CTA--prime > *:not(.PersonalPrimeOverlay) {
                position: relative;
                z-index: 1;
            }

        @media (max-width: 991.98px) {
            .principles-grid .principle-card {
                flex-basis: calc((100% - 16px) / 2);
                max-width: calc((100% - 16px) / 2);
            }
        }

        @media (max-width: 575.98px) {
            .principles-grid .principle-card {
                flex-basis: 100%;
                max-width: 100%;
            }

            .offers-grid .offer-card {
                flex-basis: 100%;
            }
        }

      /*  @media (max-width: 450px) {
            .Hero_ImgWrapper img {
                object-position: 80% center;
            }
        }*/

         .principle-card__icon {
                background-color: #3E1051;
        }

        /* ── PARTNERSHIPS, OFFERS & CAMPAIGNS ──
           .pp-partners carries the unified 30px/15px section padding and the
           title reuses .Bluetitle, same as every other section on this page
           (both wired through GeneralStyle.css's shared selector lists).
           Markup below is placeholder content only — swap for a backoffice-driven
           loop once the new content-type aliases exist. */
        .pp-partners {
            background: #FFFFFF;
        }

        .pp-partners__grid {
            display: grid;
            grid-template-columns: 2fr 1fr;
            gap: 16px;
            align-items: stretch;
        }

        /* The button lives inside the left column (not spanning the full grid), so
           this column and .pp-offer-card are the two grid items in the same row —
           grid's default stretch then makes them the same height automatically. */
        .pp-partners__left {
            display: flex;
            flex-direction: column;
            gap: 24px;
        }

        .pp-partners__cards {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 16px;
        }

        .pp-partner-card {
            border: 1px solid #CBCBCB;
            border-radius: 16px;
            padding: 20px;
            background: #fff;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .pp-partner-card__logo {
            width: 44px;
            height: 44px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 10px;
            background: #F0F0F0;
        }

            .pp-partner-card__logo img {
                max-width: 100%;
                max-height: 100%;
                object-fit: contain;
            }

            .pp-partner-card__logo i {
                font-size: 18px;
                color: #3E1051;
            }

        .pp-partner-card__title {
            margin: 0;
            color: #003B70;
            font-family: Co Headline;
            font-weight: 400;
            font-size: 16px;
        }

        .pp-partner-card__desc {
                margin: 0;
    color: #5F6674;
    font-family: Co Headline;
    font-weight: 300;
    font-size: 14px;
    line-height: 1.5;
        }

        /* Offers & Campaigns card — same purple wash as this page's own CTA (#3E1051) */
        .pp-offer-card {
            background: #3E1051;
            border-radius: 16px;
            padding: 24px;
            display: flex;
            flex-direction: column;
            gap: 12px;
            color: #fff;
        }

        .pp-offer-card__icon {
            width: 44px;
            height: 44px;
            border-radius: 50%;
            background: #FFFFFF26;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            color: #fff;
        }

            .pp-offer-card__icon img {
                max-width: 60%;
                max-height: 60%;
                object-fit: contain;
            }

        .pp-offer-card__title {
            margin: 0;
            font-family: Co Headline;
            font-weight: 400;
            font-size: 20px;
        }

        .pp-offer-card__desc {
            margin: 0;
            font-family: Co Headline;
            font-weight: 400;
            font-size: 14px;
            line-height: 1.5;
            opacity: 0.85;
        }

        /* Sizing (font-size/padding/width) for both buttons below comes from the
           shared .ButtonClass group in GeneralStyle.css — only color/shape here. */
        .pp-offer-card__btn,
        .pp-partners__explore-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 999px;
            background: #8BDC64;
            color: #F7FAFA;
            font-weight: 700;
            text-transform: uppercase;
            text-decoration: none;
            text-align: center;
            transition: opacity var(--transition-fast, 0.2s ease);
        }

            .pp-offer-card__btn:hover,
            .pp-partners__explore-btn:hover {
                opacity: 0.88;
                color: #F7FAFA;
            }

        .pp-offer-card__btn {
            
            align-self: flex-start !important;
        }

        .pp-partners__footer {
            display: flex;
            justify-content: end;
        }

        /* Mobile carousel arrows — same control as Cards.css's .cards-cards-nav /
           .cards-cards-nav__btn (navy chip, chevron, greys out via .hidden at the
           scroll ends), reused here under its own pp- names per this page's prefix. */
        .pp-partners__nav {
            display: none;
            justify-content: center;
            align-items: center;
            gap: 12px;
            margin-top: 12px;
        }

        .pp-partners__nav-btn {
            flex-shrink: 0;
            width: 44px;
            height: 44px;
            border: none;
            border-radius: 10px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            background: #003B70;
            color: #fff;
            cursor: pointer;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
            transition: background-color 0.3s;
        }

            .pp-partners__nav-btn.hidden {
                background: #DDDDDD;
                cursor: not-allowed;
            }

        /* Decorative skyline art in the empty space the stretched card gets once it
           matches the left column's height — same EG_BANK_LINES.svg band used
           elsewhere on the site (_EgBankLines partial), toned down so it reads as
           texture rather than competing with the card's own text. */
        .pp-offer-card {
            position: relative;
            overflow: hidden;
        }

            .pp-offer-card > * {
                position: relative;
                z-index: 1;
            }

            .pp-offer-card::after {
                filter: brightness(0) invert(1);
                content: "";
                position: absolute;
                inset: 0;
                background-image: url("/assets/NewFolder/EG_BANK_LINES.svg");
                background-repeat: no-repeat;
                background-position: center bottom;
                background-size: 220% 18%;
                opacity: 0.5;
                mix-blend-mode: screen;
                pointer-events: none;
            }

        @media (max-width: 768px) {
            .pp-partners__grid {
                display: flex;
                flex-direction: column;
            }

            .pp-partners__left {
                gap: 20px;
            }

            .pp-partners__cards {
                display: flex;
                flex-wrap: nowrap;
                overflow-x: auto;
                scroll-snap-type: x mandatory;
                -webkit-overflow-scrolling: touch;
                scrollbar-width: none;
                gap: 12px;
                padding-bottom: 4px;
            }

                .pp-partners__cards::-webkit-scrollbar {
                    display: none;
                }

                .pp-partners__cards .pp-partner-card {
                    flex: 0 0 85%;
                    scroll-snap-align: start;
                }

            .pp-partners__nav {
                display: flex;
            }

            .pp-partners__nav-btn {
                width: 35px;
                height: 35px;
                font-size: 14px;
            }

            .pp-partners__footer {
                justify-content: center;
            }
        }
        @media (max-width: 768px) {

            .Hero_Section {
                object-position: center !important;
               /*  height: 600px; */
            }
            .aq-disclaimer {
                font-size: 16px;
                font-weight: 400;
                border-radius: 16px;
                color: #ffffff;
                line-height: 1.55;
                margin-top: auto;
                padding-top: 12px;
            }
            .aq-body__panel{
                flex-direction:column-reverse;
                padding: 30px 15px;
            }
            .Hero_Desc {
                font-size: 13px;
            }

            .Hero_Content {
                max-width: 100% !important;
            }

            .Hero_Section {
              
                min-height: 280px;
                padding: 35px 15px;
                margin-top: 80px;
            }

            .Hero_Title {
                    display: block !important;
                flex-direction: row;
                margin: 0px !important;
                font-size: 24px;
                font-weight: 400;
                color: #ffffff;
                line-height: 1.12;
                display: unset;
                gap: 7px;
            }
        }
