@charset "UTF-8";

/* ==========================================================================
   XE / Rhymix Template (xet_agency & xedition) Core CSS
   ========================================================================== */

:root {
  --xet-theme-color: #F26522;
  --font: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --text-color: #333333;
  --link-color: #F26522;
  --border-color: #e0e0e0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-color);
  background-color: #ffffff;
  -webkit-text-size-adjust: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--xet-theme-color);
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
  vertical-align: middle;
}

ul, ol, li {
  list-style: none;
}

/* Layout Containers */
.xet-layout {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

.xet-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.xet-container-fluid {
  width: 100%;
  padding: 0 30px;
}

.layout__body {
  flex: 1;
  width: 100%;
}

/* Header */
.layout-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: #ffffff;
  border-bottom: 1px solid #eeeeee;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}

.layout__header_fixed {
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
}

.layout-header__container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.item-logo {
  font-size: 20px;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}

.item-logo .logo {
  display: inline-flex;
  align-items: center;
}

.item-logo .logo img {
  height: 44px;
  width: auto;
}

.item-logo .logo__dark {
  display: none;
}

.item-gnb {
  display: flex;
  align-items: center;
}

.gnb-ul {
  display: flex;
  align-items: center;
  gap: 30px;
}

.gnb-ul li a {
  font-size: 16px;
  font-weight: 500;
  color: #333333;
  padding: 10px 5px;
  position: relative;
  display: block;
}

.gnb-ul li a:hover,
.gnb-ul li a.current {
  color: var(--xet-theme-color);
  font-weight: 700;
}

.gnb-ul li a.current::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--xet-theme-color);
}

.item-nav-toggle {
  display: none;
}

.push-nav-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  font-size: 15px;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #333;
}

.push-nav-toggle span {
  display: inline-block;
  width: 20px;
  height: 2px;
  background: #333;
  position: relative;
}

.push-nav-toggle span::before,
.push-nav-toggle span::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 2px;
  background: #333;
  left: 0;
}

.push-nav-toggle span::before { top: -6px; }
.push-nav-toggle span::after { bottom: -6px; }

/* Subpage Top Banner */
.layout-subpage-top {
  background-color: #f4f6f9;
  padding: 40px 0;
  border-bottom: 1px solid #e2e8f0;
  text-align: center;
  margin-bottom: 40px;
}

.page-top__inner .h1 {
  font-size: 28px;
  font-weight: 700;
  color: #111111;
}

/* Push Nav (Mobile Sidebar) */
.push-nav {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100vh;
  background: #ffffff;
  z-index: 10000;
  box-shadow: -2px 0 10px rgba(0,0,0,0.15);
  transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.push-nav.open {
  right: 0;
}

.push-nav__top {
  padding: 20px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: flex-end;
}

.xet-accordion-menu ul {
  padding: 15px 0;
}

.xet-accordion-menu li a {
  display: block;
  padding: 14px 24px;
  font-size: 16px;
  color: #333;
  border-bottom: 1px solid #f5f5f5;
}

.xet-accordion-menu li.current a {
  background: #FFF3EB;
  color: var(--xet-theme-color);
  font-weight: bold;
}

/* ==========================================================================
   Main Blog Gallery (XE Widget Style)
   ========================================================================== */

.main-blog {
  padding: 50px 0 20px;
}

.xet-agency-content .gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.xet-agency-content .gallery .item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0,0,0,0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.xet-agency-content .gallery .item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.08);
}

.xet-agency-content .thumbnail figure {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f8f9fa;
  margin: 0;
}

.xet-agency-content .thumbnail figure a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.xet-agency-content .thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.xet-agency-content .gallery .item:hover .thumbnail img {
  transform: scale(1.05);
}

.xet-agency-content .thumbnail figcaption {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0,0,0,0.5);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

.xet-agency-content .item__subject {
  padding: 16px;
  text-align: center;
}

.xet-agency-content .item__subject a.subject {
  font-size: 15px;
  line-height: 1.4;
  color: #222222;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.xet-agency-content .item__subject a.subject:hover {
  color: var(--xet-theme-color);
}

.main-section {
  padding: 30px 0 60px;
}

/* ==========================================================================
   XE / xedition Board Module (100% 동일화)
   ========================================================================== */

.layout__body-content {
  padding: 20px 0 60px;
}

.board {
  max-width: 1000px;
  margin: 0 auto;
}

/* Board Read Detail */
.board_read {
  margin-bottom: 40px;
}

.board_read .read_header {
  border-bottom: 2px solid #F26522;
  padding-bottom: 15px;
  margin-bottom: 20px;
}

.board_read .read_header h1 {
  font-size: 20px;
  font-weight: 700;
  color: #111;
  margin-bottom: 12px;
  line-height: 1.4;
}

.board_read .read_header h1 a {
  color: #111;
}

