/* ---------- Art page (art-specific) ----------
   Shared structure (cardless shell, hover, detail layout + header, spec list,
   sidebar links, .art-body padding) lives in collection.css / site.css. This
   file holds the section headers, per-section grid, and the poster thumbnail
   with its duration overlay. */

.art-section {
    margin: 0 0 3.5em;
    scroll-margin-top: 90px;   /* clear the sticky header when jumped to */
}

/* Section heading + blurb match the About page's section header + subtitle
   (.about-section-header h2 / .about-section-subtitle) for a consistent look. */
.art-section-title {
    font-size: 2.2em;
    font-weight: 700;
    line-height: 1;
    color: var(--heading);
    margin: 0;
}

.art-section-blurb {
    font-size: 1.05em;
    font-weight: 500;
    color: var(--text-secondary);
    margin: 0.8em 0 1.5em;
}

/* Per-section grid - column count from the inline --art-cols var. */
.art-grid {
    display: grid;
    grid-template-columns: repeat(var(--art-cols, 3), 1fr);
    gap: 10px;
}

/* Landscape poster with overlays. Rounding/clip + img fill come from the
   shared media-surface rules (collection.css); so does the detail-page
   neutralizer. Until an image lands, .is-empty paints the flat surface and
   the aspect ratio holds the space. */
.art-shot {
    position: relative;
    aspect-ratio: 16 / 10;
}

/* Duration overlay (bottom-right) on the thumbnail. The "tag" overlay was
   removed - videos no longer carry a PROFESSIONAL/KARAOKE badge. */
.art-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 0.7em;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 6px;
    corner-shape: squircle;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
}

.art-name {
    display: block;
    font-weight: 700;
    color: var(--heading);
}

.art-meta {
    font-size: 0.85em;
    color: var(--text-secondary);
    margin: 0.3em 0 0;
}

/* Collapse multi-column sections on narrower viewports. */
@media (max-width: 900px) {
    .art-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 720px) {
    /* Match the About section headers' mobile shrink (about.css) - the desktop
       2.2em title dominates a phone screen. */
    .art-section-title {
        font-size: 2.1em;
    }
}

/* Off the site's canonical breakpoints deliberately: at the 720px tier two
   art thumbs still fit comfortably; they only crowd below ~600px. */
@media (max-width: 600px) {
    .art-grid {
        grid-template-columns: 1fr;
    }
}
