/**
 * PRINT STYLESHEET - Minimal Start
 * Raw content only, no custom spacing
 */

@page {
    margin: 0.25in;
    size: letter;
}

/* Basic reset only */
* {
    -webkit-print-color-adjust: exact !important;
    color-adjust: exact !important;
}

body {
    font-family: 'Lato', Arial, sans-serif !important;
    font-size: 12px;
    line-height: 1.4;
    color: #000 !important;
    background: white !important;
}

/* Aggressive spacing reset for all sections */
.o-section {
    margin: 0 !important;
    padding: 0 !important;
    height: auto !important;
    min-height: 0 !important;
}

.o-section__container,
.o-container {
    margin: 0 !important;
    padding: 0 !important;
}

/* Header font sizes for print */
.c-brand__title {
    font-size: 18px !important;
    font-weight: bold !important;
    margin: 0 !important;
}

.c-brand__sub-title {
    font-size: 14px !important;
    font-weight: normal !important;
    margin: 0 !important;
}

.o-section__heading {
    font-size: 14px !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    margin: 0 0 0.5rem 0 !important;
}

/* Shrink profile photo */
.c-avatar {
    width: 40px !important;
    height: 40px !important;
    border: 1px solid #333 !important;
}

.c-avatar__img {
    width: 40px !important;
    height: 40px !important;
}

/* Remove gaps above and below header */
.o-section--header {
    margin: 0 !important;
    padding: 0 !important;
}

.c-header {
    margin: 0 !important;
    padding: 0 !important;
}

.c-header__header,
.c-header__content {
    margin: 0 !important;
    padding: 0 !important;
}

/* Hide social icons */
.c-header__social-buttons {
    display: none !important;
}

/* Hide contact section */
.c-footer__bottom {
    display: none !important;
}

/* Hide intro section */
.o-section:nth-child(2) {
    display: none !important;
}

/* Hide projects section */
.o-section:nth-child(3) {
    display: none !important;
}

/* Hide open-source projects section */
.o-section:nth-child(4) {
    display: none !important;
}

/* Hide EXPERTISE header but keep content - limit height */
.o-section:nth-child(5) {
    max-height: 300px !important;
    overflow: hidden !important;
}

.o-section:nth-child(5) .o-section__header {
    display: none !important;
}

/* Make expertise content full width and 3x2 grid */
.o-section:nth-child(5) .o-section__content {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.o-section:nth-child(5) .o-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr !important;
    grid-template-rows: 1fr 1fr !important;
    gap: 0.5rem !important;
    width: 100% !important;
    margin: 0 !important;
}

.o-section:nth-child(5) .o-grid__col-xl-4,
.o-section:nth-child(5) .o-grid__col-sm-6 {
    width: 100% !important;
    margin: 0 !important;
}

.o-section:nth-child(5) .o-content {
    margin: 0 !important;
    padding: 0 !important;
}

.o-section:nth-child(5) h3 {
    font-size: 11px !important;
    margin: 0 0 0.2rem 0 !important;
}

.o-section:nth-child(5) p {
    font-size: 9px !important;
    line-height: 1.2 !important;
    margin: 0 !important;
}

/* Make Experience section horizontal layout - header above content */
.o-section:nth-child(6) {
    display: block !important;
    width: 100% !important;
    margin-top: 0.5rem !important;
    text-align: left !important;
}

.o-section:nth-child(6) .o-section__header {
    width: 100% !important;
    float: none !important;
    display: block !important;
    margin: 0 0 0.5rem 0 !important;
    padding: 0 !important;
    text-align: left !important;
}

/* Hide "What I've done" description */
.o-section:nth-child(6) .o-section__description {
    display: none !important;
}

.o-section:nth-child(6) .o-section__content {
    width: 100% !important;
    float: none !important;
    display: block !important;
    clear: both !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
}

/* Force experience content to break out of column constraints */
.o-section:nth-child(6) .o-section__container {
    width: 100% !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
}

.o-section:nth-child(6) .c-timeline,
.o-section:nth-child(6) .c-timeline__item,
.o-section:nth-child(6) .c-work {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    float: none !important;
    text-align: left !important;
}

/* Hide experience timeline items beyond the top 5 */
.o-section:nth-child(6) .c-timeline__item:nth-child(n+6) {
    display: none !important;
}