.board-type-title {
    padding-top: 1rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

#gallery_search {
    margin-top: 2rem;
    padding: 0 1rem;
}

#gallery_form {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
    height: 36px;
}

#gallery_form #searchtype,
#gallery_form #searchkw,
#gallery_form #search_btn {
    height: 100%;
    border: 1px solid var(--color-lightgray);
}

#gallery_form #searchtype {
    width: 100px;
}

#gallery_form #searchkw {
    width: 200px;
    padding: 0 10px;
}

#gallery_form #search_btn {
    width: 80px;
    background: var(--color-btngray);
    color: var(--color-white);    
}

.gallery_list {        
    display: flex;
    align-items: center;
    width: 100%;
    gap: 20px;
    flex-wrap: wrap;
    padding: 1rem;
}

.gallery-card {
    width: calc((100% - 60px) / 4);
    height: 250px;
    border: 1px solid #EEEEEE;
    overflow: hidden;        
}

.gallery-card a {    
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--color-dark);
}

.gallery-card .gallery-image {
    width: 100%;
    aspect-ratio: 16/9;
    border-bottom: 1px solid #EEE;
    background-size: 100%;
    background-position: center;
    transition: background 0.2s ease-out;
}

.gallery-card:hover .gallery-image {
    background-size: 110%;
}

.gallery-info {
    padding: 0.3rem 0.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.gallery-title {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gallery-sub-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    color: #949494;
}

.gallery-date-view {
    display: flex;
    align-items: center;
    gap: 5px;
}

.gallery-view {
    display: flex;
    align-items: center;
    gap: 2px;
}

.gallery-date {
    display: flex;
    align-items: center;
    gap: 2px;
}

.gallery-date svg {
    width: 13px;
    height: 13px;
}

.board-btns {
    display: flex;
    justify-content: flex-end;
    gap: 5px;    
    margin: 2rem 0;
}

#board_write_btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background: var(--color-blue);
    border: 1px solid var(--color-blue);
    color: var(--color-white); 
    text-decoration: none;   
    transition: background 0.2s ease, color 0.2s ease;
}

#board_write_btn:hover {
    background: var(--color-white);
    color: var(--color-blue);
}