@charset "utf-8";

/* Tuber Guide Board skin override */
body {
    background: #ffffff !important;
    background-color: #ffffff !important;
    color: #1e293b !important;
}

/* Base documentation style resets */
.content_wrap .txtCon .sub_title h1 {
    color: #0f172a !important;
}
.content_wrap .txtCon .sub_title h1:before {
    background-color: #cbd5e1 !important;
}
.content_wrap .txtCon .sub_title .sub_title {
    color: #64748b !important;
}

/* Category pills */
#bo_cate {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 20px 0 30px 0 !important;
    text-align: center;
}
#bo_cate ul {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    zoom: 1;
}
#bo_cate ul:after {display:block;visibility:hidden;clear:both;content:""}
#bo_cate li {display:inline-block;padding:0 !important;}
#bo_cate a {
    display: block;
    line-height: 36px;
    padding: 0 20px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #475569;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}
#bo_cate a:hover {
    text-decoration: none;
    background: #f1f5f9;
    color: #0f172a;
    border-color: #cbd5e1;
}
#bo_cate #bo_cate_on {
    z-index: 2;
    background: #fe2c55 !important;
    color: #fff !important;
    font-weight: bold;
    border: 1px solid #fe2c55 !important;
    box-shadow: 0 4px 6px -1px rgba(254, 44, 85, 0.2);
}

/* Tuber Guide Header & Search Bar */
.guide-header {
    text-align: center;
    padding: 60px 20px 40px;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    border-radius: 16px;
    margin-bottom: 30px;
    border: 1px solid #f1f5f9;
}
.guide-title {
    font-size: 32px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin-bottom: 12px !important;
    letter-spacing: -0.025em;
}
.guide-subtitle {
    font-size: 16px !important;
    color: #64748b !important;
    margin-bottom: 32px !important;
}
.guide-search-box {
    max-width: 540px;
    margin: 0 auto;
}
.search-input-group {
    display: flex;
    border: 1px solid #cbd5e1;
    border-radius: 50px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
    transition: all 0.2s ease;
}
.search-input-group:focus-within {
    border-color: #fe2c55;
    box-shadow: 0 4px 20px rgba(254, 44, 85, 0.1);
}
.search-input-group select {
    border: none;
    background: #f8fafc;
    color: #475569;
    padding: 0 16px 0 20px;
    height: 48px;
    font-size: 14px;
    font-weight: 500;
    outline: none;
    border-right: 1px solid #cbd5e1;
    cursor: pointer;
    border-radius: 0;
}
.search-input-group input {
    border: none;
    padding: 0 20px;
    flex-grow: 1;
    outline: none;
    font-size: 15px;
    color: #1e293b;
}
.search-input-group input::placeholder {
    color: #94a3b8;
}
.search-submit-btn {
    border: none;
    background: #fe2c55;
    color: #ffffff;
    padding: 0 28px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}
.search-submit-btn:hover {
    background: #e11d48;
}

/* Align total and checkbox */
#bo_list_total_group {
    display: flex;
    align-items: center;
    gap: 16px;
}
#bo_list_total_group #gall_allchk {
    margin-bottom: 0 !important;
    padding: 6px 12px !important;
    background: #f8fafc;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

/* Styled Write Guide Button */
.btn_write_guide {
    background: #fe2c55 !important;
    border: 1px solid #fe2c55 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    padding: 0 18px !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px;
    height: 38px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 4px 6px -1px rgba(254, 44, 85, 0.15);
}
.btn_write_guide:hover {
    background: #e11d48 !important;
    border-color: #e11d48 !important;
    box-shadow: 0 4px 12px rgba(254, 44, 85, 0.25);
}
.btn_write_guide i {
    font-size: 12px;
}

/* Control top bar styling */
#bo_btn_top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
}
#bo_list_total {
    font-size: 14px;
    color: #64748b;
}
#bo_list_total span {
    font-weight: 600;
    color: #0f172a;
    margin-right: 8px;
}

.btn_bo_user {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
}
.btn_bo_user li {
    position: relative;
    display: inline-block;
}

/* Base button styling */
.btn_bo_user .btn, .btn_b01 {
    width: 38px;
    height: 38px;
    padding: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: #ffffff !important;
    color: #475569 !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease !important;
    text-decoration: none;
}
.btn_bo_user .btn:hover, .btn_b01:hover {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
    color: #0f172a !important;
}

/* Special Button States */
.btn_bo_user .btn_admin {
    background: #fee2e2 !important;
    border-color: #fecaca !important;
    color: #fe2c55 !important;
}
.btn_bo_user .btn_admin:hover {
    background: #fecaca !important;
    color: #fe2c55 !important;
}

