/* ============================================================================
   site.css — novalsi.com
   Load order: bootstrap.min.css → site.css → baguetteBox (vendor, unchanged)

   SECTIONS
     1. TOKENS          6. LANDING         11. POST
     2. BASE            7. NEWSLETTER      12. SUBPAGE (about/contact/shows shell)
     3. ICONS           8. GALLERY TOOLBAR 13. CONTACT
     4. BUTTONS         9. GALLERY GRID    14. ABOUT
     5. FORMS          10. ART PAGE        15. BLOG
    16. MODALS & LEGACY COMPONENTS         17. UTILITIES

   CONVENTIONS
   - Component names are page-agnostic: .subpage-title, .btn-accent, .field, .hp
   - Per-piece accent colors: rgb(var(--btn-rgbd)) / rgb(var(--btn-rgbl))
   - Neutral colors come from the tokens below or Bootstrap's dark-theme vars.
     Body text inherits Bootstrap's dark color — don't re-declare it.
   - Layout-only classes (.nl-input width, etc.) carry no color/typography.
   ========================================================================= */


/* 1. TOKENS ------------------------------------------------------------- */

:root {
    --hero-grad: radial-gradient(120% 90% at 50% 0%, rgba(var(--btn-rgbd), .55), transparent 70%), var(--bs-body-bg);

    /* surfaces */
    --surface-1: #14171b;                 /* art page backdrop */
    --surface-2: #0e1013;                 /* tile bg behind images */
    --field-bg: rgba(33, 37, 41, .8);     /* = body dark @ 80% */
    --field-bg-focus: rgba(33, 37, 41, .9);

    /* muted ink (body text just inherits Bootstrap's dark-theme color) */
    --ink-soft: #9aa3ad;                  /* labels, summaries, dt's */
    --ink-mute: rgba(255, 255, 255, .5);  /* placeholders, faint uppercase labels */

    /* lines */
    --line: #2c333c;                      /* chips/tags/cards on body bg */
    --line-soft: rgba(255, 255, 255, .08);
    --hairline: #23272c;                  /* barely-there seam on same-bg surfaces (toolbar) */

    /* shape */
    --radius: .55rem;
    --radius-sm: .45rem;
}

[data-bs-theme=dark] {
    --bs-body-font-family: 'Libre Franklin', sans-serif;
}


/* 2. BASE ---------------------------------------------------------------- */

/* Honeypot: off-screen, never seen by humans. One class, every form. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.eyebrow {
    font-size: .8rem; letter-spacing: .28em; text-transform: uppercase;
    color: rgb(var(--btn-rgbl)); font-weight: 600; margin: 0 0 .6rem;
}
.eyebrow a { color: inherit; text-decoration: none; }
.eyebrow a:hover { text-decoration: underline; }

.color-rule {
    width: 64px; height: 4px; margin: 1rem 0 1.4rem;
    background: rgb(var(--btn-rgbl)); border-radius: 2px;
    opacity: 1;
}

.fit-cover { object-fit: cover; }


/* 3. ICONS (was Navbar-...-icons.css + topnav.css, identical rules) ------ */

.bs-icon {
    --bs-icon-size: .75rem;
    display: flex; flex-shrink: 0; justify-content: center; align-items: center;
    font-size: var(--bs-icon-size);
    width: calc(var(--bs-icon-size) * 2); height: calc(var(--bs-icon-size) * 2);
    color: var(--bs-primary);
}
.bs-icon-xs { --bs-icon-size: 1rem; width: calc(var(--bs-icon-size) * 1.5); height: calc(var(--bs-icon-size) * 1.5); }
.bs-icon-sm { --bs-icon-size: 1rem; }
.bs-icon-md { --bs-icon-size: 1.5rem; }
.bs-icon-lg { --bs-icon-size: 2rem; }
.bs-icon.bs-icon-primary { color: var(--bs-white); background: var(--bs-primary); }
.bs-icon.bs-icon-primary-light { color: var(--bs-primary); background: rgba(var(--bs-primary-rgb), .2); }
.bs-icon.bs-icon-semi-white { color: var(--bs-primary); background: rgba(255, 255, 255, .5); }
.bs-icon.bs-icon-rounded { border-radius: .5rem; }
.bs-icon.bs-icon-circle { border-radius: 50%; }


/* 4. BUTTONS & NAV -------------------------------------------------------- */

