/* Banriion visual styles */

/* Homepage */
.ban-home-hero {
    overflow: hidden;
}

.ban-home-copy > :last-child,
.ban-update-body > :last-child {
    margin-bottom: 0;
}

.ban-home-copy img,
.ban-update-body img {
    max-width: 100%;
    height: auto;
}

.ban-status-links {
    gap: .75rem;
}

/* Gallery index / project grids */
.ban-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr));
    gap: 1.35rem;
    align-items: stretch;
}

.ban-gallery-item {
    min-width: 0;
}

.ban-gallery-card {
    overflow: hidden;
    color: inherit;
    text-decoration: none !important;
    background: transparent;
    background: color-mix(in srgb, currentColor 4%, transparent);
    border: 1px solid currentColor;
    border-color: color-mix(in srgb, currentColor 18%, transparent);
    border-radius: .65rem;
    box-shadow: 0 2px 10px color-mix(in srgb, currentColor 7%, transparent);
}

.ban-gallery-card:hover,
.ban-gallery-card:focus {
    color: inherit;
}

.ban-gallery-card:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

.ban-gallery-media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    padding: .75rem;
    border-bottom: 1px solid;
    border-color: color-mix(in srgb, currentColor 14%, transparent);
}

.ban-gallery-media > img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ban-gallery-count {
    position: absolute;
    top: .5rem;
    right: .5rem;
    z-index: 2;
}

.ban-gallery-literature {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.ban-gallery-title {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 .35rem;
    overflow-wrap: anywhere;
}

.ban-gallery-card-body {
    padding: 1.1rem 1.25rem 1.2rem;
}

.ban-gallery-project {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    opacity: .75;
    margin-bottom: .35rem;
}

.ban-gallery-date {
    display: block;
    font-size: .9rem;
    opacity: .8;
}

.ban-gallery-tags {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    line-height: 1.4;
    margin-top: .75rem;
    opacity: .85;
}

.ban-gallery-tags span {
    display: inline;
}

/* Individual pieces */
.ban-piece-nav .btn {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ban-program-icon {
    max-width: 100%;
    height: 1rem;
    vertical-align: text-bottom;
}

.ban-piece-tags .badge a {
    color: inherit;
}

.ban-piece-stage {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 12rem;
    width: 100%;
    padding: clamp(.75rem, 2vw, 1.5rem);
    background: color-mix(in srgb, currentColor 4%, transparent);
    border: 1px solid currentColor;
    border-color: color-mix(in srgb, currentColor 16%, transparent);
    border-radius: .65rem;
}

.ban-piece-stage > a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.ban-piece-display {
    display: block;
    max-width: 100%;
    max-height: 72vh;
    width: auto;
    height: auto;
    margin: 0 auto;
}

.ban-piece-pair {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    align-items: center;
}

.ban-piece-thumbnails {
    display: flex;
    gap: .5rem;
    justify-content: center;
    overflow-x: auto;
    padding: .25rem .25rem .75rem;
    min-width: 0;
}

.ban-piece-switcher-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    max-width: 100%;
}

.ban-piece-switcher-controls .ban-piece-thumbnails {
    margin: 0;
}

.ban-piece-switcher-controls .ban-piece-switcher-arrow {
    position: static;
    flex: 0 0 auto;
    transform: none;
    min-width: 2.5rem;
    min-height: 2.5rem;
}

.ban-piece-thumb {
    position: relative;
    flex: 0 0 5rem;
    width: 5rem;
    height: 5rem;
    padding: .2rem;
    overflow: hidden;
    cursor: pointer;
    background: transparent;
    color: inherit;
    border: 1px solid;
    border-color: currentColor;
    border-radius: .25rem;
    opacity: .7;
}

.ban-piece-thumb:hover,
.ban-piece-thumb:focus,
.ban-piece-thumb.active {
    opacity: 1;
}

.ban-piece-thumb.active {
    border-width: 2px;
}

.ban-piece-thumb:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

.ban-piece-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ban-piece-thumb-video {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.ban-image-descriptions summary {
    cursor: pointer;
}

/* Public hooks for easy gallery border customization.
 * Lex can target .gallery-image, .piece-image, .gallery-thumbnail, or .piece-thumbnail
 * in this file without changing Blade templates.
 */
.gallery-image,
.gallery-thumbnail {
    box-sizing: border-box;
}

/* Admin pages */
.ban-admin-actions,
.ban-settings-grid,
.ban-admin-piece-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
    gap: 1rem;
}

.ban-admin-actions a {
    color: inherit;
    text-decoration: none;
}

.ban-admin-actions a:hover,
.ban-admin-actions a:focus {
    color: inherit;
    text-decoration: underline;
}

.ban-settings-card {
    margin: 0;
}

.ban-manual-types {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.ban-admin-piece-media {
    height: 12rem;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-bottom: 1px solid currentColor;
}

.ban-admin-piece-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (max-width: 767.98px) {
    .ban-piece-pair {
        grid-template-columns: 1fr;
    }

    .ban-piece-stage {
        min-height: 8rem;
    }
}

/* Package 02: commission pages + dependable artwork switchers */
.ban-piece-switcher-stage,
.ban-example-stage-wrap {
    position: relative;
}

.ban-piece-switcher-pane[hidden],
.ban-example-pane[hidden] {
    display: none !important;
}

.ban-example-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    transform: translateY(-50%);
}

.ban-example-prev {
    left: .75rem;
}

.ban-example-next {
    right: .75rem;
}

.ban-commission-status,
.ban-commission-price {
    font-size: 1rem;
}

.ban-commission-guidelines > summary,
.ban-quote-guidelines > summary,
.ban-type-extras > summary {
    cursor: pointer;
}

.ban-rich-text > :last-child {
    margin-bottom: 0;
}

.ban-rich-text img {
    max-width: 100%;
    height: auto;
}

.ban-category-nav {
    display: flex;
    flex-wrap: wrap;
}

.ban-commission-type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
    gap: 1rem;
}

