/*
 * First Industrial Park homepage service, data and honors presentation.
 * Shared by the production homepage and the private index2 preview.
 */

body.ace-index-home-service .ace-stats::before {
    display: none;
}

/* Production homepage: match the service heading rhythm to the news heading. */
body.ace-index-production.ace-index-home-service .ace-stats__heading > p strong {
    line-height: 1.3;
}

body.ace-index-production.ace-index-home-service .ace-stats__heading > p span {
    font-size: 14px;
    line-height: 1.7;
}

@media (max-width: 900px) {
    body.ace-index-production.ace-index-home-service .ace-stats__heading {
        display: grid;
        align-items: start;
        grid-template-columns: minmax(0, 1fr) auto;
        column-gap: 16px;
        row-gap: 10px;
    }

    body.ace-index-production.ace-index-home-service .ace-stats__heading > div:first-child {
        grid-column: 1;
        grid-row: 1;
    }

    body.ace-index-production.ace-index-home-service .ace-stats__heading > p {
        display: contents;
        width: auto;
        max-width: none;
        margin: 0;
        padding-left: 0;
        border-left: 0;
    }

    body.ace-index-production.ace-index-home-service .ace-stats__heading > p strong {
        margin: 0 0 15px;
        align-self: end;
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
        white-space: nowrap;
    }

    body.ace-index-production.ace-index-home-service .ace-stats__heading > p span {
        margin: 0;
        padding: 0;
        grid-column: 1 / -1;
        grid-row: 2;
    }
}

@media (max-width: 720px) {
    body.ace-index-production.ace-index-home-service .ace-stats__heading > p strong {
        display: none;
    }

    body.ace-index-production.ace-index-home-service .ace-stats__heading > p span {
        font-size: 13px;
    }
}

@media (max-width: 360px) {
    body.ace-index-production.ace-index-home-service .ace-stats__heading {
        column-gap: 10px;
    }

    body.ace-index-production.ace-index-home-service .ace-stats__heading > p strong {
        font-size: 16px;
    }
}

body.ace-index-home-service .ace-home-service-showcase {
    display: grid;
    min-height: 560px;
    margin-top: clamp(58px, 5.7vw, 84px);
    padding: clamp(26px, 2.4vw, 34px) clamp(24px, 2.8vw, 40px);
    align-items: center;
    border: 1px solid rgba(104, 111, 116, .1);
    border-radius: 26px;
    background: rgba(255, 255, 255, .95);
    box-shadow: 0 26px 80px rgba(37, 39, 41, .075);
    gap: clamp(38px, 4vw, 60px);
    grid-template-columns: minmax(440px, 1.08fr) minmax(460px, .92fr);
}

body.ace-index-home-service .ace-home-service-showcase__visual {
    display: flex;
    min-width: 0;
    margin: 0;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(22px) scale(.975);
}

body.ace-index-home-service .ace-home-service-showcase__visual--multiply {
    mix-blend-mode: multiply;
}

body.ace-index-home-service .ace-home-service-showcase__visual img {
    display: block;
    width: min(110%, 660px);
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 30px 30px rgba(65, 70, 74, .1));
}

body.ace-index-home-service .ace-home-service-showcase__visual .ace-home-service-showcase__image--doubao {
    opacity: .9;
    filter: contrast(1.04) brightness(1.02);
    -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 0 68%, rgba(0, 0, 0, .92) 78%, transparent 100%);
    mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 0 68%, rgba(0, 0, 0, .92) 78%, transparent 100%);
}

body.ace-index-home-service .ace-home-service-showcase__content {
    position: relative;
    z-index: 0;
    display: flex;
    min-width: 0;
    padding: clamp(28px, 3vw, 42px) clamp(20px, 2.2vw, 32px);
    align-self: stretch;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: none;
    color: #242321;
    box-shadow: none;
    opacity: 0;
    transform: translateY(22px);
    text-align: left;
}

