/* Public agency presentation: scoped project styling, independent of the admin shell. */
.agency-page {
    --ag-accent: #0087f7;
    --ag-text: #151822;
    --ag-muted: #686d80;
    --ag-surface: #fff;
    --ag-soft: #f0f7ff;
    --ag-border: #e4e7f1;
    margin: 0;
    min-height: 100dvh;
    overflow-x: clip;
    overflow-y: visible;
    background: var(--ag-surface);
    color: var(--ag-text);
    font-family: Inter, "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.7;
}
.agency-page * { box-sizing: border-box; }
.agency-page [hidden] { display: none !important; }
.agency-page a { color: inherit; text-decoration: none; }
.agency-page a:hover { color: var(--ag-accent); }
.agency-page :is(a, button, summary):focus-visible { outline: 3px solid #80c4fc; outline-offset: 5px; }
.agency-page :is(h1, h2, h3) { color: inherit; font-weight: 750; line-height: 1.4; }
.agency-page h2 { font-size: clamp(28px, 3vw, 40px); letter-spacing: -.8px; margin: 0 0 24px; }
.agency-page h3 { font-size: 22px; margin: 0 0 14px; }
.agency-page p { color: var(--ag-muted); margin: 0 0 24px; }
.agency-page section[id] { scroll-margin-top: 100px; }
.agency-page .container { max-width: 1320px; padding-inline: 24px; }
.agency-page .ag-skip { position: fixed; left: 16px; top: -90px; background: var(--ag-surface); padding: 12px; z-index: 60; }
.agency-page .ag-skip:focus { top: 12px; }
.agency-page .ag-header { position: sticky; top: 0; background: var(--ag-surface); z-index: 50; box-shadow: 0 2px 12px #12162a0a; }
.agency-page .ag-header-inner { position: relative; display: flex; gap: 38px; align-items: center; min-height: 80px; padding-inline: 24px; }
.agency-page .ag-brand { display: inline-flex; align-items: center; gap: 10px; font-size: 25px; font-weight: 800; white-space: nowrap; }
.agency-page .ag-brand-logo { display: block; width: 52px; height: 52px; flex: none; }
.agency-page .ag-brand-logo-image { display: block; width: 100%; height: 100%; object-fit: contain; }
.agency-page .ag-brand-word { display: inline-block; width: 170px; flex: none; overflow: visible; font-family: Inter, "Segoe UI", Arial, sans-serif; font-size: 23px; font-weight: 700; font-synthesis: none; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; letter-spacing: -.015em; line-height: 1.2; }
.agency-page .ag-brand-word-kept { color: #0087f7; }
.agency-page .ag-brand-word-typing { color: #687480; }
.agency-page .ag-brand-trademark { margin-left: 1px; color: #0087f7; font-size: .72em; font-weight: 700; letter-spacing: 0; line-height: 0; vertical-align: super; }
.agency-page .ag-brand-trademark[hidden] { display: none; }
.agency-page .ag-navigation { color: #4b4b4b; display: flex; align-items: center; gap: 24px; font-size: 18px; font-weight: 700; letter-spacing: .3px; }
.agency-page .ag-navigation > a, .agency-page summary { white-space: nowrap; }
.agency-page summary { cursor: pointer; list-style: none; }
.agency-page summary::-webkit-details-marker { display: none; }
.agency-page summary::after { content: '⌄'; margin-left: 7px; }
.agency-page .ag-header-actions { display: flex; gap: 18px; align-items: center; margin-left: auto; }
.agency-page .ag-button, .agency-page .ag-outline { display: inline-flex; align-items: center; justify-content: center; gap: 18px; padding: 13px 28px; border-radius: 6px; font-size: 15px; font-weight: 650; transition: background .2s, transform .2s; }
.agency-page .ag-button { color: #fff; background: var(--ag-accent); box-shadow: 0 7px 18px #0087f739; }
.agency-page .ag-button:hover { background: #006dca; color: #fff; transform: translateY(-2px); }
.agency-page .ag-outline { color: var(--ag-accent); border: 1px solid #9acfff; box-shadow: none; white-space: nowrap; }
.agency-page .ag-outline:hover { background: #0087f70d; }
.agency-page .ag-login { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 8px; font-size: 16px; font-weight: 400; color: var(--ag-accent); white-space: nowrap; text-decoration: none; }
.agency-page .ag-login:hover { color: #006dca; text-decoration: none; }
.agency-page .ag-header-actions .ag-account-dropdown{--color-white:var(--ag-surface);--color-border:var(--ag-border);--color-text:var(--ag-text)}
.agency-page .ag-header-actions .ag-account-trigger{min-height:46px;padding:9px 12px;border:0;color:var(--ag-accent);font-size:16px;font-weight:700;max-width:220px}
.agency-page .ag-header-actions .ag-account-trigger span{overflow:hidden;text-overflow:ellipsis}
.agency-page .ag-header-actions .ag-account-trigger::after{content:'⌄';margin-left:3px}
.agency-page .ag-header-actions .ombox-dropdown-menu{min-width:320px;padding:10px;background:var(--ag-surface);border-color:var(--ag-border);color:var(--ag-text)}
.agency-page .ag-header-actions .ombox-dropdown-menu :is(a,button){min-height:46px;padding:11px 14px;border-radius:6px;color:var(--ag-text);font-size:16px}
@media(max-width:575px){.agency-page .ag-header-actions .ombox-dropdown-menu{min-width:min(320px,calc(100vw - 24px))}}
.agency-page .btn.ag-mobile-toggle { background: transparent; border: 0; color: var(--ag-text); padding: 8px; min-width: 36px; box-shadow: none; }
.agency-page .btn.ag-mobile-toggle { display: none; }
.agency-page :is(.ag-mobile-toggle, .ag-round) > span { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.agency-page .ag-dropdown { position: relative; }
.agency-page .ag-products-dropdown > .ag-submenu { top:100%; min-width:260px; padding:14px 20px; }
.agency-page .ag-products-dropdown > .ag-submenu > a { padding:10px 0; }
@media(min-width:992px){.agency-page .ag-products-dropdown:hover > .ag-submenu,.agency-page .ag-products-dropdown:focus-within > .ag-submenu{display:block;visibility:visible;opacity:1}.agency-page .ag-products-dropdown > summary{min-height:44px}}
.agency-page .ag-submenu, .agency-page .ag-megamenu { position: absolute; top: calc(100% + 25px); padding: 24px; border: 1px solid var(--ag-border); border-radius: 8px; background: var(--ag-surface); box-shadow: 0 12px 32px #11152a24; max-height: calc(100dvh - 115px); overflow-y: auto; }
.agency-page .ag-submenu { min-width: 180px; }
.agency-page .ag-explore { position: static; }
.agency-page .ag-megamenu { width: min(940px, calc(100vw - 48px)); top: calc(100% - 1px); right: 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.agency-page .ag-menu-heading { font-weight: 750; color: var(--ag-text); }
.agency-page :is(.ag-submenu, .ag-megamenu) a { display: block; padding: 7px 0; font-size: 15px; font-weight: 600; letter-spacing: 0; }
.agency-page .ag-hero { position: relative; isolation: isolate; color: white; min-height: 810px; display: flex; flex-direction: column; }
.agency-page .ag-hero-image, .agency-page .ag-hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.agency-page .ag-hero-image { object-position: center 48%; }
.agency-page .ag-hero-shade { background: linear-gradient(90deg, #0b1021b5, #15182580), linear-gradient(0deg, #0c112785, transparent); z-index: -1; }
.agency-page .ag-hero-content { padding-top: 150px; padding-bottom: 105px; text-align: center; }
.agency-page .ag-slide { max-width: 870px; margin: auto; }
.agency-page .ag-slide :is(h1, h2) { font-size: clamp(38px, 4.6vw, 66px); font-weight: 800; line-height: 1.3; letter-spacing: -1.5px; margin: 0 0 32px; }
.agency-page .ag-slide p { font-size: 20px; line-height: 1.8; color: #ffffffbf; max-width: 700px; margin: 0 auto 42px; }
.agency-page .ag-hero-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-bottom: 52px; font-size: 14px; }
.agency-page .ag-hero-bottom a:hover { color: #b5deff; }
.agency-page .ag-slide-count { display: flex; align-items: center; gap: 15px; font-size: 12px; letter-spacing: 2px; }
.agency-page .ag-slide-count > span:first-child { font-size: 22px; }
.agency-page .ag-count-line { width: 75px; height: 1px; background: #ffffff5e; }
.agency-page .ag-scroll { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid #ffffff60; border-radius: 50%; }
.agency-page .ag-hero-controls { position: absolute; top: 46%; width: 100%; pointer-events: none; display: flex; justify-content: space-between; padding: 0 30px; }
.agency-page .btn.ag-round { display: inline-flex; justify-content: center; align-items: center; width: 40px; height: 40px; min-width: 40px; min-height: 40px; padding: 0; border: 0; border-radius: 50% !important; background: var(--ag-surface); color: var(--ag-text); pointer-events: auto; box-shadow: 0 3px 12px #11152a15; }
.agency-page .ag-hero-controls .btn.ag-round { background: #ffffff10; color: white; width: 48px; height: 48px; }
.agency-page .btn.ag-round:hover { background: var(--ag-accent); color: white; }
.agency-page .ag-section { padding-block: 110px; }
.agency-page .ag-soft { background: var(--ag-soft); }
.agency-page .ag-eyebrow { display: block; margin-bottom: 15px; font-size: 12px; font-weight: 700; letter-spacing: 2px; color: var(--ag-accent); }
.agency-page .ag-about { display: grid; grid-template-columns: 5fr 6fr; gap: 110px; align-items: center; }
.agency-page .ag-about-copy > p { font-size: 18px; margin-bottom: 30px; }
.agency-page .ag-about-image { width: 100%; height: 535px; object-fit: cover; border-radius: 9px; box-shadow: 0 12px 30px #0c112710; }
.agency-page .ag-about-values { display: flex; gap: 35px; margin-top: 62px; color: var(--ag-muted); font-size: 13px; }
.agency-page .ag-about-values span { display: flex; flex-direction: column; gap: 12px; }
.agency-page .ag-about-values i { font-size: 27px; color: #a1a8c8; }
.agency-page .ag-section-heading { display: flex; gap: 36px; align-items: center; justify-content: space-between; padding-bottom: 42px; }
.agency-page .ag-section-heading p { max-width: 760px; margin-bottom: 0; }
.agency-page .ag-section-heading h2 { margin-bottom: 20px; }
.agency-page .ag-services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 60px 32px; padding-top: 25px; }
.agency-page .ag-service { position: relative; padding: 63px 38px 35px; border-radius: 8px; background: var(--ag-surface); box-shadow: 0 4px 18px #141a3510; }
.agency-page .ag-service p { margin-bottom: 0; }
.agency-page .ag-service-icon { position: absolute; top: -26px; left: 38px; width: 70px; height: 70px; display: grid; place-items: center; border-radius: 7px; background: var(--ag-accent); color: white; font-size: 28px; box-shadow: 0 8px 16px #0087f74a; }
.agency-page .ag-solutions .ag-section-heading { padding-top: 15px; padding-bottom: 50px; }
.agency-page .ag-case-stage { position: relative; isolation: isolate; padding: 65px 0; min-height: 620px; }
.agency-page .ag-case-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.7); z-index: -1; }
.agency-page .ag-case-controls { display: flex; gap: 12px; margin-bottom: 26px; }
.agency-page .ag-case { max-width: 510px; background: var(--ag-surface); border-radius: 8px; padding: 40px; box-shadow: 0 12px 30px #11152a1a; }
.agency-page .ag-case-symbol { font-size: 42px; color: var(--ag-accent); margin-bottom: 22px; }
.agency-page .ag-case .ag-eyebrow { margin-bottom: 10px; }
.agency-page .ag-case h3 { font-size: 27px; }
.agency-page .ag-centered { text-align: center; margin-bottom: 55px; }
.agency-page .ag-centered h2 { margin-bottom: 16px; }
.agency-page .ag-principle-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.agency-page .ag-principle-grid article { padding: 0 28px; text-align: center; border-right: 1px solid var(--ag-border); }
.agency-page .ag-principle-grid article:last-child { border: 0; }
.agency-page .ag-principle-grid i { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; box-shadow: 0 4px 20px #0087f71c; font-size: 25px; color: var(--ag-accent); margin-bottom: 24px; }
.agency-page .ag-principle-grid h3 { font-size: 18px; }
.agency-page .ag-principle-grid p { font-size: 14px; margin: 0; }
.agency-page .ag-approach { display: grid; grid-template-columns: 5fr 7fr; gap: 50px; padding-bottom: 85px; }
.agency-page .ag-approach-intro { background: #0c1020; color: #fff; padding: 48px 40px; border-radius: 8px; }
.agency-page .ag-approach-intro h2 { font-size: 31px; }
.agency-page .ag-approach-intro p { color: #a4a9bd; }
.agency-page .ag-approach-intro a { color: #80c4fc; }
.agency-page .ag-steps { padding: 8px 25px; }
.agency-page .ag-steps article { display: flex; gap: 24px; padding-block: 20px; border-bottom: 1px solid var(--ag-border); }
.agency-page .ag-steps article:last-child { border: 0; }
.agency-page .ag-steps p { margin: 0; }
.agency-page .ag-step-number { color: var(--ag-accent); font-size: 26px; font-weight: 750; }
.agency-page .ag-devices { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; padding-bottom: 100px; }
.agency-page .ag-devices span { display: flex; justify-content: center; align-items: center; gap: 13px; padding: 22px 12px; border: 1px solid var(--ag-border); color: #8b92ae; border-radius: 5px; font-size: 16px; font-weight: 600; }
.agency-page .ag-devices i { font-size: 24px; }
.agency-page .ag-discover-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.agency-page .ag-discover-grid > a { display: block; background: var(--ag-surface); border-radius: 7px; padding: 38px 30px; box-shadow: 0 4px 20px #11152a0a; transition: transform .2s; }
.agency-page .ag-discover-grid > a:hover { transform: translateY(-5px); color: var(--ag-text); }
.agency-page .ag-text-link { color: var(--ag-accent); font-weight: 600; font-size: 14px; }
.agency-page .ag-start { background: #191c2a; color: white; text-align: center; padding: 90px 0; }
.agency-page .ag-start p { color: #a7acbf; margin-bottom: 12px; }
.agency-page .ag-start h2 { margin-bottom: 35px; }
.agency-page .ag-footer { background: #454545; color: #fff; padding: 75px 0 30px; font-size: 14px; }
.agency-page .ag-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 65px; }
.agency-page .ag-footer p { color: #fff; margin: 20px 0; }
.agency-page .ag-footer-brand-column { display:flex; flex-direction:column; align-items:flex-start; gap:18px; }
.agency-page .ag-footer-brand-icon { display:flex; width:52px; height:52px; }
.agency-page .ag-footer-brand-icon img { display:block; width:52px; height:52px; object-fit:contain; }
.agency-page .ag-footer .ag-footer-brand { display:flex; width:max-content; max-width:100%; margin-top:-8px; }
.agency-page .ag-footer-brand-mark { display:block; width:230px; max-width:100%; height:auto; filter:brightness(0) invert(1); }
.agency-page .ag-footer-company-link { display:inline-flex; align-items:center; gap:8px; color:#fff; font-size:15px; font-weight:600; text-decoration:none; }
.agency-page .ag-footer-company-link span { color:var(--ag-accent); }
.agency-page .ag-footer-phone { display:grid; gap:2px; margin-top:4px; padding-left:14px; border-left:3px solid var(--ag-accent); color:#fff; text-decoration:none; }
.agency-page .ag-footer-phone span { color:#d5d8dc; font-size:13px; }
.agency-page .ag-footer-phone strong { color:#fff; font-size:clamp(20px,2vw,25px); letter-spacing:.04em; line-height:1.45; }
.agency-page .ag-footer :is(nav, .ag-footer-grid > div:not(:first-child)) > a { display: block; padding: 5px 0; }
.agency-page .ag-footer a { font-weight: 400; text-decoration: none; }
.agency-page .ag-footer .ag-footer-phone strong { font-weight: 400; }
.agency-page .ag-footer a:hover { color: #fff; text-decoration: none; }
.agency-page .ag-footer h3 { font-size: 16px; }
.agency-page .ag-footer-bottom { border-top: 1px solid #ffffff26; margin-top: 55px; padding-top: 25px; display: flex; align-items:center; justify-content: space-between; gap: 24px; color: #fff; font-size: 12px; }
.agency-page .ag-footer-icp { color:#fff; }
@media (max-width: 1199px) {
    .agency-page .ag-header-inner { gap: 22px; }
    .agency-page .ag-navigation { gap: 14px; font-size: 16px; }
    .agency-page .ag-brand-logo { width: 46px; height: 46px; }
    .agency-page .ag-brand { font-size: 22px; }
    .agency-page .ag-brand-word { width: 150px; font-size: 20px; }
    .agency-page .ag-hero { min-height: 750px; }
    .agency-page .ag-hero-content { padding-top: 135px; }
    .agency-page .ag-about { gap: 60px; }
    .agency-page .ag-footer-grid { gap: 35px; }
}
@media (max-width: 991px) {
    .agency-page .ag-header-inner { min-height: 72px; flex-wrap: wrap; gap: 10px; }
    .agency-page .btn.ag-mobile-toggle { display: inline-flex; order: 3; }
    .agency-page .ag-header-actions { order: 2; }
    .agency-page .ag-navigation { font-size: 18px; display: none; order: 4; width: 100%; padding: 15px 0 24px; max-height: calc(100dvh - 85px); overflow-y: auto; }
    .agency-page .ag-navigation.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
    .agency-page .ag-navigation > a, .agency-page summary { display: block; padding: 10px 0; }
    .agency-page .ag-submenu, .agency-page .ag-megamenu { position: static; width: 100%; box-shadow: none; margin-block: 8px; max-height: none; }
    .agency-page .ag-megamenu { grid-template-columns: repeat(3, 1fr); }
    .agency-page .ag-hero { min-height: 670px; }
    .agency-page .ag-hero-content { padding: 100px 70px 70px; }
    .agency-page .ag-slide p { font-size: 18px; }
    .agency-page .ag-hero-controls { padding-inline: 12px; }
    .agency-page .ag-section { padding-block: 80px; }
    .agency-page .ag-about { gap: 35px; }
    .agency-page .ag-about-image { height: 450px; }
    .agency-page .ag-about-copy > p { font-size: 16px; }
    .agency-page .ag-about-values { gap: 25px; margin-top: 35px; }
    .agency-page .ag-section-heading { align-items: flex-start; }
    .agency-page .ag-service { padding-inline: 28px; }
    .agency-page .ag-principle-grid { grid-template-columns: repeat(2, 1fr); gap: 35px 0; }
    .agency-page .ag-principle-grid article:nth-child(2) { border: 0; }
    .agency-page .ag-approach { gap: 24px; }
    .agency-page .ag-approach-intro { padding: 35px 26px; }
    .agency-page .ag-steps { padding-inline: 0; }
    .agency-page .ag-devices { gap: 12px; }
    .agency-page .ag-devices span { flex-direction: column; font-size: 14px; }
    .agency-page .ag-discover-grid { gap: 16px; }
    .agency-page .ag-discover-grid > a { padding: 30px 23px; }
    .agency-page .ag-footer-grid { grid-template-columns: 2fr 1fr 1fr; }
    .agency-page .ag-footer-grid > div:last-child { grid-column: 1 / -1; }
}
@media (max-width: 575px) {
    .agency-page .container { padding-inline: 22px; }
    .agency-page .ag-header-inner { padding-inline: 16px; }
    .agency-page .ag-brand { font-size: 20px; gap: 7px; }
    .agency-page .ag-brand-logo { width: 38px; height: 38px; }
    .agency-page .ag-brand-word { width: 142px; font-size: 18px; }
    .agency-page .ag-header-actions { gap: 5px; }
    .agency-page .ag-login { padding: 8px; font-size: 15px; }
    .agency-page .ag-megamenu { grid-template-columns: repeat(2, 1fr); gap: 16px; padding: 16px; }
    .agency-page .ag-hero { min-height: 660px; }
    .agency-page .ag-hero-content { padding: 85px 25px 110px; }
    .agency-page .ag-slide :is(h1,h2) { font-size: 37px; letter-spacing: -.8px; margin-bottom: 25px; }
    .agency-page .ag-slide p { font-size: 16px; margin-bottom: 32px; }
    .agency-page .ag-hero-controls { top: auto; bottom: 104px; justify-content: center; gap: 16px; }
    .agency-page .ag-hero-controls .btn.ag-round { width: 38px; height: 38px; }
    .agency-page .ag-hero-bottom { padding-bottom: 33px; font-size: 12px; }
    .agency-page .ag-scroll { display: none; }
    .agency-page .ag-count-line { width: 35px; }
    .agency-page .ag-section { padding-block: 64px; }
    .agency-page .ag-about { grid-template-columns: 1fr; gap: 35px; }
    .agency-page .ag-about-image { height: 370px; }
    .agency-page .ag-about-values { justify-content: space-between; max-width: 330px; }
    .agency-page .ag-section-heading { flex-direction: column; gap: 24px; padding-bottom: 48px; }
    .agency-page .ag-services { grid-template-columns: 1fr; gap: 53px; }
    .agency-page .ag-service { padding: 58px 26px 28px; }
    .agency-page .ag-service-icon { width: 62px; height: 62px; font-size: 25px; left: 26px; }
    .agency-page .ag-case-stage { padding-block: 45px; min-height: 570px; }
    .agency-page .ag-case { padding: 30px 26px; }
    .agency-page .ag-case h3 { font-size: 24px; }
    .agency-page .ag-principle-grid article { padding-inline: 12px; }
    .agency-page .ag-principle-grid h3 { font-size: 16px; }
    .agency-page .ag-principle-grid p { font-size: 13px; }
    .agency-page .ag-approach { grid-template-columns: 1fr; padding-bottom: 55px; }
    .agency-page .ag-steps { padding-inline: 5px; }
    .agency-page .ag-devices { grid-template-columns: repeat(3, 1fr); padding-bottom: 65px; }
    .agency-page .ag-discover-grid { grid-template-columns: 1fr; gap: 22px; }
    .agency-page .ag-centered { margin-bottom: 38px; }
    .agency-page .ag-start { padding: 65px 0; }
    .agency-page .ag-footer { padding-top: 55px; }
    .agency-page .ag-footer-grid { grid-template-columns: repeat(2, 1fr); gap: 35px; }
    .agency-page .ag-footer-grid > div:first-child { grid-column: 1 / -1; }
    .agency-page .ag-footer-bottom { flex-direction: row; flex-wrap:wrap; gap: 10px 20px; }
}
@media (max-width: 359px) {
    .agency-page .ag-brand-word { width: 128px; font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
    .agency-page * { transition: none !important; }
}
/* Public Chinese typography: readable at common desktop and mobile sizes. */
.agency-page{font-family:"PingFang SC","Microsoft YaHei","Noto Sans CJK SC",Inter,sans-serif;font-size:16px;line-height:1.8}
.agency-page h2{font-size:clamp(30px,3vw,44px);letter-spacing:-.5px;line-height:1.45}
.agency-page h3{font-size:24px;line-height:1.5}
.agency-page p{color:#4f5a68}
.agency-page .ag-navigation{font-size:19px}
.agency-page .ag-navigation a,.agency-page summary{line-height:1.65}
.agency-page .ag-nav-trademark sup{display:inline-block;margin-left:2px;position:relative;top:-.14em;font-size:1.35em;font-weight:800;line-height:1}
.agency-page :is(.ag-submenu,.ag-megamenu) a{font-size:16px;line-height:1.75}
.agency-page .ag-button,.agency-page .ag-outline{font-size:16px}
.agency-page .ag-footer{font-size:15px;line-height:1.8}
.agency-page .ag-footer h3{font-size:18px}
.agency-page .ag-footer-bottom{font-size:13px;line-height:1.7}
@media(max-width:1199px){.agency-page .ag-navigation{font-size:17px}}
@media(max-width:991px){.agency-page .ag-navigation{font-size:19px}}
@media(max-width:575px){.agency-page{font-size:16px}.agency-page .ag-navigation{font-size:18px}.agency-page .ag-slide p{font-size:17px}.agency-page .ag-footer{font-size:15px}}

/* Center the desktop menu and divide adjacent primary items. */
@media(min-width:992px){
    .agency-page .ag-navigation{flex:1;min-width:0;justify-content:center;gap:0}
    .agency-page .ag-navigation > a,
    .agency-page .ag-navigation > .ag-dropdown{position:relative;padding-inline:clamp(12px,1.4vw,24px)}
    .agency-page .ag-navigation > :not(:first-child)::before{
        content:"";
        position:absolute;
        inset-inline-start:0;
        top:50%;
        transform:translateY(-50%);
        width:1px;
        height:20px;
        background:var(--ag-border);
    }
}
.agency-page .ag-navigation > a,
.agency-page .ag-navigation > .ag-dropdown > summary{
    display:inline-flex;
    align-items:center;
}
@media(max-width:991px){
    .agency-page .ag-navigation.is-open{align-items:stretch}
    .agency-page .ag-navigation > a,
    .agency-page .ag-navigation > .ag-dropdown > summary{justify-content:flex-start}
}
