/* Container Box & Section Base Styling */
.hair-info {
    padding: 20px 20px;
    margin: 80px auto;
    background-color: #fbfbfa;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.hair-info__container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Master Component Headers */
.hair-info__header {
    margin-bottom: 48px;
}

.hair-info__main-title {
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.25;
    color: #002244;
    margin: 0;
}

.hair-info__main-title--italic {
    display: block;
    font-style: italic;
    font-weight: 400;
}

/* 2 Column Flex Grid */
.hair-info__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 992px) {
    .hair-info__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Individual Content Boxes styling */
.hair-info__box {
    background-color: #ffffff;
    border: 1px solid #eef0f2;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.01);
    display: flex;
    flex-direction: column;
}

.hair-info__box-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: #002244;
    margin: 0 0 20px 0;
}

.hair-info__box-body p {
    font-size: 0.92rem;
    line-height: 1.65;
    color: #4a5568;
    margin: 0 0 16px 0;
}

.hair-info__box-body p:last-of-type {
    margin-bottom: 0;
}

/* Box 2 Component Graphics (Follicle cells rows) */
.hair-info__diagrams {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 24px;
}

@media (max-width: 768px) {
    .hair-info__diagrams {
        grid-template-columns: 1fr;
        gap: 0;
        margin-top: 0;
    }
}

.hair-info__diagram-placeholder {
    height: 80px;
    background-color: #f4f6f8;
    border-radius: 6px;
    margin-bottom: 8px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    /* Hook up actual SVGs/images here */
}

@media (max-width: 768px) {
    .hair-info__diagram-placeholder {
        height: 20px;
    }
}

.hair-info__diagram-caption {
    font-size: 0.72rem;
    line-height: 1.4;
    color: #718096;
    margin: 0;
    text-align: center;
}

/* Box 3 Component Custom Bar Chart Layout */
.hair-info__chart {
    display: flex;
    margin-top: 32px;
    border-top: 1px solid #edf2f7;
    padding-top: 24px;
}

.hair-info__chart-axis-label {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    text-align: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: #002244;
    padding-right: 12px;
    border-right: 2px solid #002244;
}

.hair-info__chart-bars {
    flex-grow: 1;
    padding-left: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hair-info__chart-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hair-info__chart-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: #002244;
    width: 85px;
    flex-shrink: 0;
}

.hair-info__chart-bar-wrapper {
    flex-grow: 1;
    background-color: #edf2f7;
    height: 24px;
    border-radius: 4px;
    overflow: hidden;
}

.hair-info__chart-bar {
    height: 100%;
    background-color: #cbd5e1; /* Subdued chart fill color */
    border-radius: 4px;
}

.hair-info__chart-value {
    font-size: 0.85rem;
    font-weight: 600;
    color: #002244;
    width: 35px;
    text-align: right;
}

/* Box 4 Component Avatar Timeline Grid Layout */
.hair-info__timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 32px;
    border-top: 1px solid #edf2f7;
    padding-top: 24px;
}

@media (max-width: 768px) {
    .hair-info__timeline {
        grid-template-columns: 1fr;
    }
}

.hair-info__timeline-step {
    text-align: center;
}

.hair-info__avatar {
    width: 64px;
    height: 64px;
    background-color: #f4f6f8;
    border-radius: 50%;
    margin: 0 auto 12px auto;
    background-size: cover;
    /* Map head illustrations here */
}

.hair-info__timeline-time {
    font-size: 0.85rem;
    font-weight: 600;
    color: #002244;
    margin: 0 0 6px 0;
}

.hair-info__timeline-desc {
    font-size: 0.72rem;
    line-height: 1.4;
    color: #718096;
    margin: 0;
}