.ban-commission-type-card {
    min-width: 0;
    overflow: hidden;
}

.ban-commission-hero,
.ban-commission-type-card,
.ban-commission-guidelines {
    background: transparent;
    background: color-mix(in srgb, currentColor 4%, transparent);
    border: 1px solid currentColor;
    border-color: color-mix(in srgb, currentColor 18%, transparent);
    border-radius: .65rem;
}

.ban-commission-hero {
    padding: 1.5rem;
}

.ban-commission-hero h1,
.ban-commission-category h2 {
    font-weight: 700;
    letter-spacing: -.025em;
}

.ban-commission-category > .border-bottom {
    border-color: color-mix(in srgb, currentColor 25%, transparent) !important;
}

.ban-commission-type-card .card-body {
    padding: 1.5rem;
}

.ban-commission-type-card h3 {
    font-weight: 700;
}

.ban-commission-type-card .ban-rich-text {
    max-width: 72ch;
    line-height: 1.6;
}

.ban-commission-guidelines > summary {
    background: transparent;
    color: inherit;
    border-color: color-mix(in srgb, currentColor 16%, transparent);
}

.ban-commission-example-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .4rem;
}

.ban-commission-example-thumb {
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border: 1px solid;
    border-color: currentColor;
    border-radius: .25rem;
    opacity: .9;
}

.ban-commission-example-thumb:hover,
.ban-commission-example-thumb:focus {
    opacity: 1;
}

.ban-commission-example-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ban-example-stage {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 18rem;
    max-height: 68vh;
    overflow: hidden;
}

.ban-example-stage > a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.ban-example-media {
    display: block;
    max-width: 100%;
    max-height: 65vh;
    width: auto;
    height: auto;
    margin: 0 auto;
}

