.study-main-content {
    padding-top: 10px;
    overflow-x: hidden
}

.study-type-tabs a,.category-tabs a,.recipe-list a,.question-list a {
    text-decoration: none;
    color: inherit
}

.study-main-content .study-type-tabs {
    overflow-x: auto;
    white-space: nowrap
}

.study-main-content .study-type-tab {
    display: inline-flex;
    justify-content: center;
    padding: 4px 8px;
}

.study-qna-cats {
    display: flex;
    gap: 0;
    overflow-x: auto;
    white-space: nowrap;
    padding: 0 20px;
    background: #fff
}

.study-qna-cats .category-tab {
    display: inline-flex;
    align-items: center;
    padding: 16px 12px
}

.study-qna-cats .category-tab:first-child {
    padding-left: 0
}

.study-qna-cats .category-tab:last-child {
    padding-right: 0
}

.study-recipe-cats {
    display: flex;
    gap: 0;
    overflow-x: auto;
    white-space: nowrap;
    padding: 0 20px;
    background: #fff
}

.study-recipe-cats .category-tab {
    display: inline-flex;
    align-items: center;
    padding: 16px 12px
}

.study-recipe-cats .category-tab:first-child {
    padding-left: 0
}

.study-recipe-cats .category-tab:last-child {
    padding-right: 0
}

.recipe-sort-select {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px 28px 8px 10px;
    background: #fff;
    color: #334155
}

.study-main-content .question-list {
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    overflow: visible;
    display: flex;
    flex-direction: column;
    gap: 14px
}

.study-main-content .question-item {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
    border-bottom: none;
    padding: 18px
}

.study-main-content .question-card-row {
    display: flex;
    gap: 12px;
    align-items: flex-start
}

.study-main-content .question-thumb {
    width: 96px;
    height: 96px;
    border-radius: 10px;
    overflow: hidden;
    flex: 0 0 96px;
    background: #eef2f7
}

.study-main-content .question-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.study-main-content .question-body {
    min-width: 0;
    flex: 1
}

.study-main-content .question-item:last-child {
    border-bottom: none
}

.study-main-content .section-header {
    margin: 24px 0 12px
}

.study-main-content .question-footer {
    margin-top: 10px
}

body.study-list-page {
    overflow-x: hidden
}

.study-question-detail-page .main-content {
    padding: 0!important
}

.study-view-wrap {
    background: #F7FAFC;
    padding: 0 0 110px
}

.study-view-wrap .question-section,.study-view-wrap .answers-section {
    background: #fff
}

.study-view-wrap .question-section {
    padding: 24px 20px;
    border-bottom: 8px solid #F7FAFC
}

.study-view-wrap .question-header {
    display: block
}

.study-view-wrap .question-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 16px
}

.study-view-wrap .question-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px
}

.study-view-wrap .author-info {
    flex: 1
}

.study-view-wrap .author-name {
    font-size: 14px;
    font-weight: 600
}

.study-view-wrap .question-date {
    font-size: 12px;
    color: #718096;
    display: flex;
    align-items: center;
    gap: 4px
}

.study-view-wrap .question-content {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 16px
}

.study-view-wrap .question-stats {
    display: flex;
    justify-content: space-between
}

.study-view-wrap .stats-left {
    display: flex;
    gap: 16px;
    color: #718096
}

.study-action-row {
    display: flex;
    gap: 10px;
    margin-top: 14px
}

.study-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 2px solid #8b5db9;
    border-radius: 999px;
    padding: 8px 16px;
    background: #fff;
    color: #8b5db9;
    font-weight: 700
}

.study-action-btn.like {
    background: #fff;
    color: #8b5db9;
    border-color: #8b5db9
}

.study-action-btn.like.is-on {
    background: #8b5db9;
    color: #fff
}

.study-action-btn.bookmark {
    background: #fff;
    color: #f2993a;
    border-color: #f2993a
}

.study-action-btn.bookmark.is-on {
    background: #f2993a;
    color: #fff
}

.study-action-btn .material-symbols-outlined {
    font-size: 18px
}

.study-action-btn.list {
    border-color: #cbd5e1;
    color: #475569;
    background: #fff;
    text-decoration: none
}

