/* --- RESUME CONTAINER --- */
#resume-container {
    display: flex;
    flex-direction: column;
    gap: 25px; 
    padding: 20px 0;
}

/* --- SECTION HEADER STYLING (FIX 2) --- */
.resume-section {
    /* FIX 3: Ensure header has no top margin influence from its parent */
    padding-left: 0; 
}

.section-title {
    font-family: 'Baksheesh', serif;
    font-size: 1.8em;
    color: #ffffff;
    
    /* FIX 2: Centered Text */
    text-align: center;
    
    /* FIX 2: Banner/Container Border */
    border-top: 2px solid #5a4a3a;
    border-bottom: 2px solid #5a4a3a;
    background-color: rgba(10, 5, 5, 0.4); /* Subtle background for contrast */
    padding: 10px 0; 
    
    /* Ensure no residual margins from previous styles */
    margin-top: 0; 
    margin-bottom: 30px; 
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* --- SKILLS SECTION REFINEMENT (Filling the new 1200px width) --- */
#skills .section-content {
    display: grid;
    /* FIX: Changing to 3 columns to make the list more compact horizontally */
    grid-template-columns: 1fr 1fr 1fr; 
    gap: 20px;
}

/* --- EXPERIENCE/EDUCATION ENTRIES --- */
.resume-entry {
    background-color: rgba(10, 5, 5, 0.7); 
    border: 1px solid #332a22;
    
    /* COMPACTNESS FIX: Minimal padding */
    padding: 15px; 
    margin-bottom: 0px; 
    
    /* Required for absolute positioning of the CURRENT tag */
    position: relative;
    
    transition: box-shadow 0.3s ease;
}

/* --- CURRENT TAG (Floating/Protrusion Fix) --- */
.current-tag {
    position: absolute;
    /* Negative offsets pull the tag outside the box edges */
    top: -10px; 
    right: -10px;
    
    /* Styling */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5); 
    border-radius: 3px;
    background-color: #5a4a3a; 
    color: #ffffff;
    font-family: 'Baksheesh', sans-serif;
    font-size: 0.7em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 8px;
    
    z-index: 10;
}

/* --- EXPERIENCE/EDUCATION LAYOUT REFINEMENT (Wider Horizontal Use) --- */
.entry-main-info {
    display: grid;
    /* FIX: Increased Title space (3 parts) vs Date space (1 part) */
    grid-template-columns: 3fr 1fr;
    align-items: center;
    margin-bottom: 5px; 
}

.entry-summary {
    /* Contains title and company name */
    display: flex;
    flex-direction: column;
}

.entry-title {
    font-family: 'Baksheesh', sans-serif;
    font-size: 1.2em;
    color: #ffffff;
    margin: 0;
}

.entry-subtitle {
    /* CONTRAST FIX: Brighter color */
    color: #d2c8b8; 
    font-style: italic;
    margin: 0;
}

.entry-years {
    /* Date positioning */
    font-family: 'Baksheesh', sans-serif;
    color: #ffffff;
    font-size: 0.9em;
    text-align: right;
}

/* --- BULLET POINTS (COMPACT) --- */
.entry-bullets {
    list-style: none;
    padding-left: 0;
    margin-top: 10px;
    margin-bottom: 0px;
}

.entry-bullets li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 2px; /* EXTREME COMPACTNESS */
    color: #bfae98; 
    line-height: 1.4; 
}

.entry-bullets li::before {
    content: '-'; 
    color: #5a4a3a;
    position: absolute;
    left: 0;
}