.contents {
  --wb-text: #1f2937;
  --wb-muted: #6b7280;
  --wb-border: #e5e7eb;
  --wb-zebra: #f8fafc;
  --wb-hover: #f3f4f6;
  color: var(--wb-text);
  line-height: 1.75;
}

.contents .substance .listBox {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--wb-border);
  border-radius: 5px;
  overflow: hidden;
  background: #fff;
  table-layout: fixed;
}

.contents .substance .listBox thead {
  background: #f9fafb;
}

.contents .substance .listBox thead tr {
  border-bottom: 1px solid var(--wb-border);
}

.contents .substance .listBox .listTitle {
  padding: 12px 12px;
  font-weight: 800;
  font-size: 0.97rem;
  color: var(--wb-text);
  white-space: nowrap;
}

.contents .substance .listBox tbody tr {
  border-bottom: 1px solid var(--wb-border);
}

.contents .substance .listBox tbody tr:nth-child(odd) {
  background: var(--wb-zebra);
}

.contents .substance .listBox tbody tr:hover {
  background: #eef2f7;
}

.contents .substance .listBox .textList,
.contents .substance .listBox .textSmall {
  padding: 12px 12px;
  vertical-align: middle;
  color: var(--wb-text);
  word-break: break-word;
}

.contents .substance .listBox .textCenter {
  text-align: center;
}

.contents .substance .listBox .min60 {
  width: 60px;
}

.contents .substance .listBox .min80 {
  width: 80px;
}

