@charset "utf-8";
/**
 * @author https://www.cosmosfarm.com
 */

/* ==========================================================
   기본 버튼 및 초기화
   ========================================================== */
a.kboard-gallery-button-small,
input.kboard-gallery-button-small,
button.kboard-gallery-button-small { position: relative; display: inline-block; *display: inline; zoom: 1; margin: 0; padding: 0 10px; width: auto; height: 28px; line-height: 28px; font-size: 14px; font-weight: normal; letter-spacing: normal; color: #545861 !important; background: #eaeaea !important; border: none; border-radius: 0; text-decoration: none !important; cursor: pointer; vertical-align: middle; text-shadow: none; box-shadow: none; transition-duration: 0.3s; box-sizing: content-box; }
a.kboard-gallery-button-small:hover,
a.kboard-gallery-button-small:focus,
a.kboard-gallery-button-small:active,
input.kboard-gallery-button-small:hover,
input.kboard-gallery-button-small:focus,
input.kboard-gallery-button-small:active,
button.kboard-gallery-button-small:hover,
button.kboard-gallery-button-small:focus,
button.kboard-gallery-button-small:active { opacity: 0.7; }

.kboard-gallery-poweredby { float: left; padding-bottom: 15px; width: 100%; font-size: 14px; }
.kboard-gallery-new-notify { display: inline-block; *display: inline; zoom: 1; padding: 2px 2px; line-height: 10px; font-size: 10px; color: white; background-color: #f61b5d; font-weight: normal; }
.kboard-gallery-cut-strings { width: auto; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; word-wrap: normal; }

/* ==========================================================
   검색 & 정렬 헤더 영역 (그레이 배경 중앙정렬)
   ========================================================== */
#kboard-gallery-list { display: inline-block; *display: inline; zoom: 1; margin: 0; width: 100%; }
#kboard-gallery-list form { margin: 0; padding: 0; }
#kboard-gallery-list .kboard-list-header { float: left; display: table; padding-bottom: 15px; width: 100%; }
#kboard-gallery-list .kboard-list-header .kboard-total-count { *float: left; display: table-cell; font-size: 14px; vertical-align: middle; }
#kboard-gallery-list .kboard-list-header .kboard-sort { *float: right; display: table-cell; text-align: right; }
#kboard-gallery-list .kboard-list-header .kboard-sort select { display: inline; margin: 0; padding: 0; width: auto; min-width: 0; max-width: none; height: 26px; min-height: 0; line-height: 26px; font-size: 13px; color: #666666; border-radius: 0; border: 1px solid #f1f1f1; background: white; vertical-align: middle; box-shadow: none; box-sizing: content-box; text-indent: 0; -webkit-appearance: menulist; -moz-appearance: menulist; appearance: menulist; }

#kboard-gallery-list .kboard-custom-search { background-color: #f7f7f7; padding: 30px 20px; border-radius: 5px; text-align: center; margin-bottom: 25px; float: left; width: 100%; box-sizing: border-box; }
#kboard-gallery-list .kboard-custom-search form { display: flex; justify-content: center; align-items: center; gap: 5px; margin: 0; }
#kboard-gallery-list .kboard-search select { display: inline; margin: 0; padding: 0 30px 0 10px !important; width: 120px !important; min-width: 0; max-width: none !important; height: 42px !important; min-height: 0; font-size: 14px; color: #666666; border-radius: 3px; border: 1px solid #ddd; background: none; background-color: white; line-height: 42px !important; vertical-align: middle; box-shadow: none; box-sizing: border-box; -webkit-appearance: menulist; -moz-appearance: menulist; appearance: menulist; }
#kboard-gallery-list .kboard-search input { display: inline; margin: 0; padding: 0 15px !important; width: 400px !important; min-width: 0; max-width: none !important; height: 42px !important; min-height: 0; font-size: 14px; color: #666666; border-radius: 3px; border: 1px solid #ddd; background: none; background-color: white; line-height: 42px !important; vertical-align: middle; box-shadow: none; box-sizing: border-box; }

/* 카테고리 스타일 유지 */
#kboard-gallery-list .kboard-category { float: left; padding-bottom: 15px; width: 100%; }
#kboard-gallery-list .kboard-category.category-mobile { display: none; }
#kboard-gallery-list .kboard-category.category-pc { display: block; }
#kboard-gallery-list .kboard-category select { display: inline; margin: 0 0 5px 0; padding: 0; width: 100%; min-width: 100%; height: 28px; min-height: 0; line-height: 28px; font-size: 13px; color: #666666; border-radius: 0; border: 1px solid #f1f1f1; background: white; vertical-align: middle; box-shadow: none; box-sizing: border-box; text-indent: 0; -webkit-appearance: menulist; -moz-appearance: menulist; appearance: menulist; }
#kboard-gallery-list .kboard-category .kboard-category-list { margin: 0 0 5px 0; padding: 0; list-style: none; border: 0; background-color: #f9f9f9; overflow: hidden; }
#kboard-gallery-list .kboard-category .kboard-category-list li { display: inline-block; *display: inline; zoom: 1; margin: 0; padding: 0 5px; border: 0; list-style: none; }
#kboard-gallery-list .kboard-category .kboard-category-list li::before, #kboard-gallery-list .kboard-category .kboard-category-list li::after { display: none; }
#kboard-gallery-list .kboard-category .kboard-category-list li a { display: block; padding: 10px 10px 8px 10px; font-size: 14px; border: 0; border-bottom: 2px solid transparent; text-decoration: none; text-shadow: none; box-shadow: none; color: #515151; }
#kboard-gallery-list .kboard-category .kboard-category-list li.kboard-category-selected a { font-weight: bold; border-bottom: 2px solid #545861; color: #545861; }
#kboard-gallery-list .kboard-tree-category-wrap { overflow: hidden; }
#kboard-gallery-list .kboard-tree-category-wrap select { display: inline; margin: 0 0 5px 0; padding: 0; width: 100%; height: 28px; line-height: 28px; font-size: 13px; color: #666666; border-radius: 0; border: 1px solid #f1f1f1; background: white; vertical-align: middle; box-shadow: none; box-sizing: border-box; text-indent: 0; -webkit-appearance: menulist; -moz-appearance: menulist; appearance: menulist; }
#kboard-gallery-list .kboard-tree-category-search .kboard-search-option-wrap.type-select { width: auto; }
#kboard-gallery-list .kboard-tree-category-search .kboard-search-option-wrap.type-tab { width: 100%; }
#kboard-gallery-list .kboard-tree-category { float: left; margin: 0 0 5px 0; padding: 0; width: 100%; list-style: none; border: 0; background-color: #f9f9f9; overflow: hidden; }
#kboard-gallery-list .kboard-tree-category li { display: inline-block; *display: inline; zoom: 1; margin: 0; padding: 0 5px; border: 0; list-style: none; }
#kboard-gallery-list .kboard-tree-category li::before, #kboard-gallery-list .kboard-tree-category li::after { display: none; }
#kboard-gallery-list .kboard-tree-category li a { display: block; padding: 10px 10px 8px 10px; font-size: 14px; border: 0; border-bottom: 2px solid transparent; text-decoration: none; text-shadow: none; box-shadow: none; color: #515151; }
#kboard-gallery-list .kboard-tree-category li.kboard-category-selected a { font-weight: bold; border-bottom: 2px solid #545861; color: #545861; }
#kboard-gallery-list .kboard-tree-category-search { float: left; width: 100%; }
#kboard-gallery-list .kboard-tree-category-search .kboard-search-option-wrap { margin-right: 5px; float: left; }


/* ==========================================================
   ★ 핵심: 갤러리 3단 이미지 Grid 레이아웃 (스크린샷 스타일) ★
   ========================================================== */
#kboard-gallery-list .kboard-gallery-list-wrap { 
    float: left; 
    width: 100%; 
    margin-bottom: 30px; 
}

#kboard-gallery-list .kboard-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3단 배열 */
    gap: 20px; /* 카드 사이 간격 */
    padding: 0;
    margin: 0;
    list-style: none;
}