/* Sitewide default: per-piece dark fill. Unchanged from bs-theme-overrides. */
.btn, .btn-primary, .btn-group .btn {
    background: rgb(var(--btn-rgbd));
    color: white;
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, .25);
    filter: brightness(1.08);
}
.btn.active, .btn[aria-expanded="true"] {
    background: rgb(var(--btn-rgbl));
    color: var(--bs-body-bg);
    transform: translateY(0);
    box-shadow: 0 3px 8px rgba(0, 0, 0, .2);
}

.dropdown-menu .dropdown-item { color: var(--bs-body-bg); }
.dropdown-menu .dropdown-item.active,
.dropdown-menu .dropdown-item:active {
    background: rgb(var(--btn-rgbl));
    color: var(--bs-body-bg);
}

/* Accent send/CTA buttons. Replaces .landing-send, .nl-send, .contact-send,
   .btn-print. Two color variants, one shape:
     .btn-accent    light fill (rgbl), dark text  — newsletter Go!
     .btn-accent-d  dark fill  (rgbd), white text  — landing Subscribe, contact Send
   Declared after .btn so they win on shared properties. */
.btn-accent, .btn-accent-d {
    font-weight: 600; letter-spacing: .02em;
    border: none; border-radius: var(--radius);
    padding: .85rem 1rem; cursor: pointer;
    transition: filter .18s ease, transform .18s ease;
}
.btn-accent   { background: rgb(var(--btn-rgbl)); color: var(--bs-body-bg); }
.btn-accent-d { background: rgb(var(--btn-rgbd)); color: #fff; }
.btn-accent:hover, .btn-accent-d:hover {
    filter: brightness(1.06); transform: translateY(-1px); box-shadow: none;
}
.btn-accent:disabled, .btn-accent-d:disabled { opacity: .6; transform: none; cursor: not-allowed; }
.btn-accent-sm { padding: .55rem 1rem; font-size: .95rem; border-radius: var(--radius-sm); white-space: nowrap; }

/* Nav underline — echoes .color-rule (4px, rgbl), grows up on hover */
@media (prefers-reduced-motion: no-preference) {
    .navbar-nav .nav-link {
        position: relative;
    }
    .navbar-nav .nav-link::after {
        content: "";
        position: absolute;
        left: 0.5rem;
        right: 0.5rem;      /* inset to match the link's own padding */
        bottom: -4px;
        height: 4px;         /* same 4px as .color-rule */
        border-radius: 2px;  /* same 2px radius */
        background: rgb(var(--btn-rgbl));
        transform: scaleY(0);
        transform-origin: bottom;
        transition: transform 0.22s ease;
    }
    .navbar-nav .nav-link:hover::after,
    .navbar-nav .nav-link:focus-visible::after {
        transform: scaleY(1);
    }
}

/* 5. FORMS ----------------------------------------------------------------
   One input treatment everywhere. .form-control alias kept so the contact
   form needs no markup change. */

input, .field, .contact-form .form-control {
    box-shadow: none !important;
    outline: none !important;
    border: 1px solid rgba(var(--btn-rgbd), .8);
    border-radius: .5rem;
    background-color: var(--field-bg);
    backdrop-filter: blur(4px);
    color: #fff;
    padding: .8rem 1rem;
}
input:focus, .field:focus, .contact-form .form-control:focus {
    background: var(--field-bg-focus);
    border-color: rgb(var(--btn-rgbl));
}
input::placeholder, .field::placeholder { color: var(--ink-mute); }

.field-sm { padding: .55rem .8rem; font-size: .95rem; }


/* 6. LANDING --------------------------------------------------------------
   Breathing room before the footer when the hero is the only content. */

.landing-hero { margin-bottom: 4rem; }
.landing-signup { display: flex; flex-direction: column; gap: .55rem; width: 100%; }
.landing-success {
    margin-top: .8rem; padding: .9rem 1rem; border-radius: .4rem;
    background: rgba(18, 20, 24, .72); color: var(--bs-body-color);
}

/* Featured-piece credit. Per-piece colors arrive as --credit-bg / --credit-fg
   (rgb triplets) set inline on the element. Absolute over the hero on desktop;
   drops into flow below the form on mobile so it can't overlap it. */
.landing-credit {
    position: absolute; transform: translateY(-72px); margin: 1rem 0;
    background: rgba(var(--credit-bg), .8); color: var(--bs-body-bg);
}
.landing-credit a { color: rgb(var(--credit-fg)); }

/* On mobile the fixed 600px stage would bury the form; let it breathe. */
@media (max-width: 767px) {
    .landing-hero [data-bss-parallax-bg] { height: auto !important; padding-block: 2.5rem; }
    .landing-hero .row { min-height: 0 !important; }
    .landing-credit { position: static; transform: none; margin-top: 1.25rem; }
}


/* 7. NEWSLETTER (layout only — inputs/buttons come from .field/.btn-accent) */

.nl-form { margin-left: auto; }
.nl-row {
    display: flex; align-items: stretch; gap: .5rem; flex-wrap: nowrap;
    padding: .5rem; border-radius: .7rem;
}
.nl-input { min-width: 0; width: 20rem; }

@media (max-width: 575px) {
    .nl-row { flex-wrap: wrap; }
    .nl-row .nl-input, .nl-row .btn-accent { width: 100%; }
}


/* 8. GALLERY TOOLBAR ------------------------------------------------------ */

.gallery-toolbar { background: var(--bs-body-bg); z-index: 1020; border-bottom: 1px solid var(--hairline); padding: .8rem 0 .9rem; }
.gallery-toolbar .tier { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .5rem; }
.gallery-toolbar .tier + .tier { margin-top: .65rem; }

/* Scoped override of the sitewide .btn rule above — 2 classes beats 1 and it
   comes later, so it wins without !important. Grey by default; a pill no
   longer lights up just because its dropdown is open. */
.gallery-toolbar .btn {
    border-radius: 999px; padding: .75rem 1.75rem; font-size: 1.05rem; font-weight: 500;
    background: var(--bs-body-bg); border: none; color: var(--bs-body-color);
    box-shadow: none;
}
.gallery-toolbar .btn.pill-set { background: rgb(var(--btn-rgbd)); color: #fff; }
.gallery-toolbar .btn-reset:hover { background: rgb(var(--btn-rgbl)); color: var(--bs-body-bg); }

/* kill Bootstrap's focus/active box-shadow ring inside this toolbar */
.gallery-toolbar .btn:focus,
.gallery-toolbar .btn:focus-visible,
.gallery-toolbar .btn:active,
.gallery-toolbar .btn.show {
    box-shadow: none !important;
    outline: none !important;
}

.fcs { width: 26px; height: 26px; border-radius: 6px; border: 2px solid transparent; display: inline-block; cursor: pointer; }
.fcs.active { border-color: #fff; box-shadow: 0 0 0 2px #000 inset; }
.fcs:hover { transform: scale(1.12); transition: transform .12s; }

.tagchip { font-size: .82rem; padding: .22rem .7rem; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-soft); text-decoration: none; }
.tagchip:hover { border-color: #adb5bd; color: var(--bs-body-color); }
.tagchip.active { background: rgb(var(--btn-rgbl)); color: rgb(var(--btn-rgbd)); border-color: rgb(var(--btn-rgbl)); }
.tagchip .n { opacity: .65; margin-left: .3rem; }


/* 9. GALLERY GRID ---------------------------------------------------------
   Base (mobile-first): 2-up. min-width queries below widen it. */

.art-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .5rem;
}

.art-tile {
    position: relative; display: block; aspect-ratio: 3 / 2;
    overflow: hidden; background: var(--surface-2); border-radius: 2px;
}
.art-tile img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transform: scale(1); transition: transform .35s ease;
}
.art-tile:hover img, .art-tile:focus-visible img { transform: scale(1.07); }

/* caption: bottom ~40% of the tile, gradient tops out at 90% opacity */
.art-tile-cap {
    position: absolute; left: 0; right: 0; bottom: 0; height: 42%;
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: .6rem 1rem .8rem;
    background: linear-gradient(to top, rgba(var(--t-d), .9) 0%, rgba(var(--t-d), 0) 100%);
    color: rgb(var(--t-l));
    opacity: 0; transform: translateY(8px);
    transition: opacity .2s ease, transform .2s ease; pointer-events: none;
}
.art-tile-cap b { display: block; font-weight: 700; font-size: clamp(1.4rem, 2.6vw, 2.1rem); line-height: 1.1; }
.art-tile-cap .yr { display: block; opacity: .82; font-size: clamp(1rem, 1.6vw, 1.35rem); margin-top: .3rem; }

.art-tile:hover .art-tile-cap,
.art-tile:focus-visible .art-tile-cap { opacity: 1; transform: none; }
.art-tile:focus-visible { outline: 2px solid rgb(var(--t-l)); outline-offset: 2px; }

.gallery-body { min-height: 72vh; }   /* keeps the footer from riding up on sparse results */
.gallery-summary { color: var(--ink-soft); font-size: .95rem; }
.gallery-summary a { color: inherit; }
.gallery-empty { padding: 5rem 1rem; text-align: center; color: var(--ink-soft); }

/* widening + preference overrides (must come after the base rules) */
@media (min-width: 768px)  { .art-grid { grid-template-columns: repeat(3, 1fr); gap: .6rem; } }
@media (min-width: 1200px) { .art-grid { grid-template-columns: repeat(4, 1fr); gap: .7rem; } }

@media (hover: none) { .art-tile-cap { opacity: 1; transform: none; height: 34%; } }
@media (prefers-reduced-motion: reduce) {
    .art-tile-cap { transition: none; }
    .art-tile img { transition: none; }
    .art-tile:hover img, .art-tile:focus-visible img { transform: none; }
}


/* 10. ART PAGE ------------------------------------------------------------ */

.artpage { background: var(--surface-1); }
.artpage :focus-visible { outline: 2px solid rgb(var(--btn-rgbl)); outline-offset: 3px; }

.art-hero {
    background: var(--hero-grad);
    padding: clamp(1.5rem, 4vw, 3.5rem) 1rem;
    display: flex; justify-content: center;
}
.art-hero img {
    max-width: min(1100px, 100%); max-height: 78vh;
    width: auto; height: auto; object-fit: contain;
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .75); border-radius: 2px;
}

