/* ==========================================================================
   Intelsense — Premium Services pages (shared)
   Long Term Equity · Quantamental · Hitpicks · Intelsense ETF · Performance
   Scoped under .service-premium so the shared .area-4/.area-5/.page-25/
   .box-area-new(1) classes used on ~17 other pages stay untouched.
   Base brand #00256b. WCAG 2.1 AA.
   ========================================================================== */

.service-premium{
    --s-navy:      #00256b;
    --s-navy-deep: #001a4d;
    --s-navy-mid:  #143a86;   /* links on white — 10.6:1                      */
    --s-ink:       #1d2b47;   /* body — 12:1                                   */
    --s-ink-soft:  #45577a;   /* secondary — 6:1                             */
    --s-amber:     #f99e1e;   /* decorative accent                           */
    --s-surface:   #ffffff;
    --s-tint:      #f4f7fc;
    --s-line:      rgba(0, 37, 107, .10);
    --s-shadow:    0 1px 2px rgba(0, 37, 107, .05), 0 12px 30px rgba(0, 37, 107, .08);
    --s-shadow-lg: 0 18px 44px rgba(0, 37, 107, .16);
    --s-radius:    16px;
    --s-ease:      cubic-bezier(.4, 0, .2, 1);

    font-family: 'Poppins', sans-serif;
    color: var(--s-ink);
}

/* ------------------------------------------------------------------ hero */

.service-premium .page-5{
    float: none;
    width: 100%;
    height: auto;
    padding: 88px 0 74px;
    background:
        linear-gradient(120deg, rgba(0, 37, 107, .90) 0%, rgba(0, 26, 77, .82) 100%),
        url(../images/page-bnnr5.jpg) center / cover no-repeat;
}

.service-premium .page-inr24{ float: none; width: 100%; }

.service-premium .page-inr24 h1{
    color: #fff;
    font-weight: 700;
    letter-spacing: -.01em;
    font-size: clamp(30px, 4.4vw, 48px);
    margin: 0 0 16px;
    line-height: 1.1;
}

/* breadcrumb — both markups (.footer-link and .page-inr24 ul>li) as a pill */
.service-premium .footer-link,
.service-premium .page-inr24 ul{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 7px 16px 7px 14px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 999px;
    list-style: none;
    float: none;
    width: auto;
}

.service-premium .page-inr24 ul li{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.service-premium .footer-link i,
.service-premium .page-inr24 ul li .fa{
    color: #ffd07a;
    font-size: 13px;
    margin: 0;
}

/* .page-5 prefix keeps these above the general body-link rule below
   (same specificity would otherwise let the later navy rule win) */
.service-premium .page-5 .footer-link a,
.service-premium .page-5 .page-inr24 ul li a{
    margin: 0;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    line-height: 1.2;
}

.service-premium .page-5 .footer-link a:hover,
.service-premium .page-5 .page-inr24 ul li a:hover{ text-decoration: underline; }

/* --------------------------------------------------------- section shells */

.service-premium .area-4,
.service-premium .area-5,
.service-premium .page-25{
    float: none;
    width: 100%;
    padding: 60px 0;
}

.service-premium .area-4{ background: var(--s-surface); }
.service-premium .area-4:nth-of-type(even){ background: var(--s-tint); }
.service-premium .area-5{ background: var(--s-tint); }
.service-premium .page-25{ background: var(--s-surface); }

.service-premium .area-inr4,
.service-premium .area-inr5,
.service-premium .page-inr4,
.service-premium .page-inr25{ float: none; width: 100%; }

/* ALLCAPS section title (e.g. "INVESTMENT APPROACH") */
.service-premium .area-4 > h3{
    position: relative;
    height: auto;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: .04em;
    font-weight: 700;
    color: var(--s-navy);
    font-size: clamp(22px, 3vw, 32px);
    margin: 0 auto 40px;
    padding-bottom: 18px;
    line-height: 1.2;
}

.service-premium .area-4 > h3::after{
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--s-amber), #ffca6b);
}

/* sub-heading (was a full-width navy bar) — clean underlined title */
.service-premium .page-inr25 h2,
.service-premium .page-inr4 h2,
.service-premium .area-inr5 h4{
    position: relative;
    width: 100%;
    background: transparent;
    border-left: 0;
    color: var(--s-navy);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    letter-spacing: -.01em;
    font-size: clamp(20px, 2.5vw, 28px);
    padding: 0 0 15px;
    margin: 0 0 24px;
    line-height: 1.25;
}

.service-premium .page-inr25 h2::after,
.service-premium .page-inr4 h2::after,
.service-premium .area-inr5 h4::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 54px;
    height: 4px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--s-amber), #ffca6b);
}

/* multiple stacked sub-sections (Intelsense ETF) need top spacing */
.service-premium .page-inr4.page-inr25 + .page-inr4.page-inr25{ margin-top: 40px; }

/* --------------------------------------------------------- body + bullets */

.service-premium .page-inr25 p,
.service-premium .page-inr4 p,
.service-premium .area-inr5 p{
    float: none;
    width: 100%;
    color: var(--s-ink);
    font-size: 16px;
    line-height: 1.8;
    margin: 0 0 14px;
}