/* 개별 카드 아이템 설정 */
#kboard-gallery-list .kboard-gallery-item {
    position: relative;
    border-radius: 5px;
    overflow: hidden;
    aspect-ratio: 4 / 3; /* 직사각형 이미지 비율 유지 */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#kboard-gallery-list .kboard-gallery-item:hover {
    transform: translateY(-5px); /* 마우스 올렸을 때 살짝 뜨는 효과 */
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

#kboard-gallery-list .kboard-gallery-item a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

/* 썸네일 이미지 영역 */
#kboard-gallery-list .kboard-gallery-thumbnail {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.5s ease;
}

#kboard-gallery-list .kboard-gallery-item:hover .kboard-gallery-thumbnail {
    transform: scale(1.05); /* 이미지 안쪽 살짝 확대 */
}

/* 텍스트가 잘 보이도록 하단에 깔리는 검은 그라데이션 */
#kboard-gallery-list .kboard-gallery-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 100%;
    padding: 25px 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 40%, rgba(0,0,0,0) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* 텍스트를 밑으로 밀어냄 */
    box-sizing: border-box;
}

/* 카테고리 및 공지 뱃지 박스 */
#kboard-gallery-list .kboard-gallery-badges {
    margin-bottom: 12px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
#kboard-gallery-list .badge-cat,
#kboard-gallery-list .badge-notice {
    color: #ffffff;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 2px;
    letter-spacing: 0.5px;
}

/* 이미지 위에 올라가는 흰색 제목 */
#kboard-gallery-list .kboard-gallery-title {
    color: #ffffff !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    margin: 0 0 15px 0 !important;
    word-break: keep-all;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
#kboard-gallery-list .kboard-comments-count { color: #00a5e5; font-size: 16px; margin-left: 5px; }

/* Posted on 정보 (날짜, 작성자) */
#kboard-gallery-list .kboard-gallery-meta {
    color: #eeeeee;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    gap: 15px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}


/* ==========================================================
   뷰페이지, 에디터 영역 스타일
   ========================================================== */
#kboard-gallery-control { float: left; padding-bottom: 15px; width: 100%; text-align: right; }

