/* ==================================================
   发展历程 / Development History
   所有类名均使用 hb-history 前缀，避免影响现有板块
   ================================================== */

#section-history,
#section-history * {
    box-sizing: border-box;
}

#section-history {
    --hb-history-blue: #075bd8;
    --hb-history-deep: #063e9f;
    --hb-history-ink: #263344;
    --hb-history-muted: #758397;
    --hb-history-line: #dce6f3;
    --hb-history-progress: 0%;
    position: relative;
    overflow: hidden;
    padding: 108px 0 96px;
    background:
        radial-gradient(circle at 84% 22%, rgba(7, 91, 216, 0.075), transparent 23%),
        linear-gradient(180deg, #fff 0%, #f7faff 100%);
    color: var(--hb-history-ink);
}

#section-history::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #dfe8f4 20%, #dfe8f4 80%, transparent);
    content: "";
}

.hb-history__decor {
    position: absolute;
    border: 1px solid rgba(7, 91, 216, 0.08);
    border-radius: 50%;
    pointer-events: none;
}

.hb-history__decor--left {
    top: 80px;
    left: -280px;
    width: 560px;
    height: 560px;
}

.hb-history__decor--right {
    right: -150px;
    bottom: -220px;
    width: 420px;
    height: 420px;
    box-shadow: 0 0 0 50px rgba(7, 91, 216, 0.018), 0 0 0 100px rgba(7, 91, 216, 0.012);
}

.hb-history__inner {
    position: relative;
    z-index: 1;
    width: min(1440px, calc(100% - 80px));
    margin: 0 auto;
}

.hb-history__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 58px;
}

.hb-history__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    color: var(--hb-history-blue);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.hb-history__eyebrow::before {
    width: 34px;
    height: 2px;
    background: var(--hb-history-blue);
    content: "";
}

.hb-history__heading h2 {
    margin: 0;
    color: #252c36;
    font-size: clamp(34px, 3.15vw, 52px);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.02em;
}

.hb-history__heading p {
    margin: 18px 0 0;
    color: var(--hb-history-muted);
    font-size: 16px;
    line-height: 1.8;
}

.hb-history__actions {
    display: flex;
    flex: 0 0 auto;
    gap: 12px;
}

.hb-history__arrow {
    display: inline-flex;
    width: 52px;
    height: 52px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid #d5e0ee;
    border-radius: 50%;
    outline: none;
    background: rgba(255, 255, 255, 0.92);
    color: #64758b;
    cursor: pointer;
    transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease, transform 0.25s ease;
    appearance: none;
}

.hb-history__arrow svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.hb-history__arrow:hover:not(:disabled),
.hb-history__arrow:focus-visible {
    border-color: var(--hb-history-blue);
    background: var(--hb-history-blue);
    color: #fff;
    transform: translateY(-2px);
}

.hb-history__arrow:disabled {
    opacity: 0.36;
    cursor: not-allowed;
}

.hb-history__viewport {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    outline: none;
    cursor: grab;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
}

.hb-history__viewport::-webkit-scrollbar {
    display: none;
}

.hb-history__viewport.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
    scroll-snap-type: none;
    user-select: none;
}

.hb-history__viewport:focus-visible {
    border-radius: 12px;
    box-shadow: 0 0 0 3px rgba(7, 91, 216, 0.15);
}

.hb-history__track {
    position: relative;
    display: flex;
    width: max-content;
    min-width: 100%;
    align-items: stretch;
    gap: 24px;
    padding: 3px 0 22px;
}

.hb-history__track::before {
    position: absolute;
    top: 15px;
    right: 0;
    left: 0;
    height: 1px;
    background:var(--hb-history-line);
    content: "";
}

