/* CHROBRY: mobile gallery layout repair, 2026-10-05.
   Append after the existing theme CSS. Scoped to the gallery, below 768px. */
/* The restored Contact item shares the existing desktop menu row. */
@media (min-width: 768px) {
  body.wp-theme-chrobry header nav > ul > li > a {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
  body.wp-theme-chrobry header nav .chg-sub-toggle { display: none !important; }
}
@media (max-width: 767px) {
  body.page-id-6267 #post-container.gallery {
    min-width: 0 !important;
    padding: 0 !important;
  }
  body.page-id-6267 #post-container.gallery > h1 {
    margin: 6px 0 18px !important;
    padding: 0 !important;
    font-size: 30px !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    letter-spacing: -.025em;
  }
  body.page-id-6267 #post-container.gallery > .article-long {
    display: block !important;
    min-width: 0 !important;
    width: 100% !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
  }
  body.page-id-6267 #post-container.gallery .chg-core-hub-intro {
    margin: 0 0 20px !important;
    padding: 16px !important;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
  }
  body.page-id-6267 #post-container.gallery .chg-core-hub-intro > h2,
  body.page-id-6267 #post-container.gallery .chg-core-hub-intro > hr,
  body.page-id-6267 #post-container.gallery .chg-core-hub-intro + p,
  body.page-id-6267 #post-container.gallery .chg-core-hub-intro + p + p {
    display: none !important;
  }
  body.page-id-6267 #post-container.gallery .chg-core-hub-intro > p:first-of-type {
    margin: 0 0 14px !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
    color: #4b4b4b !important;
  }
  body.page-id-6267 #post-container.gallery .chg-core-hub-intro > p:last-of-type {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin: 0 !important;
    font-size: 0 !important;
    line-height: 0 !important;
  }
  body.page-id-6267 #post-container.gallery .chg-core-hub-intro > p > a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 44px !important;
    height: auto !important;
    padding: 8px 12px !important;
    border: 1px solid #ead8cb;
    border-radius: 8px;
    background: #fff7f0;
    color: #924108 !important;
    font-size: 13px !important;
    line-height: 1.25 !important;
    font-weight: 700;
    text-decoration: none !important;
  }
  body.page-id-6267 #post-container.gallery .ngg-albumoverview,
  body.page-id-6267 #post-container.gallery .ngg-galleryoverview {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    align-items: stretch;
    gap: 12px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  body.page-id-6267 #post-container.gallery .ngg-album {
    float: none !important;
    min-width: 0 !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #e6e6e6 !important;
    border-radius: 11px !important;
    background: #fff !important;
    overflow: hidden !important;
    box-shadow: 0 2px 7px rgba(0,0,0,.04) !important;
  }
  body.page-id-6267 #post-container.gallery .ngg-albumcontent {
    display: flex !important;
    flex-direction: column;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  body.page-id-6267 #post-container.gallery .ngg-thumbnail {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  body.page-id-6267 #post-container.gallery .ngg-thumbnail > a {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 4 / 3;
    overflow: hidden;
  }
  body.page-id-6267 #post-container.gallery .ngg-thumbnail img {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    object-fit: cover !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }
  body.page-id-6267 #post-container.gallery .ngg-albumtitle {
    margin: 0 !important;
    padding: 0 !important;
    min-height: 52px !important;
  }
  body.page-id-6267 #post-container.gallery .ngg-albumtitle > a {
    display: flex !important;
    align-items: center;
    min-height: 52px !important;
    height: auto !important;
    padding: 11px 10px !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
    font-weight: 800 !important;
    color: #222 !important;
    text-decoration: none !important;
    text-align: left !important;
    overflow-wrap: anywhere;
  }
  body.page-id-6267 #post-container.gallery .ngg-album .ngg-description {
    display: none !important;
  }
  body.page-id-6267 #post-container.gallery .ngg-breadcrumbs {
    margin: 0 0 16px !important;
    font-size: 12px !important;
    line-height: 1.5 !important;
  }
  body.page-id-6267 #post-container.gallery .ngg-gallery-thumbnail-box {
    min-width: 0 !important;
  }
  body.page-id-6267 #post-container.gallery .slideshowlink {
    grid-column: 1 / -1 !important;
  }
  body.page-id-6267 #post-container.gallery a:focus-visible {
    outline: 3px solid #e66d17;
    outline-offset: 2px;
  }
}

