/* Shared native-navigation behavior, including keyboard and touch access. */
.ag-global-header { z-index: 100; overflow: visible; }
.ag-global-nav .wp-block-navigation-item.has-child { position: relative; }
.ag-global-nav .wp-block-navigation__submenu-icon { margin-left: 0; padding: 6px; width: 24px; height: 28px; color: currentColor; background: transparent; }
.ag-global-nav .wp-block-navigation__submenu-container { z-index: 110; box-sizing: border-box; width: 190px; min-width: 190px; height: auto; padding: 8px 0; border: 1px solid #e2e8f0; border-radius: 4px; background: #fff; color: #0f172a; box-shadow: 0 12px 28px rgba(15,23,42,.12); }
.ag-global-nav .wp-block-navigation__submenu-container .wp-block-navigation-item { width: 100%; margin: 0; }
.ag-global-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content { box-sizing: border-box; display: flex; align-items: center; width: 100%; min-height: 44px; height: auto; margin: 0; padding: 12px 18px; font-size: 13px; line-height: 20px; color: #0f172a; white-space: nowrap; }
.ag-global-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content::after { display: none; }
.ag-global-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover,
.ag-global-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:focus-visible { background: #f0f9ff; color: #0284c7; }
.ag-global-nav .wp-block-navigation-item__content:focus-visible,
.ag-global-nav .wp-block-navigation__submenu-icon:focus-visible { outline: 2px solid #0ea5e9; outline-offset: 2px; }
body.algogoo-figma-site nav.ag-global-nav .wp-block-navigation__submenu-icon { display: grid; place-items: center; box-sizing: border-box; flex: 0 0 20px; width: 20px; min-width: 20px; height: 28px; min-height: 28px; padding: 4px; margin: 0; }
body.algogoo-figma-site nav.ag-global-nav .wp-block-navigation__submenu-icon svg { display: block; width: 12px; height: 12px; margin: 0; transform: none; }
body.algogoo-figma-site nav.ag-global-nav .wp-block-navigation__submenu-container { width: 190px; min-width: 190px; padding: 8px 0; }
body.algogoo-figma-site nav.ag-global-nav .wp-block-navigation__submenu-container .wp-block-navigation-item { width: 100%; height: auto; min-height: 44px; }
body.algogoo-figma-site nav.ag-global-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content { min-height: 44px; height: auto; padding: 12px 18px; }
.ag-page [id] { scroll-margin-top: 88px; }

/* Tables must fit their own column, not the full-page minimum width. */
.ag-page .ag-split .ag-table-wrap,
.ag-page .ag-v5-about-8 .ag-table-wrap { min-width: 0; max-width: 100%; overflow-x: auto; }
.ag-page .ag-split .ag-table-wrap table,
.ag-page .ag-v5-about-8 .ag-table-wrap table { min-width: 0; width: 100%; table-layout: fixed; }
.ag-page .ag-split .ag-table-wrap th,
.ag-page .ag-split .ag-table-wrap td { overflow-wrap: anywhere; }
.ag-page .ag-section:has(.ag-faq details[open]) { height: auto !important; overflow: visible; }
.ag-page .ag-faq details { min-height: 0; }
.ag-page .ag-faq summary { cursor: pointer; }
.ag-page .ag-faq details p { margin: 0; }
.ag-page .ag-v5-evidence .ag-table-wrap { width: min(100%, 600px); margin: 0 auto; }
.ag-page .ag-v5-evidence .ag-table-wrap table { min-width: 0; table-layout: fixed; }
.ag-page .ag-v5-evidence .ag-table-wrap th,
.ag-page .ag-v5-evidence .ag-table-wrap td { padding: 10px 18px; font-size: 13px; line-height: 21px; }
.ag-page .ag-v5-clinic-report .ag-grid { margin-top: 0; }
.ag-page .ag-v5-clinic-report .ag-v5-report-benefits { margin-bottom: 52px; }
.ag-page .ag-v5-report-benefits .ag-card { min-height: 300px; padding: 24px; }
.ag-page .ag-v5-report-benefits .ag-icon { display: grid; place-items: center; width: 32px; height: 32px; margin: 0 0 68px; border-radius: 50%; background: #0ea5e9; color: #fff; font-size: 13px; }
.ag-page .ag-v5-report-benefits .ag-card h3 { font-size: 14px; line-height: 22px; margin: 0 0 8px; }
.ag-page .ag-v5-report-benefits .ag-card p { font-size: 13px; line-height: 23px; }
.ag-page .ag-v5-report-deliverables .ag-card { min-height: 215px; padding: 20px; background: #eaf7fd; border: 0; box-shadow: none; }
.ag-page .ag-v5-report-deliverables .ag-card h3 { font-size: 14px; line-height: 21px; color: #1766c5; }
.ag-page .ag-v5-report-deliverables .ag-card p,
.ag-page .ag-v5-report-deliverables .ag-card li { font-size: 12px; line-height: 21px; margin-top: 0; margin-bottom: 3px; }
.ag-page .ag-v5-report-deliverables .ag-list { margin-top: 8px; }
.ag-page .ag-v5-medical-9 .ag-v5-report-benefits .ag-card { min-height: 205px; }
.ag-page .ag-v5-medical-9 .ag-v5-report-benefits .ag-icon { margin-bottom: 12px; }

/* Long-form articles use the same palette and typography as the page blocks. */
body.algogoo-figma-site.single-post { background: #fff; color: #475569; }
body.algogoo-figma-site.single-post #content { background: linear-gradient(#f0f9ff 0, #fff 500px); }
body.algogoo-figma-site.single-post .nv-single-post-wrap { box-sizing: border-box; flex: 0 1 920px; width: 100% !important; max-width: 920px !important; margin: 0 auto; padding: 56px 32px 88px; }
body.algogoo-figma-site.single-post .deeptech-breadcrumb { margin: 0 0 28px; font-size: 13px; line-height: 22px; color: #64748b; }
body.algogoo-figma-site.single-post .deeptech-breadcrumb a { color: #0284c7; }
body.algogoo-figma-site.single-post .entry-header { margin: 0 0 40px; padding: 0 0 28px; border-bottom: 1px solid #d8edf8; }
body.algogoo-figma-site.single-post .entry-title { margin: 0 0 24px; font-family: 'Noto Sans TC',sans-serif; font-size: 40px; line-height: 1.4; font-weight: 800; color: #0f172a; letter-spacing: 0; }
body.algogoo-figma-site.single-post .nv-meta-list { margin: 0; gap: 18px; font-size: 13px; line-height: 22px; color: #64748b; }
body.algogoo-figma-site.single-post .nv-content-wrap { font-family: 'Noto Sans TC',sans-serif; font-size: 16px; line-height: 1.9; overflow-wrap: anywhere; }
body.algogoo-figma-site.single-post .nv-content-wrap h2 { margin: 48px 0 20px; font-size: 28px; line-height: 1.5; font-weight: 800; color: #0f172a; }
body.algogoo-figma-site.single-post .nv-content-wrap h3 { margin: 32px 0 16px; font-size: 21px; line-height: 1.6; font-weight: 700; color: #0f172a; }
body.algogoo-figma-site.single-post .nv-content-wrap p,
body.algogoo-figma-site.single-post .nv-content-wrap ul,
body.algogoo-figma-site.single-post .nv-content-wrap ol { margin-top: 0; margin-bottom: 24px; }
body.algogoo-figma-site.single-post .nv-content-wrap li { margin: 8px 0; }
body.algogoo-figma-site.single-post .nv-content-wrap a { color: #0284c7; text-underline-offset: 3px; }
body.algogoo-figma-site.single-post .nv-content-wrap figure { margin: 32px 0; }
body.algogoo-figma-site.single-post .nv-content-wrap img { height: auto; max-width: 100%; border-radius: 8px; }
body.algogoo-figma-site.single-post .nv-content-wrap .wp-block-table { overflow-x: auto; border: 1px solid #d8edf8; border-radius: 8px; }
body.algogoo-figma-site.single-post .nv-content-wrap table { width: 100%; min-width: 620px; margin: 0; border-collapse: collapse; font-size: 14px; line-height: 1.75; }
body.algogoo-figma-site.single-post .nv-content-wrap th { background: #e0f2fe; color: #0f172a; }
body.algogoo-figma-site.single-post .nv-content-wrap th,
body.algogoo-figma-site.single-post .nv-content-wrap td { padding: 14px 18px; border-color: #d8edf8; }
body.algogoo-figma-site.single-post .nv-content-wrap blockquote { margin: 32px 0; padding: 22px 26px; border-left: 3px solid #0ea5e9; background: #f0f9ff; }
body.algogoo-figma-site.single-post .deeptech-post-nav-card { border-color: #d8edf8; box-shadow: none; }
body.algogoo-figma-site.single-post .deeptech-post-nav-card:hover { border-color: #0ea5e9; background: #f0f9ff; }
body.algogoo-figma-site.single-post .deeptech-post-nav-card strong { font-size: 16px; }

@media (min-width: 1200px) {
 body.algogoo-figma-site nav.ag-global-nav .wp-block-navigation-item.has-child { width: 126px; }
 body.algogoo-figma-site nav.ag-global-nav .wp-block-navigation-item.has-child > .wp-block-navigation-item__content { width: calc(100% - 20px); }
 .ag-page .ag-v5-section { box-sizing: border-box; height: auto !important; min-height: var(--ag-ref-height) !important; }
 .ag-page .ag-v5-home-4 { padding-top: 143px; padding-bottom: 150px; }
 .ag-page .ag-v5-home-4 > .wp-block-group__inner-container { height: auto; }
 .ag-page .ag-v5-home-4 .ag-split { position: relative; top: auto; left: auto; }
 .ag-page .ag-v5-home-4 .ag-home-visibility-primary .ag-split-copy { padding-top: 0; }
 .ag-page .ag-v5-home-4 .ag-home-visibility-primary .ag-split-visual { padding-top: 115px; }
 .ag-page .ag-v5-home-4 .ag-home-visibility-primary h2 { width: 660px; max-width: none; }
 .ag-page .ag-v5-home-4 .ag-home-visibility-definition { margin-top: 180px; }
 .ag-page .ag-v5-home-4 .ag-home-visibility-definition .ag-split-copy { padding-top: 0; }
 .ag-page .ag-v5-home-4 .ag-home-visibility-definition .ag-split-visual { padding-top: 110px; }
 .ag-page .ag-v5-home-4 .ag-home-visibility-definition > .wp-block-group__inner-container { align-items: start; }
 .ag-page .ag-v5-home-4 .ag-home-visibility-definition .ag-bar-row { display: block; position: relative; margin-bottom: 18px; }
 .ag-page .ag-v5-home-4 .ag-home-visibility-definition .ag-bar-label { width: 100%; margin-bottom: 8px; }
 .ag-page .ag-v5-home-4 .ag-home-visibility-definition .ag-bar-value { position: absolute; top: 0; right: 0; }
 .ag-page .ag-v5-home-7 > .wp-block-group__inner-container { display: grid; grid-template-columns: 536px 536px; column-gap: 64px; align-items: start; }
 .ag-page .ag-v5-home-7 .ag-section-head { grid-column: 2; grid-row: 1; width: 536px; margin: 0; text-align: left; }
 .ag-page .ag-v5-home-7 .ag-section-head .ag-kicker { margin-left: 0; }
 .ag-page .ag-v5-home-7 .ag-panel-title { display: none; }
 .ag-page .ag-v5-home-7 .ag-table-wrap { grid-column: 1; grid-row: 1; width: 536px; margin-top: 210px; }
 .ag-page .ag-v5-home-7 .ag-table-wrap table { min-width: 0; table-layout: fixed; }
 .ag-page .ag-v5-home-7 .ag-table-wrap th,
 .ag-page .ag-v5-home-7 .ag-table-wrap td { padding: 9px 10px; font-size: 11px; line-height: 17px; }
 .ag-page .ag-v5-home-6 .ag-section-head,
 .ag-page .ag-v5-home-8 .ag-section-head { width: 536px; margin-left: 0; margin-right: 0; text-align: left; }
 .ag-page .ag-v5-home-6 .ag-section-head .ag-kicker,
 .ag-page .ag-v5-home-8 .ag-section-head .ag-kicker { margin-left: 0; }
 .ag-page .ag-v5-home-13 .ag-card { min-height: 270px; padding: 24px; }
 .ag-page .ag-v5-home-13 .ag-card p,
 .ag-page .ag-v5-home-13 .ag-card li { font-size: 13px; line-height: 22px; }
 .ag-page .ag-v5-home-14 .ag-faq,
 .ag-page .ag-v5-contact-8 .ag-faq,
 .ag-page .ag-v5-industry-9 .ag-faq,
 .ag-page .ag-v5-crossborder-13 .ag-faq { width: 900px; max-width: 100%; margin: 0 auto; }
 .ag-page .ag-v5-home-14 .ag-faq details { margin-bottom: 0; border: 0; border-bottom: 1px solid #e2e8f0; border-radius: 0; background: transparent; box-shadow: none; }
 .ag-page .ag-v5-home-14 .ag-faq summary { padding: 18px 0; }
 .ag-page.ag-page-about .ag-v5-about-11 { padding-top: 0; padding-bottom: 120px; }
 .ag-page .ag-v5-about-11 > .wp-block-group__inner-container { padding-top: 0; }
 .ag-page.ag-page-about .ag-v5-about-12 { padding-top: 115px; padding-bottom: 96px; background-color: #f0f9ff; }
 .ag-page.ag-page-home .ag-v5-home-15 { padding-top: 0; padding-bottom: 57px; }
 .ag-page .ag-v5-home-14 .ag-faq,
 .ag-page.ag-page-about .ag-v5-about-12 .ag-faq { box-sizing: border-box; position: relative; width: 1200px; max-width: none; margin-left: -32px; padding: 24px 252px; border: 1px solid rgba(255,255,255,.8); border-radius: 16px; background: rgba(255,255,255,.65); box-shadow: none; }
 .ag-page .ag-v5-about-8 .ag-table-wrap table { min-width: 0; }
 .ag-page .ag-v5-about-4 .ag-grid-4 > .wp-block-group__inner-container { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
 .ag-page .ag-v5-about-4 { padding-bottom: 77px; }
 .ag-page .ag-v5-about-4 .ag-card { min-height: 120px; padding: 22px 24px; }
 .ag-page .ag-v5-about-7 .ag-section-head { margin-bottom: 15px; }
 .ag-page .ag-v5-about-7 { padding-bottom: 63px; }
 .ag-page .ag-v5-about-7 .ag-grid-3 > .wp-block-group__inner-container { grid-template-columns: 1fr; gap: 16px; }
 .ag-page .ag-v5-about-7 .ag-card { min-height: 167px; padding: 24px 26px; }
 .ag-page .ag-v5-about-7 .ag-card:last-child { min-height: 107px; }
 .ag-page .ag-v5-about-7 .ag-card > .wp-block-group__inner-container { display: grid; grid-template-columns: minmax(0,2fr) minmax(0,1fr); column-gap: 44px; align-items: start; }
 .ag-page .ag-v5-about-7 .ag-card h3 { grid-column: 1; margin: 0 0 10px; }
 .ag-page .ag-v5-about-7 .ag-card p { grid-column: 1; margin: 0; font-size: 13px; line-height: 22px; }
 .ag-page .ag-v5-about-7 .ag-card .ag-list { grid-column: 2; grid-row: 1 / span 2; margin: 0; }
 .ag-page .ag-v5-about-7 .ag-card .ag-list li { margin: 0 0 4px; padding: 4px 12px; list-style: none; border-radius: 4px; background: #e0f2fe; font-size: 12px; line-height: 18px; }
 .ag-page .ag-v5-about-10 > .wp-block-group__inner-container { display: grid; grid-template-columns: 536px 536px; gap: 64px; align-items: start; }
 .ag-page .ag-v5-about-10 .ag-section-head { margin: 0; text-align: left; }
 .ag-page .ag-v5-about-10 .ag-kicker { margin-left: 0; }
 .ag-page .ag-v5-about-10 .ag-split > .wp-block-group__inner-container { display: flex; flex-direction: column; gap: 22px; }
 .ag-page .ag-v5-about-10 .ag-split-visual { width: 100%; }
 .ag-page .ag-v5-about-10 .ag-list li { margin: 0 0 12px; padding: 14px 18px; border: 1px solid #d8edf8; border-radius: 8px; background: #fff; box-shadow: 0 4px 12px rgba(14,165,233,.08); }
 .ag-page .ag-v5-evidence .ag-section-head { margin-bottom: 40px; }
 .ag-page .ag-v5-clinic-report { padding-top: 40px; padding-bottom: 64px; }
 .ag-page .ag-v5-clinic-report .ag-section-head { margin-bottom: 44px; }
 .ag-page .ag-v5-service-10 .ag-section-head { margin-bottom: 32px; }
 .ag-page .ag-v5-service-10 .ag-section-head h2 { font-size: 34px; }
 .ag-page .ag-v5-service-10 .ag-subheading + .ag-grid .ag-card { height: auto; min-height: 245px; }
 .ag-page .ag-v5-service-3 .ag-grid-6 .ag-card { min-height: 175px; padding: 20px; }
 .ag-page .ag-v5-service-3 .ag-grid-6 .ag-card h3 { font-size: 14px; }
 .ag-page .ag-v5-service-3 .ag-grid-6 .ag-card p { font-size: 12px; line-height: 21px; }
 .ag-page .ag-v5-contact-7 .ag-card { min-height: 132px; padding: 20px; }
 .ag-page .ag-v5-contact-7 .ag-card h3 { font-size: 16px; }
 .ag-page .ag-v5-contact-7 .ag-card p { font-size: 13px; line-height: 22px; }
 .ag-page .ag-v5-service-3 .ag-table-wrap td,
 .ag-page .ag-v5-service-3 .ag-table-wrap th { padding: 9px 12px; font-size: 12px; line-height: 19px; }
 .ag-page .ag-v5-service-4 .ag-card { min-height: 125px; padding: 20px; }
 .ag-page .ag-v5-service-4 .ag-card p { font-size: 13px; line-height: 22px; }
 .ag-page .ag-v5-service-4 .ag-section-head { margin-bottom: 32px; }
 .ag-page .ag-v5-service-4 .ag-section-head p { font-size: 14px; line-height: 24px; }
 .ag-page .ag-v5-crossborder-11 .ag-card { min-height: 0; }
}
@media (max-width: 1199px) {
 .ag-page .ag-v5-section { height: auto !important; min-height: 0 !important; padding-top: 72px; padding-bottom: 72px; }
 .ag-page .ag-v5-section .ag-section-head { margin-bottom: 36px; }
 .ag-page .ag-v5-clinic-report .ag-grid-5 > .wp-block-group__inner-container { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .ag-page .ag-v5-report-benefits .ag-card { min-height: 230px; }
 .ag-page .ag-v5-report-benefits .ag-icon { margin-bottom: 28px; }
}
@media (max-width: 782px) {
 .ag-global-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container { position: static; width: 100%; min-width: 0; padding: 4px 0 4px 16px; border: 0; box-shadow: none; }
 .ag-global-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content { white-space: normal; }
 .ag-page .ag-v5-section { padding-top: 56px; padding-bottom: 56px; }
 .ag-page .ag-v5-clinic-report .ag-grid-5 > .wp-block-group__inner-container { grid-template-columns: 1fr; }
 .ag-page .ag-v5-report-benefits .ag-card { min-height: 0; }
 .ag-page .ag-v5-report-deliverables .ag-card { min-height: 0; }
 body.algogoo-figma-site.single-post .nv-single-post-wrap { padding: 32px 20px 56px; }
 body.algogoo-figma-site.single-post .entry-title { font-size: 28px; line-height: 1.5; }
 body.algogoo-figma-site.single-post .nv-content-wrap h2 { font-size: 24px; margin-top: 36px; }
 body.algogoo-figma-site.single-post .nv-content-wrap h3 { font-size: 20px; }
}
