.page-tit-section.board {
    background: url(../img/board/board-bg.png);
}

.page-tit-section.product {
    background: url(../img/board/product-bg.png);
}

.page-tit-section.notice {
    background: url(../img/board/notice-bg.png);
}


/* notice */
#notice {
    gap: 20px;
}

.search-head {
    max-width: 705px;
    width: 100%;
    display: flex;
    box-sizing: border-box;
    padding: 14px 20px;
    justify-content: flex-start;
    align-items: center;
    color: #222;
    text-align: center;
    font-size: 16px;
    line-height: 24px; /* 150% */
    letter-spacing: -0.4px;
    gap: 20px;
    border-radius: 12px;
    border: 1px solid rgba(46, 117, 52, 0.50);
    background: #FFF;
    position: relative;
}

.search-head svg {
    cursor: pointer;
    position: absolute;
    right: 20px;
}

#notice input[type="text"] {
    border: none !important;
    padding: 0 !important;
    height: 24px;
    font-size: 16px;
    line-height: 100%; /* 16px */
}

#notice input[type="text"]::placeholder {
    color: rgba(17, 17, 17, 0.40);
    font-size: 16px;
    line-height: 24px; /* 16px */
    letter-spacing: -0.4px;
}

.select-box {
    width: 104px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.select {
    width: 100%;
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: space-between;
    color: #222;
    font-size: 16px;
    line-height: 24px; /* 171.429% */
    letter-spacing: -0.4px;
}

.option-list {
    position: absolute;
    background: #fff;
    top: 44px;
    display: none;
    z-index: 10;
    border-radius: 12px;
    border: 1px solid rgba(46, 117, 52, 0.50);
}

.option {
    width: 100%;
    color: #222;
    box-sizing: border-box;
    padding: 10px 20px 5px;
    text-align: center;
    font-size: 16px;
    line-height: 24px; /* 171.429% */
    letter-spacing: -0.4px;
    transition: 0.2s;
    cursor: pointer;
}

.option:last-child {
    padding: 10px 20px;
}

.option:hover {
    background: rgba(105, 175, 101, 0.10);
}

.search-head hr {
    width: 1px;
    height: 24px;
    background: rgba(80, 80, 80, 0.20);
    border: none;
}

.list-wrap {
    max-width: 1380px;
    width: 90%;
    padding: 20px 0;
}

.list-item {
    box-sizing: border-box;
    padding: 12px 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid rgba(80, 80, 80, 0.10);
    cursor: pointer;
}

.list-item-div {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1 0 0;
}

.list-category {
    color: #FFF;
    text-align: center;
    font-size: 14px;
    font-weight: 400;
    line-height: 140%; /* 19.6px */
    letter-spacing: -0.35px;
    box-sizing: border-box;
    padding: 2px 4px;
    border-radius: 4px;
    background: #2E7534;
    white-space: nowrap;
}

.list-category.news {
    background: #5B7CC8;
}

.list-pin {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.list-item-tit {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    flex: 1 0 0;
    overflow: hidden;
    color: #505050;
    text-overflow: ellipsis;
    font-size: 18px;
    font-weight: 400;
    line-height: 140%; /* 25.2px */
    letter-spacing: -0.45px;
}

.list-item-date {
    color: #747A82;
    text-align: center;
    font-size: 14px;
    font-weight: 400;
    line-height: 140%; /* 19.6px */
    letter-spacing: -0.35px;
    white-space: nowrap;
}

.pagination {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin: 0 auto;
    gap: 4px;
}

.pagination .pagination-arrow {
    width: 32px;
    aspect-ratio: 1 / 1;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border-radius: 16px;
}

.pagination .pagination-arrow img {
    width: 12px;
}

.pagination .pagination-arrow.disabled {
    opacity: 0.2;
    cursor: default;
    pointer-events: none;
}

.pagination .pagination-num {
    width: 32px;
    aspect-ratio: 1 / 1;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    color: #767676;
    text-align: center;
    font-size: 13px;
    font-weight: 400;
    line-height: 18px; /* 138.462% */
    letter-spacing: -0.325px;
    border-radius: 16px;
}

.pagination .pagination-num:hover {
    background: rgba(105, 175, 101, 0.10);
}

.pagination .pagination-num.active {
    color: #111;
    font-weight: 600;
}

.list-empty {
    padding: 40px 0;
    text-align: center;
    color: #747A82;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.4px;
}

/* notice-detail */
#notice-detail .page-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

#notice-detail .notice-detail-div {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

#notice-detail .notice-detail-tit {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    color: #111;
    text-overflow: ellipsis;
    font-size: 28px;
    font-weight: 600;
    line-height: 130%; /* 130% */
    letter-spacing: -0.7px;
}

#notice-detail .notice-detail-date {
    width: 120px;
    overflow: hidden;
    color: #747A82;
    text-align: right;
    text-overflow: ellipsis;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px; /* 150% */
    letter-spacing: -0.4px;
    white-space: nowrap;
}