body.ace-index-home-service .ace-home-service-showcase__content::before {
    display: none;
}

body.ace-index-home-service .ace-stats.is-entered .ace-home-service-showcase__visual,
body.ace-index-home-service .ace-stats.is-entered .ace-home-service-showcase__content {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition: opacity .8s ease, transform .95s cubic-bezier(.2, .75, .2, 1);
}

body.ace-index-home-service .ace-stats.is-entered .ace-home-service-showcase__content {
    transition-delay: .12s;
}

body.ace-index-home-service .ace-home-service-showcase__primary {
    display: flex;
    align-items: baseline;
    line-height: .92;
    white-space: nowrap;
}

body.ace-index-home-service .ace-home-service-showcase__primary > span {
    margin-right: 14px;
    color: #343230;
    font-size: clamp(27px, 2.2vw, 32px);
    font-weight: 560;
}

body.ace-index-home-service .ace-home-service-showcase__primary strong {
    color: var(--ace-red);
    font-family: var(--ace-sans);
    font-size: clamp(64px, 5.55vw, 80px);
    font-weight: 650;
    letter-spacing: -.045em;
}

body.ace-index-home-service .ace-home-service-showcase__primary sup {
    margin-left: 14px;
    color: #343230;
    font-size: clamp(20px, 1.7vw, 24px);
    font-weight: 560;
}

body.ace-index-home-service .ace-home-service-showcase__content h3 {
    margin: 24px 0 0;
    color: #252422;
    font-size: clamp(27px, 2.15vw, 31px);
    font-weight: 590;
    letter-spacing: -.025em;
    line-height: 1.36;
}

body.ace-index-home-service .ace-home-service-showcase__jobs {
    display: flex;
    margin-top: clamp(34px, 2.8vw, 42px);
    padding: 21px 24px 20px;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    border: 1px solid rgba(183, 15, 30, .09);
    border-radius: 15px;
    background: linear-gradient(112deg, rgba(183, 15, 30, .065), rgba(183, 15, 30, .018) 76%);
}

body.ace-index-home-service .ace-home-service-showcase__jobs > div {
    display: flex;
    align-items: baseline;
    line-height: 1;
}

body.ace-index-home-service .ace-home-service-showcase__jobs strong {
    color: var(--ace-red);
    font-family: var(--ace-sans);
    font-size: clamp(38px, 3.25vw, 46px);
    font-weight: 620;
    letter-spacing: -.035em;
}

body.ace-index-home-service .ace-home-service-showcase__jobs sup {
    margin-left: 3px;
    color: var(--ace-red);
    font-family: var(--ace-sans);
    font-size: clamp(20px, 1.7vw, 24px);
    font-weight: 620;
}

body.ace-index-home-service .ace-home-service-showcase__jobs > span {
    padding-bottom: 4px;
    color: #5e5a56;
    font-size: 18px;
    line-height: 1.5;
}