/* CHROBRY: consistent sidebar widget headings, 2026-10-05.
   Apply after the theme CSS, on desktop and mobile. */
#left-sidebar > aside.widget > .widget-title,
#right-sidebar > aside.widget > .widget-title {
  display: block !important;
  box-sizing: border-box !important;
  width: 100% !important;
  height: auto !important;
  min-height: 48px !important;
  margin: 0 0 8px !important;
  padding: 11px 12px !important;
  border: 2px solid #080808 !important;
  border-radius: 8px !important;
  background: #111 !important;
  color: #ff9340 !important;
  font-family: inherit !important;
  font-size: 17px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  letter-spacing: .015em !important;
  text-align: left !important;
  text-transform: uppercase !important;
  white-space: normal !important;
  overflow-wrap: break-word;
  box-shadow: none !important;
}
#left-sidebar > aside.widget > .widget-title .orange,
#right-sidebar > aside.widget > .widget-title .orange,
#left-sidebar > aside.widget > .widget-title a,
#right-sidebar > aside.widget > .widget-title a {
  display: inline !important;
  color: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
  background: none !important;
}
#left-sidebar > aside.widget > .widget-title > .icon,
#right-sidebar > aside.widget > .widget-title > .icon {
  display: none !important;
}
@media (max-width: 767px) {
  #left-sidebar > aside.widget > .widget-title,
  #right-sidebar > aside.widget > .widget-title {
    font-size: 18px !important;
    padding: 12px 14px !important;
    min-height: 50px !important;
  }
}

/* 3. Archive: separate year labels, readable month cards, theme-owned toggle. */
body.wp-theme-chrobry #chg-year-archive {
  display: grid !important;
  gap: 12px !important;
  margin: 0 0 24px !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
}
body.wp-theme-chrobry #chg-year-archive .chg-year-group {
  overflow: hidden !important;
  border: 1px solid #ddd !important;
  border-radius: 10px !important;
  background: #fff !important;
  min-width: 0 !important;
}
body.wp-theme-chrobry #chg-year-archive .chg-year-toggle {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  box-sizing: border-box !important;
  width: 100% !important;
  min-height: 54px !important;
  margin: 0 !important;
  padding: 12px 16px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #111 !important;
  color: #ff9340 !important;
  font-family: inherit !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  text-align: left !important;
  cursor: pointer !important;
}
body.wp-theme-chrobry #chg-year-archive .chg-year-toggle small {
  flex: 1 !important;
  color: #ddd !important;
  font-size: 13px !important;
  font-weight: 400 !important;
}
body.wp-theme-chrobry #chg-year-archive .chg-year-toggle > span {
  color: #ff9340 !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
}
body.wp-theme-chrobry #chg-year-archive .chg-year-toggle b {
  font-size: 0 !important;
  color: #ff9340 !important;
}
body.wp-theme-chrobry #chg-year-archive .chg-year-toggle b::after {
  content: '+';
  font-size: 25px;
  line-height: 1;
}
body.wp-theme-chrobry #chg-year-archive .is-open .chg-year-toggle b::after {
  content: '−';
}
body.wp-theme-chrobry #chg-year-archive .chg-year-months {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 8px !important;
  padding: 12px !important;
}
body.wp-theme-chrobry #chg-year-archive.chg-vr-archive-ready .chg-year-group:not(.is-open) .chg-year-months {
  display: none !important;
}
body.wp-theme-chrobry #chg-year-archive .chg-year-months a {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  box-sizing: border-box !important;
  min-width: 0 !important;
  min-height: 44px !important;
  padding: 9px 12px !important;
  border: 1px solid #e4e4e4 !important;
  border-radius: 7px !important;
  background: #fafafa !important;
  color: #222 !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
  text-decoration: none !important;
  overflow-wrap: anywhere;
}
body.wp-theme-chrobry #chg-year-archive .chg-year-months a span {
  color: #87410d !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}
body.wp-theme-chrobry #chg-year-archive .chg-year-months a:hover {
  border-color: #f58220 !important;
  background: #fff4e9 !important;
}
body.wp-theme-chrobry #chg-year-archive .chg-year-toggle:focus-visible,
body.wp-theme-chrobry #chg-year-archive .chg-year-months a:focus-visible {
  outline: 3px solid #e66d17 !important;
  outline-offset: -3px !important;
}