.board_read .read_header .meta {
  font-size: 12px;
  color: #888;
  display: flex;
  align-items: center;
  gap: 15px;
}

.board_read .read_header .meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.board_read .read_header .meta i {
  font-size: 14px;
  color: #888;
}

.board_read .read_body {
  padding: 20px 0 40px;
  min-height: 200px;
  text-align: center;
}

.board_read .read_body img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

/* Read Footer (SNS, Vote, Files, Action, btnArea) */
.board_read .read_footer {
  border-top: 1px solid #eeeeee;
  padding-top: 25px;
  margin-top: 20px;
}

.board_read .sns {
  margin-bottom: 20px;
}

.board_read .sns ul {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.board_read .sns li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid #ddd;
  border-radius: 50%;
  color: #666;
  font-size: 16px;
  transition: all 0.2s;
}

.board_read .sns li a:hover {
  background: #f5f5f5;
  color: #F26522;
}

.board_read .vote {
  margin-bottom: 25px;
}

.board_read .vote ul {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.board_read .vote li a {
  display: inline-block;
  padding: 8px 18px;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-align: center;
  font-size: 12px;
  color: #555;
  line-height: 1.3;
}

.board_read .vote li a i {
  font-size: 18px;
  margin-bottom: 4px;
  display: inline-block;
}

.board_read .vote li a:hover {
  border-color: #F26522;
  color: #F26522;
}

.board_read .fileList {
  margin-bottom: 20px;
}

.board_read .fileList .toggleFile {
  background: #f8f9fa;
  border: 1px solid #ddd;
  padding: 8px 15px;
  font-size: 13px;
  cursor: pointer;
  border-radius: 4px;
  color: #444;
  display: flex;
  align-items: center;
  gap: 6px;
}

.board_read .fileList ul.files {
  margin-top: 8px;
  padding: 10px 15px;
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 4px;
  font-size: 13px;
}

.board_read .fileList ul.files a {
  color: #F26522;
}

.board_read .fileList .fileSize {
  color: #888;
  font-size: 12px;
  margin-left: 6px;
}

.board_read .tns {
  margin-bottom: 15px;
  font-size: 13px;
}

.board_read .tns a {
  color: #888;
}

.board_read .btnArea {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px dashed #eee;
}

.board_read .btnArea .etc {
  margin-left: auto;
}

/* Feedback / Comment */
.feedback {
  border-top: 2px solid #F26522;
  padding: 20px 0;
  margin-bottom: 40px;
}

.feedback .fbHeader h2 {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  display: flex;
  align-items: center;
  gap: 6px;
}

.feedback .fbHeader h2 em {
  font-style: normal;
  color: #F26522;
}

/* Board List Table */
.board_list {
  margin-top: 30px;
}

.board_list table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  border-top: 2px solid var(--xet-theme-color);
  border-bottom: 1px solid #ccc;
  font-size: 14px;
}

.board_list th {
  background: #f8f9fa;
  padding: 12px 8px;
  border-bottom: 1px solid #ddd;
  font-weight: 600;
  color: #444;
  text-align: center;
}

.board_list th.title {
  text-align: left;
  padding-left: 15px;
}

.board_list td {
  padding: 12px 8px;
  border-bottom: 1px solid #eee;
  color: #666;
  text-align: center;
}

.board_list td.no { width: 60px; }
.board_list td.author { width: 100px; }
.board_list td.time { width: 100px; font-size: 13px; }
.board_list td.readNum { width: 70px; font-size: 13px; }

.board_list td.title {
  text-align: left;
  padding-left: 15px;
  color: #222;
}

.board_list td.title a {
  color: #222;
}

.board_list td.title a:hover {
  color: var(--xet-theme-color);
  text-decoration: underline;
}

/* List Footer & Search Form */
.list_footer {
  margin-top: 25px;
}

.list_footer .btnArea {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  background: #ffffff;
  border: 1px solid #ccc;
  border-radius: 3px;
  font-size: 13px;
  color: #444;
  cursor: pointer;
  line-height: 1.4;
}

.btn:hover {
  background: #f5f5f5;
  border-color: #aaa;
  color: #111;
}

.board_search {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-bottom: 25px;
}

.board_search select {
  padding: 6px 10px;
  border: 1px solid #ccc;
  border-radius: 3px;
  font-size: 13px;
  outline: none;
  background: #fff;
}

.board_search .search_input {
  position: relative;
  display: flex;
  align-items: center;
}

.board_search .search_input i {
  position: absolute;
  left: 10px;
  color: #888;
}

.board_search .search_input .iText {
  padding: 6px 10px 6px 30px;
  border: 1px solid #ccc;
  border-radius: 3px;
  font-size: 13px;
  width: 180px;
  outline: none;
}

.board_search .search_input .iText:focus {
  border-color: var(--xet-theme-color);
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
}

