/* Interior additions only. Original logo, global texture and homepage structure stay intact. */
.artist-profile .artist-portrait,.artist-directory-card .artist-landscape{aspect-ratio:16/9;height:auto;object-fit:contain;background:var(--neb-black)}
.neb-public .artist-directory-card .artwork.artist-landscape{aspect-ratio:16/9;height:auto;object-fit:contain}
.artist-image-preview{max-width:600px}.artist-image-preview img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:contain}
.interior-featured,.interior-promotions{margin-top:24px}
.interior-carousel{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:12px;align-items:center;min-width:0}
.interior-carousel .carousel-control{width:44px;min-width:44px;min-height:48px;line-height:1;font-size:40px;color:var(--neb-white)}
.interior-carousel .carousel-control:disabled{opacity:.35;cursor:default}
.interior-track{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 40px)/3);gap:20px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:thin;min-width:0;padding:8px 2px 12px;align-items:stretch}
.interior-track>*{scroll-snap-align:start;min-width:0}.interior-track:focus-visible{outline:2px solid var(--neb-white);outline-offset:3px}
.interior-feature-card .artwork{aspect-ratio:16/9;object-fit:contain;background:var(--neb-black);width:100%;height:auto}
.interior-feature-card h3,.promotion-card h3{color:var(--neb-white);font:700 26px/1.2 var(--neb-font-industrial);margin:12px 0 8px;overflow-wrap:anywhere}
.neb-public .interior-feature-card p,.neb-public .promotion-card p{color:var(--neb-silver);font-weight:700;font-size:18px;margin:8px 0}
.neb-public .interior-feature-card small,.neb-public .promotion-card .editorial-metadata{color:var(--neb-red)!important;font-size:19px!important;font-weight:700!important;background:var(--neb-black);line-height:1.5}
.promotion-track{grid-auto-columns:100%}
.promotion-artwork{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:contain;background:var(--neb-black);border:1px solid var(--neb-silver);border-radius:5px}
.promotion-link{display:block;color:inherit;text-decoration:none}.promotion-link:focus-visible{outline:2px solid var(--neb-white);outline-offset:4px}
.carousel-position{grid-column:2;font:700 18px/1.4 var(--neb-font-industrial);color:var(--neb-silver)}
.carousel-autoplay{grid-column:2;justify-self:start;min-height:44px}.promotion-preview{max-width:850px}
@media(max-width:800px){.interior-track{grid-auto-columns:calc((100% - 20px)/2)}.promotion-track{grid-auto-columns:100%}}
@media(max-width:600px){.interior-carousel{grid-template-columns:36px minmax(0,1fr) 36px;gap:6px}.interior-carousel .carousel-control{width:36px;min-width:36px}.interior-track{grid-auto-columns:100%;gap:14px}.interior-featured .section-heading,.interior-promotions .section-heading{font-size:22px!important}}
@media(prefers-reduced-motion:reduce){.interior-track{scroll-behavior:auto}}


