/* Google Guide redesign — local preview only
   Heritage: Digg teal (#045868) + lime (#ADD56A) + cyan links (#1D97CC)
   Direction: editorial knowledge guide, content-first, mobile-first
*/

:root {
  --gg-ink: #142a30;
  --gg-ink-soft: #3d5a63;
  --gg-muted: #6a848c;
  --gg-deep: #043a45;
  --gg-panel: #0a5160;
  --gg-panel-mid: #0d6274;
  --gg-surface: #f4f8f9;
  --gg-surface-raised: #ffffff;
  --gg-line: rgba(4, 58, 69, 0.12);
  --gg-lime: #add56a;
  --gg-lime-bright: #c4e88a;
  --gg-cyan: #1d97cc;
  --gg-cyan-soft: #2aafd8;
  --gg-amber: #f0c14b;
  --gg-radius: 12px;
  --gg-radius-sm: 8px;
  --gg-shadow: 0 18px 40px rgba(4, 58, 69, 0.12);
  --gg-font-display: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --gg-font-body: "Source Serif 4", "Iowan Old Style", Georgia, serif;
  --gg-font-ui: "Outfit", "Segoe UI", sans-serif;
  --gg-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gg-space: clamp(1rem, 2.5vw, 2rem);
  --gg-measure: 42rem;
  --gg-sidebar: 17.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  max-width: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body.gg-body {
  margin: 0;
  min-height: 100dvh;
  max-width: 100%;
  overflow-x: clip;
  color: var(--gg-ink);
  font-family: var(--gg-font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(173, 213, 106, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(29, 151, 204, 0.16), transparent 50%),
    linear-gradient(180deg, #e8f2f4 0%, var(--gg-surface) 28%, #eef5f7 100%);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--gg-cyan);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color 180ms var(--gg-ease), background-color 180ms var(--gg-ease);
}

a:hover {
  color: var(--gg-deep);
}

a:focus-visible {
  outline: 3px solid var(--gg-lime);
  outline-offset: 3px;
  border-radius: 2px;
}

.gg-skip {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 1000;
  padding: 0.65rem 1rem;
  background: var(--gg-deep);
  color: #fff;
  font-family: var(--gg-font-ui);
  font-size: 0.875rem;
  text-decoration: none;
  border-radius: var(--gg-radius-sm);
}

.gg-skip:focus {
  top: 1rem;
}

.gg-shell {
  width: min(1180px, 100%);
  max-width: 100%;
  margin: 0 auto;
  padding: 1.25rem var(--gg-space) 3rem;
  box-sizing: border-box;
  overflow-x: clip;
}

/* —— Header / brand —— */
.gg-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-width: 0;
  max-width: 100%;
  margin-bottom: 1.5rem;
  animation: gg-rise 520ms var(--gg-ease) both;
}

.gg-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
  flex: 1 1 auto;
  text-decoration: none;
  color: inherit;
}

.gg-brand__logo {
  width: auto;
  height: 3.25rem;
  flex-shrink: 0;
  object-fit: contain;
  image-rendering: auto;
}

.gg-brand__text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.gg-brand__name {
  font-family: var(--gg-font-display);
  font-size: clamp(1.85rem, 4vw, 2.55rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--gg-deep);
}

.gg-brand__tag {
  font-family: var(--gg-font-ui);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gg-muted);
}

.gg-header__meta {
  flex: 0 1 auto;
  min-width: 0;
  font-family: var(--gg-font-ui);
  font-size: 0.8rem;
  color: var(--gg-muted);
  text-align: right;
}

.gg-preview-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.35rem;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: rgba(240, 193, 75, 0.22);
  color: #7a5a08;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.68rem;
}

