/* Board template styles (no Tailwind) */
.board-page {
    display: block;
}

.board-title {
    text-align: center;
    margin-bottom: 12px;
}

.board-title h2 {
  position: relative;
  font-size:36px !important;
  font-weight: 600;
  letter-spacing: -1px;
  padding: 20px 0;
  margin-bottom: 26px;
  color:#8ab9ff;
}

.board-title h2::before {
  content: '';
  position: absolute;
  left: 49%;
  bottom:4px;
  width: 35px;
  height: 2px;
  background-color: #8ab9ff; /* 원하는 색상으로 변경 가능 */
}

.board-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.board-toolbar-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.board-toolbar-left i {
    width: 18px;
    height: 18px;
    color: #b7c1d6;
}

.board-toolbar h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.board-alert {
    border: 1px solid #2b3345;
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 16px;
}

.board-alert-error {
    border-color: rgba(244, 63, 94, 0.6);
    background: rgba(127, 29, 29, 0.2);
    color: #fca5a5;
}

.board-alert-success {
    border-color: rgba(16, 185, 129, 0.4);
    background: rgba(16, 185, 129, 0.15);
    color: #a7f3d0;
}

.board-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-bottom: 10px;
    margin-bottom: 16px;
    justify-content: center;
}

.board-filter {
    padding: 6px 12px;
    border-radius: 4px;
    border: 1px solid #2b3345;
    color: #c0cadc;
    letter-spacing: -1px;
    font-weight: 500;
    font-size: 16px;
}

.board-filter.is-active {
    border-color: #7d9dd8;
    font-weight: 600;
    color: #83afff;
}

.board-card {
    padding:0px;
    margin: 8px 0;
}

.board-card-header {
    padding-bottom: 6px;
}

.board-card-header h3 {
    margin: 0 0 6px;
    font-size: 26px;
    letter-spacing: -1px;
    font-weight: 600;
}

.board-card-body {
    padding: 16px;
}

.board-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    color: #9aa6bd;
    font-size: 13px;
}

.board-media {
    margin-bottom: 16px;
}

.board-video {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #1f2532;
    background: #0f1117;
}

.board-video.is-shorts {
    padding-top: 177.78%;
    max-width: 420px;
}

.board-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.board-audio-list {
    display: grid;
    gap: 10px;
    margin: 32px auto;
}

.board-audio-item {
    align-items: center;
    gap: 8px;
}

.board-audio-item i {
    width: 16px;
    height: 16px;
    color: #60a5fa;
}

.mp3_player {width:60%;display:block;margin:20px auto;}

.board-content {
    color: #e6eaf2;
    line-height: 1.7;
}

.board-content h1,
.board-content h2,
.board-content h3,
.board-content h4,
.board-content h5,
.board-content h6 {
    color: #f1f4f9;
    font-weight: 600;
    line-height: 1.35;
    margin: 1.2em 0 0.6em;
}

.board-content h1 { font-size: 28px; }
.board-content h2 { font-size: 22px; }
.board-content h3 { font-size: 18px; }

.board-content p {
    font-size:16px;
    margin: 0.8em 0;
    line-height: 28px;
}

.board-content h2 {
  position: relative;
  font-size:22px !important;
  font-weight: 600;
  letter-spacing: -1px;
  padding: 12px 12px;
  margin-bottom: 16px;
  color:#8ab9ff;
}

.board-content h2::before {
  content: '';
  position: absolute;
  left: 0;
  bottom:16px;
  width: 4px;
  height: 34%;
  background-color: #8ab9ff; /* 원하는 색상으로 변경 가능 */
}

.board-content a {
    color: #7cadff;
    text-decoration: underline;
}

.board-content ul,
.board-content ol {
    padding-left: 1.4em;
    margin: 0.8em 0;
}

.board-content li {
    margin: 0.3em 0;
}

.board-content blockquote {
    border-left: 3px solid #2b3345;
    margin: 1em 0;
    padding: 0.6em 1em;
    color: #b7c1d6;
    background: #121621;
}

.board-content img,
.board-content video {
    max-width: 92%;
    height: auto;
    margin:20px auto;
    border-radius: 10px;
}

.board-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1em 0;
}

.board-content th,
.board-content td {
    border: 1px solid #262d3c;
    padding: 8px 10px;
}

.board-content hr {
    border: 0;
    border-top: 1px solid #242b3a;
    margin: 1.2em 0;
}

.board-files {
    border-top: 1px solid #1f2532;
    padding-top: 14px;
    margin-top: 16px;
}

.board-files h4 {
    margin: 0 0 8px;
    font-size: 15px;
    color: #c6d0e4;
}

.board-files ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.board-files li {
    margin: 6px 0;
}

.board-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 16px;
}

.board-actions.center {
    justify-content: center;
}

.board-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 8px;
    border: 1px solid #2b3345;
    background: transparent;
    color: #e6eaf2;
    cursor: pointer;
    font-size: 14px;
}

.board-btn-primary {
    background: #1f2532;
    border-color: #2a3142;
}

.board-btn-danger {
    border-color: rgba(244, 63, 94, 0.6);
    color: #fca5a5;
}