.study-view-wrap .section-header {
    padding: 20px;
    border-bottom: 1px solid #E2E8F0
}

.study-view-wrap .section-title {
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px
}

.study-question-detail-page #bo_v_btn,.study-question-detail-page #bo_v_top,.study-question-detail-page #bo_v_bot,.study-question-detail-page .bo_v_nb,.study-question-detail-page .bo_v_share,.study-question-detail-page .cmt_btn,.study-question-detail-page #bo_v_file,.study-question-detail-page #bo_v_link,.study-question-detail-page #bo_v_act,.study-question-detail-page #bo_v_img {
    display: none!important
}

.study-question-detail-page #bo_vc {
    display: block!important;
    padding: 0;
    margin: 0;
    background: #fff
}

.study-question-detail-page #bo_vc h2 {
    display: none
}

.study-question-detail-page #bo_vc article {
    display: flex;
    gap: 12px;
    padding: 22px 20px;
    border-bottom: 1px solid #F1F5F9;
    margin: 0;
    background: #fff
}

.study-question-detail-page #bo_vc article:last-child {
    border-bottom: none
}

.study-question-detail-page #bo_vc .pf_img {
    display: block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex: 0 0 40px
}

.study-question-detail-page #bo_vc .pf_img img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.study-question-detail-page #bo_vc .cm_wrap {
    margin: 0;
    flex: 1;
    min-width: 0
}

.study-question-detail-page #bo_vc header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    margin: 0 0 8px 0
}

.study-question-detail-page #bo_vc header .sound_only {
    display: none!important
}

.study-question-detail-page #bo_vc header > span:first-of-type {
    font-size: 14px;
    font-weight: 700;
    color: #111827;
    line-height: 1.25
}

.study-question-detail-page #bo_vc header .bo_vc_hdinfo {
    display: inline-flex;
    align-items: center;
    color: #94a3b8;
    font-size: 13px;
    margin: 0
}

.study-question-detail-page #bo_vc .bo_vl_opt {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 8px
}

.study-question-detail-page #bo_vc .btn_cm_opt {
    display: none
}

.study-question-detail-page #bo_vc .bo_vc_act {
    position: static;
    display: flex!important;
    gap: 10px;
    background: none;
    border: 0;
    padding: 0
}

.study-question-detail-page #bo_vc .bo_vc_act li {
    list-style: none
}

.study-question-detail-page #bo_vc .bo_vc_act li a {
    display: inline-flex;
    align-items: center;
    padding: 0;
    border: 0;
    background: none;
    color: #7c4cc9;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none
}

.study-question-detail-page #bo_vc .cmt_contents p {
    font-size: 18px;
    color: #1f2937;
    line-height: 1.58;
    white-space: pre-line;
    word-break: keep-all
}

.study-question-detail-page #bo_vc .cmt_contents p .fa {
    color: #8b5db9
}

.study-question-detail-page #bo_vc .answer-like-mini {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #64748b;
    font-size: 14px;
    margin-top: 8px
}

.study-question-detail-page #bo_vc_empty {
    padding: 28px 20px;
    color: #718096
}

.study-question-detail-page #bo_vc_w {
    position: sticky;
    bottom: 0;
    z-index: 20;
    background: #fff;
    padding: 14px 16px;
    border-top: 1px solid #E2E8F0
}

.study-question-detail-page #bo_vc_w h2,.study-question-detail-page #bo_vc_w .bo_vc_w_info,.study-question-detail-page #bo_vc_w .sound_only {
    display: none!important
}

.study-question-detail-page #fviewcomment {
    display: flex;
    align-items: center;
    gap: 10px
}

.study-question-detail-page #bo_vc_w .bo_vc_w_wr {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0
}

.study-question-detail-page #bo_vc_w .btn_confirm {
    margin: 0;
    display: flex;
    align-items: center
}

.study-question-detail-page #bo_vc_w .secret_cm {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-right: 8px
}

.study-question-detail-page #bo_vc_w .secret_cm label {
    font-size: 12px;
    color: #64748b
}