@media (max-width: 479px) {
  .gg-header {
    gap: clamp(0.25rem, 1.2vw, 0.5rem);
  }

  .gg-brand {
    gap: clamp(0.25rem, 1.2vw, 0.45rem);
  }

  .gg-brand__logo {
    height: clamp(1.45rem, 7.5vw, 2.2rem);
  }

  .gg-brand__text {
    min-width: 0;
  }

  .gg-brand__name {
    font-size: clamp(1.05rem, 5vw, 1.55rem);
    white-space: nowrap;
  }

  .gg-brand__tag {
    font-size: clamp(0.5rem, 2.1vw, 0.68rem);
    letter-spacing: 0.02em;
    white-space: nowrap;
  }

  .gg-header__meta {
    font-size: 0.65rem;
    max-width: 42%;
  }

  .gg-preview-badge {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 0.15rem;
    padding: 0.12rem 0.35rem;
    font-size: clamp(0.45rem, 1.85vw, 0.58rem);
    letter-spacing: 0.01em;
    line-height: 1.25;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 369px) {
  .gg-header {
    gap: 0.2rem;
  }

  .gg-brand__logo {
    height: 1.35rem;
  }

  .gg-brand__name {
    font-size: 1rem;
  }

  .gg-brand__tag {
    font-size: 0.48rem;
    letter-spacing: 0.01em;
  }

  .gg-header__meta {
    max-width: 38%;
    font-size: 0.58rem;
  }

  .gg-preview-badge {
    padding: 0.1rem 0.28rem;
    font-size: 0.42rem;
  }
}

/* —— Layout —— */
.gg-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
  min-width: 0;
  max-width: 100%;
}

@media (min-width: 900px) {
  .gg-layout {
    grid-template-columns: minmax(0, var(--gg-sidebar)) minmax(0, 1fr);
    gap: 1.75rem;
  }
}

/* —— Sidebar —— */
.gg-sidebar {
  min-width: 0;
  max-width: 100%;
  width: auto;
  overflow-x: clip;
  background: linear-gradient(165deg, var(--gg-panel) 0%, var(--gg-deep) 100%);
  color: #d5e8ee;
  border-radius: calc(var(--gg-radius) + 4px);
  padding: 1.15rem 1rem 1.35rem;
  box-shadow: var(--gg-shadow);
  animation: gg-rise 620ms var(--gg-ease) 60ms both;
}

.gg-nav-panel {
  min-width: 0;
  max-width: 100%;
  overflow-x: clip;
}

@media (min-width: 900px) {
  .gg-sidebar {
    position: sticky;
    top: 1rem;
    max-height: calc(100dvh - 2rem);
    overflow: auto;
    overscroll-behavior: contain;
  }
}

.gg-nav-toggle {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0.7rem;
  margin: 0 0 0.75rem;
  border: 1px solid rgba(183, 214, 230, 0.28);
  border-radius: var(--gg-radius-sm);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-family: var(--gg-font-ui);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  touch-action: manipulation;
  min-height: 44px;
}

.gg-nav-toggle__icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

@media (min-width: 900px) {
  .gg-nav-toggle {
    display: none;
  }
}

.gg-nav-panel[hidden] {
  display: none;
}

@media (min-width: 900px) {
  .gg-nav-panel[hidden] {
    display: block;
  }
}

.gg-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.gg-nav>li+li {
  margin-top: 0.15rem;
}

.gg-nav>li {
  min-width: 0;
}

.gg-nav a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  align-content: center;
  column-gap: 0.55rem;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 44px;
  padding: 0.45rem 0.7rem;
  color: var(--gg-lime);
  text-decoration: none;
  font-family: var(--gg-font-ui);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.35;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
  border-radius: var(--gg-radius-sm);
  border: 1px solid transparent;
  transition: background-color 180ms var(--gg-ease), color 180ms var(--gg-ease), border-color 180ms var(--gg-ease);
}

.gg-nav a::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.55;
}

.gg-nav a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--gg-lime-bright);
}

.gg-nav a.is-active {
  background: rgba(183, 214, 230, 0.14);
  color: #e8f6ff;
  border-color: rgba(183, 214, 230, 0.22);
}

.gg-nav a.is-active::before {
  background: var(--gg-lime);
  opacity: 1;
  box-shadow: 0 0 0 3px rgba(173, 213, 106, 0.25);
}