.contents .substance .listBox td.textList:first-child + td {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contents .substance .listBox td.textList a {
  color: #172F6A;
  font-weight: 700;
  text-decoration: none;
}

.contents .substance .listBox td.textList a:hover {
  color: #1e3a8a;
  text-decoration: underline;
}

.contents .substance .mobin {
  display: none;
  color: var(--wb-muted);
  font-size: 13px;
  margin-top: 6px;
}

.contents .substance .paging {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 16px;
}

.contents .substance .paging p {
  margin: 0;
  font-size: 14px;
  color: var(--wb-text);
}

.contents .substance .paging p strong {
  display: inline-block;
  min-width: 32px;
  padding: 6px 10px;
  text-align: center;
  border: 1px solid var(--wb-border);
  border-radius: 5px;
  background: #fff;
  font-weight: 800;
}

@media (max-width: 720px) {
  .contents .substance .listBox .mobnone {
    display: none;
  }
  .contents .substance .listBox .min60 {
    width: 54px;
  }
  .contents .substance .listBox td.textList:first-child + td {
    white-space: normal;
  }
  .contents .substance .mobin {
    display: inline-block;
  }
}

.contents .substance .viewBox {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border: 1px solid var(--wb-border);
  border-radius: 5px;
  overflow: hidden;
}

.contents .substance .subjectView {
  padding: 18px 16px 10px;
  border-bottom: 1px solid var(--wb-border);
}

.contents .substance .subjectView h1 {
  margin: 0;
  font-size: clamp(22px, 2.9vw, 28px);
  font-weight: 800;
  letter-spacing: -0.2px;
  color: var(--wb-text);
  line-height: 1.35;
}

.contents .substance .infoView {
  padding: 10px 16px 14px;
  color: rgba(55, 65, 81, .75);
  font-size: 13.5px;
  text-align: right;
}

.contents .substance .infoView strong {
  color: var(--wb-text);
}

.contents .substance .infoView time {
  white-space: nowrap;
}

.contents .substance .contentBox {
  padding: 18px 16px;
  background: #fff;
}

.contents .substance .contentBox p {
  margin: 0 0 14px;
  color: var(--wb-text);
}

.contents .substance .contentBox h2,
.contents .substance .contentBox h3 {
  margin: 22px 0 12px;
  font-size: 18px;
  font-weight: 800;
  color: var(--wb-text);
  border-left: 4px solid #172F6A;
  padding-left: 8px;
}

.contents .substance .contentBox a {
  color: var(--wb-text);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contents .substance .contentBox a:hover {
  background: var(--wb-hover);
}

.contents .substance .prevBtn {
  float: left;
  margin: 0 0 12px 12px;
  padding: 6px 10px;
  border: 1px solid var(--wb-border);
  border-radius: 5px;
  background: #f9fafb;
  color: #374151;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: .12s;
}

.contents .substance .prevBtn:hover {
  background: #e5e7eb;
}

.contents .substance .nextBtn {
  float: right;
  margin: 0 0 12px 12px;
  padding: 6px 10px;
  border: 1px solid var(--wb-border);
  border-radius: 5px;
  background: #f9fafb;
  color: #374151;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: .12s;
}

.contents .substance .nextBtn:hover {
  background: #e5e7eb;
}

.contents .substance .contentBox img,
.contents .substance .contentBox video {
  max-width: 100%;
  height: auto;
  border-radius: 5px;
  background: #fff;
  display: block;
  margin: 14px 0;
}

.contents .substance .contentBox pre,
.contents .substance .contentBox code {
  background: var(--wb-zebra);
  border: 1px solid var(--wb-border);
  border-radius: 5px;
}

.contents .substance .contentBox pre {
  padding: 12px;
  overflow: auto;
  margin: 10px 0 14px;
}

.contents .substance .contentBox code {
  padding: 2px 6px;
}

.contents .substance .commBox {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-top: 14px;
  margin-bottom: 14px;
  background: #fff;
  border: 1px solid var(--wb-border);
  border-radius: 5px;
  overflow: hidden;
}

.contents .substance .commBox .noReply {
  padding: 18px 16px;
  text-align: center;
  color: rgba(17, 24, 39, .72);
  font-size: 14px;
  background: #fff;
}

.contents .substance .clear {
  clear: both;
}

@media (max-width: 720px) {
  .contents .substance .subjectView {
    padding: 16px 14px 8px;
  }
  .contents .substance .infoView {
    padding: 8px 14px 12px;
    font-size: 13px;
  }
  .contents .substance .contentBox {
    padding: 14px;
  }
  .contents .substance .contentBox article {
    max-width: none;
  }
  .contents .substance .nextBtn {
    font-size: 13px;
    padding: 5px 9px;
  }
}

.latest {
  width: 100%;
  margin: 30px 0px 20px 0px;
  border: 1px solid var(--wb-border);
  border-radius: 5px;
  background: #fff;
  overflow: hidden;
}

.latest .gal {
  padding: 0;
}

.latest .listBox {
  width: 100%;
  border-collapse: collapse;
}

.latestHead {
  padding: 10px 12px;
  font-weight: 800;
  font-size: 1rem;
  color: var(--wb-text);
  background-color: var(--wb-zebra);
  border-bottom: 1px solid var(--wb-border);
}

.latestLink {
  text-align: right;
  padding: 10px 12px;
  color: var(--wb-text);
  background-color: var(--wb-zebra);
  border-bottom: 1px solid var(--wb-border);
}

.latestLink a {
  color: var(--wb-muted);
  text-decoration: none;
}

.latestLink a:hover {
  text-decoration: underline;
}

.latestList {
  padding: 10px 12px;
  border-bottom: 1px solid var(--wb-border);
  font-size: 0.95rem;
  color: var(--wb-text);
}

.latestList a {
  color: var(--wb-text);
  text-decoration: none;
  font-weight: 600;
}

.latestList:hover {
  background-color: #eef2f7;
}

.textRight {
  text-align: right;
  color: var(--wb-muted);
}

.textSmall {
  font-size: 0.82rem;
  color: var(--wb-muted);
}

.latest .listBox tr:nth-child(even) td.latestList {
  background-color: var(--wb-zebra);
}

.youtube-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 5px;
}

.youtube-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
