/* ============================================================
   AFRICAPICKUP — PC ALBUM CATEGORY STYLESHEET
   ------------------------------------------------------------
   - Uses same palette as PC album page
   - Includes: layout, breadcrumb, hero, list cards,
     pagination, sidebar, footer, utilities
   - Auto side margins: content never touches screen edge
   - Footer: identical to PC album page footer
   - Sidebar: identical to PC album page sidebar
   ============================================================ */

/* ============================================================
   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; }
a:hover { color: #00a32a; }
ul { list-style: none; margin: 0; padding: 0; }

@font-face {
    font-family: 'FontAwesome';
    font-display: swap;
}

/* ============================================================
   1. LAYOUT SAFETY (no overlay, no stacking conflicts)
   ============================================================ */
#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;
}

/* ============================================================
   2. LAYOUT — content + sidebar (auto side margins)
   ============================================================ */
#main-wrapper {
    width: 100%;
    float: left;
}

#contents-column {
    padding: 0;
    margin: 0 35% 0 0;
    background-color: rgba(245, 245, 245, .2);
    overflow-x: visible;
    overflow-y: visible;
    word-wrap: break-word;
    position: relative;
    z-index: 12;
}
#right-col {
    width: 35%;
    float: left;
    margin-left: -35%;
    overflow: hidden;
    position: relative;
    z-index: 12;
    padding: 0 0 0 10px;
}

/* Content wrapper — auto side margins + safe gutters */
.content-width {
    width: 100%;
    max-width: 1150px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}
.content-width.main-content {
    position: relative;
    z-index: 11;
}

@media (min-width: 1400px) {
    .content-width {
        max-width: 1280px;
        padding-left: 32px;
        padding-right: 32px;
    }
}
@media (max-width: 1100px) {
    .content-width {
        padding-left: 18px;
        padding-right: 18px;
    }
}

/* ============================================================
   3. BREADCRUMB
   ============================================================ */
#breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    background: #eef4ef;
    padding: 12px 20px;
    border-radius: 12px 12px 0 0;
    font-size: 12.5px;
    font-weight: 600;
    color: #4a5a4a;
    border-bottom: 1px solid rgba(0, 100, 0, 0.06);
    width: 100%;
    margin: 16px 0 0;
}
#breadcrumbs a {
    color: #006400 !important;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}
#breadcrumbs a:hover { color: #00a32a !important; }

/* ============================================================
   4. HEAD TITLE
   ============================================================ */
h2.doc-title {
    background: #e4ede6;
    color: #2a5a2a !important;
    border-left: 6px solid #006400;
    border-radius: 0 0 12px 12px;
    padding: 20px 24px 18px !important;
    margin: 0 0 20px !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
    display: flex;
    align-items: center;
    gap: 12px;
}
h2.doc-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);
}

/* ============================================================
   5. INTRO CARD (doc-container)
   ============================================================ */
.doc-container {
    padding: 20px 22px;
    background: #eef4ef;
    border-radius: 12px;
    border-left: 5px solid #006400;
    font-size: 14.5px;
    line-height: 1.65;
    color: #3d2a2a;
    margin: 0 0 20px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}
.doc-container p { margin: 0 0 10px; }
.doc-container p:last-of-type { margin-bottom: 0; }
.doc-container .doc-info {
    color: #6c6b6b;
    text-align: right;
    font-size: 12.5px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed rgba(0, 100, 0, 0.12);
}
.doc-container .doc-info strong { color: #006400; }

/* ============================================================
   6. ALBUM LIST (PC cards)
   ============================================================ */
main.file-list {
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
}

article.a-file.myfile,
article.a-file {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 16px;
    background: #ffffff;
    border: 1px solid rgba(0, 100, 0, 0.08);
    border-radius: 12px;
    padding: 12px;
    margin: 0 0 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
    transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    overflow: hidden;
}
article.a-file:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 100, 0, 0.12);
    border-color: #00a32a;
}

article.a-file .image {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border-radius: 10px;
    overflow: hidden;
    background: #e4ede6;
}
article.a-file .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

article.a-file .info.infohome {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 4px 0;
}

article.a-file .file-name.myhome {
    font-size: 17px;
    font-weight: 800;
    line-height: 1.3;
    color: #2a1a1a;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
article.a-file .file-name.myhome a {
    color: #2a1a1a !important;
    text-decoration: none !important;
}
article.a-file .file-name.myhome a:hover {
    color: #006400 !important;
}

article.a-file .other-info {
    display: block;
    font-size: 13px;
    color: #4a5a4a;
}
article.a-file .other-info ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}
article.a-file .other-info ul li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    margin: 0;
    border: none;
    font-size: 13px;
    color: #006400;
    font-weight: 600;
}
article.a-file .other-info ul li .fa {
    color: #00a32a;
    font-size: 12px;
}
article.a-file .other-info ul li a {
    color: #990000 !important;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: rgba(153, 0, 0, 0.3);
    text-underline-offset: 2px;
}
article.a-file .other-info ul li a:hover {
    color: #b30000 !important;
    text-decoration-color: #b30000;
}

/* ============================================================
   7. ADS
   ============================================================ */
.sponsored-banner {
    text-align: center;
    margin: 16px 0;
}
.sponsored-header-banner .divads,
.sponsored-header-banner > div {
    max-width: 100%;
}

/* ============================================================
   8. PAGINATION
   ============================================================ */