.art-titleband { padding: clamp(2rem, 5vw, 3.5rem) 0 1.5rem; }
.art-title {
    font-weight: 700; line-height: 1.02; letter-spacing: -.02em;
    font-size: clamp(2.2rem, 6vw, 4.25rem); margin: 0;
    max-width: 24ch;
}
.art-rule { height: 3px; width: 84px; background: rgb(var(--btn-rgbl)); margin-top: 1.5rem; border: 0; opacity: .95; }

.art-desc { font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.75; max-width: 62ch; }
.art-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.art-tag {
    font-size: .82rem; padding: .3rem .75rem; border-radius: 999px;
    border: 1px solid var(--line); color: var(--ink-soft); text-decoration: none;
    transition: border-color .15s, color .15s;
}
.art-tag:hover { border-color: rgb(var(--btn-rgbl)); color: rgb(var(--btn-rgbl)); }

.art-aside { border-left: 3px solid rgb(var(--btn-rgbl)); padding-left: 1.25rem; }
.art-aside h2 { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 .85rem; }
.art-dl { margin: 0 0 2rem; }
.art-dl div { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; border-bottom: 1px solid var(--line); }
.art-dl dt { color: var(--ink-soft); }
.art-dl dd { margin: 0; text-align: right; }
.art-links a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--line); }
.art-links a:hover { color: rgb(var(--btn-rgbl)); border-color: rgb(var(--btn-rgbl)); }