/* 4. Page titles: clear hierarchy without restyling the desktop main menu. */
body.wp-theme-chrobry.page #post-container > h1,
body.wp-theme-chrobry.archive #post-container > h1 {
  margin: 0 0 22px !important;
  padding: 0 0 13px !important;
  border-bottom: 3px solid #f58220 !important;
  color: #161616 !important;
  font-size: 30px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  overflow-wrap: anywhere;
}
body.wp-theme-chrobry #post-container > h1 .orange {
  color: #b34b00 !important;
  font: inherit !important;
}

/* 5. Pagination: consistent visible state and larger click areas. */
body.wp-theme-chrobry #post-container .ngg-navigation {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: center !important;
  grid-column: 1 / -1 !important;
  gap: 8px !important;
  margin: 20px 0 !important;
  padding: 0 !important;
  width: 100% !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
}
body.wp-theme-chrobry #post-container .ngg-navigation a,
body.wp-theme-chrobry #post-container .ngg-navigation .current {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  min-width: 44px !important;
  min-height: 44px !important;
  height: auto !important;
  margin: 0 !important;
  padding: 8px 12px !important;
  border: 1px solid #d8d8d8 !important;
  border-radius: 8px !important;
  background: #fff !important;
  color: #222 !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}
body.wp-theme-chrobry #post-container .ngg-navigation .current {
  border-color: #111 !important;
  background: #111 !important;
  color: #ff9340 !important;
}
body.wp-theme-chrobry #post-container .ngg-navigation .ellipsis {
  padding: 0 4px !important;
  background: none !important;
  color: #555 !important;
}
body.wp-theme-chrobry #post-container .ngg-navigation a:hover,
body.wp-theme-chrobry #post-container .ngg-navigation a:focus-visible {
  border-color: #f58220 !important;
  outline: 2px solid #f58220 !important;
  outline-offset: 2px !important;
}
body.wp-theme-chrobry #post-container .slideshowlink {
  grid-column: 1 / -1 !important;
  margin: 16px 0 0 !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
}
body.wp-theme-chrobry #post-container .slideshowlink a {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 44px !important;
  height: auto !important;
  padding: 8px 12px !important;
  color: #a14400 !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
}

/* 6. Unavailable archive photographs: clearly labelled neutral replacements. */
body.wp-theme-chrobry .chg-calendar-card img.chg-vr-fallback {
  object-fit: contain !important;
  background: #171717 !important;
}
body.wp-theme-chrobry.page-id-20 .article-long .zawodnik img.chg-vr-player-fallback {
  display: inline-block !important;
  width: 120px !important;
  height: 144px !important;
  max-width: 100% !important;
  object-fit: contain !important;
  margin: 8px 0 !important;
  padding: 0 !important;
  border: 1px solid #ddd !important;
  border-radius: 9px !important;
  background: #f3f3f3 !important;
}
body.wp-theme-chrobry .chg-player-rotator img.chg-vr-fallback {
  object-fit: contain !important;
  background: #f3f3f3 !important;
}
body.wp-theme-chrobry img.chg-vr-image-unavailable {
  visibility: hidden !important;
}
body.wp-theme-chrobry .chg-vr-extra-link {
  display: none !important;
}

@media (max-width: 767px) {
  body.wp-theme-chrobry #post-container.gallery .ngg-albumoverview::before,
  body.wp-theme-chrobry #post-container.gallery .ngg-albumoverview::after,
  body.wp-theme-chrobry #post-container.gallery .ngg-galleryoverview::before,
  body.wp-theme-chrobry #post-container.gallery .ngg-galleryoverview::after {
    display: none !important;
  }
  body.wp-theme-chrobry.page-id-6267 #post-container.gallery .ngg-gallery-thumbnail-box {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  body.wp-theme-chrobry.page-id-6267 #post-container.gallery .ngg-gallery-thumbnail {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
  }
  body.wp-theme-chrobry.page-id-6267 #post-container.gallery .ngg-gallery-thumbnail a {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 4 / 3;
    overflow: hidden !important;
    border-radius: 9px !important;
  }
  body.wp-theme-chrobry.page-id-6267 #post-container.gallery .ngg-gallery-thumbnail img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
  }
  body.wp-theme-chrobry.page-id-6267 #post-container.gallery .ngg-album,
  body.wp-theme-chrobry.page-id-6267 #post-container.gallery .ngg-albumtitle > a,
  body.wp-theme-chrobry.page-id-6267 #post-container.gallery .chg-core-hub-intro,
  body.wp-theme-chrobry.page-id-6267 #post-container.gallery .chg-core-hub-intro p > a {
    box-sizing: border-box !important;
  }
  body.wp-theme-chrobry.page-id-6267 #post-container.gallery .chg-core-hub-intro .chg-vr-extra-link {
    display: inline-flex !important;
  }
}
@media (max-width: 359px) {
  body.wp-theme-chrobry #chg-year-archive .chg-year-months {
    grid-template-columns: 1fr !important;
  }
}