#notice-detail .notice-detail-content, #notice-detail .notice-detail-content p, #notice-detail .notice-detail-content div {
    color: #505050;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 150% */
    letter-spacing: -0.5px;
}

.go-list {
    display: flex;
    width: 140px;
    box-sizing: border-box;
    padding: 10px;
    justify-content: center;
    align-items: center;
    gap: 4px;
    color: #505050;
    font-size: 16px;
    font-weight: 500;
    line-height: 140%; /* 22.4px */
    letter-spacing: -0.4px;
    border-radius: 8px;
    border: 1px solid rgba(116, 122, 130, 0.15);
    transition: 0.2s;
    margin-top: 40px;
}

.go-list:hover {
    color: #2E7534;
    background: rgba(105, 175, 101, 0.10);
}


/* gallery */
#gallery {
    gap: 20px;
}

#gallery .section-desc {
    margin-bottom: 20px;
}

#gallery .gallery-tab-wrap {
    width: 90%;
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
}

#gallery .gallery-tab {
    color: #2E7534;
    text-align: center;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 140%; /* 28px */
    letter-spacing: -0.5px;
    display: flex;
    width: 200px;
    box-sizing: border-box;
    padding: 16px 32px;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border-radius: 100px;
    border: 1px solid #2E7534;
    position: relative;
}

#gallery .gallery-tab:hover {
    background: rgba(105, 175, 101, 0.10);
}

#gallery .gallery-tab img {
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    display: none;
}

#gallery .gallery-tab.active {
    color: #FFF;
    background: #2E7534;
}

#gallery .gallery-tab.active img {
    display: block;
}

#gallery .gallery-list {
    max-width: 1380px;
    width: 90%;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

#gallery .gallery-item {
    width: calc(25% - 15px);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    border-radius: 8px;
    background: #AEAEAE;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

#gallery .gallery-item img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

#gallery .gallery-item .gallery-item-desc {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    box-sizing: border-box;
    padding: 11.25px;
    color: #FFF;
    font-size: 18px;
    font-weight: 600;
    line-height: 25.5px; /* 141.667% */
    letter-spacing: -0.45px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.50) 100%);
}

/* gallery lightbox */
#gallery-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 100;
    justify-content: center;
    align-items: center;
}

#gallery-lightbox.active {
    display: flex;
}

.lightbox-inner {
    position: relative;
    max-width: 900px;
    width: 90vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.lightbox-inner img {
    width: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    line-height: 0;
}

#lightbox-title {
    color: #fff;
    font-size: 18px;
    font-weight: 400;
    line-height: 150%;
    letter-spacing: -0.45px;
    text-align: center;
}


/* product */
#product .page-section {
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
}

#product .product-list {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

#product .product-item {
    width: calc(25% - 15px);
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

#product .product-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform-origin: center center;
    transition: 0.2s;
}

#product .product-item:hover img {
    transform: scale(1.2);
}

#product .product-item .product-name {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    box-sizing: border-box;
    padding: 11.25px;
    align-items: flex-start;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.50) 100%);
    color: #FFF;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    line-height: 25.5px; /* 141.667% */
    letter-spacing: -0.45px;
    z-index: 3;
}

.product-lightbox .lightbox-inner img {
    width: 100%;
}

@media(max-width: 1280px) {
    #product .page-section {
        gap: 30px;
    }
    #product .product-list {
        gap: 15px;
    }
    #product .product-item {
        width: calc(25% - 11.25px)
    }
    #gallery {
        padding: 40px 0;
        gap: 16px;
    } 
    #gallery .gallery-tab-wrap {
        gap: 12px;
        flex-wrap: wrap;
    }
    #gallery .gallery-tab {
        width: 170px;
        font-size: 18px;
        letter-spacing: -0.45px;
        padding: 12px 24px;
    }
    #gallery .gallery-tab img {
        width: 12px;
        bottom: -15px
    }
    #gallery .gallery-list {
        gap: 15px;
        flex-wrap: wrap;
    }
    #gallery .gallery-item {
        width: calc(25% - 11.25px);
    }
    #gallery .section-desc {
        margin-bottom: 14px;
    }
    #notice {
        padding: 40px 0;
    }
}

