/* Education Hub book library: restrained components using the existing Nivata visual language. */
.nivata-book-library{background:#f6f4ed;color:#13372f}.nivata-book-controls{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(220px,1fr);gap:18px;margin:30px 0 10px}.nivata-book-controls label{font-size:13px;font-weight:650;display:flex;flex-direction:column;gap:8px}.nivata-book-controls input,.nivata-book-controls select{min-width:0;width:100%;padding:13px 15px;border:1px solid #c5cabb;border-radius:10px;background:#fff;color:#173b32;font:inherit}.nivata-book-count{font-size:14px;color:#405e54;margin:10px 0 26px}.nivata-book-category{margin:0 0 36px}.nivata-book-category>header{display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid #c8cec4;margin-bottom:18px;padding-bottom:12px}.nivata-book-category>header h3{margin:0;font-size:clamp(21px,2.3vw,30px)}.nivata-book-category>header small{white-space:nowrap}.nivata-book-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.nivata-book-card{border:1px solid #d2d6ca;background:#fffdf7;border-radius:14px;min-width:0;overflow:hidden}.nivata-book-card details{height:100%}.nivata-book-card summary{display:block;cursor:pointer;position:relative;padding:24px;list-style:none}.nivata-book-card summary::-webkit-details-marker{display:none}.nivata-book-card summary:focus-visible{outline:3px solid #bb9551;outline-offset:-3px}.nivata-book-card__topic{display:block;color:#667759;font-size:11px;font-weight:750;letter-spacing:.08em;text-transform:uppercase}.nivata-book-card h4{font-size:clamp(18px,2vw,24px);line-height:1.2;margin:12px 0 8px;color:#13372f}.nivata-book-card summary p{color:#576d60;font-size:14px;margin:0 0 16px}.nivata-book-card__open{font-size:13px;color:#135542;font-weight:700}.nivata-book-card[open],.nivata-book-card:has(details[open]){border-color:#acb9a4}.nivata-book-card__body{padding:0 24px 23px}.nivata-book-card__body h5{color:#1b4337;font-size:15px;margin:20px 0 6px}.nivata-book-card__body p{color:#36564b;line-height:1.65;font-size:15px;margin:0}.nivata-book-card__links{margin-top:20px;padding-top:15px;border-top:1px solid #d5dacf;display:flex;flex-wrap:wrap;gap:9px 18px}.nivata-book-card__links a{font-size:13px;color:#125544;text-decoration:underline;text-underline-offset:3px}.nivata-book-empty{padding:20px;background:#fff;border-radius:10px}.nivata-book-card[hidden],.nivata-book-category[hidden]{display:none!important}@media(max-width:800px){.nivata-book-cards,.nivata-book-controls{grid-template-columns:1fr}.nivata-book-card summary,.nivata-book-card__body{padding-left:18px;padding-right:18px}}

/* v3.8.92: Quick Library design matches the v3.34.89.99 India book layout.
   All rules are scoped to this page; SEC/results/other U.S. pages are untouched. */
body.nivata-investing-books-page{background:#f6f4ed;color:#13372f}
body.nivata-investing-books-page .nivata-us-quick-library{width:100%;overflow:clip}
body.nivata-investing-books-page .educate-hero--academy{background:#082c24;color:#f7f3e8;grid-template-columns:minmax(0,1.25fr) minmax(260px,.75fr);gap:clamp(28px,5vw,80px);min-height:0;padding:clamp(46px,5.2vw,72px) clamp(28px,7vw,112px) clamp(42px,4vw,62px)}
body.nivata-investing-books-page .educate-hero--academy .educate-hero__copy{min-width:0}
body.nivata-investing-books-page .educate-hero--academy .educate-hero__stats{align-self:center;display:grid;gap:0;border-left:1px solid rgba(247,243,232,.2);padding-left:clamp(22px,3vw,42px)}
body.nivata-investing-books-page .educate-hero__stats>div{padding:14px 0;display:grid;gap:5px;border-bottom:1px solid rgba(247,243,232,.14)}
body.nivata-investing-books-page .educate-hero__stats>div:last-child{border-bottom:0}
body.nivata-investing-books-page .educate-hero__stats strong{color:#f7f3e8;font-size:clamp(28px,3vw,38px);font-weight:520;line-height:1.1}
body.nivata-investing-books-page .educate-hero__stats span{color:rgba(247,243,232,.72);font-size:11px;letter-spacing:.08em;text-transform:uppercase}
body.nivata-investing-books-page .educate-hero--academy h1{font-size:clamp(45px,6vw,84px);line-height:1.02;letter-spacing:-.048em;overflow-wrap:normal}
body.nivata-investing-books-page .educate-hero--academy .educate-hero__actions .button{display:inline-flex;align-items:center;justify-content:space-between;gap:30px;border-radius:999px;padding:16px 25px;color:#082c24;background:#f7f3e8;text-decoration:none;font-size:13px;letter-spacing:.07em;font-weight:750;text-transform:uppercase}
body.nivata-investing-books-page .educate-hero--academy .educate-hero__actions .line-link{font-size:13px;text-decoration:underline;text-underline-offset:4px}
body.nivata-investing-books-page .nivata-book-library{padding:clamp(54px,6vw,96px) clamp(28px,7vw,112px)}
body.nivata-investing-books-page .nivata-book-category>header{display:flex;align-items:center;justify-content:space-between}
body.nivata-investing-books-page .nivata-book-card summary h4{font-size:clamp(18px,2vw,24px)!important;margin:12px 0 8px!important;letter-spacing:-.02em;line-height:1.2}
body.nivata-investing-books-page .nivata-book-card__open{display:inline-block}
body.nivata-investing-books-page .nivata-book-empty[hidden]{display:none!important}
@media(max-width:900px){body.nivata-investing-books-page .educate-hero--academy{grid-template-columns:1fr;gap:25px}body.nivata-investing-books-page .educate-hero--academy .educate-hero__stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-left:0;border-top:1px solid rgba(247,243,232,.2);padding:14px 0 0;gap:15px}body.nivata-investing-books-page .educate-hero__stats>div{border-bottom:0;padding:8px 0}}
@media(max-width:640px){body.nivata-investing-books-page .educate-hero--academy{padding:40px 20px 35px;gap:18px}body.nivata-investing-books-page .educate-hero--academy h1{font-size:clamp(38px,9.5vw,59px)}body.nivata-investing-books-page .educate-hero__stats span{font-size:9px}body.nivata-investing-books-page .educate-hero__stats strong{font-size:27px}body.nivata-investing-books-page .nivata-book-library{padding:46px 20px}body.nivata-investing-books-page .education-section-head{grid-template-columns:1fr;gap:12px}body.nivata-investing-books-page .education-section-head h2{font-size:clamp(30px,7.3vw,42px)}body.nivata-investing-books-page .nivata-book-controls,body.nivata-investing-books-page .nivata-book-cards{grid-template-columns:1fr}}
/* The controlled library page must remain styled even when the legacy education bundle
   is not enqueued by WordPress's managed-route fallback. These are India template rules. */
body.nivata-investing-books-page .educate-hero{position:relative;display:grid;align-items:center;isolation:isolate}
body.nivata-investing-books-page .educate-hero__mesh{position:absolute;inset:0;z-index:-1;opacity:.22;background-image:linear-gradient(rgba(255,255,255,.055) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.055) 1px,transparent 1px),radial-gradient(circle at 82% 22%,rgba(219,194,126,.27),transparent 32%);background-size:64px 64px,64px 64px,auto}
body.nivata-investing-books-page .educate-hero__copy{max-width:820px}
body.nivata-investing-books-page .educate-hero .eyebrow{color:rgba(247,243,232,.72)}
body.nivata-investing-books-page .educate-hero .eyebrow span{display:inline-block;width:35px;border-top:1px solid #4dd59d;vertical-align:middle;margin-right:8px}
body.nivata-investing-books-page .educate-hero .eyebrow b{font-weight:500;padding:0 10px;color:#dbc27e}
body.nivata-investing-books-page .educate-hero h1{margin:18px 0 25px;font-weight:520}
body.nivata-investing-books-page .educate-hero h1 em{font-family:inherit;font-weight:420;font-style:normal;color:#dbc27e}
body.nivata-investing-books-page .educate-hero__copy>p:last-of-type{max-width:660px;margin:0;color:rgba(247,243,232,.78);font-size:clamp(16px,1.6vw,20px);line-height:1.55}
body.nivata-investing-books-page .educate-hero__actions{display:flex;flex-wrap:wrap;align-items:center;gap:24px;margin-top:30px}
body.nivata-investing-books-page .educate-hero .line-link{color:#f7f3e8}
body.nivata-investing-books-page .education-section-head{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(280px,.65fr);gap:48px;align-items:end;margin-bottom:46px}
body.nivata-investing-books-page .education-section-head h2{margin:5px 0 0;font-size:clamp(38px,5.2vw,68px);line-height:1;letter-spacing:-.045em;font-weight:520}
body.nivata-investing-books-page .education-section-head>p{margin:0;color:#69736f;font-size:16px;line-height:1.7}
body.nivata-investing-books-page .educate-note{display:flex;align-items:start;justify-content:space-between;gap:30px;padding:28px clamp(28px,7vw,112px);background:#e9e4d7;border-top:1px solid rgba(19,55,47,.12);color:#31534b;font-size:12px;line-height:1.6}
body.nivata-investing-books-page .educate-note p{margin:0;max-width:920px}
body.nivata-investing-books-page .educate-note a{color:inherit;text-decoration:underline;text-underline-offset:3px}
@media(max-width:900px){body.nivata-investing-books-page .education-section-head{grid-template-columns:1fr;gap:16px}body.nivata-investing-books-page .educate-note{flex-direction:column}}
@media(max-width:640px){body.nivata-investing-books-page .educate-hero__actions{gap:16px;margin-top:22px}body.nivata-investing-books-page .education-section-head{margin-bottom:26px}body.nivata-investing-books-page .educate-note{padding:24px 20px;gap:9px}}