/* Owner-reviewed fixes: artist icon buttons and aligned editorial spotlight. */
.artist-profile .artist-profile-header{align-items:start;grid-template-columns:minmax(0,1fr) minmax(0,2fr)}
.artist-profile .artist-profile-photo{align-self:start;min-width:0;margin:0}
.artist-profile .artist-profile-photo img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:contain}
.artist-profile .artist-profile-identity{min-width:0;align-self:start}
.artist-profile .artist-profile-identity h1{margin-top:0}
.artist-profile .artist-profile-header + .editorial-section{margin-block-start:24px}
.artist-profile .artist-link-stack .button{display:flex;align-items:center;justify-content:center;gap:12px;text-align:center}
.artist-profile .artist-platform-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 26px;width:26px;height:26px;color:var(--neb-white)}
.artist-profile .artist-platform-icon svg{display:block;width:24px;height:24px}
.artist-profile .artist-link-label{min-width:0;overflow-wrap:anywhere}
@media(min-width:801px){
 .artist-profile .artist-profile-header{display:grid;grid-template-rows:min-content 1fr;row-gap:12px}
 .artist-profile .artist-profile-photo{grid-area:1 / 1}
 .artist-profile .artist-profile-identity{grid-area:1 / 2 / span 2}
 .artist-profile .artist-link-stack{grid-area:2 / 1;min-width:0;margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .artist-profile .artist-link-stack .button{display:grid;grid-template-columns:26px minmax(0,6rem);gap:6px;padding-inline:8px;text-align:left}
}
.artist-profile .artist-external-arrow,.artist-profile .artist-desktop-arrow{display:none!important}
.homepage .artist-spotlight{display:grid;grid-template-columns:minmax(0,45%) minmax(0,1fr);grid-template-rows:auto;gap:24px;align-items:start;min-height:0;height:auto}
.homepage .artist-portrait{grid-column:1;grid-row:1;align-self:start;min-width:0;min-height:0;overflow:visible}
.homepage .artist-portrait img{display:block;width:100%;height:auto;max-height:none;aspect-ratio:16/9;object-fit:contain;border-radius:4px}
.homepage .spotlight-copy{grid-column:2;grid-row:1;align-self:start;min-width:0;padding:0}
.homepage .artist-spotlight h2{margin:0 0 12px;line-height:1.05;font-size:clamp(32px,4.2vw,58px)}
.homepage .spotlight-copy .section-heading{display:inline-block}
.homepage .spotlight-copy p{margin:14px 0!important;line-height:1.45;max-width:66ch;display:block;overflow:visible;-webkit-line-clamp:unset}
.homepage .spotlight-copy .spotlight-link{display:inline-block;position:static;grid-column:auto;grid-row:auto;margin:4px 0 0;justify-self:start;align-self:auto;font-size:20px;white-space:normal}
.cms .submission-artist-details{border-top:1px solid var(--neb-silver);margin:20px 0;padding-top:16px;min-width:0}
.cms .submission-artist-details h3,.cms .submission-artist-details h4{margin:12px 0 8px}
.cms .submission-artist-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px}
.cms .submission-artist-fields div{min-width:0}.cms .submission-artist-fields dt{font-weight:700;color:var(--neb-white)}.cms .submission-artist-fields dd{margin:0;overflow-wrap:anywhere}
.cms .submission-biography{white-space:normal;overflow-wrap:anywhere;max-width:80ch}
.cms .submission-social-links{list-style:none;display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:10px;padding:0}
.cms .submission-social-links a{display:flex;align-items:center;gap:10px;padding:12px;border:1px solid var(--neb-red);border-radius:5px;text-decoration:none;overflow-wrap:anywhere}
.cms .submission-social-links a:hover,.cms .submission-social-links a:focus-visible{background:var(--neb-charcoal)}
.cms .submission-link-icon{display:inline-flex;flex:0 0 24px}.cms .submission-link-icon svg{width:24px;height:24px}
.cms .submission-artist-actions{display:flex;align-items:end;gap:16px;flex-wrap:wrap;margin-top:16px}
.cms .submission-artist-actions form{flex:1 1 280px;max-width:480px}
.cms .submission-artist-actions select{width:100%}
.cms .submission-raw-data{margin-top:20px}
.cms .submission-raw-data pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:320px;overflow-y:auto}
@media(max-width:800px){
 .artist-profile .artist-profile-header{display:flex;flex-direction:column;align-items:stretch}
 .artist-profile .artist-profile-photo{width:75%;margin:0 auto}
 .artist-profile .artist-link-stack .button{display:flex;align-items:center;justify-content:center;min-height:60px;padding:14px 18px}
 .homepage .artist-spotlight{grid-template-columns:minmax(0,42%) minmax(0,1fr);gap:16px}
 .homepage .artist-spotlight h2{font-size:clamp(26px,5vw,40px)}
}
@media(max-width:600px){
 .homepage .artist-spotlight{grid-template-columns:minmax(0,1fr);gap:14px}
 .homepage .artist-portrait,.homepage .spotlight-copy{grid-column:1;grid-row:auto}
 .homepage .artist-spotlight h2{font-size:clamp(30px,7vw,42px)}
 .cms .submission-artist-fields,.cms .submission-social-links{grid-template-columns:minmax(0,1fr)}
}

