.theme-asml-search-landing,
.theme-asml-service-areas {
    color: #102943;
    background: #fff;
}

.hsd-search-wrap {
    width: min(1280px, calc(100% - 64px));
    margin: 0 auto;
}

.hsd-search-hero {
    padding: 76px 0 82px;
    background:
        radial-gradient(circle at 14% 14%, rgba(var(--hsd-accent-rgb), .1), transparent 34%),
        linear-gradient(145deg, #f7faff 0%, #eef4fb 100%);
}

.hsd-search-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
    align-items: center;
    gap: clamp(50px, 7vw, 92px);
}

.hsd-search-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
    color: #7b8da2;
    font-size: 12px;
}

.hsd-search-breadcrumb a {
    color: #4e6682;
}

.hsd-search-breadcrumb a:hover {
    color: var(--hsd-accent);
}

.hsd-search-eyebrow {
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 0 0 18px;
    color: var(--hsd-accent);
    font-size: 13px;
    font-weight: 750;
    letter-spacing: .08em;
}

.hsd-search-eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
}

.hsd-search-hero h1,
.hsd-area-hub-hero h1 {
    margin: 0;
    color: #071e38;
    font-size: clamp(40px, 5vw, 66px);
    font-weight: 760;
    letter-spacing: -.045em;
    line-height: 1.13;
}

.hsd-search-lead {
    max-width: 650px;
    margin: 24px 0 0;
    color: #4f647d;
    font-size: clamp(16px, 1.55vw, 19px);
    line-height: 1.9;
}

.hsd-search-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin-top: 28px;
    color: #7e8fa2;
    font-size: 12px;
}

.hsd-search-meta span {
    position: relative;
}

.hsd-search-meta span + span::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -11px;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #a7b4c3;
}

.hsd-search-scope-notice {
    max-width: 660px;
    margin: 18px 0 0;
    padding: 13px 15px;
    border: 1px solid #dce7f2;
    border-radius: 10px;
    color: #536a83;
    background: rgba(255, 255, 255, .72);
    font-size: 12px;
    line-height: 1.75;
}

.hsd-search-hero-media {
    position: relative;
    overflow: hidden;
    margin: 0;
    border-radius: 26px;
    background: #d9e6f3;
    box-shadow: 0 28px 65px rgba(20, 52, 88, .19);
}

.hsd-search-hero-media::after {
    content: "";
    position: absolute;
    inset: 45% 0 0;
    pointer-events: none;
    background: linear-gradient(180deg, transparent, rgba(3, 19, 38, .72));
}

.hsd-search-hero-media img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.hsd-search-hero-media figcaption {
    position: absolute;
    z-index: 2;
    right: 22px;
    bottom: 18px;
    left: 22px;
    color: rgba(255, 255, 255, .82);
    font-size: 12px;
    line-height: 1.55;
}

.hsd-search-content {
    padding: 94px 0;
}

.hsd-search-content--soft {
    background:
        linear-gradient(135deg, rgba(var(--hsd-accent-rgb), .04), transparent 48%),
        #f5f8fc;
}

.hsd-search-copy-grid {
    display: grid;
    grid-template-columns: minmax(280px, .76fr) minmax(0, 1.24fr);
    gap: clamp(50px, 8vw, 110px);
}

.hsd-search-section-index {
    margin: 0 0 15px;
    color: var(--hsd-accent);
    font-size: 12px;
    font-weight: 750;
    letter-spacing: .14em;
}

.hsd-search-content h2,
.hsd-search-related h2,
.hsd-area-hub-list h2,
.hsd-area-delivery h2 {
    margin: 0;
    color: #0d2b4c;
    font-size: clamp(28px, 3.5vw, 43px);
    letter-spacing: -.03em;
    line-height: 1.3;
}

.hsd-search-prose {
    color: #536a82;
    font-size: 16px;
    line-height: 1.95;
}

.hsd-search-prose > p {
    margin: 0;
}