.hb-history__item {
    position: relative;
    flex: 0 0 calc((min(1440px, 100vw - 80px) - 48px) / 3);
    min-width: 0;
    padding-top: 48px;
    outline: none;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.hb-history__node {
    position: absolute;
    z-index: 2;
    top: 5px;
    left: 28px;
    width: 15px;
    height: 15px;
    border: 4px solid #fff;
    border-radius: 50%;
    background: #b8c6d8;
    box-shadow: 0 0 0 1px #c9d5e5;
    transition: background 0.28s ease, box-shadow 0.28s ease, transform 0.28s ease;
}

.hb-history__card {
    position: relative;
    height: 100%;
    min-height: 390px;
    overflow: hidden;
    padding: 42px 34px 36px;
    border: 1px solid #e0e8f2;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 1px 5px rgba(41, 67, 101, 0.06);
    transition: border-color 0.32s ease, box-shadow 0.32s ease, transform 0.32s ease;
}

.hb-history__card::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--hb-history-blue), #57a8ff);
    content: "";
    opacity: 0;
    transform: scaleX(0.25);
    transform-origin: left center;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.hb-history__index {
    position: absolute;
    top: 27px;
    right: 30px;
    color: #edf2f8;
    font-size: 54px;
    font-weight: 700;
    line-height: 1;
    transition: color 0.3s ease;
}

.hb-history__card time {
    position: relative;
    z-index: 1;
    display: block;
    margin-bottom: 34px;
    color: var(--hb-history-blue);
    font-size: clamp(38px, 3.1vw, 52px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.03em;
}

.hb-history__card h3 {
    position: relative;
    z-index: 1;
    margin: 0 0 17px;
    color: #263344;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.4;
}

.hb-history__card p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #718096;
    font-size: 16px;
    line-height: 1.9;
}

.hb-history__item:hover .hb-history__card,
.hb-history__item:focus-visible .hb-history__card,
.hb-history__item.is-active .hb-history__card {
    border-color: rgba(7, 91, 216, 0.2);
    box-shadow: 0 5px 10px rgba(20, 75, 148, 0.13);
    transform: translateY(-8px);
}

.hb-history__item:hover .hb-history__card::before,
.hb-history__item:focus-visible .hb-history__card::before,
.hb-history__item.is-active .hb-history__card::before {
    opacity: 1;
    transform: scaleX(1);
}

.hb-history__item:hover .hb-history__node,
.hb-history__item:focus-visible .hb-history__node,
.hb-history__item.is-active .hb-history__node {
    background: var(--hb-history-blue);
    box-shadow: 0 0 0 1px var(--hb-history-blue), 0 0 0 7px rgba(7, 91, 216, 0.12);
    transform: scale(1.08);
}

.hb-history__item.is-active .hb-history__index {
    color: #e5effd;
}

.hb-history__footer {
    display: grid;
    grid-template-columns: minmax(120px, 360px) auto 1fr;
    align-items: center;
    gap: 22px;
    margin-top: 18px;
}

.hb-history__progress {
    position: relative;
    height: 2px;
    overflow: hidden;
    border-radius: 2px;
    background: #dae4f0;
}

.hb-history__progress span {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: var(--hb-history-progress);
    border-radius: inherit;
    background: linear-gradient(90deg, var(--hb-history-deep), #4299ff);
    transition: width 0.35s ease;
}

.hb-history__count {
    display: flex;
    align-items: baseline;
    gap: 5px;
    min-width: 74px;
    font-variant-numeric: tabular-nums;
}

.hb-history__count strong {
    color: var(--hb-history-blue);
    font-size: 21px;
}

.hb-history__count span {
    color: #a0aec0;
    font-size: 14px;
}

.hb-history__hint {
    justify-self: end;
    margin: 0;
    color: #9aa8ba;
    font-size: 14px;
}

@media (max-width: 1199px) {
    #section-history {
        padding: 88px 0 80px;
    }

    .hb-history__inner {
        width: min(100% - 48px, 1120px);
    }

    .hb-history__item {
        flex-basis: calc((100vw - 72px) / 2);
    }
}