/* More Options Dropdown styling */
.more_opt {
    display: none;
    position: absolute;
    right: 0;
    top: 45px;
    z-index: 100;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    padding: 6px 0;
    list-style: none;
    min-width: 110px;
}
.more_opt li {
    display: block;
    width: 100%;
}
.more_opt li a, .more_opt li button {
    display: block;
    width: 100%;
    padding: 10px 16px;
    background: none;
    border: none;
    font-size: 13px;
    color: #334155;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s ease;
}
.more_opt li a:hover, .more_opt li button:hover {
    background: #f1f5f9;
    color: #0f172a;
}

/* Checkbox and Select all styling */
#gall_allchk {
    margin-bottom: 20px;
    padding: 12px 20px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
}
.chk_box label {
    font-size: 14px;
    color: #475569;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.chk_box input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #fe2c55;
    cursor: pointer;
}

/* Empty list placeholder styling */
.empty_list {
    text-align: center;
    padding: 100px 20px !important;
    background: #ffffff;
    border: 1px dashed #cbd5e1;
    border-radius: 16px;
    color: #94a3b8;
    font-size: 15px;
    font-weight: 500;
    margin: 20px 0;
    width: 100% !important;
    box-sizing: border-box;
}
.empty_list i {
    font-size: 40px;
    color: #cbd5e1;
    margin-bottom: 16px;
    display: block;
}

/* Card layout for guide grid list */
#bo_gall {
    padding: 10px 0;
}
.gall_row {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 24px !important;
    list-style: none;
    padding: 0;
    margin: 20px 0 !important;
}
.gall_row .gall_li {
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}
.gall_box {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    overflow: hidden;
    height: 100%;
    position: relative;
}
.gall_box:hover {
    border-color: #fe2c55 !important;
    box-shadow: 0 10px 20px rgba(254, 44, 85, 0.05), 0 4px 6px rgba(254, 44, 85, 0.02) !important;
    transform: translateY(-4px);
}
.gall_chk {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 10;
}
.gall_img {
    border-bottom: 1px solid #f1f5f9;
    height: 220px;
    overflow: hidden;
    background: #0F131C !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    box-sizing: border-box;
}
.gall_img a {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}
.gall_img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}
.gall_text_href {
    padding: 16px 10px 20px !important;
}
.gall_text_href .bo_cate_link {
    display: inline-block;
    background: #fee2e2;
    color: #fe2c55;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: 10px;
    text-decoration: none;
}
.gall_text_href .bo_tit {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin-bottom: 8px !important;
    line-height: 1.4;
    display: block;
    text-decoration: none;
}
.gall_text_href .bo_tit:hover {
    color: #fe2c55 !important;
}
.gall_text_href .bo_cnt {
    font-size: 14px !important;
    color: #64748b !important;
    line-height: 1.6;
    display: block;
}

/* Detail View Layout */
.guide-detail-wrap {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 30px;
}
.guide-top-row {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 24px !important;
    width: 100% !important;
}
.guide-sec-img, .guide-sec-desc {
    flex: 1 1 45% !important;
    box-sizing: border-box !important;
}
@media (max-width: 991px) {
    .guide-sec-img, .guide-sec-desc {
        flex: 1 1 100% !important;
    }
}
.guide-sec {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}
.guide-sec-title {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 2px solid #fe2c55;
    padding-bottom: 12px;
}
.guide-sec-title i {
    color: #fe2c55;
}
.guide-img-container {
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.guide-img-container img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}
.guide-text-card {
    font-size: 16px;
    color: #334155;
    line-height: 1.8;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    padding: 24px;
    word-break: keep-all;
}
.guide-setting-card {
    background: #fffbeb;
    border-color: #fef3c7;
    color: #451a03;
}

@media (max-width: 768px) {
    .guide-detail-wrap {
        gap: 20px;
        margin-top: 15px;
    }
    .guide-top-row {
        gap: 16px !important;
    }
    .guide-sec {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        border-radius: 0 !important;
    }
    .guide-sec-title {
        font-size: 18px !important;
        margin-bottom: 12px !important;
        padding-bottom: 8px !important;
    }
    .guide-img-container {
        padding: 10px !important;
        background: #f8fafc !important;
        border-radius: 8px !important;
    }
    .guide-text-card {
        padding: 12px !important;
        background: #f8fafc !important;
        border-radius: 8px !important;
    }
    .guide-setting-card {
        background: #fffbeb !important;
    }
    .gall_img {
        background: #0F131C !important;
    }
    .gall_img img {
        object-fit: contain !important;
    }
}

/* Write Form Layout */
.guide_form_section {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}
.guide_form_label {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}
.guide_form_label strong {
    color: #ef4444;
    margin-left: 4px;
}

