@charset "utf-8";

/* ============================================================
   BAMBANGKOK STYLE - VIETFLEX PREMIUM VIBRANT WHITE
   Base: Gnuboard 5 Basic Theme (Fancy White Edition)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&family=Noto+Sans+KR:wght@300;400;700;900&display=swap');

/* 1. Global Reset & Overrides */
body {
    font-family: 'Outfit', 'Noto Sans KR', sans-serif !important;
    background-color: #f5f6f8 !important;
    color: #1a1a1e !important;
    padding: 0 !important;
    margin: 0 !important;
    -webkit-font-smoothing: antialiased;
}

/* Neutralize Gnuboard Defaults - RIGID CENTERING */
#hd_wrapper,
#wrapper,
#ft_wr {
    max-width: 1300px !important;
    width: 100% !important;
    margin: 0 auto !important;
}

#hd,
#ft {
    width: 100% !important;
}

#tnb {
    position: static !important;
}

#hd_qlnk {
    display: none !important;
}

/* 2. Unified Container System */
.vf_container {
    max-width: 1300px;
    width: 100%;
    margin: 0 auto !important;
    display: flex;
    align-items: center;
    padding: 0 30px;
    position: relative;
}

/* Header Sections */
#vf_header {
    background: rgba(255, 255, 255, 0.85);
    /* Trendy Glassmorphism */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    width: 100%;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.vf_top_bar {
    background: #fafafa;
    border-bottom: 1px solid #f1f1f1;
    height: 40px;
    font-size: 13px;
    width: 100%;
}

.vf_top_bar .vf_container {
    justify-content: space-between;
}

.vf_top_info {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #666;
    font-weight: 500;
}

.vf_date {
    color: #00d4ff;
    font-weight: 700;
}

.vf_top_info a {
    color: #666;
    text-decoration: none;
}

.vf_top_info a:hover {
    color: #111;
}

.vf_top_links {
    display: flex;
    align-items: center;
    gap: 20px;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.vf_top_links li {
    margin: 0 !important;
    padding: 0 !important;
}

.vf_top_links a {
    color: #666;
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
    transition: 0.2s;
}

.vf_top_links a:hover {
    color: #111;
}

.vf_main_header {
    height: 120px;
    border-bottom: 1px solid rgba(241, 241, 241, 0.5);
    background: transparent;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.vf_main_header .vf_container {
    justify-content: space-between;
}

.vf_main_header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #00d4ff, #fe2c55, #00d4ff);
    background-size: 200% auto;
    animation: neonMove 5s linear infinite;
}

@keyframes neonMove {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 200% center;
    }
}

.vf_logo a {
    display: flex;
    align-items: center;
    height: 120px;
}

.vf_logo img {
    height: 85px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.6)) drop-shadow(0 0 15px rgba(254, 44, 85, 0.4));
    animation: neonPulse 2s infinite alternate ease-in-out;
}

@keyframes neonPulse {
    0% {
        filter: drop-shadow(0 0 5px rgba(0, 212, 255, 0.5)) drop-shadow(0 0 10px rgba(254, 44, 85, 0.3));
    }

    100% {
        filter: drop-shadow(0 0 15px rgba(0, 212, 255, 0.9)) drop-shadow(0 0 25px rgba(254, 44, 85, 0.7));
    }
}

.vf_search_box {
    position: relative;
    width: 400px;
}

.vf_search_box input {
    width: 100%;
    height: 48px;
    border: 2px solid #eee;
    border-radius: 4px;
    padding: 0 60px 0 15px;
    font-size: 15px;
    outline: none;
    background: #fff;
    color: #333;
    transition: 0.3s;
}

.vf_search_box button {
    position: absolute;
    right: 15px;
    top: 12px;
    background: none;
    border: none;
    font-size: 22px;
    color: #00d4ff;
    cursor: pointer;
}

/* Navigation */
.vf_nav {
    background: #1a1a1e;
    height: 60px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.vf_nav .vf_container {
    justify-content: center;
}

#gnb_1dul {
    display: flex !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

#gnb_1dul .gnb_1dli {
    position: relative;
}

#gnb_1dul .gnb_1da {
    color: #fff !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    padding: 0 45px !important;
    height: 60px !important;
    line-height: 60px !important;
    transition: 0.3s;
}

/* Main Content Layout (Flex Enforcement) */
#vf_wrapper {
    max-width: 1300px;
    margin: 40px auto !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    padding: 0 30px;
    gap: 40px;
    width: 100%;
    box-sizing: border-box;
}

#vf_contents {
    flex: 1 !important;
    min-width: 0 !important;
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f1f1;
}

#vf_sidebar {
    width: 360px !important;
    flex-shrink: 0 !important;
    position: sticky;
    top: 140px;
    z-index: 10;
}

/* Sidebar Outlogin & Widgets (High-Contrast) */
.ol_before {
    background: #fff !important;
    padding: 30px !important;
    border-radius: 15px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03) !important;
    border: 1px solid #f1f1f1 !important;
    margin-bottom: 25px;
}

.vf_sidebar_widget {
    background: #fff !important;
    border: 1px solid rgba(238, 238, 238, 0.6) !important;
    border-radius: 20px !important;
    /* Trendy soft round corners */
    padding: 25px !important;
    margin-bottom: 25px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03) !important;
    color: #000 !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vf_sidebar_widget:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06) !important;
}