@media (max-width: 767px) {
    #section-history {
        padding: 68px 0 60px;
    }

    .hb-history__inner {
        width: calc(100% - 32px);
    }

    .hb-history__header {
        align-items: flex-end;
        gap: 18px;
        margin-bottom: 42px;
    }

    .hb-history__eyebrow {
        margin-bottom: 10px;
        font-size: 12px;
        letter-spacing: 0.1em;
    }

    .hb-history__heading p {
        max-width: 280px;
        margin-top: 12px;
        font-size: 15px;
        line-height: 1.7;
    }

    .hb-history__actions {
        gap: 7px;
    }

    .hb-history__arrow {
        width: 42px;
        height: 42px;
    }



    .hb-history__track {
        gap: 14px;
    }

    .hb-history__item {
        flex-basis: calc(100vw - 48px);
        padding-top: 42px;
    }

    .hb-history__node {
        left: 22px;
    }

    .hb-history__card {
        min-height: 390px;
        padding: 38px 25px 30px;
    }

    .hb-history__index {
        top: 25px;
        right: 22px;
        font-size: 46px;
    }

    .hb-history__card time {
        margin-bottom: 28px;
        font-size: 42px;
    }

    .hb-history__card h3 {
        font-size: 20px;
    }

    .hb-history__card p {
        font-size: 15px;
    }

    .hb-history__footer {
        grid-template-columns: 1fr auto;
        gap: 16px;
        margin-top: 8px;
    }

    .hb-history__hint {
        display: none;
    }
}

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

    .hb-history__card,
    .hb-history__card::before,
    .hb-history__node,
    .hb-history__progress span,
    .hb-history__arrow {
        transition: none;
    }
}

/* =========================================================
   内页 Subheader 原比例清晰显示（1920 × 600）
   ========================================================= */
#subheader {
    position: relative;
    width: 100%;
    height:395px;
    min-height: 0;
    box-sizing: border-box;
    overflow: hidden;
    background-color: #eaf0f6;
}

#subheader > .jarallax-container,
#subheader .jarallax-container {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
    clip: auto !important;
}

#subheader > .jarallax-img,
#subheader .jarallax-container > .jarallax-img,
#subheader img.jarallax-img {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: center top !important;
    transform: none !important;
    transition: none !important;
    will-change: auto !important;
    backface-visibility: visible !important;
    image-rendering: auto;
}

#subheader > .container {
    position: relative;
    z-index: 3;
}

#subheader .de-gradient-edge-top,
#subheader .de-overlay {
    pointer-events: none;
}

@media (min-width: 768px) and (max-width: 1199px) {
    #subheader {
        height: clamp(380px, 42vw, 500px);
    }
}

@media (max-width: 767px) {
    #subheader {
        height: 320px;
        padding-top: 108px;
        padding-bottom: 38px;
    }

    #subheader > .jarallax-img,
    #subheader .jarallax-container > .jarallax-img,
    #subheader img.jarallax-img {
        object-position: 68% center !important;
    }
}

@media (max-width: 479px) {
    #subheader {
        height: 300px;
        padding-top: 98px;
        padding-bottom: 28px;
    }
}

/* ==================================================
   资质荣誉证书轮播 + 全屏大图
   建议追加到 /style/css/ny.css 末尾
   ================================================== */

#section-honors,
#section-honors * {
    box-sizing: border-box;
}

#section-honors {
    --hb-honor-blue: #075bd8;
    --hb-honor-deep: #063e9f;
    --hb-honor-ink: #263344;
    --hb-honor-muted: #758397;
    position: relative;
    overflow: hidden;
    padding: 106px 0 96px;
    background:
        linear-gradient(135deg, rgba(7, 91, 216, 0.035) 0%, transparent 28%),
        radial-gradient(circle at 88% 24%, rgba(7, 91, 216, 0.075), transparent 24%),
        #f4f7fb;
    color: var(--hb-honor-ink);
}