.study-question-detail-page #bo_vc_w textarea {
    flex: 1;
    background: #F7FAFC;
    border: 2px solid #D7DFEA;
    border-radius: 999px;
    padding: 12px 18px;
    font-size: 15px;
    color: #1f2937;
    resize: none;
    height: 44px;
    min-height: 44px;
    max-height: 44px;
    line-height: 1.2;
    overflow: hidden
}

.study-question-detail-page #bo_vc_w textarea::placeholder {
    color: #9ca3af
}

.study-question-detail-page #bo_vc_w textarea:focus {
    outline: none;
    border-color: #cbd5e1;
    background: #fff
}

.study-question-detail-page #bo_vc_w .btn_submit {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    padding: 0;
    border: 0;
    background: #cbd5e1;
    color: transparent;
    font-size: 0;
    position: relative;
    display: block
}

.study-question-detail-page #bo_vc_w .btn_submit:before {
    content: "send";
    font-family: "Material Icons";
    font-size: 20px;
    line-height: 40px;
    color: #fff;
    position: absolute;
    left: 0;
    right: 0;
    text-align: center
}

.study-question-detail-page #bo_vc article {
    background: #fff
}

.study-write-wrap {
    background: #F7FAFC;
    padding: 20px 20px 170px
}

.study-write-wrap .form-section {
    /* background:#fff; */
    border-radius: 16px;
    padding: 0px;
    margin-bottom: 20px;
    /* box-shadow:0 2px 8px rgba(0,0,0,.05); */
}

.study-write-wrap .section-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px
}

.study-write-wrap .form-group {
    margin-bottom: 10px;
}

.study-write-wrap .form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
}

.study-write-wrap .required {
    color: #E53E3E
}

.study-write-wrap .form-input,.study-write-wrap .form-select,.study-write-wrap .form-textarea {
    width: 100%;
    padding: 5px;
    border: 1px solid #E2E8F0;
    border-radius: 6px;
    font-size: 13px;
}

.study-write-wrap .form-textarea {
    height: 140px;
    resize: vertical
}

.study-write-wrap .study-editor-wrap {
    border: 2px solid #E2E8F0;
    border-radius: 12px;
    overflow: hidden;
    background: #fff
}

.study-write-wrap .study-editor-wrap iframe {
    width: 100%;
    max-width: 100%
}

.study-write-wrap .study-editor-wrap .smarteditor2 {
    width: 100%!important;
    max-width: 100%!important;
    min-width: 0!important
}

.study-write-wrap .study-editor-wrap .se2_input_area, .study-write-wrap .study-editor-wrap .se2_iframe, .study-write-wrap .study-editor-wrap .se2_tool {
    width: 100%!important;
    max-width: 100%!important
}

.study-write-wrap .study-editor-wrap .se2_tool {
    overflow-x: auto;
    overflow-y: hidden
}

.study-write-wrap .study-editor-wrap .se2_tool .se2_icon_tool {
    white-space: nowrap
}

.study-write-wrap .study-editor-wrap, .study-write-wrap .study-editor-wrap * {
    box-sizing: border-box
}

.study-write-wrap .study-editor-wrap table {
    width: 100%!important;
    max-width: 100%!important;
    table-layout: fixed
}

.study-write-wrap .study-editor-wrap td {
    max-width: 100%!important
}

@media (max-width: 768px) {
    .study-write-wrap .study-editor-wrap .se2_resize_tool {
        display:none!important
    }
    .help-text{
        font-size:13px;color:#e04a3f;
    }
}

.study-write-wrap .sound_only {
    position: absolute!important;
    width: 1px!important;
    height: 1px!important;
    padding: 0!important;
    margin: -1px!important;
    overflow: hidden!important;
    clip: rect(0,0,0,0)!important;
    border: 0!important
}

.study-write-wrap .submit-section {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 60px;
    background: #fff;
    padding: 12px 16px;
    box-shadow: 0 -4px 12px rgba(0,0,0,.1);
    z-index: 15;
    transition: bottom 0.28s cubic-bezier(0.4,0,0.2,1)
}

body.sd-scroll-down .study-write-wrap .submit-section {
    bottom: 0
}

.study-write-wrap .submit-btn {
    display: block;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 14px;
    border: 0;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(135deg,#8B5DBA 0%,#6B46C1 100%);
    font-weight: 600
}