.gg-nav__sub {
  list-style: none;
  margin: 0.15rem 0 0.55rem 0.55rem;
  padding: 0 0 0 0.65rem;
  border-left: 1px solid rgba(183, 214, 230, 0.22);
  min-width: 0;
}

.gg-nav__sub a {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: center;
  box-sizing: border-box;
  width: 100%;
  min-height: 40px;
  padding: 0.35rem 0.55rem;
  color: #b7d6e6;
  font-size: 0.78rem;
  font-weight: 500;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

.gg-nav__sub a::before {
  display: none;
}

.gg-nav__label {
  margin: 1.15rem 0 0.45rem;
  padding: 0.35rem 0.7rem;
  font-family: var(--gg-font-ui);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffcc;
}

.gg-nav--langs,
.gg-nav--langs li {
  list-style: none;
}

.gg-nav--langs li::marker {
  content: none;
}

.gg-nav--langs a {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  align-content: center;
  column-gap: 0.35rem;
  color: #b7d6e6;
  font-weight: 500;
}

.gg-nav--langs a::before {
  display: none;
}

.gg-nav--langs small {
  opacity: 0.75;
  font-size: 0.72em;
}

.gg-note {
  margin-top: 1.25rem;
  padding: 0.9rem;
  border-radius: var(--gg-radius);
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(183, 214, 230, 0.15);
  border-left: 3px solid var(--gg-lime);
}

.gg-note__label {
  margin: 0 0 0.4rem;
  font-family: var(--gg-font-ui);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gg-lime);
}

.gg-note p {
  margin: 0;
  font-family: var(--gg-font-ui);
  font-size: 0.78rem;
  font-style: normal;
  line-height: 1.5;
  color: #b7d6e6;
}

.gg-note p+p {
  margin-top: 0.5rem;
}

.gg-note a {
  color: var(--gg-lime);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.gg-note a:hover {
  color: #fff;
}

/* —— Main content —— */
.gg-main {
  min-width: 0;
  max-width: 100%;
  overflow-x: clip;
  background: var(--gg-surface-raised);
  border-radius: calc(var(--gg-radius) + 4px);
  border: 1px solid var(--gg-line);
  box-shadow: var(--gg-shadow);
  padding: clamp(1.25rem, 3vw, 2.25rem);
  animation: gg-rise 680ms var(--gg-ease) 100ms both;
}

.gg-intro {
  display: grid;
  gap: 1.35rem;
  margin-bottom: 2rem;
  padding-bottom: 1.75rem;
  /* border-bottom: 1px solid var(--gg-line); */
}

@media (min-width: 640px) {
  .gg-intro {
    grid-template-columns: 8.5rem minmax(0, 1fr);
    align-items: start;
  }
}

.gg-intro__cover {
  justify-self: start;
  width: 8.5rem;
  border-radius: 6px;
  overflow: hidden;
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.4) inset,
    0 14px 28px rgba(4, 58, 69, 0.22);
  transform: rotate(-1.5deg);
  transition: transform 220ms var(--gg-ease);
}

.gg-intro__cover:hover {
  transform: rotate(0deg) translateY(-2px);
}

.gg-intro__cover img {
  width: 100%;
  aspect-ratio: 130 / 160;
  object-fit: cover;
}

.gg-kicker {
  margin: 0 0 0.45rem;
  font-family: var(--gg-font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gg-cyan);
}

.gg-intro h1 {
  margin: 0 0 0.85rem;
  font-family: var(--gg-font-display);
  font-size: clamp(1.65rem, 3.2vw, 2.15rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--gg-deep);
}

.gg-intro p {
  margin: 0 0 0.85rem;
  max-width: var(--gg-measure);
  color: var(--gg-ink-soft);
}

.gg-intro p:last-child {
  margin-bottom: 0;
}

.gg-intro strong {
  color: var(--gg-ink);
  font-weight: 600;
}

.gg-signoff {
  font-style: italic;
  color: var(--gg-ink);
}

/* —— Chapter index —— */
.gg-chapters {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: gg-chapter;
}

