/* History Section - Desktop Styles */
.history-section {
    padding: 56px 0 125px;
}

.history-section .container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

/*.history-section .container > div {*/
/*    aspect-ratio: 1 / 1;*/
/*}*/

/* Typography */
.history-section h2 {
    font-weight: 300;
    width: 100%;
    text-align: left;
    margin-bottom: 28px;
    min-height: 32px;
    color: var(--text-color);
    font-size: 1.6rem;
}

.history-section .container div:first-child h2 {
    color: var(--article-color);
}

.history-section .container .content-block__title {
    margin-bottom: 4px;
    font-size: 1.6rem;
}

.history-section .container .content-block__description {
    margin-bottom: 4px;
    font-size: 0.84rem;
    text-align: justify;
}

/* Content Blocks */
.history-section .content-block {
    text-align: left;
    margin: 0;
    padding: 0;
}

.history-section .content-block .content-block__eyebrow,
.history-section img {
    width: 100%;
}


.history-section .content-block .content-block__eyebrow{
    font-weight: 300;
    width: 100%;
    text-align: left;
    margin-bottom: 12px;
    min-height: 32px;
    color: var(--text-color);
    font-size: 1.6rem;
    letter-spacing: unset;
    text-transform: unset;
}

.history-section .content-block:has(.content-block__eyebrow) .content-block__title {
    color: #666;
    text-transform: uppercase;
    font-size: 1.15rem;
    margin-bottom: -10px;
}

.history-section .container > div:first-child .content-block__eyebrow,
.history-section .container div:nth-child(2) .content-block__eyebrow {
    display: none;
}

.history-section .container .content-block:last-child {
    padding-top: 36px;
}

.order-999 {
    display: flex;
}

/* Tablet Styles */
@media (max-width: 992px) {
    .history-section .container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    body {
        background: var(--bg-gray-4);
    }

    .history-section {
        padding-top: 64px;
        padding-bottom: 0;
    }

    /* Mobile Grid Layout */
    .history-section .container {
        padding: 0;
        grid-template-columns: 1fr;
        gap: 8px;
        margin: 4px 0 0;
    }

    .history-section .container > div {
        aspect-ratio: unset;
    }

    .history-section .container > div:first-child {
        display: none;
    }

    /* Mobile Typography */
    .history-section .container > *,
    .history-section .container h2 {
        text-align: center;
    }

    .history-section .container h2 {
        font-weight: 300 !important;
        letter-spacing: 0;
        margin-bottom: 1.4rem;
        color: var(--text-color);
    }

    /* Mobile Content Blocks */
    .history-section .container .content-block {
        padding: 0 16px;
        margin-top: 16px;
    }

    .history-section .container .content-block:last-child {
        padding-top: 0;
        margin-top: -16px;
    }

    .history-section .container .content-block__title {
        font-weight: 500;
    }

    .history-section .container .content-block__description {
        margin-bottom: 36px;
        font-size: 1rem;
    }

    .history-section .container .content-block.mb-2 .content-block__description {
        margin-bottom: 24px;
    }

    /* Mobile Eyebrow Styles */
    .history-section .container div:nth-child(2) .content-block__eyebrow,
    .history-section .container > div:first-child .content-block__eyebrow {
        display: block;
    }

    .history-section .container .content-block__eyebrow {
        margin-bottom: 4px;
        font-size: 1.6rem;
        text-transform: unset;
        margin-top: 1.5rem;
        letter-spacing: 2px;
        text-align: center;
    }

    /* Mobile Utility Classes */
    .history-section .container .empty-title {
        display: none;
    }

    .history-section .container .order-999 {
        order: 999;
    }
}