.ban-example-thumbs {
    display: flex;
    gap: .5rem;
    justify-content: center;
    overflow-x: auto;
    padding: .25rem .25rem .75rem;
}

.ban-example-thumb {
    flex: 0 0 4.5rem;
    width: 4.5rem;
    height: 4.5rem;
    padding: .2rem;
    overflow: hidden;
    cursor: pointer;
    background: transparent;
    color: inherit;
    border: 1px solid;
    border-color: currentColor;
    border-radius: .25rem;
    opacity: .5;
}

.ban-example-thumb:hover,
.ban-example-thumb:focus,
.ban-example-thumb.active {
    opacity: 1;
}

.ban-example-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ban-quote-form-card .form-control {
    max-width: 100%;
}

.ban-form-section textarea {
    resize: vertical;
}

@media (max-width: 767.98px) {
    .ban-example-arrow {
        top: auto;
        bottom: .5rem;
        transform: none;
    }

    .ban-example-stage {
        min-height: 12rem;
    }

    .ban-commission-example-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Homepage */
.ban-home-intro {
    text-align: center;
    padding: clamp(1.25rem, 3vw, 2rem);
    background: color-mix(in srgb, currentColor 4%, transparent);
    border: 1px solid currentColor;
    border-color: color-mix(in srgb, currentColor 16%, transparent);
    border-radius: .75rem;
}

.ban-home-intro img {
    display: block;
    max-width: 100%;
    max-height: 20rem;
    width: auto;
    height: auto;
    margin: 0 auto 1rem;
}

.ban-home-intro .card,
.ban-home-intro .card-header,
.ban-home-intro .card-body {
    background: transparent !important;
    border: 0;
    box-shadow: none;
}

.ban-home-intro .card-header,
.ban-home-intro .card-body {
    padding: .25rem 0;
}

.ban-home-intro p {
    margin-bottom: .75rem;
}

.ban-home-intro h4 {
    font-size: clamp(1.35rem, 2vw, 1.7rem);
    font-weight: 700;
}

.ban-home-shortcuts {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: .75rem;
    padding: .25rem 0;
}

.ban-home-shortcuts a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    padding: .6rem 1.15rem;
    border: 1px solid currentColor;
    border-color: color-mix(in srgb, currentColor 32%, transparent);
    border-radius: 999px;
    color: inherit;
    text-decoration: none;
    font-weight: 700;
}

.ban-home-shortcuts a:hover,
.ban-home-shortcuts a:focus-visible {
    background: color-mix(in srgb, currentColor 8%, transparent);
    color: inherit;
    text-decoration: none;
}

.ban-home-shortcuts a:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

.ban-home-columns {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(16rem, 1fr);
    gap: 1.25rem;
}

.ban-home-updates,
.ban-home-aside > section {
    min-width: 0;
    padding: 1.35rem;
    background: color-mix(in srgb, currentColor 4%, transparent);
    border: 1px solid currentColor;
    border-color: color-mix(in srgb, currentColor 16%, transparent);
    border-radius: .65rem;
}

.ban-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 1rem;
}

.ban-section-heading h2,
.ban-home-aside h2 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0;
}

.ban-update {
    padding: 1rem 0;
    border-top: 1px solid color-mix(in srgb, currentColor 16%, transparent);
}

.ban-update time,
.ban-update h3 {
    display: block;
}

.ban-update time {
    font-size: .85rem;
    opacity: .7;
}

.ban-update h3 {
    font-size: 1.15rem;
    margin: .2rem 0 .5rem;
}

.ban-status-row,
.ban-mailing-list {
    padding: 1rem 0 0;
}