#section-honors::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #dfe8f4 20%, #dfe8f4 80%, transparent);
    content: "";
}

.hb-honors__glow {
    position: absolute;
    border: 1px solid rgba(7, 91, 216, 0.07);
    border-radius: 50%;
    pointer-events: none;
}

.hb-honors__glow--left {
    bottom: -300px;
    left: -220px;
    width: 560px;
    height: 560px;
    box-shadow: 0 0 0 65px rgba(7, 91, 216, 0.018);
}

.hb-honors__glow--right {
    top: 60px;
    right: -150px;
    width: 360px;
    height: 360px;
}

.hb-honors__inner {
    position: relative;
    z-index: 1;
    width: min(1440px, calc(100% - 80px));
    margin: 0 auto;
}

.hb-honors__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 48px;
}

.hb-honors__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    color: var(--hb-honor-blue);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.15em;
}

.hb-honors__eyebrow::before {
    width: 34px;
    height: 2px;
    background: var(--hb-honor-blue);
    content: "";
}

.hb-honors__heading h2 {
    margin: 0;
    color: #252c36;
    font-size: clamp(34px, 3.15vw, 52px);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.02em;
}

.hb-honors__heading p {
    margin: 18px 0 0;
    color: var(--hb-honor-muted);
    font-size: 16px;
    line-height: 1.8;
}

.hb-honors__actions {
    display: flex;
    flex: 0 0 auto;
    gap: 12px;
}

.hb-honors__arrow,
.hb-honor-lightbox__arrow,
.hb-honor-lightbox__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    outline: none;
    cursor: pointer;
    appearance: none;
}

.hb-honors__arrow {
    width: 52px;
    height: 52px;
    border: 1px solid #d3dfed;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: #66778c;
    transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.hb-honors__arrow svg,
.hb-honor-lightbox__arrow svg,
.hb-honor-lightbox__close svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.hb-honors__arrow:hover:not(:disabled),
.hb-honors__arrow:focus-visible {
    border-color: var(--hb-honor-blue);
    background: var(--hb-honor-blue);
    color: #fff;
    transform: translateY(-2px);
}

.hb-honors__arrow:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

/* 覆盖 main.css 中针对所有 .swiper 的绝对定位和强制高度 */
#section-honors .hb-honors__swiper.swiper {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100%;
    height: auto !important;
    padding: 10px 2px 18px;
    overflow: hidden;
}

.hb-honors__swiper .swiper-wrapper {
    align-items: stretch;
}

.hb-honors__swiper .swiper-slide {
    height: auto;
}

.hb-honor-card {
    position: relative;
}

.hb-honor-card__open {
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
    border: 1px solid #dfe7f1;
    border-radius: 9px;
    outline: none;
    background: #fff;
    color: inherit;
    text-align: left;
    cursor: zoom-in;
    box-shadow: 0 1px 5px rgba(39, 67, 103, 0.07);
    transition: border-color 0.32s ease, box-shadow 0.32s ease, transform 0.32s ease;
    appearance: none;
}

.hb-honor-card__open:hover,
.hb-honor-card__open:focus-visible {
    border-color: rgba(7, 91, 216, 0.3);
    box-shadow: 0 2px 8px rgba(29, 79, 145, 0.15);
    transform: translateY(-8px);
}

.hb-honor-card__image {
    position: relative;
    display: flex;
    width: 100%;
    aspect-ratio: 4 / 5;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 24px;
    background:
        linear-gradient(135deg, rgba(7, 91, 216, 0.035), transparent 40%),
        #eef3f9;
}

.hb-honor-card__image::after {
    position: absolute;
    inset: 15px;
    border: 1px solid rgba(7, 91, 216, 0.09);
    pointer-events: none;
    content: "";
}

.hb-honor-card__image img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 12px 18px rgba(32, 51, 77, 0.12));
    transition: transform 0.4s ease;
}

