/* ============================================================
   PENTHOUSE ART - ARTWORK LISTING
   ============================================================ */


/* ------------------------------------------------------------
   GENERAL
   ------------------------------------------------------------ */

.pa-artwork-page {
    background: #fff;
    color: #222;
}

.pa-eyebrow {
    display: block;

    margin-bottom: 12px;

    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;

    color: #888;
}


/* ------------------------------------------------------------
   PAGE HEADER
   ------------------------------------------------------------ */

.pa-artwork-header {
    padding: 75px 0 60px;

    background: #f5f4f1;

    text-align: center;
}

.pa-artwork-header h1 {
    margin: 0 0 18px;

    font-size: 48px;
    line-height: 1.1;
    font-weight: 400;
}

.pa-artwork-header p {
    max-width: 650px;

    margin: 0 auto;

    font-size: 17px;
    line-height: 1.7;

    color: #666;
}


/* ------------------------------------------------------------
   SEARCH
   ------------------------------------------------------------ */

.pa-artwork-search {
    padding: 30px 0;

    border-bottom: 1px solid #e5e5e5;

    background: #fff;
}

.pa-search-wrapper {
    display: flex;

    max-width: 900px;

    margin: 0 auto;
}

.pa-search-input {
    flex: 1;

    height: 52px;

    padding: 0 18px;

    border: 1px solid #ccc;
    border-right: none;

    border-radius: 0;

    font-size: 15px;

    outline: none;
}

.pa-search-input:focus {
    border-color: #777;
}

.pa-search-button {
    width: 120px;

    border: 1px solid #222;

    background: #222;
    color: #fff;

    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;

    cursor: pointer;
}

.pa-search-button:hover {
    background: #000;
}


/* ------------------------------------------------------------
   CONTENT
   ------------------------------------------------------------ */

.pa-artwork-content {
    padding: 50px 0 90px;
}


/* ------------------------------------------------------------
   FILTER PANEL
   ------------------------------------------------------------ */

.pa-filter-panel {
    padding-right: 30px;
}

.pa-filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding-bottom: 18px;

    border-bottom: 1px solid #ddd;
}

.pa-filter-header h2 {
    margin: 0;

    font-size: 17px;
    font-weight: 600;
}

.pa-filter-header a {
    font-size: 12px;

    color: #777;

    text-decoration: underline;
}

.pa-filter-group {
    padding: 22px 0;

    border-bottom: 1px solid #e5e5e5;
}

.pa-filter-group h3 {
    margin: 0 0 15px;

    font-size: 14px;
    font-weight: 600;
}

.pa-checkbox {
    display: flex;
    align-items: center;

    margin-bottom: 11px;

    font-size: 14px;
    color: #555;

    cursor: pointer;
}

.pa-checkbox input {
    width: 16px;
    height: 16px;

    margin: 0 10px 0 0;

    accent-color: #222;
}

.pa-filter-more {
    display: inline-block;

    margin-top: 3px;

    font-size: 12px;

    color: #777;

    text-decoration: underline;
}


/* ------------------------------------------------------------
   RESULTS TOOLBAR
   ------------------------------------------------------------ */

.pa-results-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 30px;

    padding-bottom: 18px;

    border-bottom: 1px solid #ddd;
}

.pa-results-count {
    display: flex;
    flex-direction: column;
}

.pa-results-count strong {
    margin-bottom: 3px;

    font-size: 18px;
    font-weight: 500;
}

.pa-results-count span {
    font-size: 12px;
    color: #888;
}