/* Give artist content breathing room before the site footer. */
.artist-profile-page .page-content{padding-block:32px}
@media(max-width:800px){.artist-profile-page .page-content{padding-block-start:0}}
@media(max-width:600px){.artist-profile-page .page-content{padding-block-end:24px}}

/* Featured artist banners fill the directory content width. */
.neb-public .featured-artists-grid{grid-template-columns:minmax(0,1fr)}
.featured-artists-grid .artist-directory-card{min-width:0}
.featured-artists-grid .artist-directory-card > a{display:block}
.featured-artists-grid .artist-directory-card .artist-landscape{display:block;width:100%;max-width:100%;height:auto;aspect-ratio:16/9;object-fit:contain}

/* Detail artwork follows the original image shape without letterboxing. */
.neb-public img.artwork.detail-art{display:block;width:100%;height:auto;max-width:100%;max-height:none;aspect-ratio:auto;background:transparent}

/* A lone latest story uses the full section instead of an empty multi-card grid. */
.homepage .latest-stories:has(>.story-lead:only-child){grid-template-columns:minmax(0,1fr);grid-template-rows:auto;min-height:0}
.homepage .latest-stories>.story-lead:only-child{grid-column:1/-1;grid-row:auto;min-width:0}
.homepage .latest-stories>.story-lead:only-child .story-link{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);height:auto;min-height:0;position:relative}
.homepage .latest-stories>.story-lead:only-child .artwork{grid-area:1/1;display:block;width:100%;height:auto;max-height:none;aspect-ratio:auto;object-fit:contain;align-self:start}
.homepage .latest-stories>.story-lead:only-child .story-copy{grid-area:1/2;position:static;inset:auto;width:auto;min-width:0;height:auto;min-height:0;padding:20px}
.homepage .latest-stories>.story-lead:only-child h3{font-size:clamp(26px,3vw,40px);overflow-wrap:anywhere}
@media(max-width:600px){
 .homepage .latest-stories>.story-lead:only-child .story-link{grid-template-columns:minmax(0,1fr)}
 .homepage .latest-stories>.story-lead:only-child .story-copy{grid-area:2/1}
}

/* Center article detail pages and use readable editorial text. */
.neb-public .page-content:has(> .detail-header){width:calc(100% - 40px) !important;max-width:860px !important;margin-inline:auto !important;box-sizing:border-box !important}
.neb-public .page-content:has(> .detail-header) .detail-header{max-width:none !important;margin-inline:auto !important}
.neb-public .page-content:has(> .detail-header) .detail-header h1{font-size:clamp(32px,4vw,48px) !important;line-height:1.15 !important}
.neb-public .page-content:has(> .detail-header) .detail-header p{font-size:20px !important;line-height:1.6 !important;max-width:none !important}
.neb-public .page-content:has(> .detail-header) .article-body{font-size:20px !important;line-height:1.7 !important;max-width:none !important;margin:24px auto !important;text-align:left !important}
.neb-public .page-content:has(> .detail-header) .article-body p{font-size:inherit !important;line-height:inherit !important;margin:0 0 1em !important;max-width:none !important}
.neb-public .page-content:has(> .detail-header) .article-body p:empty{display:none !important}
.neb-public .page-content:has(> .detail-header) :is(.related-artists,.release-details,.release-tracklist,.share-links){font-size:18px !important;line-height:1.6 !important}
.neb-public .page-content:has(> .detail-header) img.release-cover{width:min(100%,520px) !important;height:auto !important;margin:24px auto !important;display:block !important}
@media(max-width:600px){.neb-public .page-content:has(> .detail-header){width:calc(100% - 32px) !important}.neb-public .page-content:has(> .detail-header) :is(.article-body,.detail-header p){font-size:18px !important}}

