/* =========================
   Insight board skin
   - list / write / view / review / rating board
   - duplicated override blocks removed
   ========================= */

#bo_w.insight-write,
#bo_list.insight-list,
#bo_v.insight-view {
    width: 100%;
    margin: 0 auto;
    background: var(--color-bg, #F7F4EE);
    box-sizing: border-box;
}

#bo_w.insight-write,
#bo_list.insight-list {
    max-width: var(--layout-width, 1100px);
}

#bo_v.insight-view {
    max-width: 960px;
    padding: calc(var(--header-height) + 24px) 20px 30px;
}

.insight-write__wrap,
#bo_v.insight-view .insight-view__header,
#bo_v.insight-view .insight-view__body,
#bo_v.insight-view .insight-related,
#bo_v.insight-view #bo_vc.insight-review,
#bo_v.insight-view #bo_vc_w.insight-reviewWrite {
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}


/* =========================
   Write form
   ========================= */

#bo_w.insight-write {
    margin-top: var(--header-height, 90px);
    padding: 40px 20px 60px;
}

.insight-field,
.insight-file,
.insight-media {
    margin-bottom: 18px;
}

.insight-fieldGroup {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 18px;
}

#bo_w.insight-write .frm_input,
#bo_w.insight-write .frm_file,
#bo_w.insight-write select,
#bo_w.insight-write textarea {
    width: 100%;
    min-height: 52px;
    padding: 12px 14px;
    border: 1px solid #d8e0e8;
    border-radius: 14px;
    background: #fff;
    box-sizing: border-box;
}

#bo_w.insight-write textarea,
.insight-summary {
    min-height: 96px;
}

#bo_w.insight-write .bo_v_option {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0;
    padding: 14px 16px;
    border: 1px solid #d8e0e8;
    border-radius: 14px;
    background: #fff;
}

#bo_w.insight-write .chk_box {
    display: flex;
    align-items: center;
    gap: 8px;
}

#bo_w.insight-write .btn_confirm {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 30px;
}

#bo_w.insight-write .btn_cancel,
#bo_w.insight-write .btn_submit,
.insight-list .btn,
.insight-view .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 999px;
}