/* General Buttons and Inputs in Skin */
.btn_submit {
    background: #fe2c55 !important;
    color: #ffffff !important;
    border: none;
    border-radius: 8px;
    padding: 10px 24px;
    font-weight: 600;
    cursor: pointer;
}
.btn_submit:hover {
    background: #e11d48 !important;
}
.btn_cancel {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 24px;
    text-decoration: none;
    display: inline-block;
}
.btn_cancel:hover {
    background: #e2e8f0;
}
.frm_input {
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    height: 40px;
    padding: 0 12px;
    font-size: 14px;
    outline: none;
    background: #ffffff;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}
.frm_input:focus {
    border-color: #fe2c55;
}
.file_wr {
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #ffffff;
    height: 40px;
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 45px;
    overflow: hidden;
}
.file_wr .lb_icon {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 40px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #cbd5e1;
    color: #64748b;
}
.file_wr .frm_file {
    font-size: 14px;
    color: #475569;
}
.file_del {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: #64748b;
}
#bo_v {
    background: #ffffff;
    padding: 30px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    margin-bottom: 40px;
}
#bo_v_title {
    margin-bottom: 20px;
}
.bo_v_cate {
    background: #fee2e2;
    color: #fe2c55;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    margin-right: 8px;
    vertical-align: middle;
}
.bo_v_tit {
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    vertical-align: middle;
}
.profile_info {
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 20px;
    margin-bottom: 30px;
}
.profile_info img {
    border-radius: 50%;
}
.profile_info_ct {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
}
.profile_info_ct strong {
    color: #334155;
    margin-right: 15px;
}
.profile_info_ct strong i {
    margin-right: 4px;
}
.if_date {
    float: right;
}
#bo_btn_top, .bo_v_com {
    margin-bottom: 20px;
}

/* Bottom Action bar */
.bo_fx {
    display: flex;
    justify-content: flex-end;
    margin: 20px 0;
}

/* Search Modal Overlay styling */
.bo_sch_wrap {
    display: none;
}
.bo_sch_bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(4px);
    z-index: 1000;
}
.bo_sch {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1001;
    background: #ffffff;
    padding: 30px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    width: 90%;
    max-width: 400px;
}
.bo_sch h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 20px;
}
.bo_sch select {
    width: 100%;
    height: 42px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 0 10px;
    font-size: 14px;
    outline: none;
    margin-bottom: 12px;
    background: #ffffff;
}
.sch_bar {
    position: relative;
    display: flex;
}
.sch_input {
    width: 100%;
    height: 42px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 0 45px 0 12px;
    font-size: 14px;
    outline: none;
}
.sch_input:focus {
    border-color: #fe2c55;
}
.sch_btn {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 42px;
    background: none;
    border: none;
    color: #fe2c55;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.bo_sch_cls {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 18px;
    color: #64748b;
    cursor: pointer;
    transition: color 0.2s ease;
}
.bo_sch_cls:hover {
    color: #ef4444;
}


/* Main Write Form Styling */
#bo_w {
    max-width: 900px;
    margin: 40px auto;
    padding: 40px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
}
#bo_w .bo_w_tit {
    margin-bottom: 24px;
}
#bo_w .bo_w_tit label {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}
#bo_w .bo_w_tit .frm_input {
    height: 48px;
    font-size: 16px;
    font-weight: 500;
    border-color: #cbd5e1;
    width: 100%;
}
#bo_w .bo_w_tit .frm_input:focus {
    border-color: #fe2c55;
    box-shadow: 0 0 0 3px rgba(254, 44, 85, 0.1);
}
#bo_w .bo_w_select select {
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    height: 42px;
    padding: 0 12px;
    outline: none;
    font-size: 14px;
    background: #ffffff;
}
#bo_w .bo_w_select select:focus {
    border-color: #fe2c55;
}

/* Checkbox Options on Write Form */
.bo_v_option {
    display: flex;
    gap: 16px;
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}
.bo_v_option li {
    display: flex !important;
    align-items: center;
}
.bo_v_option .chk_box {
    position: relative;
    display: inline-flex;
    align-items: center;
}
/* Hide native checkbox */
.bo_v_option input[type="checkbox"].selec_chk {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.bo_v_option input[type="checkbox"].selec_chk + label {
    position: relative;
    padding-left: 26px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #475569;
    user-select: none;
    display: inline-flex;
    align-items: center;
    margin: 0;
}
.bo_v_option input[type="checkbox"].selec_chk + label span {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border: 2px solid #cbd5e1;
    border-radius: 4px;
    background: #ffffff;
    transition: all 0.2s ease;
}
.bo_v_option input[type="checkbox"].selec_chk:checked + label span {
    border-color: #fe2c55;
    background-color: #fe2c55;
}
/* Checkmark inside span */
.bo_v_option input[type="checkbox"].selec_chk:checked + label span::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.bo_v_option input[type="checkbox"].selec_chk + label:hover span {
    border-color: #fe2c55;
}

/* Guest Info fields wrapper */
.bo_w_info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}
.bo_w_info .frm_input {
    width: 100% !important;
    margin: 0 !important;
}

