/* =============================================
   해강도자미술관 | Haegang Ceramics Museum
   Main Stylesheet — 2010s Korean museum style
   ============================================= */

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

body {
  background: #d8d4cc;
  font-family: 'Malgun Gothic', 'Dotum', '돋움', 'Gulim', '굴림', Arial, sans-serif;
  font-size: 12px;
  color: #444444;
  line-height: 1.7;
}

/* ---- Global link defaults ---- */
a:link    { color: #444444; text-decoration: none; }
a:visited { color: #444444; text-decoration: none; }
a:active  { color: #444444; text-decoration: none; }
a:hover   { color: #5a9a8e; text-decoration: none; }

/* ---- Wrapper ---- */
.wrap {
  width: 901px;
  margin: 0 auto;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.18);
}

/* =============================================
   HEADER
   ============================================= */
.header {
  background: #f5f0e8;
  border-bottom: 3px solid #7dada0;
}

.header-utils {
  background: #333333;
  padding: 4px 15px;
  text-align: right;
  font-size: 10px;
  line-height: 1.5;
}

.header-utils a {
  color: #bbbbbb;
  margin-left: 12px;
  font-size: 10px;
}

.header-utils a:hover {
  color: #7dada0;
}

.logo-bar {
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-bar img {
  display: block;
}

.site-subtitle {
  font-size: 11px;
  color: #7a7060;
  text-align: right;
  line-height: 1.6;
  letter-spacing: 0.02em;
}

/* =============================================
   NAVIGATION
   ============================================= */
.nav {
  background: #3c3c3c;
  border-top: 1px solid #555;
  border-bottom: 1px solid #222;
}

.nav ul {
  list-style: none;
  display: flex;
  padding: 0;
  margin: 0;
}

.nav li {
  position: relative;
}

.nav a {
  display: block;
  padding: 9px 22px;
  color: #dddddd;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 0.03em;
  border-right: 1px solid #555;
}

.nav li:first-child a {
  border-left: 1px solid #555;
}

.nav a:hover,
.nav li.active a {
  background: #7dada0;
  color: #ffffff;
}

/* =============================================
   PAGE BANNER / BREADCRUMB
   ============================================= */
.page-top {
  background: #f0ece3;
  border-bottom: 1px solid #ddd8ce;
  padding: 8px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.page-top h2 {
  font-size: 14px;
  color: #3c3c3c;
  font-weight: bold;
}

.breadcrumb {
  font-size: 10px;
  color: #aaa;
}

.breadcrumb a {
  color: #aaa;
}

.breadcrumb a:hover {
  color: #7dada0;
}

.breadcrumb span {
  margin: 0 4px;
}

/* =============================================
   FULL-WIDTH BANNER IMAGE
   ============================================= */
.page-hero {
  display: block;
  line-height: 0;
}

.page-hero img {
  display: block;
  width: 901px;
  height: auto;
}

/* =============================================
   HOMEPAGE
   ============================================= */
.hero-image {
  display: block;
  width: 901px;
  height: auto;
}

/* Welcome strip */
.welcome-strip {
  background: #faf8f4;
  border-bottom: 1px solid #e4e0d8;
  padding: 16px 22px;
}

.welcome-strip h3 {
  font-size: 14px;
  color: #3c3c3c;
  font-weight: bold;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.welcome-strip p {
  font-size: 11px;
  color: #666;
  line-height: 1.9;
  margin-bottom: 4px;
}

/* Three-column home sections */
.home-sections {
  display: flex;
  border-top: 3px solid #7dada0;
  border-bottom: 1px solid #ddd;
}

.home-col {
  flex: 1;
  border-right: 1px solid #e4e0d8;
}

.home-col:last-child {
  border-right: none;
}

.col-head {
  background: #3c3c3c;
  color: #ffffff;
  padding: 7px 12px;
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 0.04em;
  border-bottom: 2px solid #7dada0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.col-head a {
  color: #7dada0;
  font-size: 10px;
  font-weight: normal;
}

.col-head a:hover {
  color: #aad0c8;
}

.col-body {
  padding: 10px 12px;
}

.col-body p {
  font-size: 11px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 6px;
}

.col-body .more-link {
  display: block;
  text-align: right;
  font-size: 10px;
  color: #7dada0;
  margin-top: 6px;
}

/* Home notice list */
.notice-list {
  list-style: none;
  padding: 0;
}

.notice-list li {
  padding: 4px 0;
  border-bottom: 1px dotted #e4e0d8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
}

.notice-list li:last-child {
  border-bottom: none;
}

.notice-list li a {
  font-size: 11px;
  color: #444;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 155px;
  display: inline-block;
}

.notice-list li a:hover {
  color: #7dada0;
}

.notice-list .ndate {
  color: #aaa;
  font-size: 10px;
  flex-shrink: 0;
  white-space: nowrap;
}

/* Quick links */
.quick-links {
  list-style: none;
  padding: 0;
}

.quick-links li {
  padding: 5px 0;
  border-bottom: 1px dotted #e4e0d8;
  font-size: 11px;
}

.quick-links li:last-child {
  border-bottom: none;
}

.quick-links a {
  color: #555;
}

.quick-links a:hover {
  color: #7dada0;
}

/* =============================================
   IMAGE-SLICE CONTENT PAGES (purpose, contact)
   ============================================= */

/* Container for original 630px-wide image slices, centered in the 901px wrap */
.content-slices {
  width: 630px;
  margin: 0 auto;
  line-height: 0;
  font-size: 0;
}

.content-slices img {
  display: block;
  width: 100%;    /* fills the 630px container naturally */
  height: auto;
}

/* =============================================
   GENERIC CONTENT AREA
   ============================================= */
.content {
  padding: 18px 22px;
  line-height: 1.8;
}

/* =============================================
   NOTICE BOARD (BBS)
   ============================================= */
.board-wrap {
  padding: 15px 20px 20px;
}

.board-title {
  font-size: 15px;
  font-weight: bold;
  color: #3c3c3c;
  border-bottom: 2px solid #7dada0;
  padding-bottom: 8px;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.board-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.board-top-bar .pager {
  font-size: 11px;
  color: #888;
  display: flex;
  align-items: center;
  gap: 6px;
}

.board-top-bar .pager img {
  vertical-align: middle;
}

.board-top-bar .write-btn img {
  vertical-align: middle;
  cursor: default;
}

.board-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid #777;
}

.board-table th {
  background: #3c3c3c;
  color: #ffffff;
  padding: 6px 4px;
  font-size: 11px;
  border-right: 1px solid #555;
  border-bottom: 2px solid #7dada0;
  font-weight: normal;
  text-align: center;
  vertical-align: middle;
}

.board-table th img {
  vertical-align: middle;
}

.board-table th:last-child {
  border-right: none;
}

.board-table td {
  padding: 6px 8px;
  font-size: 11px;
  border-bottom: 1px solid #ebe7df;
  color: #444;
  text-align: center;
  vertical-align: middle;
}

.board-table td.td-title {
  text-align: left;
}

.board-table td.td-title a {
  color: #333;
}

.board-table td.td-title a:hover {
  color: #7dada0;
}

.board-table tr.notice-row td {
  background: #f7f3ec;
  font-weight: bold;
}

.board-table tr.notice-row .notice-badge {
  display: inline-block;
  background: #7dada0;
  color: #fff;
  font-size: 9px;
  padding: 1px 4px;
  margin-right: 4px;
  font-weight: bold;
}

.board-table tr:hover td {
  background: #f8f5f0;
}

.board-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}

.board-bottom-bar .list-btn img {
  vertical-align: middle;
  cursor: default;
}

.board-search {
  display: flex;
  gap: 4px;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #ebe7df;
}

.board-search select,
.board-search input[type="text"] {
  font-size: 11px;
  padding: 3px 6px;
  border: 1px solid #ccc;
  height: 22px;
  font-family: inherit;
}

.board-search button {
  background: #3c3c3c;
  color: #fff;
  border: none;
  padding: 0 12px;
  font-size: 11px;
  cursor: pointer;
  height: 22px;
  font-family: inherit;
}

.board-search button:hover {
  background: #7dada0;
}

.board-pager-center {
  text-align: center;
  margin-top: 12px;
  font-size: 12px;
  color: #888;
}

.board-pager-center strong {
  color: #7dada0;
  font-weight: bold;
  margin: 0 4px;
}

.board-pager-center a {
  color: #888;
  margin: 0 3px;
}

.board-pager-center a:hover {
  color: #7dada0;
}

/* =============================================
   FAQ
   ============================================= */
.faq-wrap {
  padding: 15px 20px 25px;
}

.faq-title {
  font-size: 15px;
  font-weight: bold;
  color: #3c3c3c;
  border-bottom: 2px solid #7dada0;
  padding-bottom: 8px;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.faq-item {
  margin-bottom: 12px;
  border: 1px solid #e4e0d8;
}

.faq-q {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 12px;
  background: #f5f0e8;
  font-weight: bold;
  color: #3c3c3c;
  font-size: 12px;
  line-height: 1.6;
  cursor: pointer;
}

.faq-q img {
  flex-shrink: 0;
  margin-top: 1px;
}

.faq-a {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 12px;
  background: #ffffff;
  font-size: 11px;
  color: #555;
  line-height: 1.9;
  border-top: 1px solid #e4e0d8;
}

.faq-a img {
  flex-shrink: 0;
  margin-top: 2px;
}

/* =============================================
   SITEMAP
   ============================================= */
.sitemap-wrap {
  padding: 15px 20px 25px;
}

.sitemap-title {
  font-size: 15px;
  font-weight: bold;
  color: #3c3c3c;
  border-bottom: 2px solid #7dada0;
  padding-bottom: 8px;
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}

.sitemap-grid {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.sitemap-section {
  width: 160px;
}

.sitemap-section h4 {
  background: #3c3c3c;
  color: #fff;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: bold;
  margin-bottom: 0;
  letter-spacing: 0.02em;
  border-bottom: 2px solid #7dada0;
}

.sitemap-section ul {
  list-style: none;
  border: 1px solid #ddd;
  border-top: none;
}

.sitemap-section li {
  padding: 4px 10px;
  border-bottom: 1px solid #eee;
  font-size: 11px;
}

.sitemap-section li:last-child {
  border-bottom: none;
}

.sitemap-section li a {
  color: #555;
}

.sitemap-section li a:hover {
  color: #7dada0;
}

.sitemap-section li.no-link {
  color: #aaa;
  font-style: italic;
}

.sitemap-divider {
  width: 100%;
  margin: 14px 0 8px;
  border: none;
  border-top: 1px dashed #ddd;
}

.sitemap-original-note {
  font-size: 11px;
  color: #999;
  margin-bottom: 10px;
  padding: 6px 10px;
  background: #f8f5f0;
  border-left: 3px solid #7dada0;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: #333333;
  color: #999999;
  font-size: 10px;
  padding: 14px 20px;
  text-align: center;
  line-height: 2.1;
  border-top: 3px solid #7dada0;
}

.footer .footer-logo {
  display: inline-block;
  margin-bottom: 6px;
  opacity: 0.65;
  filter: grayscale(80%) brightness(150%);
}

.footer a {
  color: #7dada0;
}

.footer a:hover {
  color: #aad0c8;
}

/* ---- Legacy class compatibility (used by old .css/style-2.css refs) ---- */
.textarea_01 { font-family: 'Malgun Gothic', Dotum, sans-serif; font-size: 12px; color: #333; background: #f4f4f4; border: 1px solid #bfbfbf; }
.listbox_01  { font-size: 9pt; color: #333; background: #f4f4f4; height: 19px; border: none; }
.submit_01   { font-size: 9pt; color: #fff; background: #333; height: 19px; border: none; cursor: pointer; }
.text_01 { font-size: 9pt;  color: #555; line-height: 18px; }
.text_02 { font-size: 11px; color: #555; line-height: 18px; }
.text_03 { font-family: Tahoma; font-size: 11px; color: #555; line-height: 18px; }
.text_04 { font-family: Tahoma; color: #444; font-size: 8pt; }
.text_05 { font-size: 11px; color: #333; line-height: 14px; }
.text_06 { font-size: 12px; color: #888; }
.text_07 { font-size: 9pt;  color: #555; line-height: 22px; }