.insight-categoryPicker {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.insight-categoryPicker__title {
    color: #1f2b37;
    font-size: 14px;
    font-weight: 700;
}

.insight-categoryPicker__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.insight-categoryPicker__button {
    min-height: 48px;
    padding: 0 18px;
    border: 1px solid #d8e0e8;
    border-radius: 999px;
    background: #fff;
    color: #51606f;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.insight-categoryPicker__button:hover,
.insight-categoryPicker__button.is-active {
    border-color: #122033;
    color: #122033;
}

.insight-categoryPicker__button.is-active {
    background: #122033;
    color: #fff;
    box-shadow: 0 8px 18px rgba(18, 32, 51, 0.14);
}

.insight-media {
    padding: 18px;
    border: 1px solid #e2e8ee;
    border-radius: 16px;
    background: #fafbfd;
}

.insight-media__head {
    margin-bottom: 14px;
}

.insight-media__head strong {
    display: block;
    color: #122033;
    font-size: 16px;
}

.insight-media__head span,
.insight-help,
.insight-file__help,
.insight-media__guide p,
.insight-dropzone__text em {
    color: #66717d;
    font-size: 13px;
    line-height: 1.6;
}

.insight-media__row {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 14px;
}

.insight-media__field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.insight-media__field label {
    color: #1f2b37;
    font-weight: 600;
}

.insight-media__guide {
    margin-top: 14px;
    padding: 14px 16px;
    border: 1px solid #e2e8ee;
    border-radius: 14px;
    background: #fff;
    color: #52606d;
}

.insight-media__guide strong {
    display: block;
    margin-bottom: 4px;
    color: #122033;
}

.insight-file__help {
    margin: 8px 0 0 46px;
}

.insight-dropzone__input {
    position: absolute;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0 !important;
}

.insight-dropzone {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    padding: 18px;
    border: 2px dashed #c8d5df;
    border-radius: 20px;
    background: #f8fbfd;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.insight-dropzone:hover,
.insight-dropzone:focus,
.insight-dropzone.is-dragover {
    border-color: #315c7a;
    background: #eef6fb;
    outline: none;
}

.insight-dropzone.is-dragover {
    transform: translateY(-2px);
}

.insight-dropzone__preview {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 16px;
    background: #e8eef4;
    color: #66717d;
    font-size: 13px;
}

.insight-dropzone--file .insight-dropzone__preview {
    aspect-ratio: 1 / 1;
    background: linear-gradient(180deg, #eef3f8 0%, #e4ebf2 100%);
}

.insight-dropzone.is-selected .insight-dropzone__preview {
    background: #dfe9f2;
}

.insight-dropzone__preview img,
.insight-dropzone__preview video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.insight-dropzone--file .insight-dropzone__preview span,
.insight-dropzone__fileName {
    display: block;
    max-width: 100%;
    padding: 0 12px;
    color: #4d5d6d;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.5;
    text-align: center;
    word-break: break-word;
}

.insight-dropzone__text strong {
    display: block;
    color: #122033;
    font-size: 17px;
}

.insight-dropzone__text p {
    margin: 6px 0;
    color: #3c4856;
    line-height: 1.5;
}


/* TinyMCE toolbar */

.tox.tox-tinymce .tox-menubar,
.tox.tox-tinymce .tox-toolbar.tox-toolbar--scrolling {
    display: flex !important;
    flex-wrap: wrap !important;
    overflow: visible !important;
    white-space: normal !important;
    row-gap: 6px;
}

.tox.tox-tinymce .tox-toolbar__group {
    flex: 0 0 auto;
    margin-right: 4px;
    margin-bottom: 4px;
}

.tox.tox-tinymce .tox-editor-header {
    row-gap: 6px;
}

body.tox-fullscreen #tnb,
body.tox-fullscreen #lnb,
body.tox-fullscreen .sub_visual,
body.tox-fullscreen #ft {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}


/* =========================
   List
   ========================= */

.insight-list {
    padding: 28px 20px 56px;
}

.insight-list__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.insight-list__top .btn_bo_adm,
.insight-list__top .btn_bo_user {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.insight-viewSwitch__group {
    display: inline-flex;
    overflow: hidden;
    border: 1px solid #d8e0e8;
    border-radius: 999px;
    background: #fff;
}

.insight-viewSwitch__group a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 13px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #637080;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.insight-viewSwitch__group a.is-active {
    background: #122033;
    color: #fff;
}

.c-insightHero {
    min-height: 340px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 40px;
    border-radius: 24px;
    background-image: linear-gradient(rgba(255, 255, 255, .7), rgba(247, 251, 251, .9)), url("./img/insight-hero.png");
    background-color: #eef9f8;
    background-size: cover;
    background-position: center;
    text-align: left;
}

.c-insightHero .ui-hero__inner {
    width: 100%;
    padding: 0 50px;
}

.c-insightHero .ui-eyebrow {
    display: block;
    margin-bottom: 12px;
    color: var(--color-main, #01958f);
    font-weight: 800;
    font-size: 14px;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.c-insightHero .ui-hero__title {
    margin: 0 0 14px;
    color: #122033;
    font-size: clamp(32px, 4vw + 10px, 46px);
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -.03em;
}

.c-insightHero .ui-hero__desc {
    margin: 0;
    color: rgba(31, 42, 42, .75);
    font-size: clamp(15px, 2vw, 17px);
    word-break: keep-all;
}

.insight-cate {
    margin-bottom: 40px;
    text-align: center;
}

.insight-cate #bo_cate_ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.insight-cate #bo_cate_ul a {
    display: inline-flex;
    align-items: center;
    height: 46px;
    padding: 0 24px;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: #fff;
    color: #64748b;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all .2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .02);
}

.insight-cate #bo_cate_ul a:hover {
    border-color: #cbd5e1;
    color: #0f172a;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, .05);
}

.insight-cate #bo_cate_ul #bo_cate_on {
    background: #122033;
    border-color: #122033;
    color: #fff;
    box-shadow: 0 4px 12px rgba(17, 24, 39, .2);
}

.insight-sections-wrap {
    display: flex;
    flex-direction: column;
    gap: 70px;
    margin-bottom: 40px;
}

.sec-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 14px;
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--color-sub-1, #006662);
}

.sec-header h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: #122033;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -.03em;
}

.sec-header h3::before {
    content: "";
    width: 6px;
    height: 22px;
    border-radius: 4px;
    background-color: var(--color-main, #01BCB5);
}

.sec-header h3 span {
    color: #637080;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: -.01em;
}

.sec-header .btn-more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding-bottom: 4px;
    color: #7b8794;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: color .2s ease;
}

.sec-header .btn-more:hover {
    color: var(--color-main, #01BCB5);
}

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

.insight-grid--list {
    margin-bottom: 34px;
}

.insight-boardTable {
    overflow-x: auto;
    margin-bottom: 34px;
    border: 1px solid #e2e8ee;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(18, 32, 51, .05);
}

.insight-boardTable table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
    table-layout: fixed;
}

.insight-boardTable caption {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.insight-boardTable th,
.insight-boardTable td {
    padding: 16px 12px;
    border-bottom: 1px solid #eef2f5;
    color: #52606f;
    font-size: 14px;
    text-align: center;
    vertical-align: middle;
}

.insight-boardTable th {
    background: #f8fafc;
    color: #122033;
    font-size: 13px;
    font-weight: 900;
}

.insight-boardTable tbody tr:last-child td {
    border-bottom: 0;
}

.insight-boardTable tbody tr:hover td {
    background: #fbfdfd;
}

.insight-boardTable .col-check {
    width: 56px;
}

.insight-boardTable .col-num {
    width: 80px;
    font-weight: 800;
}

.insight-boardTable .col-subject {
    width: auto;
    text-align: left;
}

.insight-boardTable thead .col-subject {
    text-align: center;
}

.insight-boardTable .col-name {
    width: 130px;
}

.insight-boardTable .col-date {
    width: 120px;
}

.insight-boardTable .col-hit {
    width: 90px;
}

.insight-boardTable .col-subject a {
    color: #122033;
    font-weight: 800;
    text-decoration: none;
}

.insight-boardTable .col-subject a:hover {
    color: var(--color-main, #01BCB5);
}

.insight-boardTable__cate {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    margin-right: 8px;
    padding: 0 9px;
    border-radius: 999px;
    background: #eaf7f6;
    color: var(--color-sub-1, #006662);
    font-size: 12px;
    font-weight: 800;
}

.insight-boardTable__comment {
    margin-left: 6px;
    color: var(--color-main, #01BCB5);
    font-weight: 900;
}

.insight-boardTable tr.is-notice .col-num {
    color: var(--color-main, #01BCB5);
}

.insight-boardTable__empty {
    height: 120px;
    color: #7b8794;
    text-align: center !important;
}

.insight-searchResult {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 22px;
    padding: 14px 18px;
    border: 1px solid #dceceb;
    border-radius: 16px;
    background: #f7fbfb;
    color: #637080;
}

.insight-searchResult strong {
    color: var(--color-main, #01BCB5);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.insight-searchResult span {
    color: #122033;
    font-weight: 800;
}

.insight-card {
    position: relative;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.insight-card:hover .insight-card__body {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .12);
}

.insight-card:hover .insight-card__media img,
.insight-card:hover .insight-card__media video {
    transform: scale(1.05);
}

.insight-card__check {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
}

.insight-card__check.chk_box label span {
    background-color: rgba(255, 255, 255, .9);
    box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
}

.insight-card__link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.insight-card__media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 22px;
    background: #eef2f6;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .06);
}

.insight-card__media img,
.insight-card__media video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.insight-card__media .insight-card__logoFallback {
    object-fit: contain;
    padding: 34px;
    background: #e9edf2;
    filter: grayscale(1) brightness(.55);
    opacity: .9;
}

.insight-card__fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #7b8b8b;
    font-weight: 900;
}

.insight-card__badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(16, 24, 32, .84);
    color: #fff;
    font-size: 12px;
}

.insight-card__body {
    position: relative;
    z-index: 2;
    margin: -19px 6px 0;
    padding: 22px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .08);
    transition: transform .3s ease, box-shadow .3s ease;
}

.insight-card__cate {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    min-height: 28px;
    padding: 0 11px;
    border: 1px solid rgba(0, 130, 125, .22);
    border-radius: 999px;
    background: rgba(234, 247, 246, .95);
    color: var(--color-sub-1, #006662);
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: .02em;
}

.insight-card__title {
    margin: 0;
    color: #122033;
    font-size: 22px;
    line-height: 1.35;
}

.insight-card__summary {
    margin: 10px 0 0;
    color: #536172;
    line-height: 1.7;
}

.insight-card__meta {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 14px;
    color: #7b8794;
    font-size: 13px;
}

.insight-empty {
    grid-column: 1 / -1;
    padding: 32px 20px;
    border: 1px dashed #d8e0e8;
    border-radius: 20px;
    background: #fafbfd;
}


/* Search */

.bo_sch_wrap {
    display: block;
    position: static;
    width: auto;
    height: auto;
    margin: 40px 0 20px;
}

.bo_sch {
    position: static;
    width: 100%;
    max-width: var(--layout-width, 1100px);
    margin: 0 auto;
    padding: 24px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
    text-align: center;
    box-sizing: border-box;
}

.bo_sch h3 {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.bo_sch form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    max-width: 600px;
    margin: 0 auto;
}

.bo_sch select,
.bo_sch .sch_input,
.bo_sch .sch_btn {
    height: 44px;
    border-radius: 8px;
    box-sizing: border-box;
}

.bo_sch select,
.bo_sch .sch_input {
    border: 1px solid #cbd5e1;
    background: #fff;
    outline: none;
}

.bo_sch select {
    padding: 0 12px;
}

.bo_sch .sch_bar {
    display: flex;
    flex: 1 1 auto;
    gap: 8px;
}

.bo_sch .sch_input {
    flex: 1 1 auto;
    padding: 0 14px;
}

.bo_sch .sch_btn {
    padding: 0 18px;
    border: 1px solid var(--color-main, #3d89a7);
    background: var(--color-main, #3d89a7);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

.bo_sch .bo_sch_cls {
    display: none;
}


/* =========================
   View
   ========================= */

.insight-view__header {
    margin-bottom: 40px;
    padding: 0 0 28px;
    border-bottom: 1px solid #e6edf2;
}

.insight-view__cate {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--color-main, #01bcb5);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.insight-view__cate::before {
    content: "";
    width: 6px;
    height: 18px;
    border-radius: 999px;
    background: currentColor;
}

.insight-view__title {
    margin: 0;
    color: #122033;
    font-size: clamp(38px, 5vw, 56px);
    line-height: 1.08;
    letter-spacing: -.05em;
}

.insight-view__summary {
    max-width: 760px;
    margin: 22px 0 0;
    color: #556575;
    font-size: 17px;
    line-height: 1.8;
}

.insight-view__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    margin-top: 24px;
}

.insight-view__meta>span {
    display: inline-flex;
    align-items: center;
    padding: 0;
    border: 0;
    background: transparent;
    color: #788697;
    font-size: 13px;
    font-weight: 600;
    box-shadow: none;
}

.insight-view__meta>span+span::before {
    content: "•";
    margin-right: 18px;
    color: #c0cad5;
}

.insight-view__meta>span>.sv_member,
.insight-view__meta>span>.sv_guest {
    display: inline;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit !important;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    text-decoration: none;
    box-shadow: none;
}

.insight-view__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

#bo_v.insight-view .insight-view__actions .btn {
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid rgba(18, 32, 51, .1);
    border-radius: 999px;
    background: transparent;
    color: #334254;
    font-size: 12px;
    font-weight: 700;
    box-shadow: none;
    transition: color .2s ease, border-color .2s ease, background .2s ease;
}

#bo_v.insight-view .insight-view__actions .btn:hover {
    border-color: rgba(18, 32, 51, .2);
    background: rgba(18, 32, 51, .04);
    color: #122033;
}

#bo_v.insight-view .insight-view__actions .insight-ratingBoardBtn,
#bo_v.insight-view .insight-view__actions .insight-scrapBtn.is-active {
    background: #122033;
    border-color: #122033;
    color: #fff;
}

.insight-scrapBtn {
    border-color: #dce6ed !important;
    background: #fff !important;
    color: #122033 !important;
}

.insight-scrapBtn::before {
    content: "☆";
    margin-right: 6px;
    color: #f3b63f;
}

.insight-scrapBtn.is-active {
    border-color: #f1c66b !important;
    background: #fff8e6 !important;
    color: #7a5415 !important;
}

.insight-scrapBtn.is-active::before {
    content: "★";
}

.insight-view__media {
    max-width: 860px;
    margin: 0 auto 28px;
    overflow: hidden;
    border-radius: 24px;
    background: #eef2f6;
}

.insight-view__media img,
.insight-view__media iframe,
.insight-view__media video {
    display: block;
    width: 100%;
}

.insight-view__media iframe,
.insight-view__media video {
    aspect-ratio: 16 / 9;
    border: 0;
}

.insight-view__media video {
    background: #000;
}

.insight-view__files,
.insight-view__links {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid #e6ebf0;
}

.insight-view__files h3,
.insight-view__links h3 {
    margin: 0 0 14px;
    color: #122033;
}

.insight-view__files ul,
.insight-view__links ul {
    margin: 0;
    padding-left: 18px;
}


/* Related: 10개 출력 / PC 3개씩 가로 슬라이드 */

#bo_v.insight-view .insight-related {
    margin-top: 52px;
    padding-top: 30px;
    border-top: 1px solid #e6edf2;
}

#bo_v.insight-view .insight-related .sec-header {
    margin-bottom: 22px;
}

#bo_v.insight-view .insight-related__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
}

