/* reviews.css - 리뷰 페이지 */

/* ============================================
   Community Board Styles
   ============================================ */

/* Review Board Table */
.review-board-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: #fff;
}

.review-board-table thead {
    background: #00a79d;
    color: #fff;
}

.review-board-table thead th {
    padding: 15px 10px;
    font-size: var(--text-xs);
    font-weight: var(--font-bold);
    border-bottom: 2px solid #008c84;
}

.review-board-table tbody tr {
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.2s;
}

.review-board-table tbody tr:hover {
    background-color: #f8f9fa;
}

.review-board-table tbody td {
    padding: 15px 10px;
    text-align: center;
    font-size: var(--text-xs);
    color: #333;
}

.review-board-table .num {
    width: 80px;
}

.review-board-table .subject {
    text-align: left;
    width: auto;
}

.review-board-table .rating {
    width: 150px;
}

.review-board-table .name {
    width: 120px;
}

.review-board-table .date {
    width: 120px;
    color: #999;
}

.review-board-table .hit {
    width: 80px;
    color: #999;
}

.review-board-table .review-title {
    color: #333;
    text-decoration: none;
    font-weight: var(--font-normal);
    transition: color 0.2s;
}

.review-board-table .review-title:hover {
    color: #00a79d;
}

/* Star Rating */
.stars {
    display: inline-flex;
    gap: 3px;
}

.stars .fa-star {
    color: #ffc107;
    font-size: var(--text-sm);
}

.stars .fa-star-o {
    color: #ddd;
    font-size: var(--text-sm);
}

/* Board Pagination */
.board-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin: 30px 0;
}

.board-pagination .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 35px;
    height: 35px;
    padding: 0 10px;
    border: 1px solid #ddd;
    background: #fff;
    color: #666;
    text-decoration: none;
    font-size: var(--text-xs);
    border-radius: 4px;
    transition: all 0.2s;
}

.board-pagination .page-link:hover {
    background: #f8f9fa;
    border-color: #00a79d;
    color: #00a79d;
}

.board-pagination .page-link.active {
    background: #00a79d;
    border-color: #00a79d;
    color: #fff;
    font-weight: var(--font-bold);
}

.board-pagination .page-link.first,
.board-pagination .page-link.last,
.board-pagination .page-link.prev,
.board-pagination .page-link.next {
    min-width: 35px;
}

/* Board Buttons */
.board-buttons {
    display: flex;
    justify-content: flex-end;
    margin: 20px 0;
}

.btn-write {
    display: inline-block;
    padding: 10px 25px;
    background: #00a79d;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: var(--text-xs);
    font-weight: var(--font-bold);
    transition: background 0.2s;
}

.btn-write:hover {
    background: #008c84;
}

/* Empty Message */
.empty-message {
    text-align: center;
    padding: 60px 20px;
    color: #999;
    font-size: var(--text-sm);
}

/* Responsive Design for Board */
@media screen and (max-width: 768px) {
    .review-board-table {
        font-size: 12px;
    }

    .review-board-table thead th {
        padding: 10px 5px;
        font-size: 12px;
    }

    .review-board-table tbody td {
        padding: 10px 5px;
        font-size: 12px;
    }

    .review-board-table .num,
    .review-board-table .hit {
        display: none;
    }

    .review-board-table .date {
        width: 90px;
        font-size: 11px;
    }

    .review-board-table .name {
        width: 70px;
    }

    .review-board-table .rating {
        width: 100px;
    }

    .stars .fa-star,
    .stars .fa-star-o {
        font-size: 14px;
    }

    .board-pagination .page-link {
        min-width: 30px;
        height: 30px;
        font-size: 12px;
    }
}


/* notice 스타일 공유 */
/* ============================================
   Notice Board Table
   ============================================ */

.notice-board-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: #fff;
}

.notice-board-table thead {
    background: #00a79d;
    color: #fff;
}

.notice-board-table thead th {
    padding: 15px 10px;
    font-size: var(--text-xs);
    font-weight: var(--font-bold);
    border-bottom: 2px solid #008c84;
}

.notice-board-table tbody tr {
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.2s;
}

.notice-board-table tbody tr:hover {
    background-color: #f8f9fa;
}

.notice-board-table tbody tr.notice-row {
    background-color: #f0fffe;
}

.notice-board-table tbody tr.notice-row:hover {
    background-color: #e6fffd;
}

.notice-board-table tbody td {
    padding: 15px 10px;
    text-align: center;
    font-size: var(--text-xs);
    color: #333;
}

.notice-board-table .num {
    width: 100px;
}

.notice-board-table .subject {
    text-align: left;
    width: auto;
}

.notice-board-table .name {
    width: 150px;
}

.notice-board-table .date {
    width: 120px;
    color: #999;
}

.notice-board-table .hit {
    width: 100px;
    color: #999;
}

.notice-board-table .notice-title {
    color: #333;
    text-decoration: none;
    font-weight: var(--font-normal);
    transition: color 0.2s;
}

.notice-board-table .notice-title:hover {
    color: #00a79d;
}

.notice-board-table .notice-title .fa-bullhorn {
    color: #ff6b6b;
    margin-right: 5px;
}

/* Badge Notice */
.badge-notice {
    display: inline-block;
    padding: 4px 12px;
    background: #ff6b6b;
    color: #fff;
    font-size: var(--text-xs);
    font-weight: var(--font-bold);
    border-radius: 3px;
}