body.ace-index-home-service .ace-home-service-showcase__metrics {
    position: relative;
    display: grid;
    margin: 18px 0 0;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.ace-index-home-service .ace-home-service-showcase__metrics::before,
body.ace-index-home-service .ace-home-service-showcase__metrics::after {
    display: none;
}

body.ace-index-home-service .ace-home-service-showcase__metrics::before {
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
}

body.ace-index-home-service .ace-home-service-showcase__metrics::after {
    top: 50%;
    right: 0;
    left: 0;
    height: 1px;
}

body.ace-index-home-service .ace-home-service-showcase__metrics > div {
    display: flex;
    min-width: 0;
    min-height: 108px;
    padding: 18px 20px;
    flex-direction: column;
    justify-content: center;
    border: 1px solid rgba(65, 108, 172, .09);
    border-radius: 13px;
    background: rgba(65, 108, 172, .035);
}

body.ace-index-home-service .ace-home-service-showcase__metrics > div:nth-child(even) {
    padding-left: 20px;
}

body.ace-index-home-service .ace-home-service-showcase__metrics dt,
body.ace-index-home-service .ace-home-service-showcase__metrics dd {
    margin: 0;
}

body.ace-index-home-service .ace-home-service-showcase__metrics dt {
    color: #45423f;
    font-size: 17px;
    line-height: 1.35;
    white-space: nowrap;
}

body.ace-index-home-service .ace-home-service-showcase__metrics dt strong {
    margin: 0;
    color: #2f2d2b;
    font-family: var(--ace-sans);
    font-size: 32px;
    font-weight: 650;
    letter-spacing: -.025em;
}

body.ace-index-home-service .ace-home-service-showcase__metrics dd {
    margin-top: 10px;
    color: #6c6762;
    font-size: 16px;
    line-height: 1.45;
}

@media (max-width: 1100px) {
    body.ace-index-home-service .ace-home-service-showcase {
        gap: 34px;
        grid-template-columns: minmax(390px, 1fr) minmax(420px, .95fr);
    }
}

@media (max-width: 980px) {
    body.ace-index-home-service .ace-home-service-showcase {
        min-height: 0;
        gap: 44px;
        grid-template-columns: 1fr;
    }

    body.ace-index-home-service .ace-home-service-showcase__visual img {
        width: min(86vw, 640px);
    }

    body.ace-index-home-service .ace-home-service-showcase__content {
        width: min(100%, 720px);
        margin: 0 auto;
        padding-right: 36px;
        padding-left: 36px;
    }
}

@media (max-width: 767px) {
    body.ace-index-home-service .ace-home-service-showcase {
        margin-top: 52px;
        padding: 28px 18px 22px;
        border-radius: 20px;
        background: rgba(255, 255, 255, .95);
        gap: 34px;
    }

    body.ace-index-home-service .ace-home-service-showcase__visual img {
        width: min(108%, 440px);
    }

    body.ace-index-home-service .ace-home-service-showcase__content {
        padding: 26px 16px 20px;
        background: none;
    }

    body.ace-index-home-service .ace-home-service-showcase__content::before {
        inset: -12% -18% -10%;
    }

    body.ace-index-home-service .ace-home-service-showcase__primary > span {
        margin-right: 10px;
        font-size: 23px;
    }

    body.ace-index-home-service .ace-home-service-showcase__primary strong {
        font-size: clamp(58px, 17vw, 70px);
    }

    body.ace-index-home-service .ace-home-service-showcase__primary sup {
        margin-left: 10px;
        font-size: 20px;
    }

    body.ace-index-home-service .ace-home-service-showcase__content h3 {
        margin-top: 17px;
        font-size: clamp(24px, 6.6vw, 28px);
    }

    body.ace-index-home-service .ace-home-service-showcase__jobs {
        margin-top: 34px;
        padding: 15px 16px 14px;
    }

    body.ace-index-home-service .ace-home-service-showcase__jobs strong {
        font-size: clamp(38px, 11.5vw, 46px);
    }

    body.ace-index-home-service .ace-home-service-showcase__jobs > span {
        font-size: 15px;
    }

    body.ace-index-home-service .ace-home-service-showcase__metrics {
        margin-top: 10px;
        gap: 9px;
    }

    body.ace-index-home-service .ace-home-service-showcase__metrics dt {
        font-size: 14px;
    }

    body.ace-index-home-service .ace-home-service-showcase__metrics dt strong {
        font-size: 21px;
    }

    body.ace-index-home-service .ace-home-service-showcase__metrics dd {
        margin-top: 6px;
        font-size: 13px;
    }

    body.ace-index-home-service .ace-home-service-showcase__metrics > div,
    body.ace-index-home-service .ace-home-service-showcase__metrics > div:nth-child(even) {
        min-height: 84px;
        padding: 12px 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.ace-index-home-service .ace-home-service-showcase__visual,
    body.ace-index-home-service .ace-home-service-showcase__content,
    body.ace-index-home-service .ace-stats.is-entered .ace-home-service-showcase__visual,
    body.ace-index-home-service .ace-stats.is-entered .ace-home-service-showcase__content {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Homepage honors: floating cards that share the data card's visual language. */
body.ace-index-home-service .ace-core-honors {
    min-height: 132px;
    margin-top: clamp(30px, 3vw, 42px);
    border: 0;
    background: transparent;
}

body.ace-index-home-service .ace-core-honors__rail {
    min-height: 132px;
    align-items: stretch;
    gap: 12px;
}

body.ace-index-home-service .ace-core-honors__rail button,
body.ace-index-home-service .ace-core-honors__rail button.is-active {
    min-height: 132px;
    margin: 0;
    padding: 24px 20px;
    border: 1px solid rgba(104, 111, 116, .1);
    border-radius: 18px;
    background: rgba(255, 255, 255, .82);
    box-shadow: 0 12px 34px rgba(37, 39, 41, .05);
}

body.ace-index-home-service .ace-core-honors__rail button {
    flex: 1 1 0;
}

body.ace-index-home-service .ace-core-honors__rail button.is-active {
    padding-right: 96px;
    flex-grow: 1.36;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(255, 248, 246, .96));
    box-shadow: 0 18px 42px rgba(86, 43, 42, .09);
}

body.ace-index-home-service .ace-core-honors__rail button::after {
    right: 50%;
    bottom: -1px;
    left: 50%;
    height: 2px;
    border-radius: 999px;
}

body.ace-index-home-service .ace-core-honors__rail button.is-active::after {
    right: 22px;
    left: 22px;
}

body.ace-index-home-service .ace-core-honors__rail button.is-active::before {
    right: 18px;
    width: 80px;
    opacity: .46;
}

body.ace-index-home-service .ace-core-honors__rail b {
    margin-bottom: 12px;
    font-size: 21px;
}

body.ace-index-home-service .ace-core-honors__rail button.is-active b {
    font-size: 32px;
}

body.ace-index-home-service .ace-core-honors__rail span,
body.ace-index-home-service .ace-core-honors__rail button.is-active span {
    color: #6f6963;
    font-size: 12px;
    line-height: 1.55;
}

/* Pad portrait honors: show all six items in a stable 3 × 2 grid. */
@media (min-width: 721px) and (max-width: 860px) {
    body.ace-index-home-service .ace-core-honors {
        min-height: 0;
        margin-top: 30px;
    }

    body.ace-index-home-service .ace-core-honors__rail {
        display: grid;
        min-height: 0;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
        overflow: visible;
    }

    body.ace-index-home-service .ace-core-honors__rail button,
    body.ace-index-home-service .ace-core-honors__rail button.is-active {
        width: auto;
        min-height: 126px;
        min-width: 0;
        padding: 20px 18px;
        flex: none;
        border: 1px solid rgba(104, 111, 116, .11);
        border-radius: 16px;
        background: rgba(255, 255, 255, .84);
        box-shadow: 0 10px 26px rgba(37, 39, 41, .045);
    }

    body.ace-index-home-service .ace-core-honors__rail button.is-active {
        padding-right: 62px;
        background:
            linear-gradient(135deg, rgba(255, 255, 255, .99), rgba(255, 248, 246, .96));
        box-shadow: 0 14px 34px rgba(86, 43, 42, .08);
    }

    body.ace-index-home-service .ace-core-honors__rail button::after {
        right: 50%;
        left: 50%;
        height: 2px;
    }

    body.ace-index-home-service .ace-core-honors__rail button.is-active::after {
        right: 18px;
        left: 18px;
    }

    body.ace-index-home-service .ace-core-honors__rail button.is-active::before {
        right: 14px;
        width: 44px;
        opacity: .42;
    }

    body.ace-index-home-service .ace-core-honors__rail b,
    body.ace-index-home-service .ace-core-honors__rail button.is-active b {
        margin: 0 0 11px;
        font-size: 24px;
        line-height: 1;
    }

    body.ace-index-home-service .ace-core-honors__rail button.is-active b {
        font-size: 28px;
    }

    body.ace-index-home-service .ace-core-honors__rail span,
    body.ace-index-home-service .ace-core-honors__rail button.is-active span {
        max-width: none;
        font-size: 13px;
        line-height: 1.55;
    }

    body.ace-index-home-service .ace-core-honors__pager {
        display: none;
    }
}

/* Homepage typography refinements. */
body.ace-index-home-service .ace-home-service-showcase__primary strong {
    font-size: 64px;
}

body.ace-index-home-service .ace-home-service-showcase__content h3 {
    font-size: 32px;
    font-weight: 600;
    line-height: 1.3;
}

body.ace-index-home-service .ace-home-service-showcase__jobs strong {
    font-size: 50px;
}

body.ace-index-home-service .ace-news__body h3 {
    font-size: 20px;
    font-weight: 400;
}

body.ace-index-home-service.ace-index-production .ace-news__body h3 {
    font-weight: 500;
}

@media (max-width: 767px) {
    body.ace-index-home-service .ace-home-service-showcase__primary strong {
        font-size: 52px;
    }

    body.ace-index-home-service .ace-home-service-showcase__jobs strong {
        font-size: 42px;
    }
}

/* Homepage service visual: floating data particles and translucent blocks. */
body.ace-index-home-service .ace-home-service-showcase__visual {
    position: relative;
    isolation: isolate;
    background:
        radial-gradient(circle at 12% 34%, rgba(180, 15, 27, .055), transparent 15%),
        radial-gradient(circle at 47% 12%, rgba(119, 133, 143, .055), transparent 17%),
        radial-gradient(circle at 91% 67%, rgba(180, 15, 27, .045), transparent 17%);
}

body.ace-index-home-service .ace-home-service-showcase__visual::before,
body.ace-index-home-service .ace-home-service-showcase__visual::after {
    position: absolute;
    pointer-events: none;
    content: "";
}

body.ace-index-home-service .ace-home-service-showcase__visual::before {
    z-index: 0;
    inset: 0 -4% 3%;
    background:
        radial-gradient(circle at 10% 31%, rgba(180, 15, 27, .72) 0 3px, rgba(180, 15, 27, .12) 4px 10px, transparent 11px),
        radial-gradient(circle at 25% 14%, rgba(119, 133, 143, .52) 0 2px, transparent 3px),
        radial-gradient(circle at 43% 9%, rgba(180, 15, 27, .46) 0 2px, transparent 3px),
        radial-gradient(circle at 52% 68%, rgba(126, 139, 148, .5) 0 2px, transparent 3px),
        radial-gradient(circle at 71% 87%, rgba(180, 15, 27, .42) 0 2px, rgba(180, 15, 27, .08) 3px 8px, transparent 9px),
        radial-gradient(circle at 91% 58%, rgba(180, 15, 27, .62) 0 3px, rgba(180, 15, 27, .1) 4px 10px, transparent 11px),
        radial-gradient(circle at 86% 20%, rgba(122, 136, 146, .48) 0 2px, transparent 3px),
        radial-gradient(circle at 28% 82%, rgba(180, 15, 27, .38) 0 2px, transparent 3px),
        linear-gradient(135deg, rgba(125, 139, 149, .15), rgba(255, 255, 255, .025)) 7% 49% / 44px 44px no-repeat,
        linear-gradient(135deg, rgba(180, 15, 27, .13), rgba(180, 15, 27, .025)) 19% 18% / 20px 20px no-repeat,
        linear-gradient(135deg, rgba(126, 140, 150, .13), rgba(255, 255, 255, .02)) 39% 5% / 38px 16px no-repeat,
        linear-gradient(135deg, rgba(180, 15, 27, .105), rgba(180, 15, 27, .015)) 44% 79% / 48px 22px no-repeat,
        linear-gradient(135deg, rgba(124, 138, 148, .14), rgba(255, 255, 255, .018)) 86% 18% / 32px 32px no-repeat,
        linear-gradient(135deg, rgba(180, 15, 27, .12), rgba(180, 15, 27, .02)) 93% 74% / 18px 18px no-repeat,
        linear-gradient(135deg, rgba(124, 138, 148, .12), rgba(255, 255, 255, .015)) 67% 91% / 34px 13px no-repeat;
    opacity: .9;
    transform-origin: center;
    animation: ace-home-service-particles-float 8s ease-in-out infinite alternate;
}

body.ace-index-home-service .ace-home-service-showcase__visual::after {
    z-index: 0;
    inset: 0 -3% 2%;
    background: radial-gradient(circle, rgba(180, 15, 27, .3) 0 1.4px, transparent 2.3px) 0 0 / 21px 21px;
    opacity: .4;
    -webkit-mask-image:
        radial-gradient(circle at 12% 25%, #000 0 4%, rgba(0, 0, 0, .68) 8%, transparent 16%),
        radial-gradient(circle at 45% 10%, #000 0 3%, rgba(0, 0, 0, .6) 7%, transparent 14%),
        radial-gradient(circle at 49% 81%, #000 0 3%, rgba(0, 0, 0, .62) 8%, transparent 15%),
        radial-gradient(circle at 91% 68%, #000 0 4%, rgba(0, 0, 0, .65) 8%, transparent 17%);
    mask-image:
        radial-gradient(circle at 12% 25%, #000 0 4%, rgba(0, 0, 0, .68) 8%, transparent 16%),
        radial-gradient(circle at 45% 10%, #000 0 3%, rgba(0, 0, 0, .6) 7%, transparent 14%),
        radial-gradient(circle at 49% 81%, #000 0 3%, rgba(0, 0, 0, .62) 8%, transparent 15%),
        radial-gradient(circle at 91% 68%, #000 0 4%, rgba(0, 0, 0, .65) 8%, transparent 17%);
    -webkit-mask-composite: source-over;
    mask-composite: add;
    animation: ace-home-service-particles-shimmer 6.5s ease-in-out infinite;
}

body.ace-index-home-service .ace-home-service-showcase__visual > img {
    position: relative;
    z-index: 1;
}

@keyframes ace-home-service-particles-float {
    from { opacity: .68; transform: translate3d(-5px, 5px, 0) rotate(-.7deg) scale(.985); }
    to { opacity: .96; transform: translate3d(6px, -5px, 0) rotate(.8deg) scale(1); }
}

@keyframes ace-home-service-particles-shimmer {
    0%, 100% { opacity: .26; transform: translate3d(-3px, 3px, 0) scale(.985); }
    50% { opacity: .48; transform: translate3d(5px, -4px, 0) scale(1.01); }
}

@media (max-width: 767px) {
    body.ace-index-home-service .ace-home-service-showcase__visual::before {
        inset: 1% -1% 4%;
        opacity: .72;
        background:
            radial-gradient(circle at 11% 31%, rgba(180, 15, 27, .58) 0 2px, rgba(180, 15, 27, .1) 3px 7px, transparent 8px),
            radial-gradient(circle at 43% 10%, rgba(180, 15, 27, .42) 0 2px, transparent 3px),
            radial-gradient(circle at 53% 78%, rgba(122, 136, 146, .42) 0 2px, transparent 3px),
            radial-gradient(circle at 91% 62%, rgba(180, 15, 27, .5) 0 2px, rgba(180, 15, 27, .08) 3px 7px, transparent 8px),
            linear-gradient(135deg, rgba(125, 139, 149, .11), transparent) 8% 52% / 27px 27px no-repeat,
            linear-gradient(135deg, rgba(180, 15, 27, .1), transparent) 43% 82% / 28px 14px no-repeat,
            linear-gradient(135deg, rgba(124, 138, 148, .1), transparent) 88% 21% / 22px 22px no-repeat;
    }

    body.ace-index-home-service .ace-home-service-showcase__visual::after {
        inset: 1% 0 3%;
        opacity: .28;
        background-size: 18px 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.ace-index-home-service .ace-home-service-showcase__visual::before,
    body.ace-index-home-service .ace-home-service-showcase__visual::after {
        animation: none;
    }
}

/* Homepage mobile honors: fixed-width snap cards with a stable active state. */
@media (max-width: 720px) {
    body.ace-index-home-service .ace-core-honors--mobile-carousel {
        min-height: 0;
        margin-top: 32px;
        border: 0;
        background: transparent;
    }

    body.ace-index-home-service .ace-core-honors--mobile-carousel .ace-core-honors__rail {
        min-height: 0;
        padding: 8px 0 14px;
        gap: 12px;
    }

    body.ace-index-home-service .ace-core-honors--mobile-carousel .ace-core-honors__rail button,
    body.ace-index-home-service .ace-core-honors--mobile-carousel .ace-core-honors__rail button.is-active {
        min-height: 148px;
        padding: 24px 22px;
        flex: 0 0 calc(100% - 38px);
        border-radius: 18px;
        background: rgba(255, 255, 255, .82);
        box-shadow: 0 12px 30px rgba(74, 64, 56, .06);
    }

    body.ace-index-home-service .ace-core-honors--mobile-carousel .ace-core-honors__rail button.is-active {
        padding-right: 92px;
        flex-basis: calc(100% - 38px);
        background: rgba(255, 255, 255, .96);
        box-shadow: 0 16px 38px rgba(74, 64, 56, .11);
    }

    body.ace-index-home-service .ace-core-honors--mobile-carousel .ace-core-honors__rail button.is-active::after {
        right: 18px;
        left: 18px;
    }

    body.ace-index-home-service .ace-core-honors--mobile-carousel .ace-core-honors__rail button.is-active::before {
        right: 18px;
        width: 60px;
        opacity: .52;
    }

    body.ace-index-home-service .ace-core-honors--mobile-carousel .ace-core-honors__rail b {
        font-size: 28px;
    }

    body.ace-index-home-service .ace-core-honors--mobile-carousel .ace-core-honors__rail button.is-active b {
        font-size: 34px;
    }

    body.ace-index-home-service .ace-core-honors--mobile-carousel .ace-core-honors__rail span,
    body.ace-index-home-service .ace-core-honors--mobile-carousel .ace-core-honors__rail button.is-active span {
        font-size: 14px;
    }
}

/* Mobile homepage hierarchy: data stays prominent without competing with section titles. */
@media (max-width: 720px) {
    body.ace-index-home-service .ace-home-service-showcase__primary > span {
        font-size: 18px;
    }

    body.ace-index-home-service .ace-home-service-showcase__primary strong {
        font-size: 44px;
    }

    body.ace-index-home-service .ace-home-service-showcase__primary sup {
        font-size: 17px;
    }

    body.ace-index-home-service .ace-home-service-showcase__content h3 {
        font-size: 22px;
        line-height: 1.4;
    }

    body.ace-index-home-service .ace-home-service-showcase__jobs strong {
        font-size: 34px;
    }

    body.ace-index-home-service .ace-home-service-showcase__jobs sup {
        font-size: 17px;
    }

    body.ace-index-home-service .ace-core-honors--mobile-carousel .ace-core-honors__rail b {
        font-size: 25px;
    }

    body.ace-index-home-service .ace-core-honors--mobile-carousel .ace-core-honors__rail button.is-active b {
        font-size: 30px;
    }

    body.ace-index-home-service .ace-news__body time strong {
        font-size: 21px;
    }

    body.ace-index-home-service .ace-news__body h3 {
        font-size: 17px;
        line-height: 1.5;
    }
}