.gg-chapter {
  counter-increment: gg-chapter;
  margin: 0;
  padding: 1.1rem 0;
  border-top: 1px solid var(--gg-line);
  animation: gg-rise 560ms var(--gg-ease) both;
}

.gg-chapter:nth-child(1) {
  animation-delay: 140ms;
}

.gg-chapter:nth-child(2) {
  animation-delay: 180ms;
}

.gg-chapter:nth-child(3) {
  animation-delay: 220ms;
}

.gg-chapter:nth-child(4) {
  animation-delay: 260ms;
}

.gg-chapter:nth-child(5) {
  animation-delay: 300ms;
}

.gg-chapter:nth-child(6) {
  animation-delay: 340ms;
}

.gg-chapter__link {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  text-decoration: none;
  color: inherit;
}

.gg-chapter__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.35rem;
  padding: 0.35rem 0.55rem;
  border-radius: var(--gg-radius-sm);
  background: linear-gradient(165deg, var(--gg-panel) 0%, var(--gg-deep) 100%);
  box-shadow: 0 6px 14px rgba(4, 58, 69, 0.16);
  font-family: var(--gg-font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  color: var(--gg-lime);
}

.gg-chapter__num::before {
  content: counter(gg-chapter, decimal-leading-zero);
}

.gg-chapter__title {
  font-family: var(--gg-font-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--gg-deep);
  transition: color 180ms var(--gg-ease);
}

.gg-chapter__link:hover .gg-chapter__title {
  color: var(--gg-cyan);
}

.gg-chapter__subs {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  margin: 0.45rem 0 0;
  padding: 0;
  list-style: none;
}

.gg-chapter__subs a {
  font-family: var(--gg-font-body);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.45;
  color: var(--gg-cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(240, 193, 75, 0.55);
  min-height: 32px;
  display: inline-flex;
  align-items: center;
}

.gg-chapter__subs a:hover {
  color: var(--gg-deep);
  background: rgba(240, 193, 75, 0.22);
  border-bottom-color: var(--gg-amber);
}

/* —— Next / meta —— */
.gg-continue {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding: 1.15rem 1.25rem;
  border-radius: var(--gg-radius);
  background:
    linear-gradient(120deg, rgba(173, 213, 106, 0.16), rgba(29, 151, 204, 0.1));
  border: 1px solid rgba(4, 58, 69, 0.1);
}

.gg-continue__label {
  margin: 0;
  font-family: var(--gg-font-ui);
  font-size: 0.8rem;
  color: var(--gg-muted);
}

.gg-continue__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.45rem 0.2rem;
  font-family: var(--gg-font-ui);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gg-deep);
  text-decoration: none;
}

.gg-continue__link svg {
  width: 1.1rem;
  height: 1.1rem;
  transition: transform 200ms var(--gg-ease);
}

.gg-continue__link:hover svg {
  transform: translateX(4px);
}

.gg-page-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  /* border-top: 1px solid var(--gg-line); */
  font-family: var(--gg-font-ui);
  font-size: 0.8rem;
  color: var(--gg-muted);
}

.gg-top {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 44px;
  color: var(--gg-cyan);
  text-decoration: none;
  font-weight: 600;
}

.gg-top svg {
  width: 1rem;
  height: 1rem;
}

/* —— Footer —— */
.gg-footer {
  margin-top: 1.5rem;
  padding: 0.25rem 0.35rem;
  font-family: var(--gg-font-ui);
  font-size: 0.82rem;
  color: var(--gg-muted);
  animation: gg-rise 700ms var(--gg-ease) 160ms both;
}

.gg-footer a {
  color: var(--gg-panel);
}

@keyframes gg-rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* —— Legacy TYPO3 content inside .gg-main —— */
.gg-main h1 {
  margin: 1.5rem 0 0.85rem;
  font-family: var(--gg-font-display);
  font-size: clamp(1.45rem, 2.8vw, 1.95rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--gg-deep);
}

.gg-main h1:first-child {
  margin-top: 0;
}

.gg-main h2 {
  margin: 1.25rem 0 0.65rem;
  font-family: var(--gg-font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gg-deep);
}