.hb-honor-card__open:hover .hb-honor-card__image img,
.hb-honor-card__open:focus-visible .hb-honor-card__image img {
    transform: scale(1.025);
}

.hb-honor-card__zoom {
    position: absolute;
    z-index: 2;
    right: 18px;
    bottom: 18px;
    display: inline-flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(7, 91, 216, 0.94);
    color: #fff;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.hb-honor-card__zoom svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 1.7;
}

.hb-honor-card__open:hover .hb-honor-card__zoom,
.hb-honor-card__open:focus-visible .hb-honor-card__zoom {
    opacity: 1;
    transform: translateY(0);
}

.hb-honor-card__meta {
    display: flex;
    width: 100%;
    min-height: 104px;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 20px 24px;
    border-top: 1px solid #edf1f6;
}

.hb-honor-card__meta strong {
    overflow: hidden;
    color: var(--hb-honor-ink);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.45;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hb-honor-card__meta small {
    color: #96a3b4;
    font-size: 13px;
    line-height: 1.5;
}

.hb-honors__footer {
    display: flex;
    min-height: 30px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 25px;
}

#section-honors .hb-honors__pagination.swiper-pagination {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    display: flex;
    width: auto !important;
    align-items: center;
    gap: 8px;
    transform: none !important;
}

.hb-honors__pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    margin: 0 !important;
    border-radius: 10px;
    background: #b8c6d8;
    opacity: 1;
    transition: width 0.25s ease, background 0.25s ease;
}

.hb-honors__pagination .swiper-pagination-bullet-active {
    width: 28px;
    background: var(--hb-honor-blue);
}

.hb-honors__tip {
    color: #9aa8b9;
    font-size: 14px;
}

.hb-honors__actions.is-locked,
.hb-honors__footer.is-locked {
    display: none;
}

/* ---------------- 案例列表图片触发器 ---------------- */

.hb-case-card__open {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
    padding: 0;
    border: 0;
    border-radius: inherit;
    outline: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: zoom-in;
    appearance: none;
}

.hb-case-card__open > img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.hb-case-card__open:focus-visible {
    box-shadow: 0 0 0 3px rgba(19, 102, 217, 0.34);
}

.hb-case-card__open .abs {
    pointer-events: none;
}

.hb-case-card__zoom {
    position: absolute;
    z-index: 5;
    top: 18px;
    right: 18px;
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 12px 30px rgba(5, 37, 79, 0.18);
    color: #1265d8;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-7px) scale(0.92);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.hb-case-card__zoom svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.hb-case-card__open:hover .hb-case-card__zoom,
.hb-case-card__open:focus-visible .hb-case-card__zoom {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* ---------------- 全屏证书查看器 ---------------- */

body.hb-honor-lightbox-open {
    overflow: hidden;
}

.hb-honor-lightbox[hidden] {
    display: none !important;
}

.hb-honor-lightbox {
    position: fixed;
    z-index: 100000;
    inset: 0;
    display: grid;
    align-items: center;
    justify-items: center;
    padding: 28px;
}

.hb-honor-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 13, 27, 0.91);
    backdrop-filter: blur(8px);
}

.hb-honor-lightbox__panel {
    position: relative;
    z-index: 1;
    display: grid;
    width: min(1440px, 100%);
    height: min(90vh, 920px);
    grid-template-columns: 64px minmax(0, 1fr) 64px;
    align-items: center;
    gap: 22px;
}

