.resume-container {
    padding: 40px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border-radius: 4px;
    margin: 40px 0;
}

.resume-container .entry-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center;
}

.resume-subtitle {
    font-size: 24px;
    color: #666;
    margin-bottom: 20px;
    text-align: center;
    font-weight: normal;
}

.contact-info {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.resume-section {
    margin-bottom: 40px;
}

.resume-section h3 {
    font-size: 24px;
    color: #0275d8;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

.experience-item {
    margin-bottom: 30px;
}

.experience-item h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
}

.experience-item h5 {
    font-size: 16px;
    color: #666;
    margin-bottom: 15px;
}

.experience-item ul {
    padding-left: 20px;
}

.experience-item li {
    margin-bottom: 8px;
    line-height: 1.6;
}

@media print {
    .site-header,
    .site-footer,
    .shapely-breadcrumbs {
        display: none;
    }

    .resume-container {
        padding: 0;
    }

    a {
        text-decoration: none;
        color: #000;
    }
}

body.page-template-resume-template {
    background: #f5f5f5;
}

.page-template-resume-template #main article {
    background: transparent;
}

.education-item {
    margin-bottom: 20px;
}

.education-item h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.education-item h5 {
    font-size: 16px;
    color: #666;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.skill-category h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #0275d8;
}

.skill-category ul {
    list-style: none;
    padding: 0;
}

.skill-category li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.skill-category li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #0275d8;
}

.certifications ul {
    columns: 2;
    column-gap: 40px;
}

@media (max-width: 768px) {
    .certifications ul {
        columns: 1;
    }
}

/* Add to resume.css */
.page-template-resume-template {
    background: #fff !important; /* Force override */
}

.page-template-resume-template #main {
    background: #fff !important;
    padding: 0 !important;
}

.page-template-resume-template .resume-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 40px;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-radius: 4px;
}

/* Ensure full-width white background */
.page-template-resume-template #content {
    background: #fff !important;
    width: 100%;
    padding: 0;
}

body.custom-background.page-template-resume-template {
    background-color: #ffffff !important;
}

.page-template-resume-template .resume-container,
.page-template-resume-template #main,
.page-template-resume-template #primary {
    background: #ffffff !important;
}

@media print {
    /* Tighter spacing for first page */
    .header.mb-6 {
        margin-bottom: 0.75rem !important;
    }
    
    .executive-summary {
        margin-bottom: 0.75rem !important;
        padding: 0.75rem !important;
    }
    
    /* Compress core competencies */
    .core-competencies {
        margin-bottom: 0.5rem !important;
    }
    
    .core-competencies .grid {
        gap: 0.5rem !important;
    }
    
    .core-competencies .p-6 {
        padding: 0.5rem !important;
    }
    
    .core-competencies .space-y-3 > * + * {
        margin-top: 0.25rem !important;
    }
    
    .core-competencies h3 {
        margin-bottom: 0.5rem !important;
        font-size: 1.1rem !important;
    }
    
    /* Fix page break */
    .professional-experience {
        page-break-before: auto !important;
    }
    
    /* Tighter spacing */
    .mb-8 { 
        margin-bottom: 0.5rem !important; 
    }
    
    /* Hide less critical bullets in print */
    .print-secondary {
        display: none !important;
    }

    .print-hide {
        display: none !important;
    }
}