.hsd-search-prose > p + p {
    margin-top: 18px;
}

.hsd-search-process {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
}

.hsd-search-process li {
    display: grid;
    gap: 4px;
    padding: 18px 20px;
    border: 1px solid #dce6f0;
    border-radius: 13px;
    background: rgba(255, 255, 255, .88);
}

.hsd-search-process strong {
    color: #183958;
    font-size: 14px;
}

.hsd-search-process span {
    color: #76889b;
    font-size: 12px;
}

.hsd-search-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 42px;
    margin-bottom: 42px;
}

.hsd-search-section-head > p,
.hsd-search-section-head > a {
    max-width: 510px;
    margin: 0;
    color: #697d93;
    font-size: 14px;
    line-height: 1.75;
}

.hsd-search-section-head > a {
    color: var(--hsd-accent);
    font-weight: 700;
}

.hsd-search-scenario-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.hsd-search-scenario-grid article {
    min-height: 220px;
    padding: 26px 24px;
    border: 1px solid #e0e8f1;
    border-radius: 18px;
    background:
        linear-gradient(150deg, rgba(var(--hsd-accent-rgb), .065), transparent 48%),
        #fff;
    box-shadow: 0 12px 32px rgba(22, 52, 86, .055);
}

.hsd-search-scenario-grid article > span {
    color: #9bacbd;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .12em;
}

.hsd-search-scenario-grid h3 {
    margin: 42px 0 10px;
    color: #163654;
    font-size: 19px;
}

.hsd-search-scenario-grid p {
    margin: 0;
    color: #6b7f94;
    font-size: 13px;
    line-height: 1.75;
}

.hsd-search-content--faq {
    background: #f5f8fc;
}

.hsd-search-faq-list {
    display: grid;
    gap: 14px;
}

.hsd-search-faq-list article {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 18px;
    padding: 24px 26px;
    border: 1px solid #dfe8f2;
    border-radius: 16px;
    background: #fff;
}

.hsd-search-faq-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    color: var(--hsd-accent);
    background: var(--hsd-accent-soft);
    font-size: 12px;
    font-weight: 750;
}

.hsd-search-faq-list h3 {
    margin: 1px 0 8px;
    color: #183754;
    font-size: 17px;
    line-height: 1.55;
}

.hsd-search-faq-list p {
    margin: 0;
    color: #667b90;
    font-size: 14px;
    line-height: 1.8;
}

.hsd-search-related {
    padding: 92px 0;
}

.hsd-search-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.hsd-search-related-grid a {
    display: grid;
    gap: 10px;
    padding: 22px;
    border: 1px solid #dfe8f1;
    border-radius: 15px;
    background: #fff;
}

.hsd-search-related-grid a:hover {
    border-color: rgba(var(--hsd-accent-rgb), .38);
    box-shadow: 0 14px 32px rgba(25, 62, 104, .09);
}

.hsd-search-related-grid strong {
    color: #173957;
    font-size: 15px;
}

.hsd-search-related-grid span {
    overflow: hidden;
    color: #718398;
    font-size: 12px;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.hsd-search-cta {
    padding: 0 0 92px;
}

.hsd-search-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 46px 50px;
    overflow: hidden;
    border-radius: 24px;
    color: #fff;
    background:
        radial-gradient(circle at 88% 0, rgba(82, 154, 255, .4), transparent 30%),
        linear-gradient(135deg, #08203c, #11477f);
    box-shadow: 0 24px 58px rgba(15, 50, 89, .18);
}

.hsd-search-cta h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(25px, 3vw, 38px);
}

.hsd-search-cta p {
    margin: 12px 0 0;
    color: rgba(255, 255, 255, .7);
    font-size: 14px;
    line-height: 1.75;
}

.hsd-search-cta a {
    display: grid;
    flex: 0 0 auto;
    gap: 3px;
    min-width: 220px;
    padding: 15px 22px;
    border-radius: 13px;
    color: #163b63;
    background: #fff;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .16);
}