.ban-status-heading {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.ban-status-row p {
    margin: .5rem 0;
}

.ban-home-mailing {
    margin-top: 1.25rem;
}

.ban-mailing-list h3 {
    font-size: 1rem;
}

/* Gallery and project pages */
.ban-collection-header {
    padding-bottom: 1.2rem;
    border-bottom: 1px solid color-mix(in srgb, currentColor 25%, transparent);
}

.ban-collection-header h1 {
    font-size: clamp(2rem, 3vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -.025em;
    line-height: 1.15;
    margin-bottom: .5rem;
}

.ban-collection-intro > :last-child {
    margin-bottom: 0;
}

.ban-gallery-filters {
    border: 1px solid currentColor;
    border-color: color-mix(in srgb, currentColor 20%, transparent);
    border-radius: .5rem;
    background: color-mix(in srgb, currentColor 3%, transparent);
}

.ban-gallery-filters summary {
    cursor: pointer;
    padding: .8rem 1rem;
    font-weight: 700;
}

.ban-gallery-filters summary:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

.ban-gallery-filters[open] form {
    padding: .25rem 1rem 1rem;
}

.ban-gallery-pagination {
    display: flex;
    justify-content: flex-end;
}

.ban-gallery-pagination .pagination {
    margin-bottom: 1.25rem;
}

/* Piece page */
.ban-piece-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
}

.ban-piece-heading h1 {
    font-size: clamp(2rem, 3vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -.025em;
    line-height: 1.15;
    margin: 0;
}

.ban-piece-neighbors {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.ban-piece-switcher-pane,
.ban-piece-switcher-stage {
    width: 100%;
}

.ban-piece-info {
    padding: 1.25rem 1.5rem;
    background: color-mix(in srgb, currentColor 4%, transparent);
    border: 1px solid currentColor;
    border-color: color-mix(in srgb, currentColor 16%, transparent);
    border-radius: .65rem;
}

.ban-piece-info .ban-piece-description > :last-child {
    margin-bottom: 0;
}

.ban-selected-type {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 1rem;
    align-items: baseline;
    padding: .75rem 0;
    border-top: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
}

.ban-selected-type details {
    flex-basis: 100%;
}

.ban-selected-type summary {
    cursor: pointer;
    width: max-content;
}

.ban-selected-type details > div {
    padding-top: .5rem;
}

.ban-admin-piece-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 25rem), 1fr));
}

.ban-admin-piece {
    min-width: 0;
    border: 1px solid currentColor;
    border-radius: .25rem;
    overflow: hidden;
}

.ban-admin-piece-media {
    height: auto;
    aspect-ratio: 2 / 1;
}

.ban-admin-piece-media img {
    object-fit: cover;
}

.ban-admin-piece-body {
    padding: .8rem 1rem 1rem;
}

.ban-admin-project {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 1rem;
    padding: .8rem 0;
    border-bottom: 1px solid currentColor;
}

.ban-admin-project .handle {
    cursor: move;
}

@media (max-width: 767.98px) {
    .ban-home-columns {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .ban-piece-nav {
        align-items: flex-start;
    }

    .ban-piece-neighbors {
        width: 100%;
    }

    .ban-home-intro,
    .ban-home-updates,
    .ban-home-aside > section,
    .ban-piece-info {
        padding: 1rem;
    }
}

/* Portfolio layout */
.ban-public-page {
    --ban-line: color-mix(in srgb, currentColor 20%, transparent);
    --ban-surface: color-mix(in srgb, currentColor 4%, transparent);
    --ban-surface-strong: color-mix(in srgb, currentColor 11%, transparent);
    width: 100%;
    max-width: 1220px;
    margin-inline: auto;
}

.ban-site-nav {
    position: sticky;
    top: 0;
    z-index: 1030;
    min-height: 4.75rem;
    border-bottom: 1px solid color-mix(in srgb, currentColor 20%, transparent);
}

.ban-site-nav > .container-fluid {
    max-width: 1220px;
    padding-inline: 1.5rem;
}

.ban-site-nav .navbar-brand {
    font-family: Georgia, serif;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: .1em;
    line-height: 1.1;
    text-transform: uppercase;
    margin-right: 2rem;
}

.ban-site-nav .navbar-brand small {
    display: block;
    font-family: inherit;
    font-size: .55rem;
    font-weight: 400;
    letter-spacing: .27em;
    margin-top: .25rem;
}

.ban-site-nav .navbar-nav {
    align-items: center;
    gap: .6rem;
}

.ban-site-nav .ban-site-nav-action {
    margin-right: .5rem;
}

.ban-public-page h1,
.ban-public-page h2 {
    font-family: Georgia, serif;
    font-weight: 400;
}

.ban-eyebrow {
    display: block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    opacity: .8;
    margin-bottom: .5rem;
}

.ban-home-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: 1rem 2.5rem;
    align-items: center;
    padding: 2.25rem 0 3rem;
}

