/* Site-wide migration fixes, article layouts, and the original visual language. */
:root { --gcg-header-offset: 170px; }
.admin-bar .site-header { top: 32px; }
@media(max-width:782px) { .admin-bar .site-header { top: 46px; } }
html { scroll-padding-top: var(--gcg-header-offset); }
[id] { scroll-margin-top: 12px; }
.gcg-site .hero-content { padding-top: max(190px,var(--gcg-header-offset)); padding-bottom: 50px; }
.gcg-site .page-hero,.gcg-site .about-hero { padding-top: max(170px,var(--gcg-header-offset)); }
.gcg-site .main-nav .wp-block-navigation__container { column-gap: 18px; }
.gcg-site .main-nav .wp-block-navigation-submenu__toggle { min-width: 28px; min-height: 36px; display: inline-flex; align-items: center; justify-content: center; }
.gcg-site .main-nav .wp-block-navigation-item.has-child > button.wp-block-navigation-item__content { min-height: 44px; }
.gcg-site .button-primary,.gcg-site .gcg-button-primary > .wp-block-button__link { background: #61763e; }
.gcg-site .button-primary:hover,.gcg-site .gcg-button-primary > .wp-block-button__link:hover { background: #4d6032; }
.gcg-site .wp-block-table { margin: 0; }
.gcg-site .wp-block-table > table { width: 100%; border-collapse: collapse; }
.gcg-site .wp-block-table.selection-table > table { table-layout: fixed; }
.gcg-site .wp-block-table.data-table,.gcg-site .wp-block-table.comparison-table { max-width: 100%; }
.gcg-site .table-shell { max-width: 100%; }
.gcg-site .wp-block-group,.gcg-site .wp-block-image { min-width: 0; }
.gcg-site .manual-case-frame > .wp-block-image { width: 100%; }
.gcg-site .manual-case-frame img { position: static; }
.gcg-site .document-support-visual > .wp-block-image { width: 100%; height: 100%; }
.gcg-site .gcg-media-thumb { position: relative; }
:is(.gcg-site,.editor-styles-wrapper) .reveal-left,:is(.gcg-site,.editor-styles-wrapper) .reveal-right { opacity: 1; transform: none; }
/* Legacy absolute frames must not override the new gallery's image/caption flow. */
.gcg-site .gcg-media-thumb:not(.gp-media-item) > .wp-block-image { width: 100%; height: 100%; margin: 0; }
.gcg-site .gcg-media-thumb:not(.gp-media-item) > .wp-block-image > a { position: absolute; inset: 0; display: block; }
.gcg-site .gcg-media-thumb:not(.gp-media-item) img { width: 100%; height: 100%; object-fit: cover; }
.gcg-site .gcg-media-thumb::after,.gcg-site .gcg-media-thumb::before,.gcg-site .trust-gallery-caption { pointer-events: none; }
.gcg-site .equipment-media-thumb { height: 100%; }
.gcg-site .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 14px; }
.gcg-site .gcg-button-row { margin: 0; }
.gcg-site .case-meta-list .gcg-span { display: inline-flex; }
.gcg-site .site-footer .footer-column .gcg-span { overflow-wrap: anywhere; }
.gcg-site .hero-stat-card .gcg-span,.gcg-site .hero-stat-card .gcg-strong { margin-bottom: 0; }
.gcg-site .insights-section { background: rgba(255,252,246,.72); }
.gcg-site .insights-hero h1,.gcg-site .article-shell h1 { max-width: 1000px; margin: 0; font: 600 clamp(3rem,5.2vw,5.75rem)/.98 'Cormorant Garamond',serif; letter-spacing: -.015em; }
.gcg-site .insights-hero { padding-bottom: 70px; }
.gcg-site .page-hero::before { pointer-events: none; }
.gcg-site .insights-intro { max-width: 760px; margin: 24px 0; color: var(--muted); font-size: 1.08rem; }
.gcg-site .insights-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 26px; list-style: none; padding: 0; margin: 0; }
.gcg-site .insights-grid > li { margin: 0; min-width: 0; }
.gcg-site .insight-card { height: 100%; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: var(--surface-strong); box-shadow: var(--shadow-soft); }
.gcg-site .insight-card .wp-block-post-featured-image { margin: 0; }
.gcg-site .insight-card .wp-block-post-featured-image img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.gcg-site .insight-card-copy { padding: 28px; }
.gcg-site .insight-card .wp-block-post-title { font-size: 1.5rem; line-height: 1.25; margin: 12px 0; }
.gcg-site .insight-card .wp-block-post-title a:hover { color: var(--moss-deep); }
.gcg-site .wp-block-post-terms { color: var(--moss-deep); font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.gcg-site .wp-block-post-date { color: var(--muted); font-size: .85rem; margin-bottom: 18px; }
.gcg-site .wp-block-post-excerpt { color: var(--muted); }
.gcg-site .wp-block-post-excerpt__more-text { margin-bottom: 0; }
.gcg-site .wp-block-post-excerpt__more-link { color: var(--forest); font-weight: 800; }
.gcg-site .insights-grid:has(>li:only-child) { grid-template-columns: minmax(0,900px); justify-content: center; }
.gcg-site .insights-grid > li:only-child .insight-card { display: grid; grid-template-columns: 1fr 1fr; }
.gcg-site .insights-grid > li:only-child .wp-block-post-featured-image { height: 100%; }
.gcg-site .insights-grid > li:only-child .wp-block-post-featured-image a,.gcg-site .insights-grid > li:only-child .wp-block-post-featured-image img { height: 100%; }
.gcg-site .insights-actions { margin-top: 38px; }
.gcg-site .insights-actions .wp-block-buttons { justify-content: center; }
.gcg-site .insights-categories { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 32px; padding: 0; list-style: none; }
.gcg-site .insights-categories a { display: inline-block; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; color: var(--forest); background: rgba(255,255,255,.6); font-weight: 700; }
.gcg-site .wp-block-search { max-width: 650px; margin-top: 32px; }
.gcg-site .wp-block-search__inside-wrapper { display: flex; gap: 10px; border: 0; padding: 0; }
.gcg-site .wp-block-search__input { min-width: 0; padding: 14px 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-strong); font: inherit; }
.gcg-site .wp-block-search__button { border: 0; border-radius: 999px; padding: 14px 24px; background: var(--forest); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.gcg-site .insights-pagination { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 38px; justify-content: center; }
.gcg-site .page-numbers { display: inline-flex; justify-content: center; align-items: center; min-width: 44px; min-height: 44px; border: 1px solid var(--line); border-radius: 50%; }
.gcg-site .page-numbers.current { background: var(--forest); color: #fff; }
.gcg-site .closing-cta { background: #e7ecdf; }
.gcg-site .closing-cta-inner { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.gcg-site .closing-cta h2 { margin: 0 0 16px; font: 600 clamp(2.7rem,4vw,4.5rem)/.98 'Cormorant Garamond',serif; }
.gcg-site .closing-cta-copy > p:last-child { margin-bottom: 0; color: var(--muted); }
.gcg-site .article-shell { padding: 190px 28px 90px; }
.gcg-site .article-container { max-width: 900px; margin: 0 auto; }
.gcg-site .article-back { margin: 0 0 30px; color: var(--moss-deep); font-weight: 700; }
.gcg-site .article-shell h1 { margin: 14px 0 22px; }
.gcg-site .article-shell > .article-container > .wp-block-post-featured-image { margin: 34px 0 42px; }
.gcg-site .article-shell .wp-block-post-featured-image img { width: 100%; border-radius: 24px; }
.gcg-site .article-body { max-width: 760px; margin: 0 auto; font-size: 1.06rem; line-height: 1.85; }
.gcg-site .article-body h2 { margin: 40px 0 18px; font: 600 2.7rem/1.1 'Cormorant Garamond',serif; }
.gcg-site .article-body li { margin-bottom: 12px; }
.gcg-site .article-body a:not(.wp-block-button__link) { color: var(--forest); text-decoration: underline; text-underline-offset: 4px; }
.gcg-site .article-navigation { margin-top: 50px; padding-top: 25px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 24px; }
.gcg-media-dialog:not([open]) { display: none; }
.gcg-media-dialog { width: min(94vw,1280px); max-height: 92vh; padding: 60px 20px 20px; border: 0; border-radius: 22px; background: #111916; color: #fff; }
.gcg-media-dialog::backdrop { background: rgba(5,10,8,.85); backdrop-filter: blur(5px); }
.gcg-media-close { position: absolute; top: 12px; right: 16px; min-height: 40px; padding: 8px 20px; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; background: transparent; color: #fff; font: inherit; cursor: pointer; }
.gcg-media-stage { display: grid; place-items: center; }
.gcg-media-stage img,.gcg-media-stage video { max-height: calc(92vh - 90px); max-width: 100%; width: auto; object-fit: contain; }
body.gcg-lightbox-open { overflow: hidden; }
@media (max-width:1250px) and (min-width:701px) {
  :root { --gcg-header-offset: 215px; }
  .gcg-site .nav-shell { display: grid; grid-template-columns: 1fr auto; text-align: left; gap: 10px 20px; }
  .gcg-site .brand-block { grid-column: 1; grid-row: 1; justify-self: start; }
  .gcg-site .nav-cta-shell { grid-column: 2; grid-row: 1; }
  .gcg-site nav.main-nav { grid-column: 1/-1; grid-row: 2; justify-self: center; }
  .gcg-site .main-nav .wp-block-navigation__container { flex-wrap: wrap; justify-content: center; }
  .gcg-site .article-shell { padding-top: 230px; }
}
@media(max-width:900px) { .gcg-site .insights-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .gcg-site .closing-cta-inner { grid-template-columns: 1fr; } }
@media(max-width:700px) {
  :root { --gcg-header-offset: 18px; }
  .gcg-site .site-header { position: static; padding-top: 0; }
  .gcg-site .nav-shell { grid-template-columns: 1fr; gap: 12px; text-align: center; justify-items: center; }
  .gcg-site .brand { font-size: 1.55rem; }
  .gcg-site .brand-tag { display: none; }
  .gcg-site .brand-logo { width: 40px; height: 40px; }
  .gcg-site nav.main-nav { width: 100%; }
  .gcg-site .main-nav .wp-block-navigation__container { flex-wrap: wrap; gap: 8px 16px; justify-content: center; }
  .gcg-site .main-nav { font-size: .88rem; }
  .gcg-site .hero-content { padding-top: 70px; }
  .gcg-site .page-hero,.gcg-site .about-hero { padding-top: 58px; }
  .gcg-site .insights-grid,.gcg-site .insights-grid > li:only-child .insight-card { grid-template-columns: 1fr; }
  .gcg-site .insights-grid > li:only-child .wp-block-post-featured-image img { aspect-ratio:16/9; }
  .gcg-site .article-shell { padding: 60px 20px 70px; }
  .gcg-site .insight-card-copy { padding: 24px; }
  .gcg-site .wp-block-search__button { padding: 12px 18px; }
  .gcg-site .wp-block-table.selection-table > table { min-width: 620px; }
  .gcg-site .wp-block-table.selection-table { overflow-x: auto; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior: auto; } *,*::before,*::after { transition-duration: .01ms!important; animation-duration: .01ms!important; } }