#bo_v.insight-view .insight-related__head span {
    color: var(--color-main, #01BCB5);
    font-size: 13px;
    font-weight: 900;
}

#bo_v.insight-view .insight-related .insight-grid.insight-related__grid {
    display: flex !important;
    grid-template-columns: none !important;
    flex-wrap: nowrap !important;
    gap: 18px;
    overflow-x: auto;
    overflow-y: visible;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 8px 4px 26px;
    margin: 0;
}

#bo_v.insight-view .insight-related .insight-grid.insight-related__grid::-webkit-scrollbar {
    display: none;
}

#bo_v.insight-view .insight-related .insight-card {
    flex: 0 0 calc((100% - 36px) / 3);
    min-width: 0;
    scroll-snap-align: start;
}

#bo_v.insight-view .insight-related .insight-card__title {
    font-size: 18px;
}


/* =========================
   Review / comment rating
   ========================= */

.insight-ratingSummary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    color: #637080;
    font-size: 14px;
}

.insight-ratingSummary strong {
    color: #122033;
    font-size: 16px;
}

#bo_v.insight-view .insight-view__header .insight-ratingSummary {
    gap: 10px;
    margin-top: 24px;
}

#bo_v.insight-view .insight-view__header .insight-ratingSummary::before {
    content: "리뷰";
    margin-right: 4px;
    color: #8b97a4;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.insight-stars {
    display: inline-flex !important;
    gap: 1px;
    color: inherit;
    font-size: 16px;
    line-height: 1;
    letter-spacing: 0;
    white-space: nowrap;
}