.art-buy { margin-top: 1.75rem; padding: 1.1rem 1.25rem; border-radius: .6rem; background: rgba(var(--btn-rgbd), .35); border: 1px solid var(--line); }
.art-buy .price { font-size: 1.4rem; font-weight: 700; }

.art-back { display: inline-block; margin: 2.5rem 0 3.5rem; color: var(--ink-soft); text-decoration: none; }
.art-back:hover { color: rgb(var(--btn-rgbl)); }

@media (prefers-reduced-motion: no-preference) {
    .art-titleband { animation: artRise .5s ease-out both; }
    @keyframes artRise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
}


/* 11. POST ---------------------------------------------------------------- */

.post-hero-band {
    background: var(--hero-grad);
    padding: clamp(1.5rem, 4vw, 3.5rem) 1rem;
}
.post-hero { max-height: 480px; object-fit: cover; width: 100%; border-radius: .75rem; }
.post-body p { font-size: 1.06rem; line-height: 1.75; margin-bottom: 1.25rem; }

.post-nav a { text-decoration: none; }
.featured-credit { font-size: .78rem; opacity: .65; margin-top: .35rem; }


/* 12. SUBPAGE — shared shell for about, contact, shows, whatever's next --- */

.subpage {
    background: var(--hero-grad);
    padding-block: clamp(2.5rem, 5vw, 4rem) clamp(3.5rem, 7vw, 6rem);
}
.subpage-title {
    font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 900; line-height: 1.02;
    margin: 0;
}
.subpage-lead {
    color: rgba(255, 255, 255, .75); max-width: 36ch; line-height: 1.6;
    font-size: 1.1rem; margin: 0 0 2.6rem;
}