@media(max-width: 1024px) {
    #product .product-item .product-name, #gallery .gallery-item .gallery-item-desc {
        font-size: 16px;
        letter-spacing: -0.4px;
    }
    #gallery .gallery-item {
        width: calc(50% - 7.5px);
    }
    #gallery .gallery-tab img {
        display: none !important;
    }
}

@media(max-width: 900px) {
    #product .product-item {
        width: calc(50% - 7.5px)
    }
    #notice-detail .notice-detail-div {
        flex-direction: column;
        gap: 6px;
        align-items: flex-start;
    }
    #notice-detail .notice-detail-date {
        text-align: left;
    }
    #notice-detail .notice-detail-tit {
        font-size: 24px;
        letter-spacing: -0.6px;
    }
    #notice-detail .notice-detail-content, #notice-detail .notice-detail-content p, #notice-detail .notice-detail-content div {
        font-size: 18px;
        letter-spacing: -0.45px;
    }
}

@media(max-width: 768px) {
    #product .page-section {
        gap: 20px;
    }
    #product .product-list {
        gap: 10px;
    }
    #product .product-item {
        width: calc(50% - 5px)
    }
    #gallery {
        padding: 40px 16px;
        gap: 12px;
    } 
    #gallery .gallery-tab-wrap {
        width: 100%;
    }
    #gallery .gallery-list {
        width: 100%;
        gap: 10px;
    }
    #gallery .gallery-item {
        width: calc(50% - 5px);
    }
    #gallery .gallery-tab {
        width: fit-content;
        padding: 8px 16px;
    }
    #gallery .section-desc {
        margin-bottom: 8px;
    }
    #notice {
        padding: 40px 16px;
    }
    .list-wrap {
        width: 100%;
        padding: 10px 0;
    }
}

@media(max-width: 650px) {
    #product .product-list {
        gap: 8px;
    }
    #product .product-item {
        width: calc(50% - 4px)
    }
    #product .product-item .product-name, #gallery .gallery-item .gallery-item-desc {
        font-size: 16px;
        letter-spacing: -0.4px;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.50) 100%);
    }
    #gallery .gallery-tab-wrap {
        gap: 8px;
    }
    #gallery .gallery-tab {
        font-size: 16px;
        letter-spacing: -0.4px;
        padding: 6px 12px;
        border-radius: 100px;
    }
    #gallery .gallery-list {
        gap: 8px;
    }
    #gallery .gallery-item {
        width: calc(50% - 4px)
    }
    .search-head {
        padding: 10px 20px;
        gap: 10px;
    }
    .select-box {
        width: 80px;
    }
    .search-head svg {
        right: 15px;
    }
    .search-head .select svg {
        right: 0;
    }
    .list-wrap {
        padding: 0;
    }
    .list-item {
        gap: 8px;
        padding: 10px 4px;
    }
    .list-item-tit {
        font-size: 16px;
        letter-spacing: -0.4px;
    }
    #notice-detail .notice-detail-tit {
        font-size: 20px;
        letter-spacing: -0.5px;
    }
    #notice-detail .notice-detail-content, #notice-detail .notice-detail-content p, #notice-detail .notice-detail-content div {
        font-size: 16px;
        letter-spacing: -0.4px;
    }
    .go-list {
        margin-top: 20px;
    }
}

@media(max-width: 480px) {
    #product .product-item .product-name, #gallery .gallery-item .gallery-item-desc {
        font-size: 14px;
        letter-spacing: -0.35px;
    }
}

@media(max-width: 370px) {
    #gallery .gallery-tab {
        font-size: 14px;
        letter-spacing: -0.35px;
    }
}

@media(max-width: 350px) {
    .search-head {
        padding: 10px 15px;
        border-radius: 8px;
    }
    .select-box {
        width: 50px;
    }
    .search-head svg {
        right: 10px;
    } 
    .search-head .select svg {
        display: none;
    }
    .select, #notice input[type="text"], #notice input[type="text"]::placeholder {
        font-size: 14px;
        letter-spacing: -0.35px;
    }
}


