/* ============================================================
   GLOBAL RESET / BASE
   ============================================================ */
* { box-sizing: border-box; }

a, aside, b, body, center, div, footer, h1, h2, h3, h4, h5, h6,
header, html, i, img, li, nav, p, q, s, span, time, ul, var, video {
    margin: 0;
    padding: 0;
    border: 0;
    font: inherit;
    vertical-align: baseline;
}
ul { list-style: none; }
q { quotes: none; }
q:after, q:before { content: ''; content: none; }
aside, footer, header, nav { display: block; }

body {
    font-size: 15px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 400;
    line-height: 20px;
    padding: 0;
    margin: 0 auto;
    color: #414141;
    background: #c7c7c7;
    min-width: 0;
}
html {
    text-rendering: optimizeLegibility !important;
    -webkit-font-smoothing: antialiased !important;
}
img, video { max-width: 90%; height: auto; }
video { display: block; }

a { cursor: pointer; }
a:link { text-decoration: none; color: #06790a; }
a:hover { text-decoration: underline; color: #08990e; }

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 18px;
    font: inherit;
    font-weight: 700;
    line-height: 1.62em;
}
h1 { font-size: 32px; }
h2 { font-size: 24px; }
h3 { font-size: 18px; }
h4 { font-size: 16px; }
h5 { font-size: 15px; }
h6 { font-size: 14px; }

p { margin-bottom: 24px; }
b { font-weight: 700; }
ul { list-style-type: disc; margin-left: 30px; margin-bottom: 24px; }
ul li { margin-top: 4px; padding: 4px 0; }
ul ul { list-style-type: square; margin-bottom: 0; }
ul ul ul { list-style-type: circle; }

/* Scrollbars */
::-webkit-scrollbar { width: 13px; height: 13px; }
::-webkit-scrollbar-track { box-shadow: inset 0 0 6px transparent; }
::-webkit-scrollbar-track-piece { background: #fff; border-radius: 2px; border: 1px solid #000; }
::-webkit-scrollbar-thumb { background: #000; border-radius: 2px; border: 1px solid transparent; }

::selection { background: #75ff75; }
::-moz-selection { background: #75ff75; }


/* ============================================================
   LEGACY COMPATIBILITY
   ============================================================ */
.nav { background-color: #4c4cac; width: 100%; padding: 10px; border-radius: 3px; color: #fff; }
.nav2 { background-color: #fff; width: 100%; padding: 10px; border-radius: 3px; color: #000; }
.row1 { background-color: #fff; width: 100%; padding: 10px; border-radius: 3px; color: #000; }
.publish { display: inline-table; padding: 5px; width: auto; }
.publish select { width: auto !important; font-weight: normal; font-size: small; padding: 5px; margin: 5px; }
.publish input[type=submit] { background-color: #4c4cac; color: #fff; font-size: small; padding: 5px 10px; margin: 5px; }
.thelist-div { background: #fff; padding: 20px; border-top: 1px solid #333; line-height: 1.5em; }
.thelist-div a { border: 1px solid #ccc; margin-left: 15px; margin-bottom: 10px; text-transform: uppercase; color: #000; font-weight: bold; font-size: 15px; padding: 5px !important; display: inline-block; }
.thevlist-div { background: #fff; padding: 10px; border-top: 1px solid #333; }
.thevlist-div a { border: 1px solid #ccc; margin-left: 15px; margin-bottom: 10px; text-transform: uppercase; color: #000; font-weight: bold; font-size: 15px; padding: 5px !important; display: inline-block; }
.post-text, .video-about { font-size: 17px; line-height: 1.5 !important; }
.ddetails { padding-left: 10px; }
.song-info ul.id3-info { margin-left: 45px !important; }
.mpostheader .div { border-bottom: 0; }

/* ============================================================
   PC HEADER (Top bars + pill nav)
   ============================================================ */
#main-header, .pc-header { position: relative; z-index: 9999 !important; contain: layout style; }
.pc-nav li.is-parent > ul { z-index: 100000 !important; }

.pc-logged-bar {
    background: #111;
    color: #d5d5d5;
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
.pc-logged-bar .pc-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.pc-user {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #d5d5d5;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: color 0.2s ease;
}
.pc-user i { color: #00a32a; font-size: 14px; }
.pc-user:hover { color: #ffffff; }

.pc-user-actions {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.pc-user-actions a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #d5d5d5;
    text-decoration: none;
    font-size: 12.5px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
    transition: background 0.2s ease, color 0.2s ease;
}
.pc-user-actions a i { color: #00a32a; font-size: 12px; }
.pc-user-actions a:hover { background: rgba(0, 163, 42, 0.12); color: #fff; }
.pc-user-actions a:hover i { color: #00d135; }

.pc-header {
    background: #1a1a1a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
.pc-header .pc-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 68px;
}
.pc-logo { flex-shrink: 0; display: inline-flex; align-items: center; text-decoration: none; }
.pc-logo img { max-height: 42px; width: auto; display: block; }

.pc-nav {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.pc-nav li { margin: 0; padding: 0; position: relative; }
.pc-nav li a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    color: #e0e0e0;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    border-radius: 22px;
    transition: background 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}
.pc-nav li a i { font-size: 13px; color: #00a32a; transition: color 0.2s ease; }
.pc-nav li a:hover { background: rgba(0, 163, 42, 0.14); color: #fff; }
.pc-nav li a:hover i { color: #00d135; }
.pc-nav li.active a {
    background: linear-gradient(135deg, #00a32a 0%, #006400 100%);
    color: #ffffff;
    box-shadow: 0 3px 10px rgba(0, 100, 0, 0.3);
}
.pc-nav li.active a i { color: #ffffff; }

/* Dropdown */
.pc-nav li.is-parent > a::after {
    content: "\f107";
    font-family: FontAwesome;
    font-size: 9px;
    margin-left: 4px;
    color: #7a8a7a;
    transition: transform 0.2s ease, color 0.2s ease;
    display: inline-block;
}
.pc-nav li.is-parent:hover > a::after { transform: rotate(180deg); color: #fff; }
.pc-nav li.is-parent > ul {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 220px;
    background: #1f1f1f;
    border: 1px solid rgba(0, 163, 42, 0.15);
    border-radius: 10px;
    padding: 8px;
    list-style: none;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
.pc-nav li.is-parent:hover > ul { opacity: 1; visibility: visible; transform: translateY(0); }
.pc-nav li.is-parent > ul li a {
    display: block;
    padding: 9px 14px;
    font-size: 12.5px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    border-radius: 6px;
    color: #d5d5d5;
}
.pc-nav li.is-parent > ul li a:hover { background: rgba(0, 163, 42, 0.15); color: #fff; }

.pc-search-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    text-decoration: none;
    font-size: 15px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: background 0.2s ease, transform 0.2s ease;
    margin-left: 6px;
}
.pc-search-btn:hover { background: #006400; border-color: #006400; transform: scale(1.05); }
.pc-search-btn i { color: #00a32a; transition: color 0.2s ease; }
.pc-search-btn:hover i { color: #fff; }

@media (max-width: 1024px) {
    .pc-nav li a { padding: 10px 10px; font-size: 12px; }
}

/* ============================================================
   PAGE HEADER — Hybrid design
   ============================================================ */
#page-header,
header#page-header,
header#page-header.alt {
    position: relative;
    z-index: 1 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    max-width: 1200px;
    margin: 20px auto 0;
    padding: 0 20px;
    box-sizing: border-box;
    display: block;
    min-height: 0;
}

#page-title,
h1#page-title {
    display: flex !important;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1 !important;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.2px;
    color: #1a3d1a !important;
    background: #ffffff !important;
    padding: 20px 24px 18px 24px;
    border-radius: 10px;
    border: none;
    border-bottom: 4px solid #00a32a;
    margin: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    word-wrap: break-word;
    overflow-wrap: break-word;
    box-sizing: border-box;
    width: 100%;
    text-align: left;
    text-transform: none;
}

#page-title::before {
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
    background: #00a32a;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 0 4px rgba(0, 163, 42, 0.12);
}
/* ============================================================
   FOOTER
   ============================================================ */
footer#main-footer {
    background-color: #1a1a1a;
    color: #b0b0b0;
    position: relative !important;
    z-index: 1 !important;
    clear: both;
    width: 100%;
    margin-top: 40px;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    font-size: 13px;
    line-height: 1.55;
}
footer#main-footer a { color: #d0d0d0; font-weight: 700; text-shadow: none; text-decoration: none; }
footer#main-footer a:hover { color: #00d135; text-decoration: none; }
footer#main-footer .slots-container { text-align: center; padding: 20px; }
footer#main-footer .slots-container .slot {
    display: inline-block;
    margin: 0 5px;
    vertical-align: top;
    width: 23%;
    text-align: left;
}
footer#main-footer .slots-container .slot .slot-header {
    font-size: 15px;
    line-height: 1.5em;
    padding: 10px 15px;
    border-bottom: 2px solid #006400;
    color: #fff;
    font-weight: 700;
}
footer#main-footer .slots-container .slot .slot-content { padding: 10px; }
footer#main-footer .slots-container .slot .slot-content ul { list-style-type: none; margin: 0; padding: 0; }
footer#main-footer .slots-container .slot .slot-content ul li { padding: 4px 0; margin: 0; }
footer#main-footer .page-gen-time { padding: 13px 10px; text-align: center; font-size: 80%; }
footer#main-footer .copyright {
    text-align: center;
    padding: 18px 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 940px) {
    #top-banner { display: none; }
    #main-footer, .main-content { left: 0; position: relative; transition: left 0.2s ease-out; }
    #main-wrapper { width: auto; float: none; }
    #right-col { width: auto; float: none; margin-left: 0; padding: 0; margin-top: 20px; }
    #contents-column { margin-right: 0; }
    footer#main-footer .slots-container .slot { width: 45%; }
    .sidebar-box { border-left-width: 5px; border-radius: 10px; margin-bottom: 14px; }
    .sidebar-box .box-name { font-size: 13px; padding: 12px 14px 10px 14px; }
}

@media (max-width: 640px) {
    #page-header,
    header#page-header,
    header#page-header.alt { padding: 0 14px; margin: 16px auto 0; }
    #page-title,
    h1#page-title {
        font-size: 18px;
        padding: 16px 18px 14px 18px;
        gap: 10px;
        border-bottom-width: 3px;
    }
    #page-title::before { width: 8px; height: 8px; }
    .cat-header-wrap { margin: 14px 12px 20px; }
    .cat-header { padding: 18px 18px 16px 18px; border-left-width: 5px; }
    .cat-title { font-size: 19px; gap: 10px; margin-bottom: 10px; }
    .cat-title::before { width: 8px; height: 8px; box-shadow: 0 0 0 3px rgba(0, 163, 42, 0.12); }
}

@media (max-width: 560px) {
    footer#main-footer .slots-container .slot { width: auto; display: block; }
    footer#main-footer .slots-container .slot .slot-header { text-align: center; }
    footer#main-footer .slots-container .slot .slot-content { text-align: center; }
    footer#main-footer .slots-container .slot .slot-content ul { margin: 0; }
    footer#main-footer .slots-container .slot .slot-content ul li { display: inline-block; padding: 4px 15px; }
    footer#main-footer .slots-container .slot.on560hide { display: inherit; }
}