/*
Theme Name: Ant Corps
Description: 蚂蚁雄兵公司官网，基于 WordPress 官方 Twenty Twenty-Four 的免费子主题。
Author: HONG KONG ANT CORPS NETWORK TECHNOLOGY CO., LIMITED
Template: twentytwentyfour
Version: 1.3.0
Requires at least: 6.6
License: GPL-2.0-or-later
Text Domain: ant-corps
*/
:root { --ant-orange:#b85d41; --ant-ink:#20201e; --ant-paper:#faf9f5; --ant-line:#dedbd2; }
* { box-sizing:border-box; }
html { scroll-behavior:auto; scroll-padding-top:100px; }
body { -webkit-font-smoothing:antialiased; }
a { text-underline-offset:4px; }
a:focus-visible,button:focus-visible { outline:3px solid var(--ant-orange); outline-offset:5px; }
.wp-site-blocks { padding:0; overflow:clip; }
.wp-site-blocks > * { margin-block-start:0; }
.ant-header { padding:18px 40px; border-bottom:1px solid var(--ant-line); background:var(--ant-paper); }
.ant-header-inner { max-width:1240px; margin:auto; gap:30px; }
.ant-brand { font-size:20px; font-weight:650; letter-spacing:.04em; white-space:nowrap; }
.ant-brand a { text-decoration:none; }
.ant-brand a:before { content:'蚁'; display:inline-flex; align-items:center; justify-content:center; width:30px; height:32px; border:1px solid #bd937b; border-radius:4px; color:var(--ant-orange); font-family:Georgia,'Songti SC',STSong,serif; font-size:21px; font-weight:400; vertical-align:middle; margin-right:11px; }
.ant-brand-en { font-size:19px; letter-spacing:.01em; }
.ant-nav { font-size:14px; gap:26px; }
.ant-nav .wp-block-navigation-item__content { text-decoration:none; }
.ant-nav .ant-login .wp-block-navigation-item__content { border:1px solid var(--ant-ink); border-radius:6px; padding:10px 16px; }
.ant-hero { padding:76px 40px 62px; }
.ant-wrap { max-width:1240px; margin-inline:auto; }
.ant-hero-columns { gap:80px; align-items:center!important; }
.ant-eyebrow { font-size:12px; letter-spacing:.15em; font-weight:650; color:#626259; margin:0 0 24px; }
.ant-hero h1 { font-size:clamp(36px,3.8vw,54px); line-height:1.28; letter-spacing:-.035em; font-weight:400; margin:0 0 24px; }
h1,h2,h3 { font-family:Georgia,'Songti SC',STSong,'SimSun',serif; }
.ant-lead { font-size:17px; line-height:1.85; color:#626259; max-width:540px; }
.ant-actions { gap:12px; margin-top:30px; }
.ant-actions + .ant-small { margin-top:12px; }
.wp-block-button__link { padding:13px 22px; border-radius:8px; font-size:15px; font-weight:550; text-decoration:none; border:1px solid transparent; }
.ant-button-outline .wp-block-button__link { color:var(--ant-ink); background:transparent; border-color:var(--ant-line); }
.ant-button-dark .wp-block-button__link { background:var(--ant-ink); color:white; }
.ant-small { font-size:12px; color:#6f6a5e; line-height:1.8; }
.ant-flow { border:1px solid #ddd7cb; background:#f1ede6; border-radius:12px; padding:26px 28px; position:relative; box-shadow:none; }
.ant-flow-top { display:flex; justify-content:space-between; align-items:center; margin-bottom:14px; gap:15px; }
.ant-flow-top p { margin:0; }
.ant-flow-label { font-size:12px; color:#68665d; }
.ant-flow-step { padding:16px 0 16px 40px; border:0; border-top:1px solid #dbd5ca; border-radius:0; margin-top:0; background:transparent; position:relative; }
.ant-flow-step p { margin:3px 0; }
.ant-flow-num { position:absolute; left:0; top:17px; color:var(--ant-orange); font-size:12px; letter-spacing:.07em; font-weight:500; }
.ant-flow-step .ant-flow-title { font-weight:600; font-size:16px; }
.ant-flow-step .ant-flow-note { color:#6c685f; font-size:12px; }
.ant-flow-step:last-of-type { background:transparent; color:var(--ant-ink); border-color:#dbd5ca; }
.ant-flow-step:last-of-type .ant-flow-note { color:#6c685f; }
.ant-flow-bottom { font-size:11px; color:#6c685f; border-top:1px solid #dbd5ca; margin-top:0; padding-top:16px; }
.ant-strip { padding:24px 40px; border-top:1px solid var(--ant-line); border-bottom:1px solid var(--ant-line); }
.ant-strip-inner { display:flex; flex-wrap:wrap; justify-content:space-between; gap:15px 28px; max-width:1240px; margin:auto; }
.ant-strip p { margin:0; font-size:13px; color:#68665d; }
.ant-section { padding:76px 40px; }
.ant-section-dark { background:var(--ant-ink); color:#faf9f5; }
.ant-section-dark h2,.ant-section-dark h3 { color:#faf9f5; }
.ant-section-white { background:#fffefb; }
.ant-section-top { display:flex; justify-content:space-between; align-items:flex-end; gap:35px; margin-bottom:36px; }
.ant-section-top h2 { font-size:35px; line-height:1.4; letter-spacing:-.025em; font-weight:400; margin:0; }
.ant-section-top .ant-lead { max-width:390px; font-size:15px; margin:0; }
.ant-section-dark .ant-eyebrow { color:#e1dbcf; }
.ant-cards { gap:24px; }
.ant-card { border:1px solid var(--ant-line); padding:32px; border-radius:10px; background:#fffefb; }
.ant-card h3 { font-size:26px; letter-spacing:-.02em; font-weight:500; margin:16px 0; }
.ant-card p { color:#66645c; line-height:1.8; font-size:15px; }
.ant-card .ant-tag { display:inline-block; color:var(--ant-ink); background:#eeeae1; border:1px solid #dcd5c8; font-size:11px; padding:5px 9px; letter-spacing:.08em; border-radius:4px; margin:0; }
.ant-card .ant-tag-orange { background:#f4e7de; border-color:#e4c8b9; }
.ant-card .ant-card-link { margin-top:28px; }
.ant-card-link a { color:var(--ant-ink); font-weight:650; text-decoration:none; }
.ant-card-link a:hover { color:#9f4e35; }
.ant-list { padding-left:19px; font-size:14px; color:#626259; line-height:2; }
.ant-services { gap:30px; }
.ant-service { border-top:1px solid #55534b; padding-top:25px; }
.ant-service h3 { font-size:21px; font-weight:500; margin:19px 0 14px; }
.ant-service p { font-size:14px; color:#d9d5ca; line-height:1.85; }
.ant-service .ant-step-index { font-size:12px; letter-spacing:.1em; color:#d69a7d; }
.ant-process { gap:24px; }
.ant-process-card { border-top:2px solid var(--ant-line); padding-top:22px; }
.ant-process-card h3 { font-size:18px; }
.ant-process-card p { color:#66645c; font-size:14px; line-height:1.85; }
.ant-process-card .ant-step-index { color:#9f4e35; font-size:12px; }
.ant-note { padding:22px 26px; background:#efebe3; border-left:3px solid #b89b84; margin-top:36px; }
.ant-note p { font-size:13px; line-height:1.85; color:#666056; margin:0; }
.ant-about-columns { gap:80px; }
.ant-about h2 { font-size:35px; font-weight:400; line-height:1.4; margin:0 0 24px; letter-spacing:-.025em; }
.ant-about p { font-size:15px; line-height:1.95; color:#605e56; }
.ant-identity { border:1px solid var(--ant-line); padding:30px; border-radius:10px; }
.ant-identity p { font-size:13px; line-height:1.8; overflow-wrap:anywhere; }
.ant-identity .ant-identity-name { color:var(--ant-ink); font-size:17px; font-weight:650; }
.ant-faq { max-width:860px; margin:auto; }
.ant-faq h2 { font-size:34px; font-weight:400; margin:0 0 30px; }
.ant-faq details { border-top:1px solid var(--ant-line); padding:22px 0; }
.ant-faq details:last-child { border-bottom:1px solid var(--ant-line); }
.ant-faq summary { font-size:16px; font-weight:600; cursor:pointer; min-height:44px; padding-block:8px; }
.ant-faq details p { font-size:14px; line-height:1.9; color:#626259; }
.ant-contact { background:#eee9df; }
.ant-contact-inner { display:flex; justify-content:space-between; align-items:center; gap:60px; }
.ant-contact h2 { font-size:35px; font-weight:400; line-height:1.4; margin:0 0 16px; letter-spacing:-.025em; }
.ant-contact p { color:#625f56; line-height:1.8; font-size:14px; }
.ant-contact .ant-phone a { font-size:30px; font-weight:650; color:var(--ant-ink); text-decoration:none; letter-spacing:-.02em; white-space:nowrap; }
.ant-contact .ant-contact-right { min-width:260px; }
.ant-footer { padding:40px; background:var(--ant-paper); border-top:1px solid var(--ant-line); }
.ant-footer-top { display:flex; justify-content:space-between; gap:35px; max-width:1240px; margin:auto; }
.ant-footer p { font-size:12px; color:#706d63; line-height:1.9; margin-top:8px; }
.ant-footer .ant-footer-name { font-size:14px; color:var(--ant-ink); font-weight:600; }
.ant-footer-links { display:flex; flex-wrap:wrap; gap:16px; }
.ant-footer-links a { font-size:12px; color:#575449; }
.ant-footer-bottom { max-width:1240px; margin:26px auto 0; border-top:1px solid var(--ant-line); padding-top:18px; }
.ant-page { padding:64px 40px 84px; max-width:1000px; margin:auto; }
.ant-page > h1 { font-size:40px; font-weight:400; line-height:1.35; margin-bottom:35px; letter-spacing:-.025em; }
.ant-page .wp-block-post-content { font-size:16px; line-height:1.95; }
.ant-page .wp-block-post-content h2 { font-size:25px; margin-top:38px; }
.ant-page .wp-block-post-content h3 { font-size:20px; }
.ant-page .wp-block-post-content ul { padding-left:22px; }
.ant-page .wp-block-post-content p { color:#625f56; }
.ant-hero-visual { margin:0; }
.ant-hero-art { margin:0; }
.ant-hero-art img { width:100%; height:auto; aspect-ratio:3/2; object-fit:contain; border-radius:10px; display:block; }
.ant-art-caption { margin:16px 0 0; font-size:11px; color:#706a5e; line-height:1.7; }
.ant-pipeline-section { background:#f1ede6; border-top:1px solid var(--ant-line); border-bottom:1px solid var(--ant-line); }
.ant-pipeline { display:grid!important; grid-template-columns:repeat(5,minmax(0,1fr)); gap:30px; margin:0 0 28px; }
.ant-pipeline-card { position:relative; padding:0 0 16px; }
.ant-pipeline > .wp-block-column { position:relative; }
.ant-pipeline > .wp-block-column:not(:last-child):after { content:'→'; position:absolute; top:35px; right:-23px; color:#9f4e35; font-size:22px; }
.ant-stage-art { width:82px; height:82px; margin:0 0 18px; }
.ant-stage-art img { width:82px; height:82px; display:block; }
.ant-stage-number { color:#9f4e35; font-size:11px; margin:0 0 9px; }
.ant-pipeline-card h3 { font-size:20px; font-weight:500; line-height:1.4; margin:0 0 12px; }
.ant-pipeline-card > p:last-of-type { color:#625f56; font-size:13px; line-height:1.8; }
.ant-system-columns { gap:50px; align-items:center!important; }
.ant-system-copy h2 { font-size:34px; font-weight:400; line-height:1.4; margin:0 0 24px; }
.ant-system-copy > p { font-size:15px; color:#625f56; line-height:1.9; }
.ant-system-copy > .ant-small { font-size:12px; margin-top:20px; }
.ant-system-copy .ant-card-link { margin-top:24px; font-size:13px; }
.ant-system-visual figure { margin:0; }
.ant-system-visual img { width:100%; height:auto; display:block; }
.ant-demo-mobile { display:none; }
@media (min-width:782px) { .ant-system-columns > .wp-block-column:first-child { flex-basis:37%!important; } .ant-system-columns > .wp-block-column:last-child { flex-basis:63%!important; } }
@media (min-width:782px) { .ant-hero-columns > .wp-block-column:first-child { flex-basis:58%!important; } .ant-hero-columns > .wp-block-column:last-child { flex-basis:42%!important; } }
@media (max-width:1000px) { .ant-header { padding:20px 25px; } .ant-nav { gap:16px; font-size:13px; } .ant-hero-columns { gap:36px; } .ant-section-top h2,.ant-about h2 { font-size:32px; } }
@media (max-width:781px) {
 .ant-header { padding:15px 22px; } .ant-header-inner { gap:12px; } .ant-brand { font-size:18px; } .ant-brand a:before { font-size:19px; width:27px; height:29px; margin-right:9px; }
 .ant-nav .wp-block-navigation__responsive-container-open { display:flex!important; } .ant-nav .wp-block-navigation__responsive-container:not(.is-menu-open) { display:none!important; }
 .ant-nav .wp-block-navigation__responsive-container.is-menu-open { background:var(--ant-paper); padding:30px; }
 .ant-nav .wp-block-navigation__responsive-container-content { align-items:flex-start!important; padding-top:50px!important; }
 .ant-nav .wp-block-navigation__container { align-items:flex-start!important; gap:24px!important; font-size:20px; }
 .ant-nav .wp-block-navigation-item__content { min-height:44px; padding-block:8px; }
 .ant-hero { padding:46px 22px 44px; } .ant-hero h1 { font-size:32px; } .ant-lead { font-size:15px; } .ant-hero-columns { gap:34px; }
 .ant-flow { padding:22px; box-shadow:none; } .ant-eyebrow { margin-bottom:18px; font-size:11px; letter-spacing:.10em; }
 .ant-strip { padding:22px; } .ant-strip-inner { flex-direction:column; gap:9px; } .ant-strip p { font-size:12px; }
 .ant-section { padding:52px 22px; } .ant-section-top { flex-direction:column; align-items:flex-start; gap:20px; margin-bottom:28px; }
 .ant-section-top h2,.ant-about h2,.ant-contact h2 { font-size:28px; } .ant-card { padding:27px; } .ant-card h3 { font-size:24px; }
 .ant-services,.ant-process { gap:24px; } .ant-about-columns { gap:24px; } .ant-faq h2 { font-size:29px; } .ant-faq summary { font-size:15px; }
 .ant-contact-inner { flex-direction:column; align-items:flex-start; gap:25px; } .ant-contact .ant-phone a { font-size:29px; }
 .ant-footer { padding:30px 22px; } .ant-footer-top { flex-direction:column; gap:22px; } .ant-footer-name { overflow-wrap:anywhere; }
 .ant-page { padding:45px 22px 60px; } .ant-page > h1 { font-size:32px; } .ant-page .wp-block-post-content { font-size:15px; }
 .ant-pipeline { grid-template-columns:1fr; gap:24px; }
 .ant-pipeline-card { padding:0 0 20px 95px; min-height:105px; }
 .ant-stage-art { position:absolute; left:0; top:0; width:74px; height:74px; margin:0; }
 .ant-stage-art img { width:74px; height:74px; }
 .ant-pipeline > .wp-block-column:not(:last-child):after { content:'↓'; top:auto; right:auto; left:33px; bottom:-19px; font-size:20px; }
 .ant-pipeline-card h3 { font-size:21px; margin:0 0 8px; }
 .ant-stage-number { margin-bottom:5px; }
 .ant-system-columns { gap:30px; }
 .ant-system-copy h2 { font-size:28px; }
 .ant-demo-desktop { display:none; }
 .ant-demo-mobile { display:block; }
}
@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } }

/* Full-width, art-directed hero; the content remains native WordPress blocks. */
.ant-hero { position:relative; isolation:isolate; min-height:max(650px,calc(100svh - 82px)); padding:80px 40px; display:flex; align-items:center; background:#faf9f5; }
.ant-hero-media { position:absolute!important; inset:0; margin:0!important; z-index:0; pointer-events:none; }
.ant-hero-media picture,.ant-hero-media img { display:block; width:100%; height:100%; }
.ant-hero-media img { object-fit:cover; object-position:center right; }
.ant-hero:after { content:''; position:absolute; inset:0; z-index:1; pointer-events:none; background:linear-gradient(90deg,rgba(250,249,245,.97) 0%,rgba(250,249,245,.93) 25%,rgba(250,249,245,.81) 43%,rgba(250,249,245,.12) 69%,rgba(250,249,245,0) 88%); }
.ant-hero > .ant-wrap { position:relative; z-index:2; width:100%; margin-block:0; }
.ant-hero-copy { max-width:720px; }
.ant-hero h1 { font-size:clamp(46px,4.45vw,64px); line-height:1.15; margin:0 0 30px; color:#20201e; letter-spacing:-.025em; }
.ant-hero .ant-eyebrow { color:#4b4a43; }
.ant-hero .ant-lead { max-width:590px; color:#34342f; font-size:18px; line-height:1.9; }
.ant-hero .ant-actions { margin-top:32px; }
.ant-hero .ant-button-outline .wp-block-button__link { background:rgba(250,249,245,.82); border-color:#8a8376; }
.ant-hero .ant-small { max-width:540px; color:#4e4a40; }
@media(max-width:781px) {
 .ant-hero { min-height:max(680px,calc(100svh - 62px)); padding:46px 22px 40px; align-items:flex-start; }
 .ant-hero-media img { object-position:center bottom; }
 .ant-hero:after { background:linear-gradient(180deg,rgba(250,249,245,.52) 0%,rgba(250,249,245,.32) 40%,rgba(250,249,245,.1) 61%,rgba(250,249,245,0) 77%); }
 .ant-hero h1 { font-size:36px; line-height:1.19; margin-bottom:24px; }
 .ant-hero .ant-eyebrow { font-size:10px; letter-spacing:.08em; margin-bottom:20px; }
 .ant-hero .ant-lead { font-size:15px; line-height:1.85; }
 .ant-hero .ant-actions { margin-top:25px; }
 .ant-hero .ant-small { font-size:11px; }
}
@media(max-width:360px) {
 .ant-hero { padding-top:34px; }
 .ant-hero h1 { font-size:31px; }
 .ant-hero .ant-lead { font-size:14px; }
 .ant-hero .ant-actions { gap:10px; }
 .ant-hero .wp-block-button__link { font-size:13px; padding:12px 12px; }
}
/* In the editor, both source images are visible and selectable for replacement. */
.editor-styles-wrapper .ant-hero { display:block; min-height:0; padding:36px; }
.editor-styles-wrapper .ant-hero:after { display:none; }
.editor-styles-wrapper .ant-hero-media { position:relative!important; inset:auto; pointer-events:auto; display:flex; gap:18px; margin-bottom:28px!important; }
.editor-styles-wrapper .ant-hero-media > figure { margin:0; flex:1; min-width:0; }
.editor-styles-wrapper .ant-hero-media img { height:240px; object-fit:contain; }
.editor-styles-wrapper .ant-hero-media figcaption { font-size:12px; }
