/* ============================================================
   AFRICAPICKUP — PC CATEGORY PAGE STYLESHEET
   ------------------------------------------------------------
   For desktop (viewport > 940px).
   Includes: breadcrumb, category header, region grid, song list,
   pagination, sidebar, PC footer.
   ============================================================ */


/* ============================================================
   0. RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0 auto;
    padding: 0;
    background: #f5f5f5;
    color: #3d2a2a;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    font-size: 15px;
    line-height: 1.55;
    min-width: 0;
    overflow-x: hidden;
}

img, video { max-width: 100%; height: auto; display: block; }

a {
    color: #006400;
    text-decoration: none;
    overflow-wrap: break-word;
    word-wrap: break-word;
}
a:hover { color: #00a32a; }

ul { list-style: none; margin: 0; padding: 0; }


/* ============================================================
   1. LAYOUT SAFETY — z-index stack
   ============================================================ */
#main-wrapper,
#contents-column,
main[role="main"],
.main-content,
.content-width {
    position: relative;
    z-index: 1;
    overflow: visible;
    min-width: 0;
    max-width: 100%;
}

.pc-header,
#main-header {
    position: relative;
    z-index: 9999;
}

.pc-nav li.is-parent > ul,
#main-header-nav ul li ul {
    z-index: 100000;
    position: absolute;
}

footer,
footer#main-footer,
#main-footer,
.myfooter {
    position: relative !important;
    z-index: 1 !important;
    clear: both;
    width: 100%;
    max-width: 100%;
}


/* ============================================================
   2. MAIN LAYOUT — content left + sidebar right
   ============================================================ */
#main-wrapper {
    width: 100%;
    float: left;
}

#contents-column {
    padding: 0;
    margin: 0 35% 0 0;
    background-color: rgba(245, 245, 245, .2);
    overflow-x: auto;
    overflow-y: visible;
    word-wrap: break-word;
    position: relative;
    z-index: 12;
    box-sizing: border-box;
    min-width: 0;
}

#right-col {
    width: 35%;
    float: left;
    margin-left: -35%;
    overflow: hidden;
    position: relative;
    z-index: 12;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    padding: 0 0 0 10px;
    box-sizing: border-box;
}

.content-width {
    width: auto;
    max-width: 1150px;
    margin: 0 auto;
}
.content-width.main-content {
    position: relative;
    z-index: 11;
}


/* ============================================================
   3. BREADCRUMB
   ============================================================ */
.cat-breadcrumb,
nav#breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    background: #eef4ef;
    padding: 12px 20px;
    border-radius: 12px 12px 0 0;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    font-size: 12.5px;
    font-weight: 600;
    color: #4a5a4a;
    border-bottom: 1px solid rgba(0, 100, 0, 0.06);
    width: 100%;
    min-width: 0;
    margin: 16px 0 0;
}
.cat-breadcrumb a,
nav#breadcrumbs a {
    color: #006400 !important;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    transition: color 0.2s ease;
}
.cat-breadcrumb a:hover,
nav#breadcrumbs a:hover { color: #00a32a !important; }
.cat-breadcrumb a i,
nav#breadcrumbs a i { font-size: 11px; color: #00a32a; }
.cat-breadcrumb .sep,
nav#breadcrumbs .sep { color: #a0b0a0; font-size: 12px; font-weight: 400; }
.cat-breadcrumb .current {
    color: #2a5a2a;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 300px;
}


/* ============================================================
   4. CATEGORY HEADER
   ============================================================ */
.cat-header-wrap {
    width: 100%;
    max-width: 100%;
    margin: 0 0 24px;
    padding: 0;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    overflow: hidden;
}

.cat-header {
    background: #e4ede6;
    border-left: 6px solid #006400;
    padding: 22px 24px 20px 24px;
    margin: 0;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
}

.cat-title,
h1.cat-title {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.2px;
    color: #2a5a2a !important;
    background: transparent !important;
    border: none !important;
    padding: 0;
    margin: 0 0 12px 0;
    text-transform: none;
    text-align: left;
    width: 100%;
    min-width: 0;
    overflow-wrap: break-word;
}
.cat-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.14);
}

.cat-desc {
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    line-height: 1.65;
    color: #3d2a2a !important;
    margin: 0 0 14px 0;
    max-width: 100%;
    overflow-wrap: break-word;
}
.cat-desc strong,
.cat-desc b { color: #006400 !important; font-weight: 700; }

.cat-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 12px;
}
.cat-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: rgba(255, 255, 255, 0.75);
    border-radius: 20px;
    font-weight: 600;
    color: #006400 !important;
    white-space: nowrap;
}
.cat-chip i { font-size: 11px; color: #00a32a; }


/* ============================================================
   5. CATEGORY BUTTONS — auto-fit grid
   ============================================================ */
.cat-buttons-wrap {
    background: #eef4ef;
    border-left: 6px solid #006400;
    border-radius: 0 0 12px 12px;
    padding: 20px 22px 22px 22px;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
}

.cat-buttons-label {
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #4a5a4a;
    margin: 0 0 14px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.cat-buttons-label::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #00a32a;
    border-radius: 50%;
}

.cat-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
    padding: 0;
    margin: 0;
    width: 100%;
    min-width: 0;
}