/* Keep a single lead story readable across the homepage section. */
.neb-public .homepage .latest-stories:has(> .story-lead:only-child){display:grid !important;grid-template-columns:minmax(0,1fr) !important;grid-template-rows:auto !important;min-height:0 !important}
.neb-public .homepage .latest-stories > .story-lead:only-child{grid-column:1/-1 !important;width:100% !important;max-width:none !important;min-height:0 !important}
.neb-public .homepage .latest-stories > .story-lead:only-child .story-link{display:grid !important;grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;height:auto !important;min-height:0 !important}
.neb-public .homepage .latest-stories > .story-lead:only-child .artwork{width:100% !important;height:auto !important;aspect-ratio:auto !important;object-fit:contain !important;grid-area:1/1 !important}
.neb-public .homepage .latest-stories > .story-lead:only-child .story-copy{position:static !important;inset:auto !important;grid-area:1/2 !important;max-width:none !important;width:auto !important;padding:24px !important;background:var(--neb-black) !important}
.neb-public .homepage .latest-stories > .story-lead:only-child h3{font-size:clamp(26px,3vw,40px) !important;line-height:1.15 !important}
@media(max-width:600px){.neb-public .homepage .latest-stories > .story-lead:only-child .story-link{grid-template-columns:minmax(0,1fr) !important}.neb-public .homepage .latest-stories > .story-lead:only-child .story-copy{grid-area:2/1 !important}}

/* Let the lead collage establish its grid row height. */
.neb-public .homepage .latest-stories > .story-lead:only-child .artwork{position:static !important;inset:auto !important;align-self:start !important;max-width:100% !important}

/* Omit empty related-story navigation. */
.neb-public .editorial-section:has(> .carousel > .carousel-track:empty){display:none !important}

/* Match news card frame dimensions within each row. */
.neb-public .type-news > .feature-split{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:24px}
.neb-public .type-news .content-card .card-image{position:relative;width:100%;height:auto !important;aspect-ratio:16/9 !important;overflow:hidden;box-sizing:border-box}
.neb-public .type-news .content-card .card-image > .artwork{position:static !important;display:block;width:100% !important;height:100% !important;max-height:none !important;aspect-ratio:16/9 !important;object-fit:contain !important}
.neb-public .interior-feature-card > a > .artist-landscape{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:contain}
@media(max-width:600px){.neb-public .type-news > .feature-split{grid-template-columns:minmax(0,1fr)}}

/* Keep news photography proportional without overwhelming the article text. */
.neb-public .page-content img.artwork.news-article-art{width:auto;height:auto;max-width:100%;max-height:min(60vh,480px);aspect-ratio:auto;object-fit:contain;margin:16px auto 24px}

/* Ordinary directory entries stay compact as the roster grows. */
.neb-public .artist-directory-list{list-style:none;margin:0 0 24px;padding:0}
.neb-public .artist-directory-list li{border-bottom:1px solid var(--neb-silver)}
.neb-public .artist-directory-link{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr) minmax(0,1.5fr);gap:12px 24px;align-items:center;min-height:56px;padding:14px 12px;text-decoration:none;overflow-wrap:anywhere}
.neb-public .artist-directory-name{font-family:var(--neb-font-industrial);font-size:26px;font-weight:700;text-decoration:underline;text-underline-offset:4px}
.neb-public .artist-directory-city,.neb-public .artist-directory-genre{font-size:18px;color:var(--neb-silver)}
.neb-public .artist-directory-link:hover{background:rgba(10,10,10,.65)}
.neb-public .artist-directory-link:focus-visible{outline:2px solid var(--neb-white);outline-offset:2px}
@media(max-width:600px){.neb-public .artist-directory-link{grid-template-columns:minmax(0,1fr);gap:4px;padding:14px 8px}.neb-public .artist-directory-link span:empty{display:none}}