/* 13. CONTACT ------------------------------------------------------------- */

.contact-methods { margin-top: 2.2rem; border-left: 2px solid rgb(var(--btn-rgbl)); }
.contact-method {
    display: flex; align-items: center; gap: .95rem;
    padding: .9rem 0 .9rem 1.2rem; text-decoration: none;
    border-bottom: 1px solid var(--line-soft);
    transition: padding-left .18s ease, background .18s ease;
}
.contact-method:last-child { border-bottom: none; }
.contact-method:hover { padding-left: 1.6rem; background: rgba(255, 255, 255, .03); }
.contact-method-icon {
    width: 22px; height: 22px; flex: 0 0 22px;
    background: rgb(var(--btn-rgbl));
    -webkit-mask: var(--i) center / contain no-repeat;
    mask: var(--i) center / contain no-repeat;
}
.contact-method-label {
    display: block; font-size: .7rem; letter-spacing: .16em;
    text-transform: uppercase; color: var(--ink-mute);
}
.contact-method-value { display: block; font-weight: 500; color: var(--bs-body-color); }
/* Kill Bootstrap link-blue on method rows whether the anchor is the row
   itself or nested around the value. */
.contact-method, .contact-method a { color: inherit; text-decoration: none; }
.contact-method:hover .contact-method-value { color: rgb(var(--btn-rgbl)); }

.contact-success {
    border-left: 2px solid rgb(var(--btn-rgbl));
    background: rgba(255, 255, 255, .03);
    padding: 1.5rem 1.5rem 1.5rem 1.6rem; border-radius: .4rem;
}
.contact-success h3 { margin: 0 0 .4rem; }
.contact-success p { color: rgba(255, 255, 255, .7); margin: 0; }


/* 14. ABOUT --------------------------------------------------------------- */

.about-tabs {
    display: flex; gap: 2rem; flex-wrap: wrap;
    border-bottom: 1px solid rgba(255, 255, 255, .1); margin-bottom: 2.2rem;
}
.about-tab {
    background: none; border: none; padding: 0 0 .8rem; margin-bottom: -1px;
    color: var(--ink-mute); font-weight: 600; font-size: .82rem;
    letter-spacing: .12em; text-transform: uppercase; cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: color .18s ease, border-color .18s ease;
}
.about-tab:hover { color: rgba(255, 255, 255, .8); }
.about-tab.active { color: #fff; border-bottom-color: rgb(var(--btn-rgbl)); }

.about-panel { display: none; }
.about-panel.active { display: block; animation: aboutFade .35s ease; }

.about-prose { max-width: 68ch; }
.about-prose p {
    font-size: 1.06rem; line-height: 1.75; margin-bottom: 1.25rem;
    color: rgba(255, 255, 255, .85);
}
.about-prose p:first-of-type { color: #fff; }
.about-panel a { color: rgb(var(--btn-rgbl)); }

@keyframes aboutFade {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
    .about-panel.active { animation: none; }
}


/* 15. BLOG ---------------------------------------------------------------- */

.blog-card { transition: transform .15s ease, box-shadow .15s ease; overflow: hidden; }
.blog-card:hover { transform: translateY(-3px); box-shadow: 0 .5rem 1.25rem rgba(0, 0, 0, .35); }
.blog-card .card-img-top { aspect-ratio: 16/9; object-fit: cover; }
.blog-card .stripe { height: 5px; background: rgb(var(--btn-rgbd)); }
.blog-card:hover .stripe { background: rgb(var(--btn-rgbl)); }
.blog-date, .post-date { font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; opacity: .65; }
.blog-tag {
    display: inline-block; font-size: .72rem; padding: .1rem .6rem; border-radius: 999px;
    background: rgb(var(--btn-rgbd)); color: rgb(var(--btn-rgbl));
    text-decoration: none; margin: 0 .25rem .25rem 0;
}
.blog-tag:hover { color: rgb(var(--btn-rgbl)); filter: brightness(1.2); }
.blog-tag.active { outline: 2px solid rgb(var(--btn-rgbl)); }
.blog-card a.stretched-title { color: inherit; text-decoration: none; }
.blog-card a.stretched-title:hover { text-decoration: underline; }


/* 16. MODALS & LEGACY COMPONENTS (carried over from bs-theme-overrides) --- */

.carousel-item.active img { animation: slowDrift 9s ease-out forwards; }
@keyframes slowDrift {
    from { transform: scale(1.015); }
    to   { transform: scale(1.055); }
}
@media (prefers-reduced-motion: reduce) {
    .carousel-item.active img { animation: none; }
}

.copy-panel {
    padding: 1rem .8rem;
    max-width: 360px;
    background: rgba(20, 20, 20, .72);
    backdrop-filter: blur(6px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
    opacity: 0;
    transform: translateY(10px);
    animation: copyIn .55s ease-out forwards;
}
@keyframes copyIn {
    to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
    .copy-panel { animation: none; opacity: 1; transform: none; }
}

#parallax-gallery {
    position: relative;          /* needed for ::before to position correctly */
    background: none !important; /* prevents full-color image from rendering */
    overflow: hidden;            /* ensures no flickering */
}
#parallax-gallery::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--bs-body-bg) !important;
    background-size: cover;
    background-position: center;
    filter: grayscale(100%);
    opacity: .80;
    z-index: -1;
}

.modal-fullscreen img { max-height: 100%; width: auto; object-fit: contain; }

.art-info-box {
    position: absolute; bottom: 20px; right: 20px;
    padding: 12px 16px; max-width: 300px; border-radius: 6px;
    opacity: .85; transition: opacity .3s ease-in-out;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .3);
}
.art-info-box:hover { opacity: 1; }

