/* ==========================================
   RESUME CONTENT STYLING (FIXED)
   ========================================== */

/* Resume container styling */
#content-container:has(article#resumeContent) {
    width: 100vw;
    font-family: 'Times New Roman';
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Main article styling */
article#resumeContent {
    padding: 20px 30px;
    border-radius: 20px;
    max-height: 90vh;
    max-width: 1000px; /* Reduced from 1200px */
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Header styling */
article#resumeContent header {
    font-size: 18px;
    font-family: 'Times New Roman';
    text-align: left;
    margin-bottom: 0px;
    width: 100%;
}

/* Section headings */
article#resumeContent h1 {
    font-size: 1.20em !important;
    margin: 20px 0 15px 0 !important;
    text-decoration: underline;
    color: #333 !important;
    font-weight: bold !important;
    line-height: 1.2 !important;
    display: block !important;
    text-align: center;
    width: 100%;
}

article#resumeContent h2 {
    display: inline;
    font-size: 1.05em;
    font-weight: bold;
}

article#resumeContent h3 {
    font-weight: bold;
    font-size: 0.95em;
    margin: 10px 0 5px 0;
}

article#resumeContent h4 {
    margin: 5px 0;
    display: inline;
    font-size: 1em;
}

/* Paragraph styling */
article#resumeContent p {
    font-size: 18px;
    margin: 5px 0;
    line-height: 1.4;
}

/* Section styling */
article#resumeContent section {
    width: 100%;
    margin-bottom: 15px;
    margin-top: 15px;
}

/* Profile section */
article#resumeContent #profile {
    width: 100%;
    max-width: 800px;
    text-align: left;
}

/* Job summary styling */
article#resumeContent #jobSummary {
    width: 100%;
    max-width: 750px;
    margin: 10px 0;
}

article#resumeContent #jobSummary em {
    display: block;
    margin-bottom: 0.25rem;
}

/* Job entry styling */
article#resumeContent #jobEntry {
    margin: 15px 0;
    border: 2px dashed rgb(22, 190, 202);
    padding: 15px;
    width: 100%;
    max-width: 800px;
    border-radius: 8px;
    background-color: rgba(22, 190, 202, 0.05);
}

article#resumeContent #jobEntry li {
    width: 100%;
    margin-bottom: 10px;
    list-style: none;
}

/* Education entry styling */
article#resumeContent #educationEntry {
    margin: 15px 0;
    width: 100%;
    max-width: 800px;
}

/* Project entry styling */
article#resumeContent #projectEntry {
    margin: 15px 0;
    border: 2px dashed rgb(22, 190, 202);
    padding: 15px;
    width: 100%;
    max-width: 750px;
    border-radius: 8px;
    background-color: rgba(22, 190, 202, 0.05);
}

/* Skills category styling */
article#resumeContent #skillsCategory {
    margin: 15px 0;
    border: 2px dashed rgb(22, 190, 202);
    padding: 15px;
    width: 100%;
    max-width: 750px;
    border-radius: 8px;
    background-color: rgba(22, 190, 202, 0.05);
}

/* List styling */
article#resumeContent ul {
    list-style: none;
    padding-left: 0;
    width: 100%;
}

article#resumeContent #jobList ul li::before,
article#resumeContent #skillsToolsLearned ul li::before {
    content: "• ";
    margin-right: 8px;
    font-weight: bold;
    color: rgb(22, 190, 202);
}

article#resumeContent #projectDescription ul li::before {
    content: "→ ";
    margin-right: 8px;
    font-weight: bold;
    color: rgb(22, 190, 202);
}

article#resumeContent #educationList ul li::before {
    content: "";
}

/* Table styling */
article#resumeContent table {
    width: 100%;
    max-width: 700px;
    margin: 15px auto;
    border: 2px dashed rgb(22, 190, 202);
    border-collapse: collapse;
    background-color: rgba(22, 190, 202, 0.05);
}

article#resumeContent table th,
article#resumeContent table td {
    padding: 8px 12px;
    text-align: left;
    border-bottom: 1px solid rgba(22, 190, 202, 0.3);
}

article#resumeContent table th {
    background-color: rgba(22, 190, 202, 0.2);
    font-weight: bold;
}

/* Footer styling */
article#resumeContent footer {
    width: 100%;
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #ccc;
}

article#resumeContent #htmldog {
    display: inline-block;
    margin: 10px;
}

/* Responsive design */
@media (max-width: 1024px) {
    article#resumeContent {
        max-width: 95%;
        padding: 15px 20px;
    }
    
    article#resumeContent #jobEntry,
    article#resumeContent #projectEntry,
    article#resumeContent #skillsCategory {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    #content-container:has(article#resumeContent) {
        padding: 10px;
    }
    
    article#resumeContent {
        padding: 10px 15px;
    }
    
    article#resumeContent table {
        font-size: 0.9em;
    }
    
    article#resumeContent table th,
    article#resumeContent table td {
        padding: 6px 8px;
    }
}