.widget_title {
    font-size: 17px !important;
    font-weight: 900 !important;
    color: #1a1a1a !important;
    margin-bottom: 20px !important;
    padding-bottom: 12px !important;
    border-bottom: 2px solid #1a1a1a !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Trendy Widget List Styling (Recent Posts & Comments) */
.widget_list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.widget_list li {
    padding: 12px 0;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.08);
    transition: 0.2s;
}

.widget_list li:last-child {
    border-bottom: none;
}

.widget_list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #333;
    font-weight: 500;
    text-decoration: none;
    font-size: 14.5px;
}

.widget_list li a:hover {
    color: #fe2c55;
    padding-left: 5px;
}

.widget_list .date {
    font-size: 12px;
    color: #999;
    font-weight: 400;
    background: #f5f5f5;
    padding: 3px 8px;
    border-radius: 4px;
}

.comment_list li a::before {
    content: "💬";
    margin-right: 8px;
    font-size: 12px;
    opacity: 0.7;
}

/* Visit Counter Styling (Pure Black Focus) */
.vf_visit_widget #visit {
    display: block;
    border-top: 2px solid #111;
    padding-top: 20px;
}

.vf_visit_widget #visit dl {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: grid !important;
    grid-template-columns: 1fr max-content !important;
    gap: 12px 10px !important;
    align-items: center !important;
}

.vf_visit_widget #visit dt,
.vf_visit_widget #visit dd {
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
    font-size: 15px !important;
    color: #111 !important;
    background: transparent !important;
}

.vf_visit_widget #visit dt {
    justify-content: flex-start !important;
}

.vf_visit_widget #visit dd {
    justify-content: flex-end !important;
}

/* For Gnuboard's generic layout which sometimes mixes dt/dd in rows */
.vf_visit_widget #visit dl>div,
.vf_visit_widget #visit dl {
    color: #000 !important;
}

.vf_visit_widget #visit dt {
    font-weight: 900 !important;
    color: #000 !important;
}

.vf_visit_widget #visit dd {
    font-weight: 900 !important;
    color: #000 !important;
}

.vf_visit_widget #visit dt span,
.vf_visit_widget #visit dd strong {
    color: #000 !important;
}

/* Latest Grid */
.vf_section_title {
    font-size: 24px;
    font-weight: 900;
    color: #1a1a1e;
    margin-bottom: 30px;
    border-left: 5px solid #00d4ff;
    padding-left: 15px;
}

.vf_grid_4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

.vf_card {
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid #f1f1f1;
    background: white;
    transition: 0.3s;
}

.vf_card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #00d4ff;
}

.vf_card_img {
    display: block;
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
}

.vf_card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vf_card_text {
    padding: 20px;
    text-align: center;
}

.vf_card_text a {
    color: #1a1a1e;
    font-weight: 800;
    font-size: 16px;
    text-decoration: none;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Custom styling for pic_lt to make it responsive and identical to Premium Desktop */
.pic_lt {
    margin-bottom: 50px !important;
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f1f1;
}

.pic_lt .lat_title {
    font-size: 22px !important;
    font-weight: 900 !important;
    color: #1a1a1e !important;
    margin-bottom: 25px !important;
    border-left: 5px solid #00d4ff;
    padding-left: 15px;
    border-bottom: none !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pic_lt .lat_title a.lt_more {
    font-size: 14px;
    color: #888;
    font-weight: 400;
    text-decoration: none;
    border: none;
}

.pic_lt ul {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.pic_lt .galley_li {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    border: 1px solid #f1f1f1;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pic_lt .galley_li:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border-color: #00d4ff;
}

.pic_lt .lt_img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 4/3;
    display: block;
    overflow: hidden;
}

.pic_lt .lt_img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: 0.3s ease;
}

.pic_lt .galley_li:hover .lt_img img {
    transform: scale(1.05);
}

.pic_lt .galley_li>a {
    text-align: left;
    padding: 15px;
    font-size: 15px;
    font-weight: 700;
    color: #333;
    display: block;
    text-decoration: none;
}

.pic_lt .lt_info {
    padding: 0 15px 15px;
    font-size: 12px;
    color: #888;
}

/* Footer Premium */
#vf_footer {
    background: #fafafa;
    padding: 60px 0;
    border-top: 1px solid #eee;
    text-align: center;
    width: 100%;
}

.vf_footer_links {
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.vf_footer_info {
    font-size: 12px;
    color: #aaa;
    line-height: 2;
}

/* 7. Responsive Design (Perfect Mobile Flow) */
@media (max-width: 991px) {
    #vf_wrapper {
        flex-direction: column !important;
        flex-wrap: wrap !important;
    }

    #vf_sidebar {
        width: 100% !important;
        position: static !important;
        order: 2 !important;
    }

    #vf_contents {
        order: 1 !important;
        width: 100% !important;
    }

    .vf_grid_4 {
        grid-template-columns: repeat(3, 1fr);
    }

    .pic_lt ul {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .vf_main_header {
        height: auto;
        padding: 20px 0;
    }

    .vf_main_header .vf_container {
        flex-direction: column;
        gap: 15px;
    }

    .vf_logo img {
        height: 60px;
    }

    .vf_search_box {
        width: 100% !important;
        max-width: 400px;
        margin: 0 auto;
    }

    .vf_search_box input {
        height: 42px;
        font-size: 14px;
    }

    #gnb_1dul {
        white-space: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
    }

    #gnb_1dul .gnb_1da {
        padding: 0 20px !important;
        font-size: 15px !important;
    }

    #vf_contents {
        padding: 20px;
    }

    .vf_grid_4 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px;
    }

    .pic_lt {
        padding: 20px;
    }

    .pic_lt ul {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }

    .vf_card_text a {
        font-size: 14px;
    }
}