#kboard-gallery-editor { overflow: hidden; }
#kboard-gallery-editor form { margin: 0; padding: 0; }
#kboard-gallery-editor select { display: inline; margin: 0; padding: 0 5px; font-size: 14px; width: 30%; height: 28px; line-height: 28px; color: #666666; border-radius: 0; border: 0; border-bottom: 1px solid #dcdcdc; box-shadow: none; background: none; background-color: transparent; box-sizing: content-box; vertical-align: middle; text-indent: 0; -webkit-appearance: menulist; -moz-appearance: menulist; appearance: menulist; }
#kboard-gallery-editor input[type=text],
#kboard-gallery-editor input[type=email],
#kboard-gallery-editor input[type=number],
#kboard-gallery-editor input[type=date],
#kboard-gallery-editor input[type=password] { display: inline; margin: 0; padding: 0 5px; width: 30%; height: 28px; line-height: 28px; font-size: 14px; color: #666666; border-radius: 0; border: 0; border-bottom: 1px solid #dcdcdc; box-shadow: none; background: none; background-color: transparent; box-sizing: content-box; vertical-align: middle; }
#kboard-gallery-editor input[type=checkbox] { width: auto; -webkit-appearance: checkbox; -moz-appearance: checkbox; appearance: checkbox; }
#kboard-gallery-editor input[type=radio] { width: auto; -webkit-appearance: radio; -moz-appearance: radio; appearance: radio; }
#kboard-gallery-editor select:hover, #kboard-gallery-editor input[type=text]:hover, #kboard-gallery-editor input[type=email]:hover, #kboard-gallery-editor input[type=number]:hover, #kboard-gallery-editor input[type=date]:hover, #kboard-gallery-editor input[type=password]:hover { border-bottom: 1px solid #9e9e9e; }
#kboard-gallery-editor select:focus, #kboard-gallery-editor input[type=text]:focus, #kboard-gallery-editor input[type=email]:focus, #kboard-gallery-editor input[type=number]:focus, #kboard-gallery-editor input[type=date]:focus, #kboard-gallery-editor input[type=password]:focus { border-bottom: 2px solid #9e9e9e; }
#kboard-gallery-editor input[type=file] { display: inline; margin: 0; padding: 0; width: 30%; font-size: 13px; color: #666666; border-radius: 0; border: 0; box-shadow: none; background-color: transparent; }
#kboard-gallery-editor .kboard-attr-title input { width: 70%; }
#kboard-gallery-editor .kboard-attr-row { float: left; padding: 5px 0; width: 100%; background-color: white; }
#kboard-gallery-editor .kboard-attr-row .attr-name { display: inline; float: left; margin: 0; padding: 0 10px 0 10px; width: 120px; line-height: 30px; color: #545861; font-size: 14px; font-weight: bold; }
#kboard-gallery-editor .kboard-attr-row .attr-name img { display: inline; margin: 0; padding: 0; width: auto; max-width: 100%; vertical-align: middle; }
#kboard-gallery-editor .kboard-attr-row .attr-name .attr-required-text { color: red; font-weight: normal; font-size: 13px; }
#kboard-gallery-editor .kboard-attr-row.kboard-attr-content .attr-name { display: none; }
#kboard-gallery-editor .kboard-attr-row .attr-value { margin: 0 0 0 140px; padding: 0; line-height: 30px; font-size: 14px; }
#kboard-gallery-editor .kboard-attr-row .attr-value .attr-value-option { display: inline; padding-right: 20px; width: auto; font-size: 14px; cursor: pointer; }
#kboard-gallery-editor .kboard-attr-row .attr-value .attr-value-option input { cursor: pointer; }
#kboard-gallery-editor .kboard-attr-row .attr-value .attr-value-label { display: inline; padding-right: 5px; width: auto; cursor: pointer; }
#kboard-gallery-editor .kboard-attr-row .attr-value .attr-value-label input { cursor: pointer; }
#kboard-gallery-editor .kboard-attr-row .attr-value .description { margin: 0; color: #666666; }
#kboard-gallery-editor .kboard-attr-row .attr-value .kboard-tree-category-wrap { float: left; width: 100%; }
#kboard-gallery-editor .kboard-attr-row .attr-value .kboard-tree-category-wrap select { clear: both; float: left; margin-bottom: 5px; width: 30%; }
#kboard-gallery-editor .kboard-content { float: left; margin: 0; padding: 9px 0; width: 100%; background-color: white; }
#kboard-gallery-editor .kboard-content .editor-textarea { display: inline; margin: 0; padding: 5px; width: 100%; min-width: 100%; max-width: 100%; height: 250px; min-height: 0; font-size: 14px; border: 1px solid #dcdcdc; box-shadow: none; background: none; background-color: transparent; box-sizing: border-box; text-indent: 0; }
#kboard-gallery-editor .kboard-control { float: left; padding: 15px 0; width: 100%; }
#kboard-gallery-editor .kboard-control .left { position: static; float: left; }
#kboard-gallery-editor .kboard-control .right { position: static; float: right; width: 50%; text-align: right; }
#kboard-gallery-editor.confirm { margin: 100px auto; max-width: 590px; }
#kboard-gallery-editor.confirm input[type=password] { width: 100%; box-sizing: border-box; }

#kboard-gallery-document { display: inline-block; *display: inline; zoom: 1; margin: 0; width: 100%; }
#kboard-gallery-document .kboard-document-wrap { float: left; width: 100%; background-color: white; }
#kboard-gallery-document .kboard-title { float: left; width: 100%; }
#kboard-gallery-document .kboard-title h1 { margin: 0; padding: 12px 22px; color: #545861; font-weight: bold; font-size: 22px; line-height: 30px; text-align: left; }
#kboard-gallery-document .kboard-detail { clear: both; float: left; width: 100%; border-top: 1px solid #f1f1f1; border-bottom: 1px solid #f1f1f1; background-color: #f9f9f9; font-size: 14px; }
#kboard-gallery-document .kboard-detail .detail-attr { display: inline-block; *display: inline; zoom: 1; float: left; margin: 0; padding: 12px 35px 12px 22px; }
#kboard-gallery-document .kboard-detail .detail-attr .detail-name { float: left; font-weight: bold; color: #545861; text-align: right; }
#kboard-gallery-document .kboard-detail .detail-attr .detail-value { float: left; padding-left: 20px; color: #545861; }
#kboard-gallery-document .kboard-detail .detail-attr .detail-value a { color: #545861; text-decoration: none; border: 0; box-shadow: none; }
#kboard-gallery-document .kboard-detail .detail-attr .detail-value img.avatar { display: inline; margin: 0; width: 24px; max-width: none; height: 24px; vertical-align: middle; border-radius: 50%; }
#kboard-gallery-document .kboard-content { clear: both; float: left; width: 100%; min-height: 200px; }
#kboard-gallery-document .kboard-content .content-view { margin: 0; padding: 22px; word-break: break-all; }
#kboard-gallery-document .kboard-content .content-view iframe { max-width: 100%; }
#kboard-gallery-document .kboard-content .content-view img { display: inline; margin: 0; vertical-align: middle; max-width: 100%; }
#kboard-gallery-document .kboard-content .content-view hr { margin: 10px 0; padding: 0; height: 1px; border: 0; background-color: #f1f1f1; }
#kboard-gallery-document .kboard-content .content-view ul { margin: 0.75em 0; }
#kboard-gallery-document .kboard-content .content-view ol { margin: 0.75em 0; }
#kboard-gallery-document .kboard-content .content-view p { margin: 0 0 0.75em; }
#kboard-gallery-document .kboard-content .content-view p:last-child { margin: 0; }
#kboard-gallery-document .kboard-content .content-view .thumbnail-area { text-align: center; }
#kboard-gallery-document .kboard-content .content-view .aligncenter { display: block; margin-right: auto; margin-left: auto; }
#kboard-gallery-document .kboard-content .content-view .alignright { float:right; }
#kboard-gallery-document .kboard-content .content-view .alignleft { float: left; }
#kboard-gallery-document .kboard-document-action { padding: 0 22px 5px 22px; overflow: hidden; line-height: 1; }
#kboard-gallery-document .kboard-document-action .left { position: static; float: left; }
#kboard-gallery-document .kboard-document-action .right { position: static; float: right; text-align: right; }
#kboard-gallery-document .kboard-attach { clear: both; margin: 0 22px; padding: 10px 0 5px 0; font-size: 13px; overflow: hidden; line-height: 1; border-top: 1px dashed #ededed; }
#kboard-gallery-document .kboard-button-action { margin: 0 0 5px 0; padding: 4px 5px; font-size: 13px; font-weight: normal; line-height: 12px; text-align: left; border: 1px solid #ededed; background: none; background-color: white; border-radius: 2px; letter-spacing: normal; cursor: pointer; vertical-align: middle; text-shadow: none; box-shadow: none; }
#kboard-gallery-document .kboard-button-action span { position: static; display: inline; margin: 0; padding: 0; font-size: 13px; line-height: 12px; }
#kboard-gallery-document .kboard-button-like { color: #ff5959; }
#kboard-gallery-document .kboard-button-unlike { color: #3d62aa; }
#kboard-gallery-document .kboard-button-print { color: gray; }
#kboard-gallery-document .kboard-button-download { color: gray; }
#kboard-gallery-document .kboard-comments-area { float: left; width: 100%; }
#kboard-gallery-document .kboard-document-navi { float: left; padding-top: 15px; width: 100%; }
#kboard-gallery-document .kboard-document-navi a { display: block; text-decoration: none; border: 0; font-size: 14px; line-height: 20px; box-shadow: none; color: #545861; transition-duration: .3s; }
#kboard-gallery-document .kboard-document-navi .navi-document-title { display: block; }
#kboard-gallery-document .kboard-document-navi .navi-arrow { position: absolute; display: block; }
#kboard-gallery-document .kboard-document-navi .kboard-prev-document { position: relative; float: left; width: 45%; }
#kboard-gallery-document .kboard-document-navi .kboard-prev-document .navi-document-title { padding-left: 15px; }
#kboard-gallery-document .kboard-document-navi .kboard-prev-document .navi-arrow { left: 0; top: 0; }
#kboard-gallery-document .kboard-document-navi .kboard-prev-document:hover a { color: black; }
#kboard-gallery-document .kboard-document-navi .kboard-next-document { position: relative; float: right; width: 45%; text-align: right; }
#kboard-gallery-document .kboard-document-navi .kboard-next-document .navi-document-title { padding-right: 15px; }
#kboard-gallery-document .kboard-document-navi .kboard-next-document .navi-arrow { right: 0; top: 0; }
#kboard-gallery-document .kboard-document-navi .kboard-next-document:hover a { color: black; }
#kboard-gallery-document .kboard-control { float: left; padding: 15px 0;  width: 100%; }
#kboard-gallery-document .kboard-control .left { position: static; float: left; }
#kboard-gallery-document .kboard-control .right { position: static; float: right; text-align: right; }


/* 고려대학교 스타일 뷰페이지 헤더 (document.php) */
#kboard-gallery-document .kboard-ku-header {
    background-color: #f7f9fa; 
    padding: 35px 30px;
    border-top: 2px solid #222222; 
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 40px; 
}
#kboard-gallery-document .kboard-ku-title {
    font-size: 26px;
    color: #222222;
    font-weight: 600;
    margin: 0 0 15px 0;
    line-height: 1.4;
    word-break: keep-all;
}
#kboard-gallery-document .kboard-ku-meta { font-size: 14px; color: #888888; }
#kboard-gallery-document .kboard-ku-meta .meta-item strong { color: #555555; font-weight: 500; margin-right: 5px; }
#kboard-gallery-document .kboard-ku-meta .meta-sep { color: #dddddd; margin: 0 12px; font-size: 13px; vertical-align: middle; }


/* ==========================================================
   ★ 페이징 버튼 (KBoard 기존 스타일 완벽 원복본) ★
   ========================================================== */