.gg-main .bodytext,
.gg-main p {
  margin: 0 0 0.9rem;
  max-width: var(--gg-measure);
  color: var(--gg-ink-soft);
}

.gg-main a {
  color: var(--gg-cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(240, 193, 75, 0.55);
}

.gg-main a:hover {
  color: var(--gg-deep);
  background: rgba(240, 193, 75, 0.22);
  border-bottom-color: var(--gg-amber);
}

/* Chapter index: keep clean title/cover links; subs match body-link style */
.gg-main .gg-chapter__link,
.gg-main .gg-chapter__link:hover,
.gg-main .gg-continue__link,
.gg-main .gg-continue__link:hover,
.gg-main .gg-top,
.gg-main .gg-top:hover,
.gg-main .gg-intro__cover,
.gg-main .gg-intro__cover:hover {
  border-bottom: none;
  background: transparent;
}

.gg-main .gg-chapter__subs a {
  color: var(--gg-cyan);
  border-bottom: 1px solid rgba(240, 193, 75, 0.55);
}

.gg-main .gg-chapter__subs a:hover {
  color: var(--gg-deep);
  background: rgba(240, 193, 75, 0.22);
  border-bottom-color: var(--gg-amber);
}

.gg-main img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

.gg-main .csc-textpic {
  display: grid;
  gap: 1rem;
  margin: 0 0 1.5rem;
}

.gg-main .csc-textpic-imagewrap {
  max-width: 100%;
}

.gg-main .csc-textpic-imagewrap[style] {
  width: auto !important;
}

.gg-main ul,
.gg-main ol {
  margin: 0 0 1.1rem;
  padding-left: 1.25rem;
  max-width: var(--gg-measure);
}

.gg-main li {
  margin: 0.35rem 0;
}

.gg-main .csc-menu,
.gg-main .csc-sitemap ul {
  list-style: none;
  padding-left: 0;
}

.gg-main .csc-menu>li,
.gg-main .csc-sitemap>ul>li {
  margin: 0;
  padding: 0.85rem 0;
  border-top: 1px solid var(--gg-line);
}

.gg-main .csc-menu>li>a,
.gg-main .csc-sitemap>ul>li>a {
  font-family: var(--gg-font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--gg-deep);
  border-bottom: none;
}

.gg-main .csc-menu ul,
.gg-main .csc-sitemap ul ul {
  margin: 0.45rem 0 0;
  padding-left: 1rem;
  border-left: 2px solid rgba(29, 151, 204, 0.25);
}

.gg-main .csc-menu ul a,
.gg-main .csc-sitemap ul ul a {
  font-family: var(--gg-font-ui);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gg-ink-soft);
}

.gg-main .Notice,
.gg-main .Notices .Notice {
  margin: 0 0 1.25rem;
  padding: 0.9rem 1rem;
  border-radius: var(--gg-radius-sm);
  background: rgba(240, 193, 75, 0.16);
  border: 1px solid rgba(240, 193, 75, 0.35);
  font-family: var(--gg-font-ui);
  font-size: 0.92rem;
}

.gg-main .PageInfo {
  float: none;
  clear: both;
  width: 100%;
  margin-top: 1.75rem;
  padding: 1.15rem 1.25rem;
  border: 1px solid rgba(4, 58, 69, 0.1);
  border-radius: var(--gg-radius);
  background:
    linear-gradient(120deg, rgba(173, 213, 106, 0.16), rgba(29, 151, 204, 0.1));
  font-family: var(--gg-font-ui);
  font-size: 0.88rem;
  color: var(--gg-muted);
  line-height: 1.5;
}

.gg-main #contentNavi {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem 1.5rem;
  margin: 0 0 0.65rem;
  padding: 0;
  background: none;
  border: none;
  height: auto;
  min-height: 0;
}

.gg-main #contentNavi h2 {
  display: block;
  margin: 0.35rem 0 0;
  padding-top: 0.35rem;
  /* border-top: 1px solid rgba(4, 58, 69, 0.2); */
  font-family: var(--gg-font-ui);
  font-size: 0.95rem;
  font-weight: 700;
}

