/*
 *
 * City University of Hong Kong
 * ----------------------------
 * Site Specific CSS
 *
 */

/* ============================ Place your custom CSS here */

/* Common styles */

.all-lists li{
    margin-bottom: 1rem !important;
}

.g-25-4 {
    --bs-gutter-x: 0.75rem;
    --bs-gutter-y: 0.75rem;
}

/* Reset to g-4 for sm and larger */
@media (min-width: 576px) {
    .g-25-4 {
        --bs-gutter-x: 1.5rem;
        --bs-gutter-y: 1.5rem;
    }
}

.g-25-3 {
    --bs-gutter-x: 0.75rem;
    --bs-gutter-y: 0.75rem;
}

/* Reset to g-3 for sm and larger */
@media (min-width: 576px) {
    .g-25-3 {
        --bs-gutter-x: 1rem;
        --bs-gutter-y: 1rem;
    }
}

.link-scroll-margin{
    scroll-margin-top: 20px;
}

@media (min-width: 992px) {
    .link-scroll-margin{
        scroll-margin-top: 60px;
    }
}

.btn-cityu-outline{
    color: rgb(33, 37, 41);
    border: .667px solid rgb(222, 226, 230);
    outline: none;
}

.btn-cityu-outline:focus{
    color: rgb(33, 37, 41);
    border: .667px solid rgb(222, 226, 230);
    outline: 2px solid black;
}

.btn-cityu-outline:hover{
    color:#bf165e;
    border: .667px solid #bf165e;
    outline: none;
}

.btn-cityu-gallery{
    color: white;
    outline: none;
}

.btn-cityu-gallery:focus{
    color: white;
    outline: 2px solid white;
}

.btn-cityu-gallery:hover{
    color:#bf165e;
}

.image-cityu-outline:hover,
.image-cityu-outline:focus{
    outline: .667px solid #bf165e;
}

.ratio-3x4{
    --bs-aspect-ratio: calc(4 / 3 * 100%);
}

.artwork-expand{
    position: relative;
    max-height: 350px;
    transition: max-height 0.3s ease-in-out;
    overflow: hidden;
}

.artwork-cover-gradient{
    position: absolute;
    padding: 0 !important;
    margin: 0 !important;
    bottom: 0;
    width: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
    min-height: 50px;
    transition: min-height 0.3s ease-in-out;
}

.artwork-cover-gradient.expanded{
    min-height: 0px;
}

.artwork-expand.expanded{
    max-height: 2500px;
}