.pa-results-sort {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pa-results-sort label {
    margin: 0;

    font-size: 12px;
    color: #777;
}

.pa-results-sort select {
    height: 38px;

    padding: 0 30px 0 10px;

    border: 1px solid #ccc;

    background: #fff;

    font-size: 13px;
}


/* ------------------------------------------------------------
   ARTWORK CARDS
   ------------------------------------------------------------ */

.pa-artwork-card {
    margin-bottom: 50px;
}

.pa-artwork-image {
    position: relative;

    display: block;

    overflow: hidden;

    background: #eee;

    text-decoration: none;
}

.pa-artwork-placeholder {
    width: 100%;
    aspect-ratio: 1 / 1.1;

    display: flex;
    align-items: center;
    justify-content: center;

    color: rgba(255, 255, 255, 0.7);

    font-size: 15px;

    transition: transform 0.35s ease;
}

.pa-artwork-image:hover .pa-artwork-placeholder {
    transform: scale(1.03);
}


/* Temporary artwork placeholders */

.artwork-one {
    background: #a49a8e;
}

.artwork-two {
    background: #777774;
}

.artwork-three {
    background: #b7b0a8;
}

.artwork-four {
    background: #77757b;
}

.artwork-five {
    background: #928b83;
}

.artwork-six {
    background: #aaa29a;
}


/* ------------------------------------------------------------
   SAVE BUTTON
   ------------------------------------------------------------ */

.pa-save-button {
    position: absolute;

    top: 12px;
    right: 12px;

    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.95);

    color: #333;

    font-size: 21px;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.pa-save-button:hover {
    background: #fff;

    transform: scale(1.05);
}


/* ------------------------------------------------------------
   ARTWORK DETAILS
   ------------------------------------------------------------ */

.pa-artwork-details {
    padding-top: 16px;
}

.pa-artwork-details h2 {
    margin: 0 0 5px;

    font-size: 17px;
    font-weight: 500;
}

.pa-artwork-details h2 a {
    color: #222;

    text-decoration: none;
}

.pa-artwork-details h2 a:hover {
    text-decoration: underline;
}

.pa-artwork-artist {
    display: inline-block;

    margin-bottom: 13px;

    font-size: 13px;

    color: #777;

    text-decoration: none;
}

.pa-artwork-artist:hover {
    color: #222;

    text-decoration: underline;
}

.pa-artwork-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding-top: 10px;

    border-top: 1px solid #eee;

    font-size: 12px;
}

.pa-artwork-meta span {
    color: #888;
}

.pa-artwork-meta strong {
    font-size: 14px;
    font-weight: 600;
    color: #222;
}


/* ------------------------------------------------------------
   PAGINATION
   ------------------------------------------------------------ */

.pa-pagination {
    display: flex;
    justify-content: center;
    align-items: center;

    margin-top: 30px;

    gap: 5px;
}

.pa-page {
    min-width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid transparent;

    color: #555;

    font-size: 13px;

    text-decoration: none;
}

.pa-page:hover {
    border-color: #ddd;

    color: #222;

    text-decoration: none;
}

.pa-page.active {
    border-color: #222;

    background: #222;

    color: #fff;
}

.pa-page.disabled {
    color: #ccc;

    pointer-events: none;
}

.pa-page-dots {
    padding: 0 5px;

    color: #999;
}


/* ------------------------------------------------------------
   RESPONSIVE
   ------------------------------------------------------------ */

@media (max-width: 991px) {

    .pa-filter-panel {
        padding-right: 0;
        margin-bottom: 45px;
    }

    .pa-results-toolbar {
        margin-top: 10px;
    }

}


@media (max-width: 767px) {

    .pa-artwork-header {
        padding: 55px 0 45px;
    }

    .pa-artwork-header h1 {
        font-size: 38px;
    }

    .pa-search-wrapper {
        display: block;
    }

    .pa-search-input {
        width: 100%;

        border-right: 1px solid #ccc;
    }

    .pa-search-button {
        width: 100%;
        height: 48px;

        margin-top: 8px;
    }

    .pa-artwork-content {
        padding-top: 35px;
    }

    .pa-results-toolbar {
        align-items: flex-start;

        flex-direction: column;

        gap: 20px;
    }

    .pa-results-sort {
        width: 100%;
        justify-content: space-between;
    }

    .pa-results-sort select {
        flex: 1;
        max-width: 220px;
    }

}