.gg-main #contentNavi h2 a {
  border-bottom: 1px solid rgba(240, 193, 75, 0.55);
}

.gg-main #back,
.gg-main #forward {
  float: none;
  display: block;
  width: auto;
  max-width: min(100%, 20rem);
  padding: 0;
  margin: 0;
}

.gg-main #back {
  text-align: left;
  margin-right: auto;
}

.gg-main #forward {
  text-align: right;
  margin-left: auto;
}

.gg-main #forward h2 {
  margin-left: auto;
}

@media (max-width: 639px) {
  .gg-main #contentNavi {
    flex-direction: column;
  }

  .gg-main #back,
  .gg-main #forward {
    max-width: 100%;
    width: 100%;
    text-align: left;
    margin-left: 0;
    margin-right: 0;
  }

  .gg-main #forward h2 {
    margin-left: 0;
  }
}

.gg-main table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.25rem;
  font-family: var(--gg-font-ui);
  font-size: 0.92rem;
}

.gg-main table td,
.gg-main table th {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.gg-main nobr {
  white-space: normal;
}

.gg-main form {
  max-width: 100%;
}

.gg-main pre {
  overflow-x: auto;
  padding: 0.85rem 1rem;
  border-radius: var(--gg-radius-sm);
  background: #eef5f7;
  font-size: 0.88rem;
}

.gg-main .ClearBoth {
  display: none;
}

.gg-main form input[type="submit"],
.gg-main form input[value="Google-Suche"] {
  min-height: 40px;
  padding: 0.4rem 0.85rem;
  border: none;
  border-radius: var(--gg-radius-sm);
  background: var(--gg-deep);
  color: #fff;
  font-family: var(--gg-font-ui);
  font-weight: 600;
  cursor: pointer;
}

.gg-main form input:not([type="submit"]) {
  min-height: 40px;
  padding: 0.4rem 0.65rem;
  border: 1px solid var(--gg-line);
  border-radius: var(--gg-radius-sm);
  font-family: var(--gg-font-ui);
}

/* —— Kapitel „Google-Suche heute“ —— */
.gg-chapter:nth-child(7) {
  animation-delay: 380ms;
}

.gg-chapter:nth-child(n + 8) {
  animation-delay: 420ms;
}

.gg-article .gg-kicker + h1 {
  margin-top: 0.35rem;
}

.gg-article .gg-kicker a {
  color: inherit;
}

.gg-article .gg-lead {
  font-size: 1.08rem;
  color: var(--gg-ink);
}

.gg-article code {
  padding: 0.05rem 0.35rem;
  border-radius: 4px;
  background: #eef5f7;
  color: var(--gg-deep);
  font-family: Consolas, "SFMono-Regular", Menlo, monospace;
  font-size: 0.9em;
  overflow-wrap: anywhere;
}

.gg-article .gg-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  margin: 0 0 1.25rem;
}

.gg-article .gg-table {
  margin: 0;
}

.gg-article .gg-table th,
.gg-article .gg-table td {
  padding: 0.55rem 0.7rem;
  border-bottom: 1px solid var(--gg-line);
  text-align: left;
  vertical-align: top;
}

.gg-article .gg-table th,
.gg-article .gg-table td {
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}

.gg-article .gg-table td:first-child code {
  white-space: nowrap;
}

.gg-article .gg-table thead th {
  border-bottom: 2px solid rgba(4, 58, 69, 0.22);
  color: var(--gg-deep);
  font-weight: 600;
  background: var(--gg-surface);
}

.gg-article .gg-tip {
  max-width: var(--gg-measure);
  margin: 0 0 1.25rem;
  padding: 0.85rem 1rem;
  border-radius: var(--gg-radius-sm);
  border-left: 3px solid var(--gg-amber);
  background: rgba(240, 193, 75, 0.12);
}

.gg-article .gg-tip__label {
  margin: 0 0 0.3rem;
  font-family: var(--gg-font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gg-deep);
}

.gg-article .gg-tip p:last-child {
  margin-bottom: 0;
}