/* Empty legacy galleries add no content at any screen size. */
body.wp-theme-chrobry .chg-vr-empty-gallery { display: none !important; }
/* Mobile home: readable match cards, hero and compact footer. */
@media (max-width: 767px) {
  body.wp-theme-chrobry #content.home-content {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }
  body.wp-theme-chrobry #chg-mobile-home { padding-bottom: 24px !important; }
  body.wp-theme-chrobry #chg-mobile-home .chg-mobile-match-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 12px !important;
  }
  body.wp-theme-chrobry #chg-mobile-home .chg-mobile-match-card {
    min-width: 0 !important;
    padding: 0 !important;
    border: 1px solid #292929 !important;
    border-radius: 14px !important;
    background: #171717 !important;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .08) !important;
    box-sizing: border-box !important;
  }
  body.wp-theme-chrobry #chg-mobile-home .chg-mobile-match-card > span {
    margin: 0 !important;
    padding: 12px 16px !important;
    background: #111 !important;
    color: #ff9340 !important;
    border-bottom: 1px solid #333 !important;
    font-size: 13px !important;
    line-height: 1.3 !important;
    font-weight: 800 !important;
    letter-spacing: .04em !important;
    text-align: left !important;
  }
  body.wp-theme-chrobry #chg-mobile-home .chg-mobile-match-card .chg-game {
    padding: 14px 16px 18px !important;
    background: #171717 !important;
    box-sizing: border-box !important;
  }
  body.wp-theme-chrobry #chg-mobile-home .chg-game-top {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 6px 12px !important;
    margin: 0 0 16px !important;
    padding: 0 0 10px !important;
  }
  body.wp-theme-chrobry #chg-mobile-home .chg-game-comp {
    font-size: 10px !important;
    line-height: 1.4 !important;
    color: #ff9340 !important;
  }
  body.wp-theme-chrobry #chg-mobile-home .chg-game-date {
    margin: 0 !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
    color: #bbb !important;
  }
  body.wp-theme-chrobry #chg-mobile-home .chg-game-date b { font-size: 12px !important; }
  body.wp-theme-chrobry #chg-mobile-home .chg-game-arena {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr) !important;
    gap: 10px !important;
    align-items: start !important;
    padding-top: 0 !important;
  }
  body.wp-theme-chrobry #chg-mobile-home .chg-team,
  body.wp-theme-chrobry #chg-mobile-home .chg-team > span {
    min-width: 0 !important;
    width: auto !important;
    max-width: 100% !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
    color: #fff !important;
    font-weight: 600 !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
    text-align: center !important;
  }
  body.wp-theme-chrobry #chg-mobile-home .chg-team > span { margin-top: 10px !important; }
  body.wp-theme-chrobry #chg-mobile-home .chg-logo-shell {
    width: 52px !important;
    height: 52px !important;
    margin: 0 auto !important;
    border: 1px solid #ff9340 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }
  /* Legacy crest images have inline !important size limits. */
  body.wp-theme-chrobry #chg-mobile-home .chg-logo-shell img {
    transform: scale(1.8) !important;
    transform-origin: center !important;
  }
  body.wp-theme-chrobry #chg-mobile-home .chg-score-wrap { height: 52px !important; }
  body.wp-theme-chrobry #chg-mobile-home .chg-score {
    font-size: 30px !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    color: #ff9340 !important;
  }
  body.wp-theme-chrobry #chg-mobile-home .chg-mobile-section-head {
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 8px 12px !important;
  }
  body.wp-theme-chrobry #chg-mobile-home .chg-mobile-section-head strong {
    font-size: 16px !important;
    line-height: 1.3 !important;
  }
  body.wp-theme-chrobry #chg-mobile-home .chg-mobile-section-head a {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 40px !important;
    font-size: 12px !important;
  }
  body.wp-theme-chrobry #chg-mobile-home .chg-mobile-hero { min-height: 440px !important; }
  body.wp-theme-chrobry #chg-mobile-home .chg-mobile-hero-copy {
    padding: 120px 20px 24px !important;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, .82) 38%, rgba(0, 0, 0, .92)) !important;
  }
  /* Keep the site's H1 accessible; the article headline is the visible title. */
  body.wp-theme-chrobry #chg-mobile-home .chg-home-h1 {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
  }
  body.wp-theme-chrobry #chg-mobile-home .chg-mobile-hero-copy h2 {
    margin: 12px 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
    font-size: clamp(24px, 7vw, 32px) !important;
    line-height: 1.15 !important;
    font-weight: 800 !important;
    color: #fff !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .45) !important;
  }
  body.wp-theme-chrobry #chg-mobile-home .chg-mobile-hero-copy p {
    margin: 0 !important;
    max-width: 100% !important;
    font-size: 15px !important;
    line-height: 1.55 !important;
    color: #eee !important;
  }
  body.wp-theme-chrobry #chg-mobile-home .chg-mobile-cta {
    min-height: 44px !important;
    margin-top: 18px !important;
    padding: 10px 16px !important;
    box-sizing: border-box !important;
    border-radius: 9px !important;
    font-size: 13px !important;
  }
  body.wp-theme-chrobry .chg-vr-empty-gallery { display: none !important; }
  body.wp-theme-chrobry .chg-club-banner {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border-top: 2px solid #ff9340 !important;
    border-bottom: 0 !important;
    box-sizing: border-box !important;
  }
  body.wp-theme-chrobry .chg-club-banner-link {
    display: grid !important;
    grid-template-columns: auto auto !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 24px 16px !important;
    box-sizing: border-box !important;
  }
  body.wp-theme-chrobry .chg-club-banner-mark,
  body.wp-theme-chrobry .chg-club-banner-link strong {
    font-size: clamp(20px, 6.3vw, 28px) !important;
    line-height: 1.2 !important;
  }
  body.wp-theme-chrobry .chg-club-banner-link small {
    grid-column: 1 / -1 !important;
    margin: 0 !important;
    font-size: 10px !important;
    line-height: 1.5 !important;
    letter-spacing: .08em !important;
    text-align: center !important;
  }
  body.wp-theme-chrobry footer {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 20px 16px 24px !important;
    box-sizing: border-box !important;
    background: #111 !important;
    border: 0 !important;
    border-top: 1px solid #303030 !important;
    border-radius: 0 !important;
  }
  body.wp-theme-chrobry footer > p {
    margin: 0 0 8px !important;
    font-size: 11px !important;
    line-height: 1.65 !important;
    font-weight: 400 !important;
    color: #aaa !important;
    text-transform: none !important;
  }
  body.wp-theme-chrobry footer .footer-logo { display: none !important; }
  body.wp-theme-chrobry footer .chg-seo-footer-links {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    margin: 16px 0 0 !important;
    padding: 0 !important;
  }
  body.wp-theme-chrobry footer .chg-seo-footer-links > span { display: none !important; }
  body.wp-theme-chrobry footer .chg-seo-footer-links a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 0 !important;
    min-height: 44px !important;
    padding: 8px !important;
    border: 1px solid #303030 !important;
    border-radius: 8px !important;
    background: #1c1c1c !important;
    color: #ddd !important;
    font-size: 12px !important;
    line-height: 1.3 !important;
    text-align: center !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
  }
  body.wp-theme-chrobry footer .go-to-top {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: static !important;
    width: fit-content !important;
    min-height: 44px !important;
    margin: 16px auto 0 !important;
    padding: 8px 14px !important;
    border: 1px solid #333 !important;
    border-radius: 8px !important;
    background: #1c1c1c !important;
    color: #ff9340 !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
    box-sizing: border-box !important;
  }
  body.wp-theme-chrobry footer .go-to-top .icon { display: none !important; }
  body.wp-theme-chrobry footer .go-to-top::before { content: "↑"; margin-right: 8px; }
  body.wp-theme-chrobry footer .go-to-top:focus-visible { outline: 2px solid #ff9340; outline-offset: 3px; }
  body.wp-theme-chrobry { padding-bottom: calc(76px + env(safe-area-inset-bottom)) !important; }
}