.hb-honor-lightbox__figure {
    display: flex;
    min-width: 0;
    height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.hb-honor-lightbox__image-wrap {
    display: flex;
    min-width: 240px;
    min-height: 280px;
    max-width: 100%;
    max-height: calc(100% - 64px);
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 14px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

.hb-honor-lightbox__image {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: calc(90vh - 140px);
    object-fit: contain;
}

.hb-honor-lightbox__figure figcaption {
    max-width: 720px;
    margin-top: 20px;
    overflow: hidden;
    color: #fff;
    font-size: 17px;
    line-height: 1.5;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hb-honor-lightbox__arrow,
.hb-honor-lightbox__close {
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.hb-honor-lightbox__arrow {
    width: 60px;
    height: 60px;
}

.hb-honor-lightbox__close {
    position: absolute;
    z-index: 3;
    top: 0;
    right: 0;
    width: 48px;
    height: 48px;
}

.hb-honor-lightbox__arrow:hover,
.hb-honor-lightbox__arrow:focus-visible,
.hb-honor-lightbox__close:hover,
.hb-honor-lightbox__close:focus-visible {
    border-color: var(--hb-honor-blue);
    background: var(--hb-honor-blue);
    transform: scale(1.05);
}

.hb-honor-lightbox__count {
    position: absolute;
    right: 0;
    bottom: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    font-variant-numeric: tabular-nums;
}

@media (max-width: 1199px) {
    #section-honors {
        padding: 88px 0 80px;
    }

    .hb-honors__inner {
        width: min(100% - 48px, 1120px);
    }
}

@media (max-width: 767px) {
    #section-honors {
        padding: 68px 0 60px;
    }

    .hb-honors__inner {
        width: calc(100% - 32px);
    }

    .hb-honors__header {
        align-items: flex-end;
        gap: 18px;
        margin-bottom: 34px;
    }

    .hb-honors__eyebrow {
        margin-bottom: 10px;
        font-size: 12px;
        letter-spacing: 0.09em;
    }

    .hb-honors__heading p {
        max-width: 270px;
        margin-top: 12px;
        font-size: 15px;
        line-height: 1.7;
    }

    .hb-honors__actions {
        gap: 7px;
    }

    .hb-honors__arrow {
        width: 42px;
        height: 42px;
    }

    #section-honors .hb-honors__swiper.swiper {
        padding-bottom: 12px;
    }

    .hb-honor-card__image {
        aspect-ratio: 4 / 4.7;
        padding: 20px;
    }

    .hb-honor-card__meta {
        min-height: 92px;
        padding: 17px 20px;
    }

    .hb-honors__footer {
        margin-top: 18px;
    }

    .hb-honors__tip {
        display: none;
    }

    .hb-case-card__zoom {
        top: 12px;
        right: 12px;
        width: 40px;
        height: 40px;
        opacity: 1;
        transform: none;
    }

    .hb-honor-lightbox {
        padding: 16px;
    }

    .hb-honor-lightbox__panel {
        width: 100%;
        height: 94vh;
        grid-template-columns: 1fr;
        gap: 0;
    }

    .hb-honor-lightbox__figure {
        padding: 62px 0 74px;
    }

    .hb-honor-lightbox__image-wrap {
        min-width: 0;
        min-height: 200px;
        max-height: calc(94vh - 155px);
        padding: 9px;
    }

    .hb-honor-lightbox__image {
        max-height: calc(94vh - 175px);
    }

    .hb-honor-lightbox__figure figcaption {
        max-width: calc(100vw - 48px);
        margin-top: 15px;
        font-size: 15px;
    }

    .hb-honor-lightbox__arrow {
        position: absolute;
        z-index: 3;
        bottom: 12px;
        width: 48px;
        height: 48px;
    }

    .hb-honor-lightbox__prev {
        left: 0;
    }

    .hb-honor-lightbox__next {
        right: 0;
    }

    .hb-honor-lightbox__close {
        top: 0;
        right: 0;
    }

    .hb-honor-lightbox__count {
        right: 50%;
        bottom: 25px;
        transform: translateX(50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hb-honors__arrow,
    .hb-honor-card__open,
    .hb-honor-card__image img,
    .hb-honor-card__zoom,
    .hb-honors__pagination .swiper-pagination-bullet,
    .hb-honor-lightbox__arrow,
    .hb-honor-lightbox__close,
    .hb-case-card__zoom {
        transition: none;
    }
}