.ban-home-hero-edit {
    position: absolute;
    top: .5rem;
    right: 0;
    z-index: 1;
}

.ban-home-hero .ban-home-intro {
    display: contents;
    border: 0;
    padding: 0;
    background: transparent;
    text-align: left;
}

.ban-home-intro > p:first-child {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    min-height: 20rem;
    padding: 0;
    margin: 0;
    overflow: hidden;
    background: transparent;
    border: 0;
    border-radius: 0;
}

.ban-home-intro > p:first-child img {
    max-height: 26rem;
    margin: auto;
}

.ban-home-intro > .site-page-content {
    grid-column: 1;
    grid-row: 1;
}

.ban-home-intro .card,
.ban-home-intro .card-header,
.ban-home-intro .card-body {
    background: transparent !important;
    border: 0;
    padding: 0;
    box-shadow: none;
    text-align: left !important;
}

.ban-home-intro h4 {
    font-size: clamp(2.4rem, 4vw, 4rem);
    line-height: 1.08;
    letter-spacing: -.03em;
    margin-bottom: 1.25rem;
    text-align: left !important;
}

.ban-home-intro .card-body {
    font-size: 1.05rem;
    line-height: 1.6;
}

.ban-home-section {
    padding: 1.25rem 0 2rem;
}

.ban-home-section > h2,
.ban-home-section .ban-section-heading h2 {
    font-size: clamp(1.65rem, 2.5vw, 2rem);
    margin: 0 0 1rem;
}

.ban-home-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.ban-home-gallery .ban-gallery-media {
    aspect-ratio: 1.15;
}

.ban-home-gallery .ban-gallery-card-body {
    padding: .8rem 1rem;
}

.ban-home-gallery .ban-gallery-title {
    font-size: .95rem;
}

.ban-home-columns {
    grid-template-columns: minmax(0, 1.2fr) minmax(16rem, .8fr);
    gap: 1.1rem;
}

.ban-home-updates,
.ban-home-aside > section {
    background: var(--ban-surface);
    border-color: var(--ban-line);
}

.ban-section-heading a,
.ban-home-columns a {
    font-weight: 700;
}

.ban-collection-header {
    padding-top: 1.5rem;
    border: 0;
}

.ban-collection-header h1 {
    font-size: clamp(2.5rem, 4vw, 3.25rem);
    line-height: 1.08;
}

.ban-gallery-layout {
    display: grid;
    grid-template-columns: 14.5rem minmax(0, 1fr);
    gap: 1.6rem;
    align-items: start;
}

.ban-gallery-filters {
    position: sticky;
    top: 6rem;
    min-width: 0;
    padding: 1.15rem;
    background: var(--ban-surface);
    border-color: var(--ban-line);
    border-radius: .75rem;
}

.ban-gallery-filters summary {
    font-family: Georgia, serif;
    font-size: 1.35rem;
    font-weight: 400;
    padding: 0;
    margin-bottom: 1rem;
}

.ban-gallery-filters[open] form {
    padding: 0;
}

.ban-gallery-filters legend {
    width: auto;
    margin: 0 0 .5rem;
    font-size: .9rem;
}