.board-link {
    color: #9aa6bd;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    font-size: 14px;
}

.board-link-danger {
    color: #f87171;
}

.board-muted {
    color: #9aa6bd;
    font-size: 13px;
}

.board-form {
    display: grid;
    gap: 12px;
}

.board-field {
    display: grid;
    gap: 8px;
    margin-top:12px;
}

.board-label {
    color: #c6d0e4;
    font-size: 14px;
}

.board-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #c6d0e4;
}

.board-input {
    width: 100%;
    border-radius: 8px;
    border: 1px solid #2b3345;
    background: #0f1117;
    color: #e6eaf2;
    padding: 10px 12px;
    font-size: 14px;
}

.board-input:focus {
    outline: none;
    border-color: #44506a;
}

.board-select {
    max-width: 360px;
}

.board-textarea {
    min-height: 180px;
}

.board-stack {
    display: grid;
    gap: 8px;
}

.board-table-wrap {
    border: 1px solid #1f2532;
    border-radius: 12px;
    overflow: hidden;
    background: #141823;
}

.board-table {
    width: 100%;
    border-collapse: collapse;
}

.board-table th,
.board-table td {
    padding: 12px 14px;
    border-bottom: 1px solid #1f2532;
    text-align: left;
}

.board-table thead {
    background: rgba(20, 24, 35, 0.7);
    color: #c6d0e4;
}

.board-row-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #e6eaf2;
}

.board-row-title i {
    width: 16px;
    height: 16px;
    color: #60a5fa;
}

.board-empty {
    padding: 18px;
    color: #9aa6bd;
    text-align: center;
}

.board-pagination {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.board-page-link {
    padding: 6px 10px;
    border-radius: 8px;
    border: 1px solid #2b3345;
    color: #9aa6bd;
}

.board-page-link.is-active {
    border-color: #e6eaf2;
    color: #e6eaf2;
}

.board-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr));
}

.board-thumb {
    position: relative;
    height: 180px;
    background: #0f1117;
    border-radius: 12px;
    overflow: hidden;
}

.board-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.board-thumb-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.board-thumb-play svg {
    width: 48px;
    height: 38px;
    color: #fff;
    background: rgba(220, 38, 38, 0.85);
    border-radius: 10px;
}

.board-card-body {
    padding:16px 0px;
}

.board-card-body .board-card-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 19px !important;
    line-height: 26px;
    letter-spacing: -1px;
    font-weight: 600;
}

.board-card-body .board-card-title svg {
    width: 20x;
    height: 20px;
    color: #60a5fa;
}

.board-card-desc {
    color: #9aa6bd;
    font-size: 15px;
    line-height: 24px;
    margin: 8px 0 0;
}

.board-card-meta {
    color: #9aa6bd;
    font-size: 13px;
    margin-top: 8px;
}

.board-webzine {
    display: grid;
    gap: 16px;
}

.board-webzine-item {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 16px;
    border: 1px solid #1f2532;
    border-radius: 12px;
    overflow: hidden;
    background: #141823;
}

.board-webzine-body {
    padding: 14px;
}

.board-faqs {
    display: grid;
    gap: 10px;
}

.board-faq {
    border: 1px solid #1f2532;
    border-radius: 10px;
    padding: 12px 14px;
    background: #141823;
}

.board-faq summary {
    cursor: pointer;
    font-weight: 600;
}

.board-faq-body {
    margin-top: 10px;
    color: #c6d0e4;
}

.board-comment {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #1f2532;
}

.board-comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #1f2532;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #9aa6bd;
}

.board-comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.board-comment-body {
    flex: 1;
}

.board-comment-head {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 6px;
}

.board-comment-name {
    color: #e6eaf2;
    font-size: 14px;
}

.board-comment-text {
    color: #c6d0e4;
    font-size: 14px;
    line-height: 1.5;
}

.board-comment-actions {
    display: flex;
    gap: 8px;
    margin-top: 6px;
    font-size: 13px;
}

.board-replies {
    margin-left: 52px;
    border-left: 2px solid #1f2532;
    padding-left: 12px;
}

.hidden {
    display: none;
}

.inline {
    display: inline;
}

@media (max-width: 900px) {
    .board-grid {
        grid-template-columns: 1fr;
    }

    .board-title {
        text-align: center;
        margin-bottom: 12px;
    }

    .board-title h2 {
      position: relative;
      font-size:30px !important;
      font-weight: 600;
      letter-spacing: -1px;
      padding: 12px 0;
      margin-bottom: 26px;
      color:#8ab9ff;
    }

    .tenant-mobile-auth {border-top:#244065 solid 1px;padding-top:4px;}
    .tenant-mobile-auth svg {width:16px;height: 16px;color:#aaceff; margin-right:4px;}

    .board-title h2::before {
      content: '';
      position: absolute;
      left: 48%;
      bottom: 0px;
      width: 30px;
      height: 2px;
      background-color: #8ab9ff; /* 원하는 색상으로 변경 가능 */
    }

    .board-webzine-item {
        grid-template-columns: 1fr;
    }
    .board-thumb {
        height: 200px;
    }
}
