.iww-galleries-page {
    width: min(1440px, calc(100% - 3rem));
    margin: 0 auto;
    padding: 4rem 0 6rem;
}

.iww-galleries-page {
    color: var(--text);
    font-family: Poppins, sans-serif;
}

.iww-galleries-header {
    max-width: 44rem;
    margin-bottom: 4rem;
}

.iww-galleries-artist {
    margin: 0 0 36px;
    color: var(--heading);
    font-family: Merriweather, Georgia, 'Times New Roman', serif;
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    line-height: 1;
}

.iww-galleries-artist a {
    color: inherit;
    text-decoration: none;
}

.iww-galleries-artist a:hover,
.iww-galleries-artist a:focus-visible {
    color: var(--link);
    text-decoration: underline;
    text-underline-offset: .2em;
}

.iww-galleries-header h1 {
    margin: .35rem 0 0;
}

.iww-galleries-intro {
    margin-top: 1.5rem;
}

.iww-galleries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    gap: 1px;
    background: currentColor;
}

.iww-gallery-card {
    display: flex;
    flex-direction: column;
    min-height: 16rem;
    background: var(--surface);
    padding: 2rem;
    color: inherit;
    text-decoration: none;
}

.iww-gallery-card-title {
    margin: .35rem 0 1rem;
    color: var(--heading);
    font-family: Merriweather, Georgia, 'Times New Roman', serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: .95;
}

.iww-gallery-card-description {
    max-width: 28rem;
    color: var(--secondary);
    line-height: 1.55;
}

.iww-gallery-card-action {
    margin-top: auto;
    padding-top: 2rem;
    color: var(--link);
    font-size: .875rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.iww-gallery-card:hover .iww-gallery-card-action span,
.iww-gallery-card:focus-visible .iww-gallery-card-action span {
    display: inline-block;
    transform: translate(2px, -2px);
}

.iww-galleries-empty {
    color: var(--secondary);
}

@media (max-width: 760px) {
    .iww-galleries-page {
        width: min(100% - 2rem, 42rem);
        padding: 2rem 0 4rem;
    }
}