.insight-stars span {
    position: static !important;
    width: auto !important;
    overflow: visible !important;
    white-space: nowrap;
}

.insight-stars__filled {
    color: #f4b23f !important;
}

.insight-stars__empty {
    color: #d7e0e8 !important;
}

#bo_v.insight-view #bo_vc.insight-review,
#bo_v.insight-view #bo_vc_w.insight-reviewWrite {
    margin-top: 22px;
    padding: 18px 20px;
    border: 1px solid rgba(18, 32, 51, .08);
    border-radius: 16px;
    background: #fff;
    box-shadow: none;
    box-sizing: border-box;
}

#bo_v.insight-view .insight-review__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 0 0 14px;
    padding: 0 0 14px;
    border-bottom: 1px solid rgba(18, 32, 51, .08);
}

#bo_v.insight-view .insight-review__eyebrow {
    display: none;
}

#bo_v.insight-view .insight-review__head h3,
#bo_v.insight-view .insight-reviewWrite h3 {
    margin: 0;
    color: #122033;
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -.03em;
}

#bo_v.insight-view .insight-review__score,
#bo_v.insight-view .insight-review .insight-ratingSummary {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 34px;
    padding: 6px 10px;
    border: 1px solid rgba(18, 32, 51, .08);
    border-radius: 10px;
    background: rgba(255, 255, 255, .86);
    color: #66717d;
    font-size: 13px;
    box-shadow: none;
}