/* bullet rows — <p> that starts with a fa-circle become clean list items */
.service-premium p:has(> i.fa-circle){
    position: relative;
    padding-left: 30px;
}

.service-premium p > i.fa-circle{
    position: absolute;
    left: 2px;
    top: 10px;
    color: var(--s-amber) !important;   /* beat inline style="color:#000" */
    font-size: 8px;
}

.service-premium .new-span{
    color: var(--s-navy) !important;
    font-weight: 700;
    margin-right: 6px;
}

.service-premium a:not(.new-btn1){
    color: var(--s-navy-mid);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
    word-break: break-word;
    transition: color .18s var(--s-ease);
}

.service-premium .area-4 a:hover,
.service-premium .area-5 a:hover,
.service-premium .page-25 a:hover{ color: var(--s-navy); }

/* --------------------------------------- Long Term "approach" image cards */

.service-premium .area-inr4 .row{ row-gap: 24px; }

.service-premium .box-area-new{
    float: none;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: var(--s-surface);
    border: 1px solid var(--s-line);
    border-radius: var(--s-radius);
    box-shadow: var(--s-shadow);
    overflow: hidden;
    transition: transform .2s var(--s-ease), box-shadow .2s var(--s-ease);
}

.service-premium .box-area-new:hover{
    transform: translateY(-4px);
    box-shadow: var(--s-shadow-lg);
}

.service-premium .box-area-new img{
    width: 100%;
    aspect-ratio: 4 / 3;
    height: auto;
    object-fit: cover;
    display: block;
}

.service-premium .box-area-new h3{
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--s-surface);
    color: var(--s-navy);
    text-align: center;
    padding: 16px 14px;
    margin: 0;
    font-size: 15px !important;
    font-weight: 600;
    line-height: 1.4;
    text-transform: none;
}

/* --------------------------------------- Quantamental Q1..Q8 SVG cards */

.service-premium .box-area-new1{
    float: none;
    width: 100%;
    border: 1px solid var(--s-line);
    border-radius: var(--s-radius);
    box-shadow: var(--s-shadow);
    padding: 22px;
    background: var(--s-surface);
    margin-bottom: 24px;
    transition: transform .2s var(--s-ease), box-shadow .2s var(--s-ease);
}

.service-premium .box-area-new1:hover{
    transform: translateY(-3px);
    box-shadow: var(--s-shadow-lg);
}

.service-premium .box-area-new1 img{
    width: 100%;
    height: auto;
    display: block;
}

/* --------------------------------- Hitpicks / ETF intro (image + text) */

.service-premium .area-inr5 .row{ align-items: center; row-gap: 26px; }

.service-premium .area-inr5 .area-inr2{
    width: 100%;
    border-radius: var(--s-radius);
    overflow: hidden;
    box-shadow: var(--s-shadow);
}

.service-premium .area-inr5 .area-inr2 img{
    width: 100%;
    height: auto;
    display: block;
}

/* -------------------------------------------- Long Term "details" images */

.service-premium .page-25 img{
    max-width: 100%;
    height: auto;
    border-radius: var(--s-radius);
    box-shadow: var(--s-shadow);
    margin: 8px 0;
}

.service-premium .page-25 .row{ align-items: center; row-gap: 24px; }

/* --------------------------------------------------- Performance table */

.service-premium .table-responsive{
    border-radius: var(--s-radius);
    box-shadow: var(--s-shadow);
    overflow: hidden;
    border: 1px solid var(--s-line);
}

.service-premium table.table{
    margin: 0;
    background: var(--s-surface);
}

.service-premium table.table th{
    background: var(--s-navy) !important;   /* keep header navy, unify */
    color: #fff !important;
    border: 0;
    padding: 14px 16px;
    font-weight: 600;
    letter-spacing: .02em;
}

.service-premium table.table td{
    padding: 13px 16px;
    border-top: 1px solid var(--s-line);
    color: var(--s-ink);
    vertical-align: middle;
}

.service-premium table.table tbody tr:nth-child(even) td{
    background: #f7f9fd;
}

.service-premium table.table td a{
    color: var(--s-navy-mid);
    font-weight: 600;
}

.service-premium table.table td a:hover{ color: var(--s-navy); }

/* the trailing "Note:" block on Performance */
.service-premium .page-inr25 > .row + br,
.service-premium .page-inr4.page-inr25{ color: var(--s-ink); }

/* -------------------------------------------------------------- a11y focus */

.service-premium a:focus-visible{
    outline: 3px solid var(--s-navy-mid);
    outline-offset: 3px;
    border-radius: 6px;
}

.service-premium .page-5 a:focus-visible{ outline-color: #ffd07a; }

/* ---------------------------------------------------------------- responsive */

@media (max-width: 991.98px){
    .service-premium .page-5{ padding: 62px 0 52px; }
    .service-premium .area-4,
    .service-premium .area-5,
    .service-premium .page-25{ padding: 44px 0; }
}

@media (prefers-reduced-motion: reduce){
    .service-premium .box-area-new,
    .service-premium .box-area-new1{ transition: none; }
    .service-premium .box-area-new:hover,
    .service-premium .box-area-new1:hover{ transform: none; }
}
