/*
 * Public art show pages: Tapped In gold header, dark rounded card, and
 * orange-yellow-mint grain background. New object key so CloudFront cannot
 * keep serving a stale copy of the main stylesheet.
 */

@font-face {
    font-family: 'Bellerose';
    src: url('../fonts/Bellerose.eot');
    src: url('../fonts/Bellerose.eot?#iefix') format('embedded-opentype'),
         url('../fonts/Bellerose.woff') format('woff'),
         url('../fonts/Bellerose.ttf') format('truetype'),
         url('../fonts/Bellerose.svg#webfont') format('svg');
    font-weight: normal;
    font-style: normal;
}

html:has(body#artshow-public-page) {
    background-color: #f2e34c;
}

body#artshow-public-page {
    max-width: none;
    width: 100%;
    margin: 0;
    color: #f4f7f3;
    background-color: #f2e34c;
    background-image: linear-gradient(to bottom, #d98026 0%, #f2e34c 48%, #77d9a1 100%);
    background-attachment: fixed;
    background-size: cover;
}

body#artshow-public-page::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.28;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

body#artshow-public-page .content,
body#artshow-public-page footer {
    position: relative;
    z-index: 1;
}

body#artshow-public-page .content {
    padding: 110px 16px 48px;
}

/* Full-bleed nav so the slate bar is centered on the wide artshow background. */
body#artshow-public-page .menu-bar {
    left: 0;
    right: 0;
    max-width: none;
    width: 100%;
}

body#artshow-public-page .menu-bar .site-container {
    max-width: 980px;
    width: calc(100% - 2rem);
    margin: 0 auto;
}

body#artshow-public-page .artshow-page {
    width: 100%;
}

body#artshow-public-page .artshow-shell {
    display: flex;
    justify-content: center;
}

body#artshow-public-page .artshow-card {
    position: relative;
    width: 100%;
    max-width: 980px;
    margin: 20px auto;
    padding: 28px 32px 32px;
    overflow: hidden;
    color: #f4f7f3;
    background: #1a1d1e;
    border: 0;
    border-radius: 36px;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
    backdrop-filter: none;
}

body#artshow-public-page .artshow-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.14;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

body#artshow-public-page .artshow-banner,
body#artshow-public-page .artshow-card-body {
    position: relative;
    z-index: 1;
}

body#artshow-public-page .artshow-banner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px 20px;
    margin: 0 0 22px;
    padding: 0 0 16px;
    border-bottom: 1px solid #f2c94c;
    color: #f2c94c;
}

body#artshow-public-page .artshow-banner--no-meta {
    grid-template-columns: auto auto;
    justify-content: space-between;
}

body#artshow-public-page .artshow-banner-title {
    margin: 0;
    color: #f2c94c;
    font-family: "blackest-text", sans-serif;
    font-size: clamp(1.85rem, 3.4vw, 3rem);
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
    border-bottom: 0;
    padding: 0;
}

body#artshow-public-page .artshow-banner-meta {
    text-align: center;
    font-family: "blackest-text", sans-serif;
    font-size: clamp(0.88rem, 1.45vw, 1.12rem);
    font-weight: 700;
    letter-spacing: 0.03em;
    line-height: 1.2;
    text-transform: uppercase;
}

body#artshow-public-page .artshow-banner-detail {
    white-space: nowrap;
}

body#artshow-public-page .artshow-banner-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-self: end;
    text-align: center;
    line-height: 1;
}

body#artshow-public-page .artshow-banner--no-meta .artshow-banner-brand {
    justify-self: end;
}

body#artshow-public-page .artshow-banner-brand-name {
    font-family: 'Bellerose', Lucida, sans-serif;
    font-size: clamp(1.55rem, 3.2vw, 2.35rem);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

body#artshow-public-page .artshow-banner-brand-word {
    margin-top: 0.2em;
    font-family: 'Bellerose', Lucida, sans-serif;
    font-size: 1rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

body#artshow-public-page .artshow-card-body > h2,
body#artshow-public-page .artshow-section-heading {
    margin: 0 0 16px;
    color: #fff;
    font-family: 'Oswald', sans-serif;
    font-size: 1.45rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

body#artshow-public-page .artshow-card-body > h3 {
    margin: 1.4rem 0 0.55rem;
    color: #f2c94c;
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    text-transform: uppercase;
}

body#artshow-public-page .artshow-copy,
body#artshow-public-page .artshow-deadline {
    line-height: 1.6;
    margin: 0 0 1rem;
    color: #e6e6e6;
}

body#artshow-public-page .artshow-copy-lead {
    font-size: 1.1rem;
}

body#artshow-public-page .artshow-copy a,
body#artshow-public-page .artshow-card-body a:not(.artshow-buy-button):not(.artshow-submit-btn) {
    color: #f2c94c;
    font-weight: 700;
}

body#artshow-public-page .artshow-description {
    line-height: 1.75;
    margin-bottom: 1.4rem;
    color: #f2f2f2;
    background: rgba(255, 255, 255, 0.08);
    border-left: 4px solid #f2c94c;
    border-radius: 8px;
    padding: 1rem 1.1rem;
    font-size: 1.05rem;
}

body#artshow-public-page .artshow-gallery-missing {
    height: 100%;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    color: #f1f1f1;
    font-size: 0.95rem;
    text-align: center;
    padding: 1rem;
}

body#artshow-public-page .artshow-detail-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 1rem 0;
    border-radius: 10px;
}

body#artshow-public-page .artshow-detail-sold {
    display: inline-block;
    margin-bottom: 0.75rem;
    background: #b91c1c;
    color: #fff;
    padding: 0.35rem 0.65rem;
    border-radius: 4px;
    font-weight: 700;
}

body#artshow-public-page .artshow-other-art {
    list-style: none;
    padding-left: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 0.75rem;
}

body#artshow-public-page .artshow-other-art li {
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 6px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.06);
}

body#artshow-public-page .artshow-other-art a {
    display: block;
    color: inherit;
    text-decoration: none;
    font-weight: 600;
}

body#artshow-public-page .artshow-other-art img {
    display: block;
    width: 100%;
    height: 120px;
    object-fit: cover;
}

body#artshow-public-page .artshow-other-art-title {
    padding: 0.5rem 0.65rem;
}

body#artshow-public-page .artshow-other-art-sold {
    color: #fca5a5;
}

body#artshow-public-page .artshow-field input,
body#artshow-public-page .artshow-field textarea {
    border-radius: 12px;
}

@media (max-width: 700px) {
    body#artshow-public-page .content {
        padding: 96px 10px 28px;
    }

    body#artshow-public-page .artshow-card {
        margin: 10px auto;
        padding: 20px 16px 22px;
        border-radius: 24px;
    }

    body#artshow-public-page .artshow-banner,
    body#artshow-public-page .artshow-banner--no-meta {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
    }

    body#artshow-public-page .artshow-banner-brand,
    body#artshow-public-page .artshow-banner--no-meta .artshow-banner-brand {
        justify-self: center;
    }

    body#artshow-public-page .artshow-banner-title {
        font-size: clamp(1.5rem, 7vw, 2.2rem);
    }

    body#artshow-public-page .artshow-banner-detail {
        white-space: normal;
    }
}