/* Structured form guide section */
.guide_form_section {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}
.guide_form_label {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}
.guide_form_label strong {
    color: #fe2c55;
    margin-left: 4px;
}
.guide_form_section textarea {
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
    padding: 14px;
    width: 100%;
    box-sizing: border-box;
    outline: none;
    transition: all 0.2s ease;
    background: #ffffff;
    resize: vertical;
}
.guide_form_section textarea:focus {
    border-color: #fe2c55;
    box-shadow: 0 0 0 3px rgba(254, 44, 85, 0.1);
}

/* File Input Container */
.file_wr {
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #ffffff;
    height: 46px;
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 48px;
    overflow: hidden;
}
.file_wr .lb_icon {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 48px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #cbd5e1;
    color: #64748b;
    font-size: 16px;
}
.file_wr .frm_file {
    font-size: 14px;
    color: #475569;
    padding: 0 12px;
    cursor: pointer;
    border: none;
    width: 100%;
}
.file_del {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    color: #64748b;
}

/* Buttons confirmations in write form */
#bo_w .btn_confirm {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 30px;
    border-top: 1px solid #f1f5f9;
    padding-top: 24px;
}
#bo_w .btn_submit {
    background: #fe2c55 !important;
    color: #ffffff !important;
    border: none;
    border-radius: 8px;
    padding: 12px 28px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s ease;
}
#bo_w .btn_submit:hover {
    background: #e11d48 !important;
}
#bo_w .btn_cancel {
    background: #f1f5f9 !important;
    color: #475569 !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 12px 28px !important;
    font-weight: 500 !important;
    font-size: 15px !important;
    text-decoration: none !important;
    display: inline-block !important;
    height: auto !important;
    width: auto !important;
    line-height: normal !important;
}
#bo_w .btn_cancel:hover {
    background: #e2e8f0 !important;
}

@media screen and (max-width: 1024px) {
    .gall_row {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
@media screen and (max-width: 640px) {
    .gall_row {
        grid-template-columns: repeat(1, 1fr) !important;
    }
}

/* Markdown Styling */
.markdown-body {
    font-size: 15px !important;
    line-height: 1.7 !important;
    color: #334155 !important;
}
.markdown-body p {
    margin-bottom: 12px !important;
}
.markdown-body ul, .markdown-body ol {
    padding-left: 24px !important;
    margin: 12px 0 !important;
    list-style-position: outside !important;
}
.markdown-body ul {
    list-style-type: disc !important;
}
.markdown-body ol {
    list-style-type: decimal !important;
}
.markdown-body li {
    margin-bottom: 6px !important;
}
.markdown-body strong {
    font-weight: 700 !important;
    color: #0f172a !important;
}
.markdown-body blockquote {
    border-left: 4px solid #cbd5e1 !important;
    padding-left: 16px !important;
    color: #64748b !important;
    margin: 16px 0 !important;
}
.markdown-body code {
    background: #f1f5f9 !important;
    color: #e11d48 !important;
    padding: 2px 6px !important;
    border-radius: 4px !important;
    font-size: 13px !important;
    font-family: monospace !important;
}

/* Next/Prev Navigation Bar - Spacious & Clean */
.bo_v_nb {
    margin: 30px 0 !important;
    padding: 0 !important;
    list-style: none !important;
    border-top: 1px solid #f1f5f9 !important;
    border-bottom: 1px solid #f1f5f9 !important;
}
.bo_v_nb li {
    display: flex !important;
    align-items: center !important;
    padding: 15px 10px !important;
    font-size: 14px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    background: transparent !important;
}
.bo_v_nb li:last-child {
    border-bottom: none !important;
}
.bo_v_nb li .nb_tit {
    font-weight: 700 !important;
    color: #64748b !important;
    margin-right: 15px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    flex-shrink: 0 !important;
}
.bo_v_nb li a {
    color: #334155 !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    flex-grow: 1 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}
.bo_v_nb li a:hover {
    color: #fe2c55 !important;
}
.bo_v_nb li .nb_date {
    font-size: 12px !important;
    color: #94a3b8 !important;
    margin-left: 15px !important;
    flex-shrink: 0 !important;
}

/* Bottom Admin Buttons Layout - Prevent word wrapping */
#bo_v_bot a.btn_b01 {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    height: 40px !important;
    width: auto !important;
    min-width: 80px !important;
    padding: 0 16px !important;
    white-space: nowrap !important;
    word-break: keep-all !important;
    line-height: 40px !important;
    box-sizing: border-box !important;
    border-radius: 8px !important;
}