/* Publication metadata belongs to the full page, with quiet readable sizing. */
.neb-public .page-content:has(> .detail-header) .detail-header .publication-date{font-family:var(--neb-font-body);font-size:16px !important;line-height:1.5 !important;font-weight:400;color:var(--neb-silver);margin:12px 0}
.neb-public .detail-header .publication-date time{display:inline;font:inherit;color:inherit;background:transparent}

/* Full content-width cover with a compact height; long text may grow safely. */
.neb-public .homepage .cover-story{width:100%;margin:0;min-height:calc(min(100vw,1440px)/4.68);padding:60px 20px 16px}
.neb-public .homepage .hero-primary{font-size:clamp(32px,4.77vw,67px)}
.neb-public .homepage .hero-secondary{font-size:clamp(24px,3.43vw,48px)}
.neb-public .homepage .cover-copy p{font-size:18px !important;line-height:1.4 !important}
.neb-public .homepage .cover-copy .button{font-size:19px}
@media(max-width:600px){.neb-public .homepage .cover-story{width:100%;min-height:260px;padding:56px 12px 14px}.neb-public .homepage .hero-primary{font-size:32px}.neb-public .homepage .hero-secondary{font-size:24px}.neb-public .homepage .cover-copy p{font-size:16px !important;margin:6px auto}}