.cat-buttons a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #ffffff;
    color: #2a5a2a !important;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    text-decoration: none !important;
    border-radius: 24px;
    border: 1.5px solid rgba(0, 100, 0, 0.12);
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    min-width: 0;
}
.cat-buttons a i {
    font-size: 13px;
    color: #00a32a;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 163, 42, 0.1);
    border-radius: 50%;
}
.cat-buttons a:hover {
    background: linear-gradient(135deg, #00a32a 0%, #006400 100%);
    color: #ffffff !important;
    border-color: #006400;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 100, 0, 0.25);
}
.cat-buttons a:hover i {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.2);
}


/* ============================================================
   6. HOME SECTION — song list wrapper
   ============================================================ */
.home-section {
    width: 100%;
    max-width: 100%;
    margin: 28px 0 32px;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    position: relative;
    z-index: 1;
}
.home-section-header {
    background: #e4ede6;
    border-left: 6px solid #006400;
    border-radius: 12px 12px 0 0;
    padding: 20px 22px 16px 22px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    min-width: 0;
}
.home-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: #2a5a2a;
    margin: 0;
    overflow-wrap: break-word;
}
.home-section-title i {
    font-size: 15px;
    color: #00a32a;
    background: rgba(0, 163, 42, 0.12);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.home-section-sub {
    font-size: 12.5px;
    font-weight: 500;
    color: #5a6a5a;
    margin: 0;
    font-style: italic;
}


/* ============================================================
   7. SONG LIST — table-style for PC
   ============================================================ */
.chart-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    min-width: 0;
}
.chart-li {
    background: #fffefb;
    border-radius: 10px;
    border-left: 4px solid #006400;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    transition: transform 0.15s ease, box-shadow 0.2s ease;
    width: 100%;
    min-width: 0;
}
.chart-li:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.chart-li > a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    text-decoration: none !important;
    color: inherit;
    width: 100%;
    min-width: 0;
}
.chart-li img {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    background: #e4ede6;
}
.chart-li .chart-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0;
}
.chart-li .name-title {
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #2a1a1a !important;
    line-height: 1.3;
    margin: 0 0 3px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.chart-li .artistname {
    font-size: 12.5px;
    color: #006400 !important;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.chart-li .artistname i { font-size: 10px; color: #00a32a; }
.chart-li .chart-play {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 163, 42, 0.1);
    color: #006400;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    transition: all 0.2s ease;
}
.chart-li:hover .chart-play {
    background: linear-gradient(135deg, #00a32a 0%, #006400 100%);
    color: #ffffff;
}


/* ============================================================
   8. NOTICE + AD
   ============================================================ */
.notice {
    padding: 20px;
    text-align: center;
    background: #eef4ef;
    border-radius: 10px;
    color: #5a2a2a;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    border-left: 4px solid #006400;
    margin: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.notice i { color: #00a32a; }
.inarticle-ad { margin: 24px 0; text-align: center; clear: both; }


/* ============================================================
   9. PAGINATION
   ============================================================ */
.pages {
    padding: 14px;
    background: #eef4ef;
    border-radius: 10px;
    margin: 20px 0 0;
    text-align: center;
    border-left: 4px solid #006400;
    width: 100%;
}
.pages .page-listing {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
    margin-bottom: 10px;
}
.pages .a-page, .pages .this-page {
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    border-radius: 20px;
    min-width: 38px;
    padding: 7px 13px;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    transition: all 0.2s ease;
}
.pages .a-page {
    background: #ffffff;
    border: 1px solid rgba(0, 100, 0, 0.12);
}
.pages .a-page a {
    color: #2a5a2a !important;
    text-decoration: none !important;
    display: block;
}
.pages .a-page:hover {
    background: linear-gradient(135deg, #00a32a 0%, #006400 100%);
    border-color: #006400;
    transform: translateY(-1px);
}
.pages .a-page:hover a { color: #ffffff !important; }
.pages .this-page {
    background: linear-gradient(135deg, #00a32a 0%, #006400 100%);
    color: #ffffff;
    border: 1px solid #006400;
}
.pages .pages-dots {
    padding: 7px 6px;
    color: #7a6a5a;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}
.pages-info-wrap {
    margin-top: 8px;
    padding-top: 10px;
    border-top: 1px solid rgba(0, 100, 0, 0.08);
}
.pages .pages-info {
    font-size: 12.5px;
    color: #006400;
    font-weight: 600;
    display: inline-block;
}


/* ============================================================
   10. SIDEBAR — redesigned to match site
   ============================================================ */
.sidebar-box {
    background: #ffffff;
    border-radius: 12px;
    border-left: 5px solid #006400;
    margin-bottom: 18px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
}
.sidebar-box:nth-of-type(1) { margin-top: 16px; }

/* Sidebar box title */
.sidebar-box .box-name {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #e4ede6;
    color: #2a5a2a !important;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    line-height: 1.3;
    padding: 14px 16px 12px 16px;
    margin: 0;
    border-bottom: 1px solid rgba(0, 100, 0, 0.06);
    text-shadow: none;
    overflow-wrap: break-word;
}
.sidebar-box .box-name::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #00a32a;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 0 3px rgba(0, 163, 42, 0.14);
}

/* Sidebar content padding */
.sidebar-box > *:not(.box-name) {
    padding: 12px 16px;
}

/* Sidebar list */
.sidebar-box ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.sidebar-box ul li {
    padding: 8px 0;
    margin: 0;
    border-bottom: 1px solid rgba(0, 100, 0, 0.06);
    font-size: 13.5px;
    line-height: 1.5;
    color: #3d2a2a;
    overflow-wrap: break-word;
}
.sidebar-box ul li:last-child { border-bottom: none; }
.sidebar-box ul li a {
    color: #2a5a2a !important;
    text-decoration: none !important;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
}
.sidebar-box ul li a:hover { color: #00a32a !important; }
.sidebar-box ul li a i { color: #00a32a; font-size: 11px; }

/* Media of the week */
.media-otw {
    text-align: center;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
.media-otw .otw-title {
    padding: 12px 16px;
    background: #eef4ef;
    margin: 0;
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.4;
    color: #2a5a2a;
    text-align: center;
    letter-spacing: 0.3px;
}
#music-otw .motw-img { margin: 12px 0 8px; padding: 0 12px; }
#music-otw .motw-img img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
#music-otw .by-text {
    font-style: italic;
    color: #7a6a5a;
    font-size: 12px;
    padding: 0 12px 12px;
    margin: 0;
    text-align: center;
}
.otw-o {
    margin: 10px 12px;
    padding: 8px 0;
    border-top: 1px solid rgba(0, 100, 0, 0.06);
}

/* Social links */
.official-social-links {
    list-style: none;
    margin: 0;
    padding: 14px 12px !important;
    width: 100%;
    display: flex;
    gap: 8px;
    justify-content: space-between;
    align-items: center;
}
.official-social-links li {
    margin: 0;
    padding: 0;
    flex: 1;
    display: flex;
    justify-content: center;
}
.official-social-links li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(0, 163, 42, 0.08);
    color: #006400 !important;
    text-decoration: none !important;
    transition: all 0.2s ease;
    border: 1px solid rgba(0, 100, 0, 0.08);
}
.official-social-links li a:hover {
    background: linear-gradient(135deg, #00a32a 0%, #006400 100%);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 100, 0, 0.25);
    border-color: #006400;
}
.official-social-links li a i { font-size: 16px; color: inherit; }

/* Sidebar items with thumbnails */
.sidebar-box .sidebar-item {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 100, 0, 0.06);
    align-items: center;
}
.sidebar-box .sidebar-item:last-child { border-bottom: none; }
.sidebar-box .sidebar-item img {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
    background: #e4ede6;
}
.sidebar-box .sidebar-item .item-info { flex: 1; min-width: 0; }
.sidebar-box .sidebar-item .item-info .item-title {
    font-size: 13px;
    font-weight: 700;
    color: #2a1a1a;
    line-height: 1.3;
    margin: 0 0 3px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.sidebar-box .sidebar-item .item-info .item-meta {
    font-size: 11px;
    color: #7a6a5a;
}

/* Sponsored sidebar */
.sponsored-sidebar {
    text-align: center;
    overflow: hidden;
    padding: 12px;
}
.sponsored-sidebar img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* ============================================================
   12. SCROLLBARS (PC style)
   ============================================================ */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #f0f0f0; border-radius: 5px; }
::-webkit-scrollbar-thumb {
    background: #006400;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover { background: #00a32a; }
::-webkit-scrollbar-thumb:window-inactive { background: #999; }


/* ============================================================
   13. UTILITIES
   ============================================================ */
.clear {
    clear: both;
    display: block;
    overflow: hidden;
    visibility: hidden;
    width: 0;
    height: 0;
}
.clear:after {
    clear: both;
    content: ' ';
    display: block;
    font-size: 0;
    line-height: 0;
    visibility: hidden;
    width: 0;
    height: 0;
}

::selection { background: #75ff75; }
::-moz-selection { background: #75ff75; }