.ban-project-chips {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
}

.ban-project-chip {
    max-width: 100%;
    padding: .35rem .65rem;
    background: transparent;
    border: 1px solid var(--ban-line);
    border-radius: 999px;
    color: inherit;
    font-size: .83rem;
    line-height: 1.3;
    text-align: left;
}

.ban-project-chip.active {
    background: var(--ban-surface-strong);
    border-color: currentColor;
    font-weight: 700;
}

.ban-project-chip:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

.ban-gallery-results {
    min-width: 0;
}

.ban-gallery-resultbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin: 0 0 1rem;
}

.ban-gallery-sort {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    margin: 0;
    white-space: nowrap;
}

.ban-gallery-sort .form-control {
    width: auto;
    min-width: 9rem;
}

.ban-gallery-results .ban-gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.ban-gallery-card {
    background: var(--ban-surface);
    border-color: var(--ban-line);
    border-radius: .75rem;
}

.ban-gallery-media {
    aspect-ratio: 1.15;
    padding: .4rem;
}

.ban-gallery-card-body {
    padding: .85rem 1rem;
}

.ban-gallery-title {
    font-size: 1rem;
    font-weight: 700;
}

.ban-gallery-meta {
    font-size: .83rem;
    opacity: .8;
}

.ban-gallery-tags {
    margin-top: .45rem;
}

.ban-public-page .site-footer {
    border-top: 1px solid var(--ban-line);
    padding-top: 1.25rem;
}

@media (max-width: 1100px) {
    .ban-gallery-results .ban-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .ban-site-nav .navbar-nav {
        align-items: stretch;
        gap: 0;
    }

    .ban-home-hero {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding-top: 1rem;
    }

    .ban-home-intro > .site-page-content {
        grid-column: 1;
        grid-row: 1;
    }

    .ban-home-intro > p:first-child {
        grid-column: 1;
        grid-row: 2;
        min-height: 14rem;
    }

    .ban-home-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ban-home-columns {
        grid-template-columns: 1fr;
    }

    .ban-gallery-layout {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .ban-gallery-filters {
        position: static;
    }

    .ban-gallery-filters:not([open]) {
        padding-bottom: .15rem;
    }

    .ban-gallery-filters:not([open]) summary {
        margin-bottom: 1rem;
    }
}

@media (max-width: 390px) {
    .ban-home-gallery,
    .ban-gallery-results .ban-gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Commission portfolio */
.ban-commission-hero {
    padding: 1.4rem 0 1.5rem;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--ban-line);
    border-radius: 0;
}

.ban-commission-hero-row,
.ban-commission-type-heading,
.ban-commission-category-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: .8rem 1.5rem;
}

.ban-commission-hero h1 {
    margin: .35rem 0;
}

.ban-commission-hero-actions {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
    margin-top: .7rem;
    font-weight: 700;
}

.ban-commission-status {
    padding: .55rem .8rem;
    white-space: normal;
}

.ban-commission-guidelines {
    background: var(--ban-surface);
    border: 1px solid var(--ban-line);
    border-radius: .7rem;
    overflow: hidden;
}

.ban-commission-guidelines > summary {
    padding: 1rem 1.25rem;
    cursor: pointer;
}

.ban-commission-category-heading {
    border-bottom: 1px solid var(--ban-line);
    padding-bottom: .75rem;
    margin-bottom: 1.25rem;
}

.ban-commission-category-heading h2 {
    margin: 0;
}

.ban-commission-type-card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    background: var(--ban-surface);
    border: 1px solid var(--ban-line);
    border-radius: .8rem;
}

.ban-commission-type-heading {
    align-items: end;
    margin-bottom: 1rem;
}

.ban-commission-type-heading h3 {
    font-family: Georgia, serif;
    font-size: clamp(1.55rem, 2.5vw, 2rem);
    font-weight: 400;
    margin: 0;
}