/* Equal news feature frames keep artwork complete and headline starts aligned. */
.neb-public .type-news > .news-featured-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));align-items:stretch;gap:20px;padding-bottom:24px}
.neb-public .news-featured-grid .content-card{display:flex;flex-direction:column;padding:14px;border:1px solid #555;border-radius:8px;background:rgba(10,10,10,.72)}
.neb-public .type-news > .news-featured-grid .card-image{width:100%;height:clamp(180px,21vw,280px) !important;aspect-ratio:auto !important;margin:0;background:linear-gradient(135deg,#252525,#151515);border:1px solid #444;border-radius:4px}
.neb-public .type-news > .news-featured-grid .card-image > .artwork{width:100% !important;height:100% !important;aspect-ratio:auto !important;object-fit:contain !important;background:transparent;border:0;border-radius:0}
.neb-public .page-content.type-news .news-featured-grid .content-card h3{font-size:24px;line-height:1.25;margin:14px 0 8px}
.neb-public .news-featured-grid .content-card>small{margin-top:auto;padding-top:8px;background:transparent}

.neb-public .homepage .cover-label{top:20px;left:20px;font-size:24px !important}

/* Compact homepage story imagery while keeping titles and links readable. */
.neb-public .homepage .latest-stories{grid-template-rows:repeat(2,minmax(110px,auto));min-height:230px;height:auto}
.neb-public .homepage .story-lead .story-copy{min-height:230px;padding:12px}
.neb-public .homepage .story-lead h3{font-size:32px;line-height:1.15}
.neb-public .homepage .story-lead p{font-size:16px !important;line-height:1.4 !important}
.neb-public .homepage .story-small{min-height:102px}
.neb-public .homepage .story-small .story-link{min-height:102px}
.neb-public .homepage .story-small .story-copy{padding:6px 9px}
.neb-public .homepage .story-small h3{font-size:20px;line-height:1.2}
.neb-public .homepage .latest-stories>.story-lead:only-child .artwork{width:100%;height:auto;max-height:230px;object-fit:contain}
@media(max-width:600px){.neb-public .homepage .latest-stories{grid-template-rows:auto auto auto;min-height:0}.neb-public .homepage .story-lead h3{font-size:24px}.neb-public .homepage .story-lead .story-copy{min-height:225px;padding:10px}.neb-public .homepage .story-small h3{font-size:18px}.neb-public .homepage .latest-stories>.story-lead:only-child .artwork{max-height:225px}}

/* Let the tallest featured card set the row height; keep category bars aligned. */
.neb-public .interior-track > .interior-feature-card{display:flex;flex-direction:column}
.neb-public .interior-track > .interior-feature-card > small{margin-top:auto}

/* Give show information room beside a top-aligned, uncropped flyer. */
.neb-public .page-content:has(> .show-detail){max-width:1120px !important}
.neb-public .feature-split.show-detail{grid-template-columns:minmax(0,2fr) minmax(0,3fr);align-items:start;gap:28px;margin-top:20px}
.neb-public .show-detail .show-flyer{width:100%;max-width:440px;margin:0 auto}
.neb-public .show-detail .show-details{min-width:0;overflow-wrap:anywhere}
.neb-public .show-detail .show-details>h2{font-size:clamp(24px,2.5vw,32px);line-height:1.2;margin:0 0 12px}
.neb-public .show-detail .show-details>p{margin:0 0 14px}
.neb-public .show-detail .show-details>.section-heading{margin:18px 0 10px}
.neb-public .page-content:has(> .show-detail) .show-detail .article-body{white-space:normal;margin:12px 0 18px !important;font-size:18px !important;line-height:1.6 !important}
@media(max-width:800px){.neb-public .feature-split.show-detail{grid-template-columns:minmax(0,1fr);gap:24px}}

.neb-public .carousel + .carousel-autoplay,.neb-public .interior-carousel + .carousel-autoplay{display:block;margin:8px 0 16px;font-size:16px}

/* Related-content cards share a footer baseline even with longer titles. */
.neb-public .carousel-track:has(> .content-card:not(.media-card)){align-items:stretch}
.neb-public .carousel-track > .content-card:not(.media-card){display:flex;flex-direction:column}
.neb-public .carousel-track > .content-card:not(.media-card) > small{margin-top:auto}
.neb-public .show-details .button svg{vertical-align:-.1em;margin-left:.2em}

/* Active promotions share the release row; no campaign leaves releases full width. */
.homepage .home-release-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:24px}
.homepage .home-release-layout.has-promotions{grid-template-columns:minmax(0,2fr) minmax(0,1fr)}
.homepage .home-release-layout>section{min-width:0}
.homepage .has-promotions .home-releases .carousel-track{grid-auto-columns:calc((100% - 36px)/3)}
.homepage .home-promotions .interior-carousel{grid-template-columns:28px minmax(0,1fr) 28px;gap:6px}
.homepage .home-promotions .carousel-control{width:28px;min-width:28px}
.homepage .home-promotions .promotion-track{grid-auto-columns:100%}
.homepage .home-promotions .promotion-card{overflow-wrap:anywhere}
@media(max-width:800px){.homepage .home-release-layout.has-promotions{grid-template-columns:minmax(0,1fr)}}
@media(max-width:600px){.homepage .has-promotions .home-releases .carousel-track{grid-auto-columns:calc((100% - 10px)/2)}}

/* Homepage CRT is a linked thumbnail; playback belongs to the video detail page. */
.neb-public .homepage .home-video-link{display:grid;grid-template-columns:minmax(0,1fr);justify-items:center;gap:20px;text-align:center;text-decoration:none}
.neb-public .home-featured-video .approved-crt{max-width:720px}
.neb-public .home-featured-video .approved-crt-artwork{z-index:1}
.neb-public .home-featured-video .crt-screen{z-index:0}
.neb-public .home-video-copy{min-width:0;max-width:640px;overflow-wrap:anywhere}
.neb-public .home-video-copy h3{font-size:clamp(26px,3vw,40px);line-height:1.15;margin:0 0 12px}
.neb-public .home-video-copy p{margin:0 0 18px}
@media(max-width:800px){.neb-public .homepage .home-video-link{grid-template-columns:minmax(0,1fr);gap:12px}.neb-public .home-featured-video .approved-crt{margin-inline:auto}}

/* Compact only the bottom-page promotion frame; retain the complete source image. */
.neb-public .interior-promotions .promotion-artwork{aspect-ratio:32/9;height:auto;object-fit:contain}