.tags-container {
    position: absolute; bottom: 10px; left: 10px;
    padding: 8px 12px; border-radius: 6px;
    display: flex; gap: 6px; flex-wrap: wrap;
}
.tag-badge {
    text-decoration: none; font-size: .85rem; padding: 4px 8px;
    border-radius: 4px; color: white;
    background-color: rgb(var(--btn-rgbd));
}
.tag-badge:hover { background: white; color: rgb(var(--btn-rgbd)); }

/* Stops the art card from flexboxing inside a flexbox on about.php;
   might be needed for shows.php as well */
#dynamicContent .col-md-4,
#art_cards .col-md-4 {
    flex: 0 0 auto;
    width: auto !important;
    max-width: 100%;
}

.clickable-section { cursor: pointer; transition: background-color .2s ease-in-out; }
.clickable-section:hover { filter: brightness(110%); }

.learn-more { color: var(--bs-primary); font-weight: bold; }

.modal-backdrop.show { opacity: .78; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.art-modal .modal-content { background: transparent; border: none; }
.art-modal-close {
    position: absolute; top: 1rem; right: 1.25rem; z-index: 5;
    width: 40px; height: 40px; border-radius: 50%; border: none;
    background: rgba(0, 0, 0, .4); color: #fff; font-size: 1.5rem; line-height: 1;
    display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.art-modal-close:hover { background: rgba(0, 0, 0, .65); }
.art-modal-body { position: relative; padding: 0; height: 100%; display: flex; align-items: center; justify-content: center; }
.art-modal .art-modal-img { max-width: 95%; max-height: 95vh; width: auto; height: auto; object-fit: contain; cursor: zoom-out; }
/* --am-l/--am-d are per-modal on purpose: multiple modals per page, each a
   different artwork with different colors */
.art-modal-panel {
    position: absolute; bottom: 24px; right: 24px; max-width: 380px; text-align: left;
    background: rgba(var(--am-d), .68); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    color: rgb(var(--am-l)); padding: 1.1rem 1.3rem; border-radius: .6rem;
}
.art-modal-title { font-weight: 700; margin-bottom: .4rem; }
.art-modal-year { font-weight: 400; opacity: .8; }
.art-modal-desc { color: rgba(255, 255, 255, .92); }
.art-modal-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin: .6rem 0; }
.art-modal-tag {
    font-size: .76rem; padding: .2rem .6rem; border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .25); color: rgba(255, 255, 255, .85); text-decoration: none;
}
.art-modal-tag:hover { border-color: rgb(var(--am-l)); color: rgb(var(--am-l)); }
.art-modal-fulllink {
    display: inline-block; margin-top: .3rem; font-weight: 600; color: rgb(var(--am-l));
    text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .3);
}
.art-modal-fulllink:hover { border-color: rgb(var(--am-l)); }
@media (max-width: 576px) { .art-modal-panel { left: 12px; right: 12px; bottom: 12px; max-width: none; } }


/* 17. UTILITIES ----------------------------------------------------------- */

.bg-rgbd { background-color: rgb(var(--btn-rgbd)) !important; }
.bg-rgbl { background-color: rgb(var(--btn-rgbl)) !important; }