#kboard-gallery-list .kboard-pagination { float: left; padding: 15px 0; width: 100%; }
#kboard-gallery-list .kboard-pagination .kboard-pagination-pages { float: left; margin: 0; padding: 0; width: 100%; list-style: none; text-align: center; border: 0; }
#kboard-gallery-list .kboard-pagination .kboard-pagination-pages li { display: inline-block; *display: inline; zoom: 1; margin: 0; padding: 0 1px; background: none; border: 0; list-style: none; }
#kboard-gallery-list .kboard-pagination .kboard-pagination-pages li a { display: block; margin: 0; padding: 0 11px; height: 28px; line-height: 28px; font-size: 14px; color: #999999; text-decoration: none; border: 0; background-color: #f9f9f9; box-shadow: none; transition-duration: 0.3s; }
#kboard-gallery-list .kboard-pagination .kboard-pagination-pages li:hover a,
#kboard-gallery-list .kboard-pagination .kboard-pagination-pages li.active a { border: 0; color: #ffffff !important; background-color: #00a5e5 !important; }
#kboard-gallery-list .kboard-pagination .kboard-pagination-pages li:before { display: none; }
#kboard-gallery-list .kboard-pagination .kboard-pagination-pages li:after { display: none; }

/* ==========================================================
   모든 마주 블루 컬러 공통 버튼 (.kboard-maju-btn 등)
   ========================================================== */
#kboard-gallery-list .kboard-maju-search-btn,
#kboard-gallery-list .kboard-maju-write-btn,
#kboard-gallery-document a.kboard-maju-btn,
#kboard-gallery-editor a.kboard-maju-btn,
#kboard-gallery-editor button.kboard-maju-btn {
    background-color: #00a5e5 !important;
    color: #ffffff !important;
    border: none !important;
    padding: 0 25px !important;
    height: 42px !important;
    line-height: 42px !important;
    font-size: 15px !important;
    font-weight: bold !important;
    border-radius: 3px !important;
    transition: background 0.3s ease !important;
    display: inline-block !important;
    vertical-align: middle !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
    text-decoration: none !important;
}

#kboard-gallery-list .kboard-maju-search-btn:hover,
#kboard-gallery-list .kboard-maju-write-btn:hover,
#kboard-gallery-document a.kboard-maju-btn:hover,
#kboard-gallery-editor a.kboard-maju-btn:hover,
#kboard-gallery-editor button.kboard-maju-btn:hover {
    background-color: #008cc4 !important;
}


/* =========================================================================
   [모바일 환경 적용 스타일 - Grid 1단 변경 및 최적화] 
   ========================================================================= */
@media screen and (max-width: 768px) {
    /* 모바일에서는 그리드를 1단(세로 1줄)으로 변경 */
    #kboard-gallery-list .kboard-gallery-grid { grid-template-columns: 1fr; }
    #kboard-gallery-list .kboard-gallery-item { aspect-ratio: 16 / 10; }
    #kboard-gallery-list .kboard-gallery-title { font-size: 20px !important; }
    #kboard-gallery-list .kboard-gallery-meta { font-size: 13px; gap: 10px; }
    
    /* 카테고리 모바일 뷰 */
    #kboard-gallery-list .kboard-category.category-mobile { display: block; }
    #kboard-gallery-list .kboard-category.category-pc { display: none; }
    #kboard-gallery-list .kboard-tree-category-search .kboard-search-option-wrap.select { width: 100%; }
    
    /* 모바일 검색창 크기 정돈 */
    #kboard-gallery-list .kboard-search select { float: left; margin-right: 2%; width: 30% !important; max-width: none !important; height: 38px !important; line-height: 38px !important; padding: 0 5px !important; }
    #kboard-gallery-list .kboard-search input { float: left; margin-right: 2%; width: 45% !important; max-width: none !important; height: 38px !important; line-height: 38px !important; }
    #kboard-gallery-list .kboard-search button.kboard-maju-search-btn { float: left; width: 23% !important; max-width: none !important; height: 38px !important; line-height: 38px !important; padding: 0 !important; font-size: 13px !important; }
    
    /* 뷰, 에디터 페이지 모바일 최적화 */
    #kboard-gallery-editor select, #kboard-gallery-editor input[type=text], #kboard-gallery-editor input[type=email], #kboard-gallery-editor input[type=number], #kboard-gallery-editor input[type=date], #kboard-gallery-editor input[type=password], #kboard-gallery-editor input[type=file] { width: 100% !important; box-sizing: border-box; }
    #kboard-gallery-editor .kboard-attr-row { padding: 10px 0; }
    #kboard-gallery-editor .kboard-attr-row .attr-name { padding: 0; width: 100%; font-size: 14px; }
    #kboard-gallery-editor .kboard-attr-row .attr-value { margin: 0; }
    #kboard-gallery-editor .kboard-attr-row .attr-value .kboard-tree-category-wrap select { margin-bottom: 10px; width: 100%; }
    #kboard-gallery-editor.confirm { max-width: none; }
    
    #kboard-gallery-document .kboard-ku-header { padding: 20px 15px; }
    #kboard-gallery-document .kboard-ku-title { font-size: 20px; }
    #kboard-gallery-document .kboard-ku-meta { line-height: 1.8; }
    #kboard-gallery-document .kboard-ku-meta .meta-sep { margin: 0 8px; }
    #kboard-gallery-document .kboard-content .content-view { padding: 10px 5px; }
    #kboard-gallery-document .kboard-detail .detail-attr { clear: both; padding: 10px 5px; line-height: normal; }
    #kboard-gallery-document .kboard-document-action { padding: 10px 5px 5px 5px; }
    #kboard-gallery-document .kboard-attach { margin: 0 5px; padding: 10px 0 5px 0; }
    #kboard-gallery-document .kboard-document-navi .kboard-prev-document { width: 100%; }
    #kboard-gallery-document .kboard-document-navi .kboard-next-document { margin-top: 10px; float: left; width: 100%; text-align: left; }
    
    /* 모바일 페이징 최적화 */
    #kboard-gallery-list .kboard-pagination .kboard-pagination-pages li { display: none; }
    #kboard-gallery-list .kboard-pagination .kboard-pagination-pages li.first-page,
    #kboard-gallery-list .kboard-pagination .kboard-pagination-pages li.last-page,
    #kboard-gallery-list .kboard-pagination .kboard-pagination-pages li.prev-page,
    #kboard-gallery-list .kboard-pagination .kboard-pagination-pages li.next-page,
    #kboard-gallery-list .kboard-pagination .kboard-pagination-pages li.active { display: inline-block; }
    #kboard-gallery-list .kboard-pagination .kboard-pagination-pages li.prev-page a,
    #kboard-gallery-list .kboard-pagination .kboard-pagination-pages li.next-page a { padding: 0 18px; }
}


