/* =========================================================
   DIGITAL COLLECTIONS
   Page-specific styling
   ========================================================= */


/* ---------------------------------------------------------
   GENERAL COLLECTION TEXT
   --------------------------------------------------------- */

.collections-page .collection-intro {
    margin: 8px 0 12px;

    color: var(--moss);
    font-size: 10px;
    line-height: 1.5;
}


/* ---------------------------------------------------------
   CLIQUES
   --------------------------------------------------------- */

.collections-page .clique-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;

    margin: 10px 0 20px;
    padding: 9px;

    background: rgba(177, 189, 139, .08);

    border: 1px solid rgba(97, 112, 76, .28);
    border-radius: 5px;
}


.collections-page .clique-item {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px 6px;

    min-width: 0;

    padding: 5px 7px;

    color: var(--brown);
    background: rgba(232, 225, 201, .30);

    border-bottom: 1px dotted rgba(97, 112, 76, .30);

    font-size: 10px;
    line-height: 1.4;
}


/* Main clique link */

.collections-page .clique-item a {
    color: var(--forest);

    font-family: Georgia, "Times New Roman", serif;
    font-size: 11px;

    text-decoration: none;

    transition:
        color .15s ease,
        text-shadow .15s ease;
}


.collections-page .clique-item a:hover {
    color: var(--rust);

    text-shadow:
        0 0 4px rgba(197, 164, 93, .35);
}


/* Small descriptive text beside clique names */

.collections-page .clique-item span {
    color: var(--moss);
    font-size: 9px;
}


/* Tiny inline clique images */

.collections-page .clique-inline-image {
    display: inline-block;

    width: auto;
    height: 15px;
    max-width: 100%;

    margin-left: 2px;

    vertical-align: middle;

    image-rendering: smooth;
}


/* ---------------------------------------------------------
   LITTLE CLIQUE BUTTONS
   --------------------------------------------------------- */

.collections-page .collection-subheading {
    margin-top: 20px;
    margin-bottom: 5px;

    color: var(--forest);

    font-family: Georgia, "Times New Roman", serif;
    font-size: 14px;
    font-style: italic;
    font-weight: normal;
}


.collections-page .collection-note {
    margin: 0 0 9px;

    color: var(--moss);

    font-size: 9px;
    font-style: italic;
}


/* Little button cabinet */

.collections-page .clique-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;

    margin: 10px 0 24px;
    padding: 10px;

    background: rgba(177, 189, 139, .07);

    border-top: 1px dashed var(--moss-light);
    border-bottom: 1px dashed var(--moss-light);

    border-radius: 3px;
}


/* Make sure the links don't inherit unwanted page-link styling */

.collections-page .clique-buttons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;
}


/* Keep pixel art crisp */

.collections-page .clique-buttons img {
    display: block;

    max-width: 100%;
    height: auto;

    image-rendering: smooth;

    transition:
        transform .15s ease,
        filter .15s ease;
}


.collections-page .clique-buttons a:hover img {
    transform: translateY(-1px);

    filter:
        drop-shadow(0 0 3px rgba(197, 164, 93, .55));
}


/* ---------------------------------------------------------
   RANDOM PIXELS
   --------------------------------------------------------- */

.collections-page .pixel-cabinet {
    margin: 10px 0 25px;
    padding: 10px;

    background:
        linear-gradient(
            to bottom,
            rgba(177, 189, 139, .10),
            rgba(177, 189, 139, .04)
        );

    border: 1px solid rgba(97, 112, 76, .30);
    border-radius: 5px;
}


/* Each source/group gets its own little row */

.collections-page .pixel-cabinet-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px 6px;

    margin: 0;
    padding: 4px 0;
}


/* Divider between source groups */

.collections-page .pixel-cabinet-row + .pixel-cabinet-row {
    margin-top: 7px;
    padding-top: 10px;

    border-top: 1px dotted rgba(97, 112, 76, .35);
}


/* Pixel images */

.collections-page .pixel-cabinet img {
    display: block;

    max-width: 100%;
    height: auto;

    image-rendering: smooth;

    transition:
        transform .15s ease,
        filter .15s ease;
}


.collections-page .pixel-cabinet a:hover img {
    transform: translateY(-1px);

    filter:
        drop-shadow(0 0 3px rgba(197, 164, 93, .55));
}


/* ---------------------------------------------------------
   OTHER TREASURES
   --------------------------------------------------------- */

.collections-page .treasure-cabinet {
    margin: 10px 0 18px;
    padding: 12px;

    background:
        linear-gradient(
            to bottom,
            rgba(197, 164, 93, .07),
            rgba(177, 189, 139, .05)
        );

    border: 1px solid rgba(97, 112, 76, .30);
    border-radius: 5px;
}


/* Treasure images */

.collections-page .treasure-cabinet-items {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;

    gap: 7px;
}


.collections-page .treasure-cabinet img {
    display: block;

    max-width: 80px;
    max-height: 80px;
    height: auto;

    image-rendering: smooth;

    transition:
        transform .15s ease,
        filter .15s ease;
}


.collections-page .treasure-cabinet a:hover img {
    transform: translateY(-1px);

    filter:
        drop-shadow(0 0 3px rgba(197, 164, 93, .55));
}


/* ---------------------------------------------------------
   SOURCE / CREDIT NOTE
   --------------------------------------------------------- */

.collections-page .collection-source {
    margin: 12px 0 0;
    padding-top: 9px;

    border-top: 1px dotted rgba(97, 112, 76, .35);

    text-align: center;
}
.collection-divider {

  margin: 20px 0 22px;

  color: var(--gold);

  font-size: 12px;

  text-align: center;

  letter-spacing: 3px;

}

/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 600px) {

    .collections-page .clique-list {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 500px) {

    .collections-page .clique-list {
        padding: 7px;
    }

    .collections-page .clique-buttons,
    .collections-page .pixel-cabinet,
    .collections-page .treasure-cabinet {
        padding: 8px;
    }

    .collections-page .clique-buttons,
    .collections-page .pixel-cabinet-row,
    .collections-page .treasure-cabinet-items {
        gap: 5px;
    }

}
