:root {
    --author-max-width: 1320px;
    --author-padding: 20px;
}

@media (max-width: 1024px) {
    body .box-container {
        width: 100% !important;
        margin-left: 0 !important;
    }
}

@media (max-width: 767px) {
    :root {
        --author-padding: 16px;
    }
}

/* ============ AUTHOR HERO ============ */
.author-hero {
    padding: 88px var(--author-padding);
    background: #ffffff;
}

.author-hero-container {
    max-width: var(--author-max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.author-hero-text {
    max-width: 600px;
    padding-right: 80px;
}

body .author-hero-text h1 {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.2;
    color: #2F221B;
    margin-top: 0;
    margin-bottom: 16px;
}

body .author-hero-text h2 {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.3;
    color: #2F221B;
    margin-top: 0;
    margin-bottom: 44px;
}

body .author-hero-description {
    font-size: 16px ;
    line-height: 1.4;
    color: #000000;
    margin-top: 0;
    margin-bottom: 76px;
}

body .author-hero-description p {
	font-size: 16px;
}

.author-stats {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

body .author-stats-item {
    font-size: 14px;
    font-weight: 600;
    color: #463939;
}

body .author-stats-sep {
    color: #2F221B;
    font-size: 14px;
}

.author-hero-image {
    height: 100%;
}

.author-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 1024px) {
    .author-hero {
        padding: 44px 16px;
    }

    .author-hero-text {
        max-width: 100%;
        padding-right: 0;
    }

    .author-hero-container {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .author-hero-image {
        order: -1;
    }

    .author-hero-image img {
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .author-hero-text {
        order: 2;
    }

    body .author-hero-text h1 {
        font-size: 36px;
        margin-bottom: 8px;
    }

    body .author-hero-text h2 {
        font-size: 24px;
        margin-bottom: 16px;
    }
	
	body .author-hero-description {
		margin-bottom: 24px;
	}

    .author-stats {
        gap: 8px;
    }
}

@media (max-width: 480px) {
	.author-stats {
        flex-direction: column;
    }
}

/* ============ ABOUT SECTION ============ */
.author-about {
    padding: 0 var(--author-padding) 88px;
    background: #ffffff;
}

.author-about-container {
    max-width: var(--author-max-width);
    margin: 0 auto;
}

body .author-about-container h2 {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    color: #3A2A22;
    margin-top: 0;
    margin-bottom: 24px;
}

body .author-about-text {
	max-width: 680px;
}

body .author-about-text,
body .author-about-text p {
    font-size: 16px;
    line-height: 1.4;
    color: #463939;
    margin-top: 0;
    margin-bottom: 20px;
}

body .author-about-text p:last-child {
    margin-bottom: 0;
}

@media (max-width: 1024px) {
    .author-about {
        padding: 0 16px 44px;
    }

    body .author-about-container h2 {
        font-size: 24px;
        margin-bottom: 16px;
    }
	
	body .author-about-text {
		max-width: 100%;
	}
}



/* ============ CAREER TIMELINE SECTION ============ */
.author-career {
    background-color: #3A2A22;
    padding: 88px var(--author-padding);
}

.author-career-container {
    max-width: var(--author-max-width);
    margin: 0 auto;
}

body .author-career-container h2 {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 44px;
}


/* --- Steps row (desktop) --- */
.author-career-container .process-steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.author-career-container .process-steps::before {
    content: "";
    position: absolute;
    top: 40px;
    left: 12.5%;
    right: 12.5%;
    height: 1px;
    background-color: #fff;
    z-index: 1;
}

.author-career-container .process-step {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.author-career-container .process-step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #625757;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 36px;
    flex-shrink: 0;
}

body .author-career-container .author-career-step-years {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 16px;
}

body .author-career-container .author-career-step-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 16px;
    max-width: 220px;
    min-height: calc(1.2em * 3);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

body .author-career-container .author-career-step-text {
    font-size: 16px;
    line-height: 1.3;
    color: #ffffff;
    margin: 0;
}

@media (max-width: 1024px) {
    .author-career {
        padding: 44px 16px;
    }

    body .author-career-container .eyebrow {
        font-size: 14px;
    }

    body .author-career-container h2 {
        font-size: 24px;
        margin-bottom: 16px;
    }

    body .author-career-container .author-career-subtext {
        margin-bottom: 24px;
        max-width: 100%;
    }

    .author-career-container .process-steps {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }

    .author-career-container .process-steps::before {
        display: none;
    }

    .author-career-container .process-step {
        display: grid;
        grid-template-columns: 120px 80px 1fr;
        column-gap: 24px;
        align-items: center;
        position: relative;
        min-height: 80px;
    }

    .author-career-container .process-step:not(:last-child)::after {
        content: "";
        position: absolute;
        left: calc(120px + 24px + 40px);
        top: 50%;
        width: 1px;
        height: calc(50% + 20px);
        background-color: #ffffff;
        z-index: 1;
    }

    .author-career-container .process-step:not(:first-child)::before {
        content: "";
        position: absolute;
        left: calc(120px + 24px + 40px);
        bottom: 50%;
        width: 1px;
        height: calc(50% + 20px);
        background-color: #ffffff;
        z-index: 1;
    }

    .author-career-container .process-step-number {
        grid-column: 2;
        grid-row: 1;
        position: relative;
        z-index: 2;
        margin-bottom: 0;
        align-self: center;
    }

    .author-career-container .process-step-number::before,
    .author-career-container .process-step-number::after {
        display: none;
    }

    .author-career-step-heading {
        grid-column: 1;
        grid-row: 1;
        text-align: left;
        align-self: center;
    }

    body .author-career-container .author-career-step-years {
        font-size: 18px;
        margin-bottom: 4px;
    }

    body .author-career-container .author-career-step-title {
        font-size: 13px;
        margin-bottom: 0;
        max-width: 100%;
        min-height: 0;
        -webkit-line-clamp: unset;
        overflow: visible;
    }

    body .author-career-container .author-career-step-text {
        grid-column: 3;
        grid-row: 1;
        text-align: left;
        font-size: 14px;
        max-width: 100%;
        margin: 0;
        align-self: center;
    }
}

@media (max-width: 600px) {
    .author-career-container .process-step-number {
        width: 42px;
        height: 42px;
        font-size: 20px;
    }

    .author-career-container .process-step {
        grid-template-columns: 1fr 42px 1fr;
        column-gap: 16px;
        min-height: 42px;
    }

    .author-career-container .process-step:not(:last-child)::after,
    .author-career-container .process-step:not(:first-child)::before {
        left: 50%;
        transform: translateX(-50%);
    }

    .author-career-step-heading {
        text-align: right;
    }
}
