/* --- 1. Base Styles & Global Reset --- */

*, *:before, *:after { box-sizing: border-box; }

body { margin: 0; background-color: #f9f9f9; color: #000000 !important; font-family: Arial, sans-serif; }



/* --- 2. Structural Wrapper (The "PK" Namespace) --- */

.pk-wrapper {

    margin: 40px auto;

    width: 90%;

    max-width: 1200px;

    background: #ffffff;

    padding: 20px;

    display: block;

    overflow: hidden; /* Prevents layout expansion */

}

 /* 3. Poem/Pre Tag Optimization */
    pre {
        white-space: pre-wrap;       /* ਲਾਈਨਾਂ ਨੂੰ ਕੱਟੇ ਜਾਣ ਤੋਂ ਰੋਕਦਾ ਹੈ */
        word-wrap: break-word;       /* ਲੰਬੇ ਸ਼ਬਦਾਂ ਨੂੰ ਅਗਲੀ ਲਾਈਨ 'ਤੇ ਭੇਜਦਾ ਹੈ */
        max-width: 100%;             /* ਕੰਟੇਨਰ ਦੇ ਅੰਦਰ ਰਹਿੰਦਾ ਹੈ */
        overflow-x: auto;            /* ਜੇ ਲੋੜ ਹੋਵੇ ਤਾਂ ਸਕ੍ਰੌਲਬਾਰ ਦਿੰਦਾ ਹੈ */
        background: #f9f9f9;
        padding: 15px;
        border-radius: 5px;
        border: 1px solid #eee;
    }

/* --- 4. Section Styles (Refined) --- */

.section {

    background: #F4FAFF;

    width: 100%;

    margin-top: 20px;

    padding: 20px;

    border: 1px solid #0072C6;

    overflow: hidden;

}



.section h1 { color: #0294f9; font-size: 30px; margin-top: 0; }

.section h2 { color: #000000; font-size: 17px; }



/* --- 5. Content Pane Styles --- */

.left { 
    width: calc(100% - 170px); 
    float: left; 
    padding-right: 20px; 
    line-height: 1.6; 
    color: #000000; /* Add this to ensure paragraph text is black */
}


/* --- 6. Poetry Lists (Namespace fixed) --- */

.list li, .full li {
    list-style: none;
    color: #006400 !important; /* Green */
    font-size: 18px;
    line-height: 34px;
    margin-bottom: 5px;
}

.list li a, .full a {
    color: #006400 !important; /* Green */
    text-decoration: none;
    font-weight: 700;
}



/* --- 7. Mobile Responsiveness --- */

@media only screen and (max-width: 768px) {

    .pk-wrapper { width: 95%; margin: 10px auto; }

    .left, .right { width: 100% !important; float: none; padding: 0; }

    .right { margin-bottom: 20px; text-align: center; }

    .full li, .list li { width: 100%; text-align: center; }

    .section h1 { font-size: 22px; }

    .list p { font-size: 19px; }

}
/* Force all text in the body, including inside font tags, to be black */
body, body font, body p, body h3 {
    color: #000000 !important;
}

/* Update for Alphabet Navigation */
.alphabet-nav {
    margin: 20px 0;
    line-height: 2.5; /* Adds space between lines if they wrap */
}

.alphabet-nav a {
    font-size: 1.8em;          /* Increases the size of the letters */
    text-decoration: none;     /* Removes the underlines */
    color: #000;               /* Optional: Sets text color */
    margin-right: 10px;        /* Adds space between letters */
    display: inline-block;
}

/* Update: Set Alphabet Letters to Dark Green */
.alphabet-nav a {
    font-size: 1.8em !important;
    text-decoration: none !important;
    color: #006400 !important; /* Dark Green */
    margin-right: 15px;
    display: inline-block;
}