.hsd-search-cta a:hover {
    color: var(--hsd-accent);
    transform: translateY(-2px);
}

.hsd-search-cta a span {
    color: #718297;
    font-size: 12px;
}

.hsd-search-cta a strong {
    font-size: 20px;
}

/* 服务区域聚合页 */
.hsd-area-hub-hero {
    padding: 78px 0 82px;
    background:
        radial-gradient(circle at 82% 8%, rgba(var(--hsd-accent-rgb), .12), transparent 27%),
        linear-gradient(145deg, #f6f9fd, #edf4fb);
}

.hsd-area-hub-hero .hsd-search-wrap > p:not(.hsd-search-eyebrow) {
    max-width: 790px;
    margin: 24px 0 0;
    color: #536981;
    font-size: 17px;
    line-height: 1.9;
}

.hsd-area-hub-notice {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    max-width: 850px;
    margin-top: 30px;
    padding: 16px 18px;
    border: 1px solid #dce7f2;
    border-radius: 12px;
    background: rgba(255, 255, 255, .76);
}

.hsd-area-hub-notice strong {
    flex: 0 0 auto;
    color: #1e4d7e;
    font-size: 13px;
}

.hsd-area-hub-notice span {
    color: #65798e;
    font-size: 13px;
    line-height: 1.7;
}

.hsd-area-hub-list {
    padding: 94px 0;
}

.hsd-area-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.hsd-area-card {
    display: grid;
    grid-template-columns: minmax(190px, .8fr) minmax(0, 1.2fr);
    min-height: 270px;
    overflow: hidden;
    border: 1px solid #dfe7f0;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(24, 56, 91, .06);
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.hsd-area-card:hover {
    transform: translateY(-4px);
    border-color: rgba(var(--hsd-accent-rgb), .32);
    box-shadow: 0 22px 48px rgba(24, 64, 108, .12);
}

.hsd-area-card figure {
    position: relative;
    min-height: 100%;
    margin: 0;
    overflow: hidden;
    background: #e3ebf4;
}

.hsd-area-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.hsd-area-card:hover img {
    transform: scale(1.025);
}

.hsd-area-card figcaption {
    position: absolute;
    right: 10px;
    bottom: 10px;
    left: 10px;
    padding: 7px 9px;
    border-radius: 7px;
    color: rgba(255, 255, 255, .86);
    background: rgba(6, 23, 43, .68);
    font-size: 10px;
    line-height: 1.4;
    backdrop-filter: blur(6px);
}

.hsd-area-card > div {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 25px 24px;
}

.hsd-area-card > div > span {
    color: #9caebe;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .12em;
}

.hsd-area-card h2 {
    margin: 12px 0 9px;
    color: #123555;
    font-size: 20px;
}

.hsd-area-card p {
    overflow: hidden;
    margin: 0;
    color: #6d8094;
    font-size: 13px;
    line-height: 1.75;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.hsd-area-card strong {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: auto;
    padding-top: 18px;
    color: var(--hsd-accent);
    font-size: 13px;
}

.hsd-area-card strong i,
.hsd-featured-search-link i {
    position: relative;
    width: 18px;
    height: 10px;
}

.hsd-area-card strong i::before,
.hsd-featured-search-link i::before {
    content: "";
    position: absolute;
    top: 4px;
    right: 1px;
    width: 13px;
    height: 1px;
    background: currentColor;
}

.hsd-area-card strong i::after,
.hsd-featured-search-link i::after {
    content: "";
    position: absolute;
    top: 1px;
    right: 1px;
    width: 6px;
    height: 6px;
    border-top: 1px solid currentColor;
    border-right: 1px solid currentColor;
    transform: rotate(45deg);
}

.hsd-area-delivery {
    padding: 90px 0 96px;
    background: #f5f8fc;
}

.hsd-area-service-link {
    display: inline-flex;
    margin-top: 24px;
    padding: 11px 17px;
    border: 1px solid rgba(var(--hsd-accent-rgb), .28);
    border-radius: 9px;
    color: var(--hsd-accent);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
}

/* 既有栏目页中的抓取入口，避免主题页成为孤立页面 */
.hsd-featured-search {
    padding: 0 0 78px;
}

.hsd-featured-search .hsd-search-section-head {
    margin-bottom: 26px;
}

.hsd-featured-search-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.hsd-featured-search-card {
    position: relative;
    min-height: 240px;
    overflow: hidden;
    padding: 30px;
    border-radius: 18px;
    background: #102f52;
}

.hsd-featured-search-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, rgba(4, 19, 38, .96) 0%, rgba(4, 23, 46, .78) 56%, rgba(4, 23, 46, .34) 100%);
}

.hsd-featured-search-card > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hsd-featured-search-card > div {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: min(72%, 460px);
    min-height: 180px;
}

.hsd-featured-search-card h3 {
    margin: 0;
    color: #fff;
    font-size: 24px;
}

.hsd-featured-search-card p {
    margin: 12px 0 22px;
    color: rgba(255, 255, 255, .72);
    font-size: 13px;
    line-height: 1.75;
}

.hsd-featured-search-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: auto;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.hsd-featured-search-link:hover {
    color: #fff;
}

.hsd-featured-search-grid--single {
    grid-template-columns: 1fr;
}

@media (max-width: 1060px) {
    .hsd-search-hero-grid {
        grid-template-columns: minmax(0, 1fr) minmax(360px, .88fr);
        gap: 46px;
    }

    .hsd-search-scenario-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hsd-area-card {
        grid-template-columns: 1fr;
    }

    .hsd-area-card figure {
        min-height: 200px;
        max-height: 230px;
    }
}

@media (max-width: 820px) {
    .hsd-search-wrap {
        width: min(calc(100% - 40px), 720px);
    }

    .hsd-search-hero {
        padding: 54px 0 64px;
    }

    .hsd-search-hero-grid,
    .hsd-search-copy-grid {
        grid-template-columns: 1fr;
    }

    .hsd-search-hero-media {
        max-width: 720px;
    }

    .hsd-search-content,
    .hsd-search-related,
    .hsd-area-hub-list,
    .hsd-area-delivery {
        padding: 72px 0;
    }

    .hsd-search-copy-grid {
        gap: 28px;
    }

    .hsd-search-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hsd-search-cta-inner,
    .hsd-search-section-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .hsd-search-cta-inner {
        padding: 38px 34px;
    }

    .hsd-search-cta a {
        min-width: min(100%, 240px);
    }

    .hsd-area-card-grid,
    .hsd-featured-search-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .hsd-search-wrap {
        width: calc(100% - 32px);
    }

    .hsd-search-hero h1,
    .hsd-area-hub-hero h1 {
        font-size: 38px;
    }

    .hsd-search-lead,
    .hsd-area-hub-hero .hsd-search-wrap > p:not(.hsd-search-eyebrow) {
        font-size: 15px;
        line-height: 1.8;
    }

    .hsd-search-process,
    .hsd-search-scenario-grid,
    .hsd-search-related-grid {
        grid-template-columns: 1fr;
    }

    .hsd-search-scenario-grid article {
        min-height: 190px;
    }

    .hsd-search-faq-list article {
        grid-template-columns: 1fr;
        padding: 22px;
    }

    .hsd-search-cta {
        padding-bottom: 68px;
    }

    .hsd-search-cta-inner {
        padding: 30px 23px;
        border-radius: 20px;
    }

    .hsd-search-cta a {
        width: 100%;
    }

    .hsd-area-hub-hero {
        padding: 54px 0 62px;
    }

    .hsd-area-hub-notice {
        flex-direction: column;
    }

    .hsd-area-card h2 {
        font-size: 19px;
    }

    .hsd-featured-search-card {
        min-height: 270px;
        padding: 25px;
    }

    .hsd-featured-search-card > div {
        width: 100%;
    }
}