.ban-commission-all-link {
    font-weight: 700;
}

.ban-commission-example-grid {
    display: flex;
    gap: .85rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding: .5rem .25rem 1rem;
    scroll-snap-type: x proximity;
    scrollbar-color: var(--ban-line) var(--ban-surface-strong);
    scrollbar-width: auto;
    overscroll-behavior-inline: contain;
}

.ban-commission-example-grid::-webkit-scrollbar {
    height: .7rem;
}

.ban-commission-example-grid::-webkit-scrollbar-track {
    background: var(--ban-surface-strong);
    border-radius: 1rem;
}

.ban-commission-example-grid::-webkit-scrollbar-thumb {
    background: var(--ban-line);
    border-radius: 1rem;
}

.ban-commission-example-card {
    display: block;
    flex: 0 0 clamp(12rem, calc((100% - 2.55rem) / 4), 18rem);
    min-width: 0;
    scroll-snap-align: start;
    overflow: hidden;
    background: var(--ban-surface);
    color: inherit;
    text-decoration: none !important;
    border: 1px solid var(--ban-line);
    border-radius: .65rem;
}

.ban-commission-example-card:hover,
.ban-commission-example-card:focus {
    color: inherit;
}

.ban-commission-example-card:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

.ban-commission-example-media {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 3 / 2;
    padding: .3rem;
    overflow: hidden;
    border-bottom: 1px solid var(--ban-line);
}

.ban-commission-example-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ban-commission-example-title {
    display: block;
    padding: .75rem .85rem;
    font-weight: 700;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.ban-commission-example-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: .6rem;
}

.ban-commission-example-controls {
    display: flex;
    gap: .5rem;
}

.ban-commission-example-controls .btn {
    min-width: 2.5rem;
}

.ban-commission-type-details {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(13rem, 15rem);
    gap: 1.5rem;
    border-top: 1px solid var(--ban-line);
    padding-top: 1.4rem;
    margin-top: 1.4rem;
}

.ban-commission-type-card:not(.has-examples) .ban-commission-type-details {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.ban-commission-type-copy {
    min-width: 0;
    line-height: 1.65;
}

.ban-commission-price-panel {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: .45rem;
    padding: 1rem;
    background: var(--ban-surface-strong);
    border: 1px solid var(--ban-line);
    border-radius: .6rem;
}

.ban-commission-price-panel strong {
    font-family: Georgia, serif;
    font-size: clamp(1.4rem, 2vw, 2rem);
    font-weight: 400;
    overflow-wrap: anywhere;
}

.ban-commission-price-panel .btn {
    white-space: normal;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .ban-gallery-card,
    .ban-commission-example-card {
        transition: transform .28s cubic-bezier(.2, 1.4, .35, 1), box-shadow .28s ease;
    }

    .ban-gallery-card:hover,
    .ban-commission-example-card:hover {
        transform: translateY(-5px) scale(1.01);
        box-shadow: 0 12px 24px color-mix(in srgb, currentColor 12%, transparent);
    }
}

@media (max-width: 767.98px) {
    .ban-commission-type-details {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .ban-commission-example-grid {
        gap: .65rem;
    }

    .ban-commission-example-card {
        flex-basis: clamp(12rem, 65vw, 18rem);
    }
}

/* About page */
.ban-about-heading {
    padding: 2rem 0 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--ban-line);
}

.ban-about-heading h1 {
    margin: .35rem 0 0;
    font-size: clamp(2.5rem, 5vw, 4rem);
}

.ban-about-content {
    max-width: 72rem;
    line-height: 1.7;
}

.ban-about-content h2,
.ban-about-content h3 {
    margin-top: 1.5rem;
}

.ban-about-content img {
    max-width: 100%;
    height: auto;
}

.ban-about-content .card {
    background: var(--ban-surface);
    border-color: var(--ban-line);
    border-radius: .75rem;
}
