﻿.gb-wrap * {
  box-sizing: border-box;
}

.gb-wrap {
  --gb-bg-main: #061229;
  --gb-bg-accent: #a50045;
  --gb-bg-dark: #22262d;
  --gb-text: #ffffff;
  --gb-muted: rgba(255, 255, 255, 0.72);
  --gb-line: rgba(255, 255, 255, 0.2);
  width: 100vw;
  max-width: 100vw;
  margin: 0 calc(50% - 50vw) 56px;
  color: var(--gb-text);
  font-family: 'Noto Sans KR', sans-serif;
}

.gb-notice.gb-wrap {
  margin-bottom: 0;
}

.gb-webzine.gb-wrap {
  margin-top: 0;
  margin-bottom: 0;
}

.gb-news.gb-wrap {
  margin-top: 0;
  margin-bottom: 0;
}


.gb-people.gb-wrap {
  margin-bottom: 0;
}

.gb-empty {
  padding: 24px;
  border-radius: 14px;
  background: #f4f5f7;
  color: #1e2a40;
}

.gb-fallback-image,
.gb-side-fallback {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, #0d1c37, #152a50);
}

.gb-mini-line {
  width: 96px;
  height: 4px;
  background: #ff0037;
  margin-bottom: 22px;
  display: block;
}

.gb-tag {
  margin: 0 0 20px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.gb-webzine {
  position: relative;
  background: linear-gradient(90deg, #081327 0%, #07162f 55%, #04112a 100%);
  padding: 62px 0 68px;
  overflow: hidden;
}

.gb-webzine::before {
  content: '';
  position: absolute;
  left: 24%;
  top: -80px;
  width: 180px;
  height: calc(100% + 160px);
  background: rgba(255, 255, 255, 0.03);
  transform: skewX(12deg);
  pointer-events: none;
}

.gb-webzine-slider {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
}

.gb-webzine-slide {
  display: none;
  grid-template-columns: minmax(460px, 1fr) minmax(520px, 1.05fr);
  gap: 44px;
  align-items: stretch;
  min-height: 460px;
}

.gb-webzine-slide.is-active {
  display: grid;
}

.gb-webzine-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 460px;
  padding: 8px 6px 8px 0;
}

.gb-webzine-left h2 {
  margin: 0 0 20px;
  font-size: clamp(30px, 2.3vw, 44px);
  line-height: 1.24;
  font-weight: 900;
  color: #fff;
}

.gb-title-link,
.gb-summary-link {
  color: inherit;
  text-decoration: none !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}

.gb-title-link:hover,
.gb-summary-link:hover {
  opacity: 1;
  text-decoration: none !important;
}

.gb-desc {
  margin: 0;
  font-size: clamp(18px, 0.96vw, 23px);
  line-height: 1.5;
  color: var(--gb-muted);
}

.gb-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ff0037;
  text-decoration: none;
  font-size: 32px;
  font-weight: 800;
}

.gb-more::after {
  content: '\2192';
  font-size: 24px;
}

.gb-webzine-right {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  height: 460px;
  max-width: 760px;
  margin: 0 auto;
}

.gb-webzine-right::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 10, 20, 0.15), rgba(2, 5, 12, 0.55));
}

.gb-webzine-right img,
.gb-webzine-right .gb-fallback-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gb-vol {
  display: none;
}

.gb-webzine-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  margin-top: -68px;
  padding-right: 36px;
  position: relative;
  z-index: 4;
}

.gb-arrow {
  width: 62px;
  height: 62px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  background: rgba(5, 12, 24, 0.34);
  color: #fff;
  cursor: pointer;
  position: relative;
}