/* Responsive Design for Notice Board */
@media screen and (max-width: 768px) {
    .notice-board-table {
        font-size: 12px;
    }

    .notice-board-table thead th {
        padding: 10px 5px;
        font-size: 12px;
    }

    .notice-board-table tbody td {
        padding: 10px 5px;
        font-size: 12px;
    }

    .notice-board-table .num,
    .notice-board-table .hit {
        display: none;
    }

    .notice-board-table .date {
        width: 90px;
        font-size: 11px;
    }

    .notice-board-table .name {
        display: none;
    }

    .badge-notice {
        padding: 3px 8px;
        font-size: 11px;
    }
}


/* ============================================
   Notice Table Styles
   ============================================ */

#notice_main .container .wrapper .content {
    padding-top: 0 !important;
}

.notice-header-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0px 20px;
    margin-bottom: 20px;
}

.notice-main-title {
    font-family: var(--font-body), sans-serif !important;
    font-weight: var(--font-bold) !important;
    font-size: var(--text-sm) !important;
    line-height: 19px !important;
    margin: 0 !important;
    color: #000000 !important;
    text-transform: uppercase;
}

.notice-search-wrapper {
    position: relative;
    width: 220px;
    height: 34px;
}

.notice-search-input {
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    padding: 8px 40px 8px 12px;
    border: 1px solid #E5E5E5;
    font-family: var(--font-body), sans-serif;
    font-weight: var(--font-normal);
    font-size: var(--text-xs);
    line-height: 17px;
    color: #333;
}

.notice-search-input::placeholder {
    color: #999999;
}

.notice-search-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
}

.notice-search-btn img {
    width: 14px;
    height: 14px;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.notice-search-btn:hover img {
    opacity: 1;
}

.notice-table-container {
    margin: 30px 0;
}

.notice-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.notice-table thead {
    background: #00a79d;
    color: #fff;
}

.notice-table thead th {
    padding: 15px 10px;
    font-size: var(--text-xs);
    font-weight: var(--font-bold);
    border-bottom: 2px solid #008c84;
    text-align: center;
}

.notice-table thead .col-num {
    width: 80px;
}

.notice-table thead .col-title {
    width: auto;
    text-align: left;
}

.notice-table thead .col-author {
    width: 150px;
}

.notice-table thead .col-date {
    width: 120px;
}

.notice-table thead .col-views,
.notice-table thead .col-likes {
    width: 100px;
}

.notice-table tbody tr {
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.2s;
}

.notice-table tbody tr:hover {
    background-color: #f8f9fa;
}

.notice-table tbody td {
    padding: 15px 10px;
    text-align: center;
    font-size: var(--text-xs);
    color: #333;
}

.notice-table tbody .col-title {
    text-align: left;
}

.notice-table tbody .col-title a {
    color: #333;
    text-decoration: none;
    font-weight: var(--font-normal);
    transition: color 0.2s;
}

.notice-table tbody .col-title a:hover {
    color: #00a79d;
}

.notice-table tbody .col-date,
.notice-table tbody .col-views,
.notice-table tbody .col-likes {
    color: #999;
}

/* Pagination */
.notice-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin: 30px 0;
}

.pagination-btn {
    padding: 8px 12px;
    border: 1px solid #ddd;
    background: #fff;
    color: #333;
    cursor: pointer;
    transition: all 0.2s;
    font-size: var(--text-xs);
}

.pagination-btn:hover {
    background: #f0f0f0;
    border-color: #00a79d;
}

.pagination-btn.active {
    background: #00a79d;
    border-color: #00a79d;
    color: #fff;
}

/* Write Button */
.notice-write-btn-wrapper {
    text-align: right;
    margin-top: 20px;
}

.notice-write-btn {
    padding: 10px 20px;
    background: #666;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: var(--text-xs);
    transition: background 0.2s;
}

.notice-write-btn:hover {
    background: #555;
}

/* Responsive Design for Notice Table */
@media screen and (max-width: 768px) {
    .notice-header-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .notice-main-title {
        font-size: 30px;
    }

    .notice-search-input {
        width: 150px;
    }

    .notice-table-container {
        overflow-x: auto;
    }

    .notice-table {
        font-size: 12px;
    }

    .notice-table thead th {
        padding: 10px 5px;
        font-size: 12px;
    }

    .notice-table tbody td {
        padding: 10px 5px;
        font-size: 12px;
    }

    .notice-table thead .col-author,
    .notice-table thead .col-views,
    .notice-table thead .col-likes {
        display: none;
    }

    .notice-table tbody .col-author,
    .notice-table tbody .col-views,
    .notice-table tbody .col-likes {
        display: none;
    }

    .pagination-btn {
        padding: 6px 10px;
        font-size: 12px;
    }

    .notice-write-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
}


/* reviews header */
/* --------------------- reviews header */
#reviews_header {
}
#reviews_header .container {
}
#reviews_header .container .wrapper {
}
#reviews_header .container .wrapper .main-banner {
}
#reviews_header .container .wrapper .main-banner img {
  position: relative;
}
#reviews_header .container .wrapper .main-banner .txt {
  position: absolute;
  width: 100%;
  z-index: 10;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  font-family: var(--font-heading);
  /*  */
}

#reviews_header .container .wrapper .main-banner .txt h1 {
  font-size: var(--text-xl);
}
#reviews_header .container .wrapper .main-banner .txt h1 span {
  color: #00d8b5;
}
#reviews_header .container .wrapper .main-banner .txt h4 {
  font-size: var(--text-lg);
  font-weight: var(--font-light);
  opacity: 0.9;
  padding: 20px;
  line-height: 1.45;
}

/********************************************* SOI ************************************
*/

#soi_main section .container {
  padding: 90px 20px;
}

#soi_main section .container .wrapper h2 {
  font-size: var(--text-lg);
  padding-bottom: 20px;
}

#soi_main section .container .wrapper p {
  line-height: 1.3;
}

#soi_main section .container .wrapper .content {
  padding-top: 35px;
}