#bo_v.insight-view .insight-review__score strong,
#bo_v.insight-view .insight-review .insight-ratingSummary strong {
    color: #122033;
    font-size: 15px;
    font-weight: 900;
}

#bo_v.insight-view .insight-review__list {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

#bo_v.insight-view .insight-review__empty {
    margin: 0;
    padding: 16px;
    border: 1px dashed #cddbe5;
    border-radius: 12px;
    background: rgba(255, 255, 255, .72);
    color: #6a7886;
    font-size: 14px;
    line-height: 1.7;
    text-align: center;
}

#bo_v.insight-view .insight-review__item {
    position: relative;
    padding: 14px;
    border: 1px solid rgba(18, 32, 51, .08);
    border-radius: 14px;
    background: #fff;
    box-shadow: none;
}

#bo_v.insight-view .insight-review__itemHead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.insight-review__author {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #122033;
    font-weight: 800;
}

.insight-review__author .profile_img img,
.insight-review__author img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
}

.insight-review__author time {
    display: block;
    margin-top: 2px;
    color: #8a96a3;
    font-size: 13px;
    font-weight: 500;
}

#bo_v.insight-view .insight-review__content {
    color: #2f3b48;
    font-size: 15px;
    line-height: 1.75;
}

.insight-review__content p {
    margin: 0;
}

.insight-review__delete {
    margin-left: auto;
    color: #a0a9b4;
    font-size: 13px;
    text-decoration: underline;
}

#bo_v.insight-view .insight-reviewWrite h3 {
    margin-bottom: 12px;
}

#bo_v.insight-view .insight-reviewWrite form {
    display: grid;
    gap: 12px;
}