.pages {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin: 24px 0 8px;
    padding: 16px 20px;
    background: #eef4ef;
    border-radius: 12px;
    border-left: 5px solid #006400;
}
.page-listing {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
}
.page-listing .this-page,
.page-listing .a-page a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.85);
    color: #006400 !important;
    border: 1px solid rgba(0, 100, 0, 0.12);
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.page-listing .this-page {
    background: linear-gradient(135deg, #00a32a 0%, #006400 100%);
    color: #ffffff !important;
    border-color: #006400;
    box-shadow: 0 2px 6px rgba(0, 100, 0, 0.25);
}
.page-listing .a-page a:hover {
    background: #ffffff;
    color: #00a32a !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 100, 0, 0.12);
}
.pages-info {
    font-size: 12.5px;
    color: #4a5a4a;
    font-weight: 600;
}

/* ============================================================
   9. NOTICE
   ============================================================ */
.notice {
    padding: 20px;
    text-align: center;
    background: #eef4ef;
    border-radius: 10px;
    color: #5a2a2a;
    font-size: 14px;
    border-left: 4px solid #006400;
    margin: 10px 0;
}

/* ============================================================
   10. SIDEBAR
   ============================================================ */
.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);
    width: 100%;
}
.sidebar-box:nth-of-type(1) { margin-top: 16px; }
.sidebar-box .box-name {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #e4ede6;
    color: #2a5a2a !important;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    line-height: 1.3;
    padding: 14px 16px 12px;
    margin: 0;
    border-bottom: 1px solid rgba(0, 100, 0, 0.06);
}
.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-box > *:not(.box-name) { padding: 12px 16px; }
.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;
}
.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;
}
.sidebar-box ul li a:hover { color: #00a32a !important; }
.sidebar-box ul li a i { color: #00a32a; font-size: 11px; }
.media-otw { text-align: center; }
.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;
}
#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;
}
.official-social-links {
    list-style: none;
    margin: 0;
    padding: 14px 12px !important;
    width: 100%;
    display: flex;
    gap: 8px;
    justify-content: space-between;
}
.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;
    border: 1px solid rgba(0, 100, 0, 0.08);
    transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease;
}
.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; }
.sponsored-sidebar { text-align: center; overflow: hidden; padding: 12px; }
.sponsored-sidebar img { max-width: 100%; height: auto; border-radius: 8px; }

/* Legacy myfooter aliases */
.myfooter {
    background: #1a1a1a;
    color: #b0b0b0;
    position: relative !important;
    z-index: 1 !important;
    clear: both;
    width: 100%;
    max-width: 100%;
    margin: 40px 0 0;
    padding: 0;
    font-size: 13px;
    line-height: 1.55;
    overflow: hidden;
}
.myfooter a { color: #d0d0d0; font-weight: 700; text-decoration: none; }
.myfooter a:hover { color: #00d135; }
.myfooter .pageWrapper {
    background: #111;
    padding: 20px 0 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
}
.myfooter .footNav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
    list-style: none;
}
.myfooter .footNav li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    color: #d0d0d0 !important;
    text-decoration: none !important;
    font-size: 12.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    border-radius: 20px;
    border: 1px solid transparent;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.myfooter .footNav li a:hover {
    background: rgba(0, 163, 42, 0.14);
    color: #ffffff !important;
    border-color: rgba(0, 163, 42, 0.3);
}
.myfooter .bottomFooter {
    background: #1a1a1a;
    padding: 26px 20px 22px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}
.myfooter #socialLinks .profileList {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 0;
    margin: 0;
    list-style: none;
}
.myfooter #socialLinks .profileList a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: #d0d0d0 !important;
    text-decoration: none !important;
    font-size: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease;
}
.myfooter #socialLinks .profileList a:hover {
    background: #006400;
    color: #ffffff !important;
    border-color: #006400;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 100, 0, 0.3);
}
.myfooter #socialLinks .profileList i { color: inherit; font-size: 16px; padding: 0; margin: 0; }
#copyrights {
    display: block;
    margin: 0;
    padding: 18px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
#copyrights .copy { color: #909090; font-size: 12px; line-height: 1.6; padding: 0; margin: 0; }
.copybold { font-weight: 600; color: #b0b0b0; }
#copyrights a { color: #00a32a !important; text-decoration: none !important; }
#copyrights a:hover { color: #00d135 !important; text-decoration: underline !important; }

/* ============================================================
   12. UTILITIES
   ============================================================ */
.clear {
    clear: both;
    display: block;
    overflow: hidden;
    visibility: hidden;
    width: 0;
    height: 0;
}
.clearboth { clear: both; display: block; height: 0; }
::selection { background: #75ff75; }
::-moz-selection { background: #75ff75; }

.button, a.button {
    border: 2px solid #c7c7c7;
    border-radius: 10px;
    background: #017722;
    color: #fff;
    padding: 10px;
    display: inline-block;
    font-weight: 700;
    margin: 5px 8px;
    white-space: nowrap;
}
.button:hover, a.button:hover { background: #08990e; text-decoration: none; }
.inspired-actions { text-align: center; padding: 10px 0; }
.inspired-actions .button.edit {
    background: #006400;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    font-weight: 600;
    font-size: 13px;
    display: inline-block;
    margin: 0 4px 4px;
}
.inspired-actions .button.edit:hover { background: #00a32a; text-decoration: none; }

::-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. RESPONSIVE FALLBACK (narrow desktops)
   ============================================================ */
@media (max-width: 1024px) {
    article.a-file .image { width: 90px; height: 90px; }
    article.a-file .file-name.myhome { font-size: 16px; }
    footer#main-footer .slots-container .slot { width: 48%; margin: 0 1% 16px; }
}