/* Fund page — NPFE (template-parts/fund/npfe.php); also Full Holdings + Documents pages.
   Table/tooltip/date-header styles are the live ones in live-custom.css. */
.fund-h2 { font: 500 50px/1.14 var(--f-semibold); color: var(--white); letter-spacing: -0.75px; padding-bottom: 10px; }
.fund-h2--navy { color: var(--navy); }
.fund-h3 { font: 500 25px/1.14 var(--f-bold); color: var(--navy); letter-spacing: -0.75px; padding-bottom: 10px; }
.fund-note { font: 500 16px/1.14 var(--f-body); color: var(--white); letter-spacing: -0.38px; }
.fund-note p + p { padding-top: 1em; }

/* Section sub-nav (5 round buttons) */
.fund-subnav { display: grid; grid-template-columns: repeat(5, 1fr); justify-items: start; padding: var(--rp) 0; }

/* Key-figure tiles */
.fund-tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 3%; padding: var(--rp) 0; }
.fund-tile {
    padding: 20px 20px 10px; border-radius: 10px;
    background: linear-gradient(180deg, #1b4057 0%, rgba(27, 64, 87, .7) 99%),
                url("/wp-content/uploads/2025/09/What-is-an-ETF-1024x333-1.webp") center/cover;
    color: var(--white);
}
.fund-tile__label { font: 500 20px/1.14 var(--f-regular); letter-spacing: -0.27px; }
.fund-tile__label--ticker { font: 500 25px/1.14 var(--f-xbold); }
.fund-tile__ticker, .fund-tile__value { margin-top: 100px; padding-top: 0 !important; font: 500 45px/50px var(--f-regular); letter-spacing: -0.27px; }
.fund-tile__ticker { font-size: 22px; }

/* Overview: image half + white text half */
.fund-overview { display: grid; grid-template-columns: 1fr 1fr; margin-top: 20px; border-radius: 20px; overflow: hidden; }
.fund-overview__media {
    position: relative; min-height: 341px; padding: 27px 50px;
    background: linear-gradient(180deg, #a89f8b 0%, rgba(168, 165, 161, .18) 100%),
                url("/wp-content/uploads/2025/09/AdobeStock_132620177-1-1.webp") center/cover;
}
.fund-overview__tag {
    display: inline-block; padding: 5.4px 60px 5.4px 20px; border-radius: 60px;
    background: linear-gradient(180deg, #101530 0%, rgba(16, 21, 48, .7) 70%);
    font: 600 18px/1.7 var(--f-body); letter-spacing: -0.33px; color: var(--white);
}
.fund-overview__text { background: var(--white); padding: 30px 35px; }
.fund-overview__text p { font: 300 16px/1.14 var(--f-body); color: var(--ink); letter-spacing: -0.27px; padding-bottom: 1em; }

/* Investment Strategy */
.fund-strategy__row { display: grid; grid-template-columns: 1fr 1fr; align-items: start; padding: 25px 0 35px; }
.fund-strategy__text p, .fund-strategy__text li { font: 300 16px/1.14 var(--f-body); color: var(--white); letter-spacing: -0.27px; }
.fund-strategy__text ul { padding: 42px 0 0 1em; }
.fund-strategy__text li { line-height: 26px; }
.fund-strategy__text strong { font-weight: 700; }

/* Portfolio Manager */
.fund-manager { padding-bottom: 100px; }
.fund-manager > .row:first-child { padding: var(--rp) 0; }
.fund-manager__card { display: grid; grid-template-columns: 1fr 3fr; min-height: 320px; padding: 10px; border: 1px solid #e2e4eb; border-radius: 20px; }
.fund-manager__media { padding-top: 38px; text-align: center; }
.fund-manager__photo { height: 250px; width: auto; margin: 0 auto; box-shadow: 0 2px 18px rgba(0, 0, 0, .3); }
.fund-manager__text { padding: 30px 40px; color: var(--white); }
.fund-manager__name { font: 500 30px/1.14 var(--f-semibold); letter-spacing: -0.75px; color: var(--white); padding: 4px 133px 0 0; }
.fund-manager__title { margin: 10px 0; font: 500 18px/1.14 var(--f-body); letter-spacing: -0.38px; }
.fund-manager__bio { font: 300 16px/1.14 var(--f-body); letter-spacing: -0.38px; padding-top: 0 !important; }

/* Data blocks (navy) */
.fund-data__block { padding: var(--rp) 0; margin-bottom: 100px; }
.fund-data__block--details { padding-bottom: 40px; }
.fund-data__sc { padding-top: 35px; }
.fund-data__sc--details { padding-top: 0; margin-top: 35px; }
.fund-data__sc--charts { padding-bottom: 50px; }
.fund-note--holdings { margin-top: 30px; width: 92.2%; }
.fund-note--perf { margin-top: 30px; }
.fund-note--hist { margin-top: 20px; width: 92.2%; }
.fund-note--link { margin-top: 50px; }
.fund-readmore { margin-top: 20px; padding-right: 30px; font: 500 19px/1.19 var(--f-body); }
/* page-level CSS from the live Divi modules */
#portfolio .portfolio-table { display: flex; flex-wrap: wrap; gap: 30px; }
#portfolio .portfolio-column { flex: 1 1 45%; overflow: hidden; }
.peer-heading { font-family: 'Fustat Semibold', Helvetica, Arial, Lucida, sans-serif; font-size: 30px; color: #FFFFFF !important; letter-spacing: 1px; line-height: 114%; margin-top: 100px; }

/* Fund documents (cards) */
.fund-docs > .row:first-child { padding: var(--rp) 0; }
.fund-docs__grid-row { min-height: 280px; }
.doc-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
#fundDocuments { padding-bottom: 30px; }   /* live Blog Extras module is 30px taller than its cards */
.doc-card {
    position: relative; min-height: 245px; padding: 30px; border-radius: 20px; overflow: hidden;
    background: linear-gradient(100deg, #1b4057 0%, rgba(4, 55, 86, .6) 100%), var(--doc-bg, none) center/cover;
    background-color: var(--navy);
    box-shadow: 0 2px 18px rgba(0, 0, 0, .3);
    transition: transform .3s;
}
.doc-card:hover { transform: scale(1.02); }
.doc-card__link { position: absolute; inset: 0; z-index: 2; }
.doc-card__title { position: absolute; top: 10%; left: 30px; right: 30px; font: 500 22px/1.14 var(--f-body); letter-spacing: -0.45px; color: var(--white); }
.doc-card__more { position: absolute; left: 30px; bottom: 30px; }
.doc-card__more { z-index: 3; }
#fundDocuments a.more-link { font-size: 18px; margin-top: 0 !important; }
#fundDocuments .more-link::after { width: 30px !important; right: -40px !important; }
.fund-docs__all-row { margin-top: 20px; }
.fund-docs__all { min-height: 71.6px; margin: 20px 30px 0 0; text-align: right; font: 500 18px/1.19 var(--f-body); }

/* Disclosures toggles (open, like live) */
.fund-toggle { padding: 20px; background: var(--navy); }
.fund-disclosures .row { padding: var(--rp) 0; }
.fund-toggle + .fund-toggle { margin-top: 0; }
.fund-toggle__title { list-style: none; cursor: pointer; font: 500 25px/1 var(--f-semibold); color: var(--white); position: relative; padding-right: 40px; }
.fund-toggle__title::-webkit-details-marker { display: none; }
.fund-toggle__body { padding-top: 20px; }
.fund-toggle__body p { font: 500 14px/1.5 var(--f-body); color: var(--white); }

/* Full holdings + Documents pages (live: navy 0.9 section) */
.page-hero--holdings {         /* live Theme Builder header "Full Holdings ETFs" */
    min-height: 500px; padding: 361px 0 0;
    background: radial-gradient(circle at 50% 100%, #1b4057 0%, rgba(27, 64, 87, .6) 100%),
                url("/wp-content/uploads/2025/09/NPF_ZigZag_Insight_SiteBannerOpt2-1024x333-1.webp") center/cover no-repeat;
    background-color: var(--navy);
}
.holdings__section, .documents__section { background: rgba(6, 56, 86, .9); }
.holdings__section .row, .documents__section .row { padding: var(--rp) 0; }
.documents__section .row { width: 80%; }   /* live: default Divi row width */
.documents-table img { display: inline; }   /* Divi images are inline (row height 57px) */

/* ── Tablet / phone: values from the live Divi module settings (…_tablet / …_phone) and live-custom.css ── */
@media (max-width: 1300px) {                      /* live .top-boxes: 3 per row, 30% + 2% */
    .fund-tiles { display: flex; flex-wrap: wrap; gap: 0 2%; }
    .fund-tile { width: 30%; margin-bottom: 5%; }
}
@media (max-width: 980px) {
    .fund-subnav { grid-template-columns: repeat(2, 1fr); padding: 0; margin-bottom: 30px; }
    .fund-overview { grid-template-columns: 1fr; row-gap: 20px; margin: 0 auto; border-radius: 0; overflow: visible; }
    .fund-overview__media, .fund-overview__text { border-radius: 20px; }
    .fund-overview__media { min-height: 0; padding: 100px 30px; }          /* button margin 100px top/bottom, 30px left */
    .fund-strategy__row { grid-template-columns: 1fr; width: 85%; padding: 0 0 50px; margin-top: -12px; }
    .fund-manager__card { grid-template-columns: 1fr; padding: 0; }
    .fund-manager__text { padding: 30px 40px; }
    .fund-manager__name { padding: 0; }
    .doc-cards { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .fund-disclosures .row { width: 95%; }
    .documents__section .row { width: 90%; }       /* width_tablet / width_phone 90% */
}
@media (max-width: 820px) {                       /* live .top-boxes: 2 per row */
    .fund-tile { width: 48%; }
}
@media (max-width: 479px) {                       /* live: sub-nav buttons and .top-boxes 1 per row on small phones */
    .fund-subnav { grid-template-columns: 1fr; }
    .fund-tile { width: 98%; }
    .fund-tile:last-child { margin-bottom: 0; }
}
@media (max-width: 767px) {
    .fund-strategy__text ul { padding-top: 35px; }
    .fund-h2 { font-size: 25px; }
    .fund-strategy__row .fund-h2 { padding-right: 133px; }
    .fund-strategy__text p, .fund-strategy__text li, .fund-note, .fund-note p { font-size: 14px; }
    .fund-note--link { font-size: 16px; }
    .fund-manager__name { font-size: 25px; }
    .doc-cards { grid-template-columns: 1fr; }
}