#bo_v.insight-view .insight-ratingInput {
    display: flex !important;
    align-items: center;
    flex-wrap: nowrap;
    gap: 6px;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 10px 12px;
    border: 1px solid rgba(18, 32, 51, .08);
    border-radius: 12px;
    background: #fafcfc;
}

#bo_v.insight-view .insight-ratingInput legend {
    flex: 0 0 auto;
    margin: 0 8px 0 0;
    padding: 0;
    color: #122033;
    font-size: 14px;
    font-weight: 800;
}

#bo_v.insight-view .insight-ratingInput input {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    overflow: hidden;
    pointer-events: none;
}

#bo_v.insight-view .insight-ratingInput label {
    flex: 0 0 auto;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin: 0 !important;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #cbd6df;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    box-shadow: none !important;
    transition: color .15s ease;
}

#bo_v.insight-view .insight-ratingInput label:hover,
#bo_v.insight-view .insight-ratingInput label:hover~label,
#bo_v.insight-view .insight-ratingInput input:checked~label {
    color: #f4b23f;
}

#bo_v.insight-view .insight-reviewWrite textarea,
#bo_v.insight-view .insight-reviewWrite .frm_input {
    width: 100%;
    max-width: 100%;
    border: 1px solid #dce6ed;
    background: #fff;
    box-sizing: border-box;
}

#bo_v.insight-view .insight-reviewWrite textarea {
    min-height: 92px;
    padding: 12px 14px;
    border-radius: 12px;
    color: #243140;
    font-size: 14px;
    line-height: 1.75;
    resize: vertical;
}

#bo_v.insight-view .insight-reviewWrite .frm_input {
    min-height: 46px;
    padding: 10px 12px;
    border-radius: 14px;
}

#bo_v.insight-view .insight-reviewWrite textarea:focus,
#bo_v.insight-view .insight-reviewWrite .frm_input:focus {
    outline: none;
    border-color: var(--color-main, #01BCB5);
    box-shadow: 0 0 0 4px rgba(1, 188, 181, .12);
}

#bo_v.insight-view .insight-reviewWrite__meta {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    align-items: center;
}

@media (max-width: 720px) {
    #bo_v.insight-view .insight-reviewWrite__meta {
        display: grid;
        grid-template-columns: 1fr;
    }
    #bo_v.insight-view .insight-reviewWrite__meta .btn_submit {
        width: 100%;
    }
}

#bo_v.insight-view .insight-reviewWrite__meta .btn_submit {
    width: auto;
    min-width: 140px;
}

#bo_v.insight-view .insight-reviewWrite__meta #captcha {
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
}

#bo_v.insight-view .insight-reviewWrite__meta .frm_input,
#bo_v.insight-view .insight-reviewWrite__meta .btn_submit {
    width: 100%;
    min-width: 0;
}