.gb-arrow::before {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  width: 14px;
  height: 14px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

.gb-prev::before {
  transform: rotate(-135deg);
}

.gb-next::before {
  transform: rotate(45deg);
}

.gb-dots {
  display: flex;
  gap: 12px;
}

.gb-dot {
  width: 56px;
  height: 6px;
  background: rgba(255, 255, 255, 0.3);
  border: 0;
  cursor: pointer;
}

.gb-dot.is-active {
  background: #ff001f;
}

.gb-notice,
.gb-news {
  background: var(--gb-bg-accent);
  padding: 50px 0 56px;
}

.gb-news {
  padding-top: 28px;
  padding-bottom: 18px;
}

.gb-news > .gb-head,
.gb-news > .gb-news-grid {
  width: min(1440px, 100%);
  padding-left: 32px;
  padding-right: 32px;
  box-sizing: border-box;
  margin-left: auto;
  margin-right: auto;
}

.gb-news > .gb-head {
  margin-bottom: 12px;
}

.gb-notice > .gb-head,
.gb-notice > .gb-notice-list {
  width: min(1440px, 100%);
  padding-left: 32px;
  padding-right: 32px;
  box-sizing: border-box;
  margin-left: auto;
  margin-right: auto;
}

.gb-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.gb-notice .gb-head h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.gb-plus {
  color: #fff;
  text-decoration: none;
  font-size: clamp(32px, 1.8vw, 52px);
  line-height: 1;
}

.gb-notice-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.gb-notice-list li {
  display: grid;
  grid-template-columns: 360px 1fr 220px;
  gap: 22px;
  align-items: center;
  min-height: 86px;
  padding: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.gb-category {
  font-size: clamp(18px, 1.2vw, 24px);
  font-weight: 800;
}

.gb-category::before {
  content: '\2022';
  margin-right: 6px;
}

.gb-category.is-empty {
  visibility: hidden;
}

.gb-notice-list a {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.gb-notice-list time {
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  white-space: nowrap;
  text-align: right;
}

.gb-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.gb-news-card {
  color: #fff;
}

.gb-news-card .gb-image {
  display: block;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #2f3644;
  margin-bottom: 10px;
}

.gb-news-card img,
.gb-news-card .gb-fallback-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gb-news-body .gb-chip {
  display: inline-block;
  font-size: 14px;
  margin-bottom: 6px;
  opacity: 0.9;
}

.gb-news-body h4 {
  margin: 0 0 6px;
  font-size: 15px;
  line-height: 1.35;
}

.gb-news-body h4 a {
  color: #fff;
  text-decoration: none;
}

.gb-news-body p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  line-height: 1.45;
}

.gb-people {
  display: grid;
  grid-template-columns: 1fr 340px;
  background: #2b2d32;
  overflow: hidden;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.gb-people-main {
  position: relative;
}

.gb-people-slide {
  display: none;
  grid-template-columns: minmax(320px, 36%) 1fr;
}

.gb-people-slide.is-active {
  display: grid;
}

.gb-people-left {
  padding: 58px 48px 102px;
  background: rgba(33, 34, 38, 0.95);
}


.gb-people-left .gb-tag {
  font-size: clamp(11px, 0.72vw, 18px);
  letter-spacing: 0.06em;
}

.gb-people-left h3 {
  margin: 0 0 12px;
  font-size: clamp(24px, 1.65vw, 42px);
  line-height: 1.22;
}

.gb-people-left p {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(13px, 0.88vw, 20px);
  line-height: 1.5;
}

.gb-people-image {
  min-height: 620px;
}

.gb-people-image img,
.gb-people-image .gb-fallback-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gb-people-side {
  background: #1f2125;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.gb-side-item {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  color: #ffffff;
  padding: 24px 18px;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 14px;
  min-height: 116px;
  text-align: left;
  cursor: pointer;
}

.gb-side-item.is-active {
  background: var(--gb-bg-accent);
  color: #fff;
}

.gb-side-item img,
.gb-side-fallback {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 70px;
}

.gb-side-item span {
  font-size: clamp(15px, 1.0vw, 26px);
  line-height: 1.3;
  font-weight: 700;
  color: #ffffff;
}

.gb-side-item.is-active span {
  font-weight: 800;
}

.gb-people-controls {
  position: absolute;
  left: 48px;
  bottom: 24px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 12px;
}

@media (max-width: 1600px) {
  .gb-wrap {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

  .gb-tag {
    font-size: 16px;
  }

  .gb-webzine-left h2 {
    font-size: clamp(28px, 2.2vw, 44px);
  }

  .gb-desc,
  .gb-more,
  .gb-category,
  .gb-notice-list a,
  .gb-news-body h4,
  .gb-people-left p {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(13px, 0.88vw, 20px);
  line-height: 1.5;
}

  .gb-news-body p,
  .gb-news-body .gb-chip,
  .gb-side-item span,
  .gb-notice-list time {
    font-size: clamp(13px, 1vw, 22px);
  }

  .gb-news .gb-head h3 {
    font-size: clamp(30px, 2vw, 52px);
  }

  .gb-notice .gb-head h3 {
    font-size: 16px;
    letter-spacing: 0.04em;
  }

  .gb-people-left .gb-tag {
  font-size: clamp(11px, 0.72vw, 18px);
  letter-spacing: 0.06em;
}

  .gb-people-left h3 {
  margin: 0 0 12px;
  font-size: clamp(24px, 1.65vw, 42px);
  line-height: 1.22;
}

  .gb-people-left p {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(13px, 0.88vw, 20px);
  line-height: 1.5;
}

  .gb-side-item span {
  font-size: clamp(15px, 1.0vw, 26px);
  line-height: 1.3;
  font-weight: 700;
  color: #ffffff;
}

  .gb-vol {
    font-size: clamp(18px, 1.3vw, 34px);
    padding: 20px;
  }
}

@media (max-width: 1200px) {
  .gb-webzine-slide,
  .gb-people-slide {
    grid-template-columns: 1fr;
  }

  .gb-webzine::before {
    display: none;
  }

  .gb-webzine-left,
  .gb-webzine-right,
  .gb-people-image {
    min-height: auto;
  }

  .gb-webzine-right {
    height: 380px;
  }

  .gb-webzine-left {
    height: auto;
  }

  .gb-webzine-controls {
    justify-content: center;
    margin-top: 20px;
    padding-right: 0;
  }

  .gb-people {
    grid-template-columns: 1fr;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  .gb-people-side {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gb-notice-list li {
    grid-template-columns: 1fr;
    gap: 10px;
    min-height: 0;
    padding: 14px 0;
  }

  .gb-category.is-empty {
    display: none;
  }

  .gb-news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .gb-wrap {
    margin-bottom: 28px;
  }

  .gb-news.gb-wrap {
    margin-bottom: 0;
  }

  .gb-people.gb-wrap {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  .gb-webzine,
  .gb-notice,
  .gb-news,
  .gb-people-left {
  padding: 58px 48px 102px;
  background: rgba(33, 34, 38, 0.95);
}

  .gb-notice > .gb-head,
  .gb-notice > .gb-notice-list {
    width: 100%;
  }

  .gb-webzine-slider {
    padding: 0;
  }

  .gb-news > .gb-head,
  .gb-news > .gb-news-grid {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  .gb-news-grid,
  .gb-people-side {
    grid-template-columns: 1fr;
  }

  .gb-webzine-right {
    height: 260px;
  }

  .gb-arrow {
    width: 44px;
    height: 44px;
  }

  .gb-dot {
    width: 28px;
  }
}

.gbf-wrap,
.gbf-wrap * {
  box-sizing: border-box;
}

.gbf-wrap {
  width: min(1680px, calc(100% - 72px));
  margin: 0 auto 36px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  font-family: 'Noto Sans KR', sans-serif;
}

.gbf-head {
  padding: 22px 24px;
  border-bottom: 1px solid #edf0f4;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.gbf-head p {
  margin: 0;
  color: #6b7280;
  font-size: 16px;
}

.gbf-write-btn {
  border: 0;
  border-radius: 6px;
  background: #1f3f8f;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  padding: 10px 20px;
  cursor: pointer;
}

.gbf-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.gbf-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 22px;
  border-bottom: 1px solid #edf0f4;
  padding: 22px 24px;
}

.gbf-title {
  display: block;
  text-decoration: none;
  color: #1f2937;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
  margin: 0;
}

.gbf-title:hover {
  color: #1f3f8f;
}

.gbf-list time {
  align-self: center;
  grid-column: 2;
  grid-row: 1 / span 2;
  color: #94a3b8;
  font-size: 16px;
  white-space: nowrap;
}

.gbf-row-actions {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 110px;
}

.gbf-row-actions a,
.gbf-row-actions button {
  color: #94a3b8;
  text-decoration: none;
  font-size: 18px;
  line-height: 1;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.gbf-row-actions a:hover,
.gbf-row-actions button:hover {
  color: #1f2937;
}

.gbf-row-actions .gbf-delete:hover {
  color: #dc2626;
}

.gbf-meta {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  gap: 16px;
  color: #64748b;
  font-size: 14px;
  align-items: center;
}

.gbf-file-badge {
  border: 1px solid #93c5fd;
  color: #2563eb;
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 13px;
}

.gbf-empty {
  color: #64748b;
  font-size: 16px;
}

.gbf-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.6);
  padding: 20px;
}

.gbf-modal.is-open {
  display: block;
}

.gbf-modal-dialog {
  width: min(1280px, calc(100vw - 40px));
  margin: 0 auto;
  max-height: calc(100vh - 40px);
  overflow: auto;
  background: #fff;
  border-radius: 10px;
  padding: 24px;
  position: relative;
}

.gbf-close {
  position: absolute;
  right: 22px;
  top: 14px;
  border: 0;
  background: transparent;
  font-size: 44px;
  color: #6b7280;
  line-height: 1;
  cursor: pointer;
}

.gbf-modal h3 {
  margin: 0 0 18px;
  font-size: 40px;
  font-weight: 800;
}

.gbf-form label > span,
.gbf-editor-col > span,
.gbf-file-col > span {
  display: block;
  margin-bottom: 8px;
  color: #334155;
  font-size: 16px;
  font-weight: 700;
}

.gbf-form input[type='text'] {
  width: 100%;
  height: 56px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 0 14px;
  font-size: 17px;
}

.gbf-editor-row {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 22px;
  align-items: start;
}

.gbf-editor-col .wp-editor-wrap {
  border-radius: 8px;
  overflow: hidden;
}

.gbf-editor-col .mce-container,
.gbf-editor-col .mce-panel,
.gbf-editor-col .wp-editor-container,
.gbf-editor-col textarea.wp-editor-area {
  border-color: #d1d5db !important;
}

.gbf-editor-col textarea.wp-editor-area {
  min-height: 440px !important;
}

.gbf-html-source {
  margin-top: 12px;
}

.gbf-html-source > span {
  display: block;
  margin-bottom: 6px;
  color: #475569;
  font-size: 13px;
  font-weight: 700;
}

.gbf-html-source textarea {
  width: 100%;
  min-height: 140px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 10px 12px;
  resize: vertical;
  font-family: Consolas, Monaco, monospace;
  font-size: 13px;
  line-height: 1.5;
}

.gbf-file-drop {
  border: 2px dashed #cbd5e1;
  border-radius: 10px;
  height: 128px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #64748b;
  cursor: pointer;
  background: #fafafa;
}

.gbf-file-drop input {
  display: none;
}

.gbf-file-drop strong {
  font-size: 42px;
  line-height: 1;
}

.gbf-file-drop em {
  font-style: normal;
  font-size: 16px;
}

.gbf-selected-files {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  color: #64748b;
  font-size: 13px;
}

.gbf-selected-files li {
  margin-bottom: 6px;
}

.gbf-actions {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #e5e7eb;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.gbf-cancel,
.gbf-submit {
  min-width: 92px;
  height: 42px;
  border-radius: 6px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
}

.gbf-cancel {
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #334155;
}

.gbf-submit {
  border: 0;
  background: #1f3f8f;
  color: #fff;
}

@media (max-width: 1024px) {
  .gbf-wrap {
    width: calc(100% - 20px);
  }

  .gbf-list li {
    grid-template-columns: 1fr;
  }

  .gbf-list time {
    grid-column: 1;
    grid-row: auto;
  }

  .gbf-row-actions {
    grid-column: 1;
    grid-row: auto;
    margin-left: 0;
    justify-content: flex-end;
  }

  .gbf-editor-row {
    grid-template-columns: 1fr;
  }
}







.gb-news.gb-wrap,
.gb-people.gb-wrap {
  margin-bottom: 0 !important;
}