/* ==========================================================
   메인 페이지 갤러리 최신글 슬라이더
   PC 4개 / 태블릿 2개 / 모바일 1개
   ========================================================== */
.kboard-gallery-latest-slider {
    --gallery-latest-gap: 28px;
    --gallery-latest-brand: #00a5e5;
    position: relative;
    width: 100%;
    margin: 0 auto;
    padding: 10px 0 20px;
    font-family: 'Noto Sans KR', sans-serif;
    box-sizing: border-box;
}

.kboard-gallery-latest-slider *,
.kboard-gallery-latest-slider *::before,
.kboard-gallery-latest-slider *::after {
    box-sizing: border-box;
}

.kboard-gallery-latest-stage {
    position: relative;
    padding: 0 30px;
}

.kboard-gallery-latest-viewport {
    width: 100%;
    overflow: hidden;
    touch-action: pan-y;
}

.kboard-gallery-latest-track {
    display: flex;
    align-items: stretch;
    gap: var(--gallery-latest-gap);
    margin: 0;
    padding: 0;
    transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
    will-change: transform;
}

.kboard-gallery-latest-track.is-resizing {
    transition: none;
}

.kboard-gallery-latest-item {
    flex: 0 0 calc((100% - (var(--gallery-latest-gap) * 3)) / 4);
    min-width: 0;
    margin: 0;
}

.kboard-gallery-latest-item > a {
    display: block;
    height: 100%;
    color: #222222 !important;
    text-decoration: none !important;
    box-shadow: none !important;
}

.kboard-gallery-latest-thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #edf2f5;
}