#bo_v.insight-view .insight-reviewWrite .btn_submit {
    min-height: 48px;
    padding: 0 20px;
    border: 1px solid var(--color-main, #01BCB5);
    border-radius: 999px;
    background: var(--color-main, #01BCB5);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: -0.01em;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(1, 188, 181, 0.2);
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

#bo_v.insight-view .insight-reviewWrite .btn_submit:hover {
    border-color: var(--color-main-hover, #01958f);
    background: var(--color-main-hover, #01958f);
    box-shadow: 0 12px 26px rgba(1, 188, 181, 0.26);
    transform: translateY(-1px);
}

#bo_v.insight-view .insight-reviewWrite .btn_submit[disabled] {
    opacity: .68;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}


/* =========================
   Rating board page
   ========================= */

.insight-ratingBoard {
    max-width: var(--layout-width, 1100px);
    margin: 0 auto;
    padding: calc(var(--header-height) + 24px) 20px 30px;
}

.insight-ratingBoard__hero {
    margin-bottom: 28px;
    padding: 30px;
    border: 1px solid #dceceb;
    border-radius: 24px;
    background-image: linear-gradient(rgba(255, 255, 255, .74), rgba(247, 251, 251, .92)), url("./img/insight_ratings-hero.png");
    background-color: #eef9f8;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.insight-ratingBoard__hero h2 {
    margin: 8px 0 10px;
    color: #122033;
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 900;
    letter-spacing: -.05em;
}

.insight-ratingBoard__hero p {
    margin: 0;
    color: #627180;
    line-height: 1.7;
}

.insight-ratingBoard__hero strong {
    display: inline-flex;
    margin-top: 16px;
    padding: 7px 12px;
    border-radius: 999px;
    background: #fff;
    color: var(--color-main, #01BCB5);
    font-size: 14px;
}

.insight-ratingBoard__tools {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-top: 16px;
}

.insight-ratingBoard__rows {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.insight-ratingBoard__rows label {
    color: #66717d;
    font-size: 13px;
    font-weight: 800;
}

.insight-ratingBoard__rows select,
.insight-ratingBoard__search select,
.insight-ratingBoard__search input {
    height: 40px;
    border: 1px solid #dce6ed;
    border-radius: 999px;
    background: #fff;
    color: #122033;
    font-size: 13px;
    font-weight: 700;
    box-sizing: border-box;
}

.insight-ratingBoard__rows select,
.insight-ratingBoard__search select {
    padding: 0 30px 0 12px;
}

.insight-ratingBoard__search {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
    margin: 0;
}

.insight-ratingBoard__search input {
    flex: 1 1 220px;
    min-width: 180px;
    padding: 0 14px;
}

.insight-ratingBoard__search button,
.insight-ratingBoard__reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 16px;
    border: 0;
    border-radius: 999px;
    background: #122033;
    color: #fff;
    font-size: 13px;
    font-weight: 850;
    text-decoration: none;
    cursor: pointer;
}

.insight-ratingBoard__reset {
    background: #eef3f4;
    color: #536172;
}

.insight-ratingBoard__list {
    display: grid;
    gap: 14px;
}

.insight-ratingItem {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 16px 20px;
    padding: 18px;
    border: 1px solid #e3eaf1;
    border-radius: 18px;
    background: #fff;
}

.insight-ratingItem__author {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: #87939f;
    font-size: 13px;
}

.insight-ratingItem__profile {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #122033;
    font-weight: 850;
}

.insight-ratingItem__profile img,
.insight-ratingItem__profile .profile_img img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.insight-ratingItem__review {
    min-width: 0;
}

.insight-ratingItem__stars {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.insight-ratingItem__stars strong {
    color: #122033;
}

.insight-ratingItem__review p {
    margin: 0;
    color: #2f3b48;
    line-height: 1.75;
}

.insight-ratingItem__post {
    grid-column: 2;
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 13px;
    align-items: center;
    padding: 13px 14px;
    border-radius: 14px;
    background: #f7fbfb;
    color: inherit;
    text-decoration: none;
}

.insight-ratingItem__thumb {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 12px;
    background: #edf4f4;
}

.insight-ratingItem__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.insight-ratingItem__postText,
.insight-ratingItem__review {
    min-width: 0;
}

.insight-ratingItem__cate {
    display: inline-block;
    margin-bottom: 5px;
    color: var(--color-main, #01BCB5);
    font-size: 12px;
    font-weight: 900;
}

.insight-ratingItem__post strong {
    display: block;
    color: #122033;
    font-size: 16px;
    line-height: 1.45;
}

.insight-ratingItem__post p {
    margin: 6px 0 0;
    color: #66717d;
    font-size: 13px;
    line-height: 1.55;
}

.insight-ratingItem__post em {
    display: block;
    margin-top: 8px;
    color: #93a0aa;
    font-size: 12px;
    font-style: normal;
}

.insight-ratingBoard__empty {
    padding: 34px 20px;
    border: 1px dashed #d8e2eb;
    border-radius: 18px;
    color: #71808f;
    text-align: center;
}


/* =========================
   Responsive
   ========================= */

@media (max-width: 900px) {
    .insight-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .insight-media__row {
        grid-template-columns: 1fr;
    }
    .insight-list__top {
        flex-direction: column;
        align-items: flex-start;
    }
    #bo_v.insight-view .insight-related .insight-card {
        flex-basis: calc((100% - 18px) / 2);
    }
}

@media (max-width: 720px) {
    #bo_v.insight-view {
        max-width: 100%;
    }
    .insight-write__wrap,
    #bo_v.insight-view .insight-view__header,
    #bo_v.insight-view .insight-view__body,
    #bo_v.insight-view .insight-related,
    #bo_v.insight-view #bo_vc.insight-review,
    #bo_v.insight-view #bo_vc_w.insight-reviewWrite {
        max-width: 100%;
    }
    #bo_v.insight-view .insight-related__head {
        display: block;
    }
    #bo_v.insight-view .insight-related__head h3 {
        margin-top: 4px;
    }
    #bo_v.insight-view .insight-related .insight-grid.insight-related__grid {
        margin: 0 -20px;
        padding: 6px 20px 22px;
        scroll-padding: 0 20px;
    }
    #bo_v.insight-view .insight-related .insight-card {
        flex: 0 0 85%;
    }
    #bo_v.insight-view .insight-review__head {
        align-items: flex-start;
        flex-direction: column;
    }
    #bo_v.insight-view .insight-review__score,
    #bo_v.insight-view .insight-review .insight-ratingSummary {
        width: 100%;
        justify-content: center;
        box-sizing: border-box;
    }
    #bo_v.insight-view .insight-ratingInput {
        flex-wrap: wrap;
        overflow: visible;
        gap: 8px 10px;
    }
    #bo_v.insight-view .insight-ratingInput legend {
        width: 100%;
        margin: 0 0 6px;
    }
    #bo_v.insight-view .insight-ratingInput label {
        flex: 0 0 32px;
    }
    #bo_v.insight-view .insight-reviewWrite__meta {
        grid-template-columns: 1fr;
    }
    #bo_v.insight-view .insight-reviewWrite__meta #captcha {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }
    #bo_v.insight-view .insight-reviewWrite__meta #captcha audio,
    #bo_v.insight-view .insight-reviewWrite__meta #captcha img,
    #bo_v.insight-view .insight-reviewWrite__meta #captcha input,
    #bo_v.insight-view .insight-reviewWrite__meta #captcha button {
        width: 100%;
        min-width: 0;
    }
    #bo_v.insight-view .insight-reviewWrite__meta #captcha_info {
        display: block;
        line-height: 1.5;
    }
}

