/* Collections and individual galleries. Shared site styling is in the homepage stylesheet. */

.collections-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    max-width: 420px;
    margin: 22px auto;
    color: #b5a06b;
    opacity: 1;
}
.collections-ornament::before,
.collections-ornament::after {
    content: "";
    height: 1px;
    flex: 1;
    background: linear-gradient(90deg, transparent, #b5a06b);
}
.collections-ornament::after { transform: rotate(180deg); }
.collections-hero p {
    max-width: 650px;
    margin: auto;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    line-height: 1.8;
    color: #d0cdbf;
}
@media (max-width: 600px) {
    .collections-hero { padding: 55px 20px; }
}

/* COLLECTIONS PAGE */
.collections, .secondary {
    max-width: 1320px;
    margin: auto;
    padding: 4.5rem clamp(1rem, 3vw, 2rem);
}
.collections h2, .secondary h2 {
    text-align: center;
    color: #b5a06b;
    font-family: 'Cinzel', Georgia, serif;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    margin: 0;
}
.collections .intro {
    text-align: center;
    color: #b5b7a8;
    margin: .7rem 0 2.5rem;
}
.collections-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
}
.collections .tile {
    display: block;
    min-width: 0;
    background: #1b2018;
    border: 1px solid #494532;
    text-decoration: none;
    transition: transform .2s, border-color .2s, box-shadow .2s;
}
.collections .tile:hover, .collections .tile:focus-visible {
    transform: translateY(-4px);
    border-color: #b5a06b;
    box-shadow: 0 12px 35px #0008;
}
.collections .art {
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0b0d0b;
    padding: .6rem;
    overflow: hidden;
}
.collections .art img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.collections .meta {
    text-align: center;
    padding: 1.1rem .8rem 1.4rem;
    border-top: 1px solid #494532;
}
.collections .meta h3 {
    font-family: 'Cinzel', Georgia, serif;
    font-size: 1rem;
    color: #b5a06b;
    margin: 0 0 .45rem;
}
.collections .meta p { font-size: .78rem; color: #b5b7a8; margin: 0; }
.secondary { padding-top: 0; }
.secondary .more {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
.secondary .more a {
    border: 1px solid #494532;
    padding: 1.2rem;
    text-decoration: none;
    color: #b5a06b;
    font-family: 'Cinzel', serif;
}
.secondary .more a:hover { background: #1b2018; }
.secondary .more span {
    display: block;
    font: 400 .8rem 'Open Sans', sans-serif;
    color: #b5b7a8;
}
@media (max-width: 1050px) {
    .collections-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
    .collections-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
    .collections .art { height: 190px; }
    .collections .meta { padding: .8rem .4rem 1rem; }
    .collections .meta h3 { font-size: .85rem; }
    .secondary .more { grid-template-columns: 1fr; }
}
@media (max-width: 390px) {
    .collections-grid { grid-template-columns: 1fr; }
    .collections .art { height: 250px; }
}

/* Existing shared defaults retained from supplied stylesheet. */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Arial, Helvetica, sans-serif; line-height: 1.6; }
a { color: var(--gold-light); }
a:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 4px; }

/* INDIVIDUAL ART GALLERIES */
/* Legacy class supported as an alias, with no separate width restriction. */
.gallery-main, .angel-main {
    width: 100%;
    max-width: 1800px;
    margin: auto;
    padding: 24px 24px 70px;
}
.gallery-logo { text-align: center; margin: 8px auto 26px; }
.gallery-logo img { max-width: 100%; height: auto; display: inline-block; }
.intro { text-align: center; max-width: 840px; margin: 0 auto 36px; }
.gallery-main .intro, .angel-main .intro {
    max-width: 840px;
    margin: .7rem auto 2.5rem;
    text-align: center;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 1.05rem;
    font-weight: 400;
    line-height: 1.8;
    color: #d0cdbf;
}
.eyebrow { text-transform: uppercase; letter-spacing: .22em; color: var(--gold); font-size: .74rem; font-weight: bold; }
.intro h1 { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2rem, 4vw, 3.3rem); font-weight: normal; letter-spacing: .03em; margin: 10px 0 12px; color: var(--gold-light); }
.intro p { color: var(--muted); font-size: 1.05rem; margin: 0 auto; max-width: 760px; }
.rule { height: 1px; width: 112px; background: var(--gold); margin: 25px auto 0; }
.gallery-grid {
    display: grid;
    width: 100%;
    max-width: 1738px;
    margin: 0 auto;
    grid-template-columns: repeat(4, minmax(0, 418px));
    justify-content: center;
    gap: 22px;
}
.art-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--panel);
    border-radius: 5px;
    text-decoration: none;
    color: var(--text);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.art-card:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: 0 8px 24px #0005; }
.art-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0b120e;
    padding: 8px;
    min-height: 0;
    width: 100%;
}
.gallery-grid .art-image img {
    display: block;
    width: 100%;
    max-width: 400px;
    height: auto;
    object-fit: contain;
}
.art-title { font-family: Georgia, 'Times New Roman', serif; font-size: 1.05rem; text-align: center; padding: 13px 8px 15px; color: var(--gold-light); flex: 1; }
.gallery-bottom { text-align: center; color: var(--muted); margin: 62px auto 0; max-width: 680px; font-size: .95rem; }
.gallery-bottom a { text-underline-offset: 3px; }
@media (max-width: 1400px) {
    .gallery-grid { grid-template-columns: repeat(3, minmax(0, 418px)); gap: 18px; }
}
@media (max-width: 960px) {
    .gallery-grid { grid-template-columns: repeat(2, minmax(0, 418px)); }
}
@media (max-width: 650px) {
    .gallery-main, .angel-main { padding: 20px 15px 48px; }
    .gallery-grid { gap: 12px; }
    .art-image { padding: 5px; }
    .art-title { font-size: .92rem; padding: 10px 5px 12px; }
}
@media (max-width: 480px) {
    .gallery-grid { grid-template-columns: minmax(0, 418px); }
}
@media (prefers-reduced-motion: reduce) {
    .art-card { transition: none; }
    .art-card:hover { transform: none; }
}