.kboard-gallery-latest-thumbnail img {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.kboard-gallery-latest-item > a:hover .kboard-gallery-latest-thumbnail img,
.kboard-gallery-latest-item > a:focus .kboard-gallery-latest-thumbnail img {
    transform: scale(1.045);
}

.kboard-gallery-latest-no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: rgba(255, 255, 255, 0.92);
    background: linear-gradient(135deg, #00a5e5, #087fb1);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.kboard-gallery-latest-title {
    display: -webkit-box;
    min-height: 3em;
    margin: 19px 0 0 !important;
    overflow: hidden;
    color: #222222 !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1.5 !important;
    letter-spacing: -0.035em;
    text-align: left;
    word-break: keep-all;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.kboard-gallery-latest-new {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 19px;
    height: 19px;
    margin: 0 5px 2px 0;
    border-radius: 50%;
    color: #ffffff;
    background: #f15a5a;
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    vertical-align: middle;
}

.kboard-gallery-latest-lock {
    display: inline-block !important;
    width: 14px !important;
    height: auto !important;
    margin: 0 5px 2px 0 !important;
    vertical-align: middle;
}

.kboard-gallery-latest-arrow {
    position: absolute;
    z-index: 3;
    top: 42%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(34, 34, 34, 0.45) !important;
    border-radius: 50%;
    color: #333333 !important;
    background: rgba(255, 255, 255, 0.84) !important;
    font-family: Arial, sans-serif;
    font-size: 42px;
    font-weight: 300;
    line-height: 1;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-50%);
    transition: color 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.kboard-gallery-latest-arrow span {
    display: block;
    margin-top: -4px;
}

.kboard-gallery-latest-arrow:hover,
.kboard-gallery-latest-arrow:focus-visible {
    border-color: var(--gallery-latest-brand) !important;
    color: #ffffff !important;
    background: var(--gallery-latest-brand) !important;
    outline: none;
}

.kboard-gallery-latest-arrow:disabled {
    cursor: default;
    opacity: 0.35;
}

.kboard-gallery-latest-prev {
    left: 4px;
}

.kboard-gallery-latest-next {
    right: 4px;
}

.kboard-gallery-latest-slider.is-static .kboard-gallery-latest-arrow {
    display: none;
}

.kboard-gallery-latest-more-wrap {
    margin-top: 55px;
    text-align: center;
}

.kboard-gallery-latest-more {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 182px;
    height: 50px;
    padding: 0 32px;
    overflow: hidden;
    color: #ffffff !important;
    background: var(--gallery-latest-brand);
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none !important;
    transition: background-color 0.25s ease;
}

.kboard-gallery-latest-more::after {
    content: '';
    position: absolute;
    right: -13px;
    bottom: -13px;
    width: 26px;
    height: 26px;
    background: #ffffff;
    transform: rotate(45deg);
}

.kboard-gallery-latest-more:hover,
.kboard-gallery-latest-more:focus-visible {
    color: #ffffff !important;
    background: #008cc4;
    outline: none;
}

@media screen and (max-width: 1023px) {
    .kboard-gallery-latest-slider {
        --gallery-latest-gap: 22px;
    }

    .kboard-gallery-latest-stage {
        padding: 0 26px;
    }

    .kboard-gallery-latest-item {
        flex-basis: calc((100% - var(--gallery-latest-gap)) / 2);
    }

    .kboard-gallery-latest-title {
        font-size: 18px !important;
    }

    .kboard-gallery-latest-prev {
        left: 0;
    }

    .kboard-gallery-latest-next {
        right: 0;
    }
}

@media screen and (max-width: 639px) {
    .kboard-gallery-latest-slider {
        --gallery-latest-gap: 16px;
        padding-top: 0;
    }

    .kboard-gallery-latest-stage {
        padding: 0 20px;
    }

    .kboard-gallery-latest-item {
        flex-basis: 100%;
    }

    .kboard-gallery-latest-title {
        min-height: 2.9em;
        margin-top: 14px !important;
        font-size: 17px !important;
        line-height: 1.45 !important;
    }

    .kboard-gallery-latest-arrow {
        top: 40%;
        width: 42px;
        height: 42px;
        font-size: 36px;
    }

    .kboard-gallery-latest-more-wrap {
        margin-top: 38px;
    }

    .kboard-gallery-latest-more {
        min-width: 160px;
        height: 46px;
        font-size: 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .kboard-gallery-latest-track,
    .kboard-gallery-latest-thumbnail img,
    .kboard-gallery-latest-arrow,
    .kboard-gallery-latest-more {
        transition: none !important;
    }
}

/* ==========================================================
   메인 최신글: 왼쪽 대표 이미지 + 오른쪽 공지사항 목록
   ========================================================== */
.kboard-featured-latest {
    --featured-brand: #00a5e5;
    --featured-text: #2b2b2b;
    width: 100%;
    margin: 0 auto;
    padding: 0;
    color: var(--featured-text);
    font-family: 'Noto Sans KR', sans-serif;
    box-sizing: border-box;
}

.kboard-featured-latest *,
.kboard-featured-latest *::before,
.kboard-featured-latest *::after { box-sizing: border-box; }

.kboard-featured-latest-layout {
    display: grid;
    grid-template-columns: minmax(300px, 32%) minmax(0, 1fr);
    align-items: stretch;
    gap: clamp(32px, 4vw, 70px);
    width: 100%;
}

.kboard-featured-latest-visual {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border-radius: 18px;
    background: #edf2f5;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.09);
    touch-action: pan-y;
}

.kboard-featured-latest-slides {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 460px;
    aspect-ratio: 4 / 5.65;
}

.kboard-featured-latest-slide {
    position: absolute;
    inset: 0;
    display: block;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    color: #ffffff !important;
    text-decoration: none !important;
    transform: scale(1.015);
    transition: opacity 0.55s ease, visibility 0.55s ease, transform 0.7s ease;
}

.kboard-featured-latest-slide.is-active {
    z-index: 1;
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.kboard-featured-latest-slide img {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: cover;
}

.kboard-featured-latest-no-image,
.kboard-featured-latest-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 36px;
    color: #ffffff;
    background: linear-gradient(145deg, #00a5e5, #177ba2 62%, #185c78);
    text-align: center;
}

.kboard-featured-latest-no-image strong {
    font-size: 34px;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.kboard-featured-latest-no-image small {
    display: -webkit-box;
    margin-top: 20px;
    overflow: hidden;
    font-size: 18px;
    line-height: 1.55;
    word-break: keep-all;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.kboard-featured-latest-arrow {
    position: absolute;
    z-index: 4;
    top: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin: 0;
    padding: 0 0 4px;
    border: 0 !important;
    border-radius: 50%;
    color: #555555 !important;
    background: rgba(255, 255, 255, 0.84) !important;
    font-family: Arial, sans-serif;
    font-size: 37px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
    transform: translateY(-50%);
    transition: color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}

.kboard-featured-latest-arrow:hover,
.kboard-featured-latest-arrow:focus-visible {
    color: #ffffff !important;
    background: var(--featured-brand) !important;
    outline: none;
    transform: translateY(-50%) scale(1.06);
}

.kboard-featured-latest-prev { left: 16px; }
.kboard-featured-latest-next { right: 16px; }

.kboard-featured-latest-content {
    min-width: 0;
    padding: 16px 0 8px;
}

.kboard-featured-latest-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 66px;
    padding: 0 20px 13px 0;
    border-bottom: 3px solid #333333;
}

.kboard-featured-latest-header h2 {
    margin: 0 !important;
    padding: 0 !important;
    color: #2b2b2b !important;
    font-size: clamp(24px, 2vw, 34px) !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    letter-spacing: -0.045em;
}

.kboard-featured-latest-more {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid #333333;
    border-radius: 50%;
    color: #333333 !important;
    background: transparent;
    font-family: Arial, sans-serif;
    font-size: 25px;
    font-weight: 300;
    line-height: 1;
    text-decoration: none !important;
    transition: color 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.kboard-featured-latest-more:hover,
.kboard-featured-latest-more:focus-visible {
    border-color: var(--featured-brand);
    color: #ffffff !important;
    background: var(--featured-brand);
    outline: none;
}

.kboard-featured-latest-list {
    margin: 10px 0 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.kboard-featured-latest-row {
    margin: 0 !important;
    padding: 0 !important;
    border-bottom: 1px solid rgba(70, 70, 70, 0.2);
    list-style: none !important;
    transition: background-color 0.25s ease;
}

.kboard-featured-latest-row::before,
.kboard-featured-latest-row::after { display: none !important; }

.kboard-featured-latest-row.is-active { background: rgba(255, 255, 255, 0.24); }

.kboard-featured-latest-row > a {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 22px;
    min-height: 67px;
    padding: 8px;
    color: #303030 !important;
    font-size: clamp(15px, 1.25vw, 20px);
    font-weight: 400;
    line-height: 1.45;
    letter-spacing: -0.03em;
    text-decoration: none !important;
}

.kboard-featured-latest-row > a:hover,
.kboard-featured-latest-row > a:focus-visible {
    color: var(--featured-brand) !important;
    outline: none;
}

.kboard-featured-latest-row-title {
    display: flex;
    align-items: center;
    min-width: 0;
}

.kboard-featured-latest-title-text {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.kboard-featured-latest-new {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin-right: 12px;
    border-radius: 5px;
    color: #ffffff;
    background: #ed1b5d;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
}

.kboard-featured-latest-lock {
    flex: 0 0 auto;
    width: 15px !important;
    height: auto !important;
    margin: 0 8px 0 0 !important;
}

.kboard-featured-latest-date {
    color: #858585;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 0.92em;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.kboard-featured-latest-list-empty {
    padding: 42px 10px;
    color: #777777;
    text-align: center;
    list-style: none !important;
}

@media screen and (max-width: 1023px) {
    .kboard-featured-latest-layout {
        grid-template-columns: minmax(270px, 38%) minmax(0, 1fr);
        gap: 28px;
    }

    .kboard-featured-latest-slides { min-height: 410px; }

    .kboard-featured-latest-row > a {
        min-height: 58px;
        gap: 14px;
        font-size: 15px;
    }

    .kboard-featured-latest-new {
        width: 24px;
        height: 24px;
        margin-right: 8px;
        font-size: 12px;
    }
}

@media screen and (max-width: 767px) {
    .kboard-featured-latest-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .kboard-featured-latest-visual {
        width: min(100%, 520px);
        margin: 0 auto;
    }

    .kboard-featured-latest-slides {
        min-height: 0;
        aspect-ratio: 4 / 4.5;
    }

    .kboard-featured-latest-content { padding-top: 0; }

    .kboard-featured-latest-header {
        min-height: 58px;
        padding: 0 4px 11px;
        border-bottom-width: 2px;
    }

    .kboard-featured-latest-header h2 { font-size: 24px !important; }

    .kboard-featured-latest-more {
        width: 32px;
        height: 32px;
        font-size: 22px;
    }

    .kboard-featured-latest-row > a {
        min-height: 56px;
        padding: 8px 4px;
    }

    .kboard-featured-latest-date { font-size: 13px; }
}

@media screen and (max-width: 479px) {
    .kboard-featured-latest-arrow {
        width: 42px;
        height: 42px;
        font-size: 32px;
    }

    .kboard-featured-latest-prev { left: 12px; }
    .kboard-featured-latest-next { right: 12px; }

    .kboard-featured-latest-row > a {
        grid-template-columns: minmax(0, 1fr) 76px;
        gap: 8px;
        font-size: 14px;
    }

    .kboard-featured-latest-new {
        width: 22px;
        height: 22px;
        font-size: 11px;
    }

    .kboard-featured-latest-date { text-align: right; }
}

@media (prefers-reduced-motion: reduce) {
    .kboard-featured-latest-slide,
    .kboard-featured-latest-arrow,
    .kboard-featured-latest-more,
    .kboard-featured-latest-row { transition: none !important; }
}

/* ==========================================================
   메인 최신글 이미지 전용 슬라이더 - 5:5 정사각형
   ========================================================== */
.kboard-image-only-latest {
    --image-slider-brand: #00a5e5;
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.kboard-image-only-latest *,
.kboard-image-only-latest *::before,
.kboard-image-only-latest *::after {
    box-sizing: border-box;
}

.kboard-image-only-latest-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    margin: 0;
    overflow: hidden;
    border-radius: 18px;
    background: #edf2f5;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.09);
    touch-action: pan-y;
}

.kboard-image-only-latest-slides {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.kboard-image-only-latest-slide {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    text-decoration: none !important;
    transform: scale(1.015);
    transition: opacity 0.55s ease, visibility 0.55s ease, transform 0.75s ease;
}

.kboard-image-only-latest-slide.is-active {
    z-index: 1;
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.kboard-image-only-latest-slide img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0;
    object-fit: cover;
    object-position: center center;
}

.kboard-image-only-latest-no-image,
.kboard-image-only-latest-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 30px;
    color: #ffffff;
    background: linear-gradient(145deg, #00a5e5, #177ba2 62%, #185c78);
    font-family: 'Noto Sans KR', sans-serif;
    text-align: center;
}

.kboard-image-only-latest-no-image strong {
    font-size: clamp(25px, 6vw, 46px);
    font-weight: 800;
    letter-spacing: 0.15em;
}

.kboard-image-only-latest-arrow {
    position: absolute;
    z-index: 5;
    top: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    margin: 0;
    padding: 0 0 4px;
    border: 0 !important;
    border-radius: 50%;
    color: #555555 !important;
    background: rgba(255, 255, 255, 0.86) !important;
    font-family: Arial, sans-serif;
    font-size: 39px;
    font-weight: 300;
    line-height: 1;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.16);
    transform: translateY(-50%);
    transition: color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}

.kboard-image-only-latest-arrow:hover,
.kboard-image-only-latest-arrow:focus-visible {
    color: #ffffff !important;
    background: var(--image-slider-brand) !important;
    outline: none;
    transform: translateY(-50%) scale(1.06);
}

.kboard-image-only-latest-prev { left: 18px; }
.kboard-image-only-latest-next { right: 18px; }

@media screen and (max-width: 639px) {
    .kboard-image-only-latest-stage { border-radius: 14px; }

    .kboard-image-only-latest-arrow {
        width: 42px;
        height: 42px;
        font-size: 33px;
    }

    .kboard-image-only-latest-prev { left: 12px; }
    .kboard-image-only-latest-next { right: 12px; }
}

@media (prefers-reduced-motion: reduce) {
    .kboard-image-only-latest-slide,
    .kboard-image-only-latest-arrow { transition: none !important; }
}
