


.history-section * {
    box-sizing: border-box;
}


.history-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 120px 50px 0px !important;


    overflow: hidden;
    background-color: #ffffff;
}


.history-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1920px;
    row-gap: 173px;
}


.history-wrapper {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    align-items: center;
    align-self: stretch;
    row-gap: 12px;
}


.history-text {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    align-items: center;
    align-self: stretch;
    row-gap: 6px;
}


.history-title {
    flex-shrink: 0;
    width: 100%;
    max-width: 1210px;
    text-align: center;
    line-height: 100px;
    letter-spacing: 0;
    color: #000000;
    font-family: 'Marcellus', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', SimHei, Arial, Helvetica, sans-serif;
    font-size: 70px;
    font-weight: normal;
    text-transform: uppercase;
    margin: 0;
}


.history-description {
     font-family: var(--hero-font-secondary);
    font-size: clamp(0.875rem, 2vw, 1rem) !important;
    line-height: 1.75;
    letter-spacing: 0;
    color: var(--hero-text-color);
    margin: 0;
    padding-bottom: 15px;
    text-align: center;
    max-width: 100%;
}


.history-divider {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 1px;
    border-bottom: 1px solid #000000;
    background-color: #000000;
}


.history-image-container {
    flex-shrink: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    overflow: hidden;
}


.history-image {
    flex-shrink: 0;
    width: 100%;
    max-width: 1850px;
    height: auto;
    aspect-ratio: 1850/904;
    object-fit: cover;
    overflow: hidden;
}




@media (min-width: 1440px) {
    .history-section {
        padding: 150px 50px 25px;
    
    }
    
    .history-title {
        font-size: 70px;
        line-height: 100px;
        max-width: 1210px;
    }
    
    .history-description {
        font-size: 18px;
        line-height: 20px;
        max-width: 1210px;
    }
    
    .history-container {
        row-gap: 173px;
    }
}


@media (max-width: 1439px) and (min-width: 1024px) {
    .history-section {
        padding: 80px 40px 20px;
     
    }
    
    .history-title {
        font-size: 60px;
        line-height: 80px;
        max-width: 1000px;
    }
    
    .history-description {
        font-size: 16px;
        line-height: 22px;
        max-width: 1000px;
    }
    
    .history-container {
        row-gap: 140px;
    }
    
    .history-divider {
        width: 80px;
    }
}


@media (max-width: 1023px) and (min-width: 768px) {
    .history-section {
        padding: 30px 30px 15px;
  
    }
    
    .history-title {
        font-size: 48px;
        line-height: 60px;
        max-width: 700px;
    }
    
    .history-description {
        font-size: 16px;
        line-height: 24px;
        max-width: 700px;
    }
    
    .history-container {
        row-gap: 100px;
    }
    
    .history-wrapper {
        row-gap: 10px;
    }
    
    .history-text {
        row-gap: 8px;
    }
    
    .history-divider {
        width: 60px;
    }
}


@media (max-width: 767px) and (min-width: 480px) {
    .history-section {
        padding: 25px 20px 15px;
        min-height: 800px;
    }
    
    .history-title {
        font-size: 36px;
        line-height: 45px;
        max-width: 400px;
    }
    
    .history-description {
        font-size: 14px;
        line-height: 22px;
        max-width: 400px;
    }
    
    .history-container {
        row-gap: 60px;
    }
    
    .history-wrapper {
        row-gap: 8px;
    }
    
    .history-text {
        row-gap: 6px;
    }
    
    .history-divider {
        width: 50px;
    }
}


@media (max-width: 479px) {
    .history-section {
        padding: 20px 15px 10px;
        min-height: 400px;
    }
    
    .history-title {
        font-size: 28px;
        line-height: 35px;
        max-width: 300px;
    }
    
    .history-description {
        font-size: 13px;
        line-height: 20px;
        max-width: 300px;
    }
    
    .history-container {
        row-gap: 40px;
    }
    
    .history-wrapper {
        row-gap: 6px;
    }
    
    .history-text {
        row-gap: 4px;
    }
    
    .history-divider {
        width: 40px;
    }
}


@media print {
    .history-section {
        padding: 20px;
        min-height: auto;
        page-break-inside: avoid;
    }
    
    .history-title {
        font-size: 24px;
        line-height: 30px;
    }
    
    .history-description {
        font-size: 12px;
        line-height: 16px;
    }
    
    .history-container {
        row-gap: 20px;
    }
    
    .history-image {
        max-height: 300px;
    }
}


@media (prefers-reduced-motion: reduce) {
    .history-section {
        scroll-behavior: auto;
    }
}


@media (prefers-contrast: high) {
    .history-title,
    .history-description {
        color: #000000;
    }
    
    .history-divider {
        border-color: #000000;
        background-color: #000000;
    }
}


.history-section:focus-within {
    outline: 2px solid #0073aa;
    outline-offset: 2px;
}


.history-image {
    transition: opacity 0.3s ease;
}

.history-image[loading="lazy"] {
    opacity: 1;
}

.history-image.loaded {
    opacity: 1;
}

/* Contact Information Styles */
.history-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 30px;
    padding-top: 0;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--hero-font-secondary);
    font-size: 16px;
    line-height: 1.5;
    color: #333333;
}

.contact-item strong {
    font-weight: 600;
    color: #000000;
}

.contact-item a,
.contact-item span {
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #666666;
    text-decoration: underline;
}

/* Responsive styles for contact section */
@media (max-width: 768px) {
    .history-contact {
        gap: 8px;
        margin-top: 20px;
        padding-top: 16px;
    }
    
    .contact-item {
        font-size: 14px;
        flex-direction: column;
        text-align: center;
        gap: 4px;
    }
}