.pagination a, .pagination strong {
  display: inline-block;
  min-width: 32px;
  height: 32px;
  line-height: 30px;
  text-align: center;
  border: 1px solid #ddd;
  border-radius: 3px;
  font-size: 13px;
  padding: 0 6px;
}

.pagination strong {
  background: var(--xet-theme-color);
  color: #fff;
  border-color: var(--xet-theme-color);
  font-weight: bold;
}

.pagination a:hover {
  background: #f5f5f5;
}

/* Layout Footer (xet_agency) */
.layout-footer {
  background: #1e242b;
  color: #99a2aa;
  padding: 50px 0 30px;
  font-size: 14px;
  border-top: 1px solid #2d353f;
}

.layout-footer__body {
  display: flex;
  justify-content: space-between;
  padding-bottom: 30px;
  border-bottom: 1px solid #2d353f;
  margin-bottom: 25px;
}

.layout-footer .company .h4 {
  font-size: 18px;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 12px;
}

.layout-footer .contact .h4 {
  font-size: 15px;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 10px;
}

.layout-footer .copyright {
  font-size: 13px;
  color: #6c757d;
  text-align: center;
}

/* Scroll Top */
.xet-scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: var(--xet-theme-color);
  color: #ffffff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  z-index: 999;
}

.xet-scroll-top.show {
  display: flex;
}

/* Responsive */
@media (max-width: 992px) {
  .xet-agency-content .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .layout__header_fixed {
    height: 65px;
  }
  .item-gnb {
    display: none;
  }
  .item-nav-toggle {
    display: block;
  }
  .xet-agency-content .gallery {
    grid-template-columns: repeat(1, 1fr);
    gap: 18px;
  }
  .board_list th:nth-child(3),
  .board_list td.author,
  .board_list th:nth-child(4),
  .board_list td.time,
  .board_list th:nth-child(5),
  .board_list td.readNum {
    display: none;
  }
  .layout-footer__body {
    flex-direction: column;
    gap: 20px;
  }
  .xet-container-fluid {
    padding: 0 15px;
  }
}


/* Enhanced Premium Styling for Gyeongju Implant (Warm Orange Palette) */
.layout-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #FFEDD5;
  box-shadow: 0 4px 20px rgba(242, 101, 34, 0.05);
}

.gnb-ul li a {
  border-radius: 20px;
  padding: 8px 18px !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.gnb-ul li a:hover {
  background: #FFF7ED;
  color: #F26522;
}

.gnb-ul li a.current {
  background: #F26522;
  color: #FFFFFF !important;
  box-shadow: 0 4px 12px rgba(242, 101, 34, 0.3);
}

.gnb-ul li a.current::after {
  display: none;
}

.xet-agency-content .gallery {
  gap: 30px;
}

.xet-agency-content .gallery .item {
  border-radius: 12px;
  border: 1px solid #FED7AA;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s ease;
}

.xet-agency-content .gallery .item:hover {
  transform: translateY(-6px);
  border-color: #F26522;
  box-shadow: 0 14px 30px rgba(242, 101, 34, 0.15);
}

.xet-agency-content .thumbnail figure {
  border-radius: 12px 12px 0 0;
}

.xet-agency-content .item__subject {
  padding: 18px 16px;
  background: #FFFFFF;
}

.xet-agency-content .item__subject a.subject {
  font-size: 15px;
  font-weight: 600;
  color: #1E293B;
}

.xet-agency-content .item__subject a.subject:hover {
  color: #F26522;
}

.board_list table {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #FED7AA;
  border-collapse: separate;
  border-spacing: 0;
}

.board_list th {
  background: #FFF7ED;
  color: #C2410C;
  font-weight: 700;
  padding: 12px;
  border-bottom: 2px solid #FDBA74;
}

.board_list td {
  padding: 12px;
  border-bottom: 1px solid #FFEDD5;
  transition: background-color 0.2s ease;
}

.board_list tbody tr:hover td {
  background-color: #FFF7ED;
}

.board_list td.title a {
  color: #1E293B;
  transition: color 0.2s ease;
}

.board_list td.title a:hover {
  color: #F26522;
}

.pagination strong {
  background: #F26522;
  color: #FFF;
  border-radius: 6px;
  padding: 6px 12px;
  border: none;
  box-shadow: 0 2px 8px rgba(242, 101, 34, 0.3);
}

.pagination a {
  border-radius: 6px;
  padding: 6px 12px;
  transition: all 0.2s ease;
}

.pagination a:hover {
  background: #FFF7ED;
  color: #F26522;
}

.list_footer .btn {
  border-radius: 8px;
  background: #F26522;
  color: #FFF;
  border: none;
  font-weight: 600;
  padding: 8px 18px;
  box-shadow: 0 3px 10px rgba(242, 101, 34, 0.25);
  transition: all 0.2s ease;
}

.list_footer .btn:hover {
  background: #EA580C;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(242, 101, 34, 0.35);
}
