/* Hero Banner Component Styles */
.Hhero.site-section{
    position: relative;
    isolation: isolate;
    padding-top: 0;
    padding-right: 0;
    padding-bottom: 0;
    padding-left: 0;
    gap: 0;
}

.Hhero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

/* Background Image */
.Hhero__img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.Hhero__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50%;
}

/* Overlay */
/* .Hhero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 2;
} */

.Hhero__overlay.site-div {
    background-color: var(--black-trans-50);
    z-index: -1;
    top: 0px;
    right: 0px;
    position: absolute;
    width: 100%;
    height: 100%;
}

.Hhero__container.site-container{
    flex-direction: column;
    width: 100%;
}

/* Container */
.site__container{
    position: relative;
    z-index: 3;
    width: 100%;
    margin: 0 auto;
    padding: var(--section-space-m) var(--section-padding-x);
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
    min-height: auto;
    justify-content: flex-end;
    align-items: stretch;
}

@media (min-width: 992px) {
    .Hhero__container {
        flex-direction: column;
        align-items: stretch;
        gap: var(--space-xxl);
        justify-content: flex-end;
    }
}

/* Container Info */
.Hhero__container-info {
    padding-top: var(--section-space-m);
    padding-right: var(--section-padding-x)
clamp(2rem, calc(0.9615384615vw + 1.6538461538rem), 3rem)
;
    padding-bottom: var(--section-space-m);
    padding-left: var(--section-padding-x);
}

.Hhero__inner-container-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-m);
}

.Hhero__container-info.site-block{
    row-gap: var(--content-gap);
    margin-right: auto;
    margin-left: auto;
    width: var(--content-width); 
}

/* Heading */
.Hhero__heading {
    color: var(--white);
    font-size: var(--text-xxl);
    text-align: left;
    text-wrap: wrap;
    width: var(--width-l);
}

@media (max-width: 991px) {
    .Hhero__heading {
        font-size: var(--h2);
    }
}

/* Description */
.Hhero__description.site-text {
    font-size: var(--text-m);
    color: var(--white-trans-90);
;
    text-align: left;
    width: var(--width-l);
}

.Hhero__description p {
    margin: 0 0 var(--space-s) 0;
}

.Hhero__description ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.Hhero__description li {
    position: relative;
    padding-left: var(--space-m);
}

.Hhero__description li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
    font-size: 1.2em;
}

/* Button */
.Hhero__btn {
    display: inline-block;
    padding: var(--space-s) var(--space-l);
    background-color: var(--white);
    color: var(--black);
    font-size: var(--text-m);
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: var(--radius-m);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    align-self: flex-start;
    margin-top: var(--space-s);
}

.Hhero__btn:active {
    transform: translateY(0);
}

/* Feature List */
.Hhero__list.site-block {
    list-style: none;
    margin-top: 0;
    margin-bottom: 0;
    padding-top: var(--space-l);
    padding-right: var(--space-l);
    padding-bottom: var(--space-l);
    padding-left: var(--space-l);
    display: grid;
    align-items: initial;
    grid-template-columns: var(--grid-3, repeat(3, 1fr));
    grid-gap: var(--content-gap, var(--space-m));
    grid-template-rows: var(--grid-1, auto);
    background-color: var(--black-trans-30, rgba(0, 0, 0, 0.3));
    width: 100%;
    max-width: 100%;
}

/* List - full width (break out of container padding) */
.Hhero__list.site-block {
    margin-left: calc(var(--section-padding-x) * -1);
    margin-right: calc(var(--section-padding-x) * -1);
    margin-bottom: 0;
    width: calc(100% + var(--section-padding-x) * 2);
    max-width: none;
    position: relative;
    z-index: 4;
}

@media (max-width: 991px) {
    .Hhero__list,
    .Hhero__list.site-block {
        grid-template-columns: 1fr;
        grid-gap: var(--space-m);
    }
}

/* Feature Element */
.Hhero__feature-element,
.Hhero__feature-element.site-block {
    display: flex;
    flex-direction: row;
    column-gap: var(--content-gap, var(--space-m));
    flex-wrap: nowrap;
    align-items: flex-start;
    row-gap: var(--content-gap, var(--space-m));
}

.Hhero__feature-count {
    width: 3rem;
    height: 3rem;
    min-width: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--white);
    font-size: var(--text-l);
    flex-shrink: 0;
}

.Hhero__feature-element-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    row-gap: var(--space-xs);
}

/* Feature Heading */
.Hhero__feature-heading {
    font-size: var(--text-l);
    color: var(--white);
}

.Hhero__feature-heading a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.Hhero__feature-heading a:hover {
    color: var(--primary-light);
}

/* Feature Description */
.Hhero__feature-description {
    font-size: var(--default-font-size, var(--text-m));
    max-width: var(--width-m);
    color: var(--white-trans-90);
}

/* Responsive Adjustments */
@media (max-width: 767px) {
    .Hhero {
        min-height: 80vh;
    }

    .Hhero__container {
        padding: var(--section-space-s) var(--section-padding-x);
        gap: var(--space-l);
    }

    /* 文案区不溢出、自动换行 */
    .Hhero__inner-container-info,
    .Hhero__container-info.site-block {
        max-width: 100% !important;
        width: 100% !important;
        min-width: 0;
    }
    .Hhero__heading {
        font-size: var(--h3);
        max-width: 100% !important;
        width: 100% !important;
        overflow-wrap: break-word;
        word-wrap: break-word;
        word-break: break-word;
    }
    .Hhero__description,
    .Hhero__description.site-text,
    .Hhero__description p,
    .Hhero__description ul {
        max-width: 100% !important;
        width: 100% !important;
        overflow-wrap: break-word;
        word-wrap: break-word;
    }
    .Hhero__btn {
        max-width: 100%;
    }

    .Hhero__feature-element {
        flex-direction: column;
        text-align: center;
    }

    /* 手机端只保留文字，隐藏数字圆圈 */
    .site-div.Hhero__feature-count,
    .Hhero__feature-count {
        display: none !important;
    }
}

