.nd-managed-cover{display:block;overflow:hidden;border-radius:16px;margin:20px 0;background:#151b23}.nd-managed-cover img{display:block;width:100%;height:clamp(180px,26vw,360px);object-fit:cover}.nd-discovery-card:has(.nd-hub-card-cover){padding:0;display:block;overflow:hidden}.nd-hub-card-cover{display:block;margin:0}.nd-hub-card-cover img{display:block;width:100%;height:180px;object-fit:cover}.nd-hub-card-content{display:flex;gap:16px;padding:22px}.nd-managed-extra{margin:32px 0}.nd-managed-group{padding:24px 0;scroll-margin-top:24px}.nd-managed-group h2{margin-bottom:10px}.nd-managed-article-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:18px}.nd-managed-article-grid article{padding:20px;background:#161c25;border:1px solid #ffffff18;border-radius:12px;min-width:0;overflow-wrap:anywhere}.nd-managed-article-grid h3{font-size:20px}.nd-managed-article-grid p{line-height:1.6;margin:12px 0}.nd-managed-article-grid a{color:#e7c66b}@media(max-width:760px){.nd-managed-cover img,.nd-hub-card-cover img{object-position:var(--nd-image-mobile-x,50%) var(--nd-image-mobile-y,50%)!important}.nd-managed-article-grid{grid-template-columns:1fr}.nd-hub-card-cover img{height:145px}.nd-hub-card-content{padding:17px}}

.nd-discovery-card{display:block;padding:0}.nd-hub-card-content>div{min-width:0;overflow-wrap:anywhere}

/* Image first, then title, description and action. Never stretch the source. */
.nd-hub-card-cover{position:relative;width:100%;aspect-ratio:16/9;max-height:320px;overflow:hidden;background:#10151d}
.nd-hub-card-cover img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover}
.nd-discovery-card:has(.nd-hub-card-cover) .nd-hub-card-content{display:block}

/* Keep the same desktop card width even when only one hub is visible. */
.nd-discovery-grid.nd-single{grid-template-columns:repeat(2,minmax(0,1fr))}
.nd-managed-cover img,.nd-hub-card-cover img{object-fit:contain}
@media(max-width:760px){.nd-discovery-grid.nd-single{grid-template-columns:1fr}}

/* Every hub image uses the same 16:9 frame, without height caps changing its ratio. */
.nd-managed-cover,.nd-hub-card-cover{position:relative;display:block;width:100%;height:auto;min-height:0;max-height:none;aspect-ratio:16/9;overflow:hidden}
.nd-managed-cover img,.nd-hub-card-cover img{position:absolute;inset:0;display:block;width:100%;height:100%;min-height:0;max-height:none;max-width:none}

/* Shared hub template: the established Classic introduction, section frames and image cards. */
.nd-managed-page{box-sizing:border-box;width:min(calc(100% - 32px),1240px);max-width:1240px;padding:22px 0 60px;margin:0 auto}
.nd-managed-extra>.nd-classic-group{margin-top:32px}
.nd-managed-page .nd-classic-card-image{position:relative;aspect-ratio:16/9;overflow:hidden;background:#0c1118}
.nd-managed-page .nd-classic-card-image img{position:absolute;inset:0;width:100%;height:100%;max-width:none;max-height:none;object-fit:cover}
.nd-managed-page .nd-classic-intro>.nd-managed-cover{margin-top:0}
@media(max-width:760px){.nd-managed-page{width:calc(100% - 32px)}}

/* Default hub typography, centered introductions and gold interaction colors. */
.nd-classic-page{line-height:1.65}
.nd-classic-page .nd-classic-intro{text-align:center;margin-bottom:32px}
.nd-classic-page .nd-classic-intro>p:not(.nd-classic-eyebrow){margin:0 auto 14px;max-width:78ch}
.nd-classic-page .nd-classic-intro .nd-classic-jumps{justify-content:center}
.nd-classic-page .nd-classic-breadcrumb{margin:0 0 20px}
.nd-classic-page :is(.nd-classic-breadcrumb,.nd-classic-group-heading,.nd-classic-next) a:is(:link,:visited),.nd-classic-page .nd-classic-card h3{color:#e2bd62}
.nd-classic-page :is(.nd-classic-breadcrumb,.nd-classic-group-heading,.nd-classic-next) a:is(:hover,:active),.nd-classic-page .nd-classic-card>a:is(:hover,:active) h3{color:#f3d58c;text-decoration:underline;text-underline-offset:3px}
.nd-classic-page .nd-classic-card{border-color:rgba(226,189,98,.32)}
.nd-classic-page .nd-classic-read{align-self:flex-end;text-align:right}