@media (max-width: 640px) {
    .insight-list__top {
        flex-direction: column;
        align-items: flex-start;
    }
    .btn_bo_adm {
        width: 100%;
        justify-content: space-between;
    }
    .btn_bo_user {
        width: 100%;
        justify-content: flex-end;
    }
    .insight-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .insight-fieldGroup,
    .insight-reviewWrite__guest {
        flex-direction: column;
        grid-template-columns: 1fr;
    }
    .insight-dropzone,
    .bo_sch form {
        grid-template-columns: 1fr;
        flex-direction: column;
    }
    .bo_sch .sch_bar {
        display: grid;
        grid-template-columns: 1fr auto;
        width: 100%;
    }
    .c-insightHero .ui-hero__inner {
        padding: 0 24px;
    }
    .insight-sections-wrap {
        gap: 40px;
    }
    .sec-header {
        align-items: center;
    }
    .sec-header h3 {
        font-size: 20px;
        gap: 8px;
    }
    .sec-header h3::before {
        width: 5px;
        height: 18px;
    }
    .sec-header h3 span {
        font-size: 14px;
    }
    .insight-view__title {
        font-size: 30px;
    }
    .insight-view__header {
        margin-bottom: 30px;
        padding-bottom: 22px;
    }
    .insight-view__summary {
        font-size: 15px;
    }
    .insight-view__meta {
        gap: 8px 14px;
    }
    .insight-view__meta>span {
        font-size: 12px;
    }
    .insight-view__meta>span+span::before {
        margin-right: 14px;
    }
    #bo_v.insight-view .insight-view__actions .btn {
        min-height: 36px;
        padding: 0 14px;
        font-size: 13px;
    }
    .insight-categoryPicker__buttons {
        gap: 8px;
    }
    .insight-categoryPicker__button {
        min-height: 44px;
        padding: 0 14px;
        font-size: 14px;
    }
    .insight-ratingItem {
        grid-template-columns: 1fr;
    }
    .insight-ratingItem__post {
        grid-column: auto;
        grid-template-columns: 88px minmax(0, 1fr);
    }
    .insight-ratingBoard__search select,
    .insight-ratingBoard__search input,
    .insight-ratingBoard__search button,
    .insight-ratingBoard__reset {
        width: 100%;
    }
}

#bo_v.insight-view .insight-related .insight-grid.insight-related__grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 18px;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    touch-action: pan-x;
    cursor: grab;
    padding: 8px 4px 26px;
}

#bo_v.insight-view .insight-related .insight-grid.insight-related__grid.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
}

#bo_v.insight-view .insight-related .insight-card {
    flex: 0 0 calc((100% - 36px) / 3) !important;
    min-width: calc((100% - 36px) / 3) !important;
    scroll-snap-align: start;
}

@media (max-width: 900px) {
    #bo_v.insight-view .insight-related .insight-card {
        flex-basis: calc((100% - 18px) / 2) !important;
        min-width: calc((100% - 18px) / 2) !important;
    }
}

@media (max-width: 640px) {
    #bo_v.insight-view .insight-related .insight-card {
        flex-basis: 85% !important;
        min-width: 85% !important;
    }
}
