:root {
  --gtg-accent: #d10a18;
  --gtg-accent-dark: #a90813;
  --gtg-ink: #202020;
  --gtg-black: #151515;
  --gtg-muted: #6b6b6b;
  --gtg-line: #dedede;
  --gtg-soft: #f3f3f4;
  --gtg-white: #fff;
  --gtg-container: 1280px;
  --gtg-reading: 900px;
  --gtg-radius: 9px;
  --gtg-shadow: 0 7px 22px rgb(0 0 0 / 5%);
  --gtg-header-height: 72px;
}

html {
  scroll-behavior: smooth;
}

body.gtg-theme {
  margin: 0;
  color: var(--gtg-ink);
  background: var(--gtg-soft);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.gtg-theme *,
body.gtg-theme *::before,
body.gtg-theme *::after {
  box-sizing: border-box;
}

body.gtg-theme img {
  max-width: 100%;
  height: auto;
}

body.gtg-theme a {
  color: var(--gtg-accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

body.gtg-theme a:hover {
  color: var(--gtg-accent-dark);
}

body.gtg-theme button,
body.gtg-theme input,
body.gtg-theme textarea,
body.gtg-theme select {
  font: inherit;
}

body.gtg-theme :focus-visible {
  outline: 3px solid var(--gtg-accent);
  outline-offset: 3px;
}

.screen-reader-text,
.gtg-skip-link:not(:focus) {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.gtg-skip-link:focus {
  position: fixed;
  z-index: 100000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--gtg-white);
  background: var(--gtg-accent);
  font-weight: 700;
}

.gtg-container {
  width: min(calc(100% - 40px), var(--gtg-container));
  margin-inline: auto;
}

.gtg-container--article {
  max-width: calc(var(--gtg-reading) + 96px);
}

/* Header */
.gtg-site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  width: 100%;
  color: var(--gtg-white);
  background: var(--gtg-black);
  box-shadow: 0 1px 0 rgb(255 255 255 / 10%);
}

.admin-bar .gtg-site-header {
  top: 32px;
}

.gtg-header-inner {
  display: grid;
  grid-template-columns: minmax(170px, 260px) 1fr 42px;
  align-items: center;
  gap: 28px;
  width: min(calc(100% - 40px), var(--gtg-container));
  min-height: var(--gtg-header-height);
  margin-inline: auto;
}

.gtg-brand {
  min-width: 0;
}

.gtg-brand .custom-logo-link {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

/* Astra adds a link-focus box; pointer clicks should not leave it on the logo. */
.gtg-brand a:focus,
.gtg-brand a:focus-visible {
  outline: 0 !important;
  box-shadow: none !important;
}

html.gtg-keyboard-navigation .gtg-brand a:focus {
  outline: 2px solid var(--gtg-white) !important;
  outline-offset: 4px !important;
  border-radius: 3px;
}

.gtg-brand .custom-logo {
  display: block;
  width: auto;
  max-width: 285px;
  max-height: 54px;
  object-fit: contain;
}

.gtg-text-logo,
.gtg-footer-brand > a:not(.gtg-footer-email) {
  color: var(--gtg-white) !important;
  font-size: clamp(1.3rem, 2vw, 1.72rem);
  font-weight: 850;
  letter-spacing: -0.045em;
  text-decoration: none;
}

.gtg-primary-nav {
  justify-self: end;
}

.gtg-menu,
.gtg-menu ul,
.gtg-footer-menu {
  padding: 0;
  margin: 0;
  list-style: none;
}

.gtg-menu {
  display: flex;
  align-items: center;
  gap: clamp(17px, 2vw, 29px);
}

.gtg-menu > li {
  position: relative;
}

.gtg-menu a {
  display: block;
  padding: 24px 0 21px;
  color: #f3f3f3 !important;
  border: 0;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.025em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.gtg-menu > li > a::after {
  position: absolute;
  right: 0;
  bottom: 13px;
  left: 0;
  height: 2px;
  background: var(--gtg-accent);
  content: "";
  opacity: 0;
  transform: scaleX(0.45);
  transition: opacity 150ms ease, transform 150ms ease;
}

.gtg-menu > .current-menu-item > a,
.gtg-menu > .current-menu-ancestor > a,
.gtg-menu > .current-page-item > a,
.gtg-menu > li > a:hover {
  color: var(--gtg-white) !important;
}

.gtg-menu > .current-menu-item > a::after,
.gtg-menu > .current-menu-ancestor > a::after,
.gtg-menu > .current-page-item > a::after,
.gtg-menu > li > a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.gtg-menu .sub-menu {
  position: absolute;
  top: calc(100% - 1px);
  left: -18px;
  display: none;
  width: 230px;
  padding: 10px 0;
  background: var(--gtg-black);
  border-top: 2px solid var(--gtg-accent);
  box-shadow: 0 15px 36px rgb(0 0 0 / 24%);
}

.gtg-menu li:hover > .sub-menu,
.gtg-menu li:focus-within > .sub-menu {
  display: block;
}

.gtg-menu .sub-menu a {
  padding: 10px 18px;
  border: 0;
  white-space: normal;
}

.gtg-menu .sub-menu a:hover {
  background: rgb(255 255 255 / 7%);
}

.gtg-menu-toggle,
.gtg-search-toggle {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  color: var(--gtg-white);
  background: transparent;
  border: 0;
  border-radius: 3px;
  cursor: pointer;
}

.gtg-menu-toggle {
  display: none;
}

.gtg-search-toggle:hover,
.gtg-menu-toggle:hover {
  background: rgb(255 255 255 / 8%);
}

.gtg-search-toggle svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.gtg-search-panel {
  background: #202020;
  border-top: 1px solid rgb(255 255 255 / 9%);
}

.gtg-search-panel-inner {
  width: min(calc(100% - 40px), 760px);
  padding: 20px 0;
  margin-inline: auto;
}

.gtg-search-form {
  display: flex;
  gap: 8px;
  width: 100%;
}

.gtg-search-form input {
  flex: 1;
  min-width: 0;
  height: 46px;
  padding: 0 14px;
  color: var(--gtg-ink);
  background: var(--gtg-white);
  border: 1px solid #cfcfcf;
  border-radius: 4px;
}

body.gtg-theme .gtg-search-form input[type="search"]:focus,
body.gtg-theme .gtg-search-form input[type="search"]:focus-visible {
  outline: 0;
  border-color: var(--gtg-accent);
  box-shadow: 0 0 0 1px rgb(209 10 24 / 24%);
}

.gtg-search-form button {
  min-width: 106px;
  padding: 0 18px;
  color: var(--gtg-white);
  background: var(--gtg-accent);
  border: 1px solid var(--gtg-accent);
  border-radius: 4px;
  font-weight: 750;
  cursor: pointer;
}

/* Global layout and headings */
.gtg-main {
  min-height: 62vh;
  padding: clamp(20px, 2vw, 30px) 0 clamp(40px, 4vw, 54px);
  margin: 0 !important;
}

/* Astra assigns its own #primary spacing with higher specificity. */
body.gtg-theme main#primary.gtg-main {
  min-height: 62vh;
  padding: clamp(20px, 2vw, 30px) 0 clamp(52px, 5vw, 72px) !important;
  margin: 0 !important;
}

.gtg-home {
  padding-top: clamp(16px, 1.7vw, 24px);
}

.gtg-home-section,
.gtg-archive-hubs,
.gtg-single-hubs,
.gtg-related-topics,
.gtg-related,
.gtg-widget-region {
  margin-top: clamp(20px, 2vw, 28px);
}

.gtg-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 10px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--gtg-line);
}

.gtg-section-heading h2,
.gtg-section-title {
  position: relative;
  padding: 0;
  margin: 0;
  color: var(--gtg-ink);
  font-size: clamp(1.15rem, 2vw, 1.42rem);
  font-weight: 820;
  letter-spacing: -0.025em;
  line-height: 1.15;
  text-transform: uppercase;
}

.gtg-section-heading h2::after {
  position: absolute;
  bottom: -11px;
  left: 0;
  width: 52px;
  height: 3px;
  background: var(--gtg-accent);
  content: "";
}

.gtg-section-heading > a {
  flex: 0 0 auto;
  color: var(--gtg-accent);
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

.gtg-archive-header,
.gtg-article-header {
  max-width: var(--gtg-reading);
  margin: 0 auto clamp(30px, 4vw, 48px);
}

.gtg-archive-header h1,
.gtg-article-header h1,
.gtg-not-found h1 {
  max-width: 900px;
  margin: 8px 0 14px;
  color: var(--gtg-ink);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 850;
  letter-spacing: -0.045em;
  line-height: 1.06;
}

.gtg-archive-description {
  max-width: 780px;
  color: #545454;
  font-size: 0.96rem;
  line-height: 1.68;
}

.gtg-archive-description > :last-child {
  margin-bottom: 0;
}

.gtg-posts-index .gtg-archive-header,
.gtg-search-results .gtg-archive-header,
.gtg-tag-hub .gtg-tag-header {
  max-width: none;
  margin: 0;
}

.gtg-posts-index .gtg-archive-header h1,
.gtg-search-results .gtg-archive-header h1,
.gtg-tag-hub .gtg-tag-header h1 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
}

.gtg-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
  color: #777;
  font-size: 12px;
}

.gtg-breadcrumbs a {
  color: #656565 !important;
  text-decoration: none;
}

.gtg-breadcrumbs span[aria-current="page"] {
  overflow: hidden;
  max-width: min(380px, 55vw);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gtg-eyebrow,
.gtg-card-category {
  display: inline-block;
  color: var(--gtg-white) !important;
  background: var(--gtg-black);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.025em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.gtg-eyebrow {
  padding: 6px 8px;
  margin-bottom: 3px;
  background: var(--gtg-accent);
  border-radius: 3px;
}

.gtg-post-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 10px;
}

.gtg-post-category-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 5px 8px;
  color: #3d3d3d !important;
  background: var(--gtg-soft);
  border: 1px solid #dfdfe1;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.15;
  text-decoration: none;
  text-transform: uppercase;
}

.gtg-post-category-badge.is-primary {
  color: var(--gtg-white) !important;
  background: var(--gtg-accent);
  border-color: var(--gtg-accent);
}

.gtg-post-category-badge.is-studio {
  color: var(--gtg-white) !important;
  background: var(--gtg-black);
  border-color: var(--gtg-black);
}

.gtg-post-category-badge:hover {
  color: var(--gtg-accent) !important;
  border-color: var(--gtg-accent);
}

.gtg-post-category-badge.is-primary:hover,
.gtg-post-category-badge.is-studio:hover {
  color: var(--gtg-white) !important;
  filter: brightness(1.08);
}

.gtg-result-count,
.gtg-article-meta,
.gtg-card-meta {
  color: var(--gtg-muted);
  font-size: 13px;
}

.gtg-article-meta,
.gtg-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}

/* Strict 16:9 discovery grids */
.gtg-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px 24px;
}

.gtg-post-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  padding: 0;
  margin: 0;
  background: transparent;
}

/*
 * These templates own their card layout. Neutralize Astra's blog-article
 * margins, padding, dividers and special last-child rule inside every GTG grid.
 */
body.gtg-theme .gtg-grid > article.gtg-post-card,
body.gtg-theme .gtg-grid > article.gtg-post-card:last-child {
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.gtg-theme .gtg-grid > article.gtg-post-card::before,
body.gtg-theme .gtg-grid > article.gtg-post-card::after {
  display: none !important;
  content: none !important;
}

.gtg-archive-posts .gtg-grid,
.gtg-popular-local .gtg-grid {
  gap: 28px 22px;
}

.gtg-card-media,
.gtg-term-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #ececec;
  border-radius: var(--gtg-radius);
  text-decoration: none;
}

.gtg-card-media img,
.gtg-term-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease, filter 180ms ease;
}

.gtg-post-card:hover .gtg-card-media img,
.gtg-term-card:hover .gtg-term-media img {
  transform: scale(1.018);
  filter: contrast(1.025);
}

.gtg-media-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #ededed 0%, #d9d9d9 100%);
}

.gtg-play {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--gtg-white);
  background: var(--gtg-accent);
  border: 2px solid rgb(255 255 255 / 92%);
  border-radius: 50%;
  box-shadow: 0 4px 14px rgb(0 0 0 / 24%);
}

.gtg-play svg {
  width: 19px;
  height: 19px;
  margin-left: 2px;
  fill: currentColor;
}

.gtg-card-body {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding-top: 11px;
}

.gtg-card-category {
  position: absolute;
  top: -23px;
  left: 0;
  max-width: calc(100% - 8px);
  padding: 5px 7px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gtg-card-title {
  padding: 0;
  margin: 0 0 8px;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  font-weight: 720;
  letter-spacing: -0.022em;
  line-height: 1.32;
}

.gtg-card-title a {
  display: -webkit-box;
  overflow: hidden;
  color: var(--gtg-ink) !important;
  text-decoration: none;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.gtg-card-title a:hover {
  color: var(--gtg-accent) !important;
}

.gtg-card-primary {
  align-self: flex-start;
  margin-top: auto;
  color: #626262 !important;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
  text-decoration: none;
}

.gtg-card-primary:hover {
  color: var(--gtg-accent) !important;
}

.gtg-card-meta {
  flex-wrap: nowrap;
  margin-top: auto;
}

.gtg-card-meta time {
  flex: 0 0 auto;
}

.gtg-card-meta-topic {
  overflow: hidden;
  max-width: 52%;
  color: #626262 !important;
  font-weight: 650;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gtg-card-meta-topic:hover {
  color: var(--gtg-accent) !important;
}

.gtg-related-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 18px;
}

.gtg-post-card--compact .gtg-card-title {
  font-size: 1rem;
}

/* Hub cards */
.gtg-term-grid {
  display: grid;
  gap: 24px 18px;
}

.gtg-term-grid--five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.gtg-term-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px 26px;
}

.gtg-term-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gtg-term-card {
  min-width: 0;
  overflow: hidden;
  background: var(--gtg-white);
  border: 1px solid var(--gtg-line);
  border-radius: var(--gtg-radius);
  transition: border-color 150ms ease, transform 150ms ease;
}

.gtg-term-card:hover {
  border-color: #bababa;
  transform: translateY(-2px);
}

.gtg-term-card .gtg-term-media {
  border-radius: 0;
}

.gtg-term-card-body {
  padding: 13px 14px 14px;
}

.gtg-term-card-body h3 {
  padding: 0;
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 760;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.gtg-term-card-body h3 a {
  color: var(--gtg-ink) !important;
  text-decoration: none;
}

.gtg-term-card-body > span {
  color: var(--gtg-muted);
  font-size: 12px;
}

/* Post body: no automatic featured image is rendered by the template. */
.gtg-article {
  margin: 0;
}

.gtg-entry-content {
  max-width: var(--gtg-reading);
  margin-inline: auto;
  color: #292929;
  font-size: clamp(1rem, 1.25vw, 1.075rem);
  line-height: 1.72;
}

.gtg-entry-content > :first-child {
  margin-top: 0;
}

.gtg-entry-content h2,
.gtg-entry-content h3,
.gtg-entry-content h4 {
  color: var(--gtg-ink);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.gtg-entry-content h2 {
  margin: 2.1em 0 0.7em;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
}

.gtg-entry-content h3 {
  margin: 1.8em 0 0.65em;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
}

.gtg-entry-content p,
.gtg-entry-content ul,
.gtg-entry-content ol {
  margin-top: 0;
  margin-bottom: 1.25em;
}

.gtg-entry-content figure,
.gtg-entry-content .wp-block-image {
  margin-top: 1.7em;
  margin-bottom: 1.7em;
}

.gtg-entry-content iframe,
.gtg-entry-content video,
.gtg-entry-content lottie-player,
.gtg-entry-content dotlottie-player,
.gtg-entry-content canvas,
.gtg-entry-content svg {
  max-width: 100%;
}

.gtg-entry-content lottie-player,
.gtg-entry-content dotlottie-player {
  display: block;
}

.gtg-entry-content .wp-block-embed__wrapper {
  position: relative;
  max-width: 100%;
}

.gtg-entry-content .alignwide {
  width: min(var(--gtg-container), calc(100vw - 40px));
  max-width: none;
  margin-right: 50%;
  margin-left: 50%;
  transform: translateX(-50%);
}

.gtg-entry-content .alignfull {
  width: 100vw;
  max-width: none;
  margin-right: 50%;
  margin-left: 50%;
  transform: translateX(-50%);
}

.gtg-entry-content blockquote {
  padding: 4px 0 4px 22px;
  margin: 1.7em 0;
  border-left: 4px solid var(--gtg-accent);
  color: #4c4c4c;
}

.gtg-page-links {
  margin: 30px 0;
}

.gtg-post-footer {
  margin-top: clamp(20px, 2vw, 28px);
}

.gtg-c4s-post-surface {
  margin-top: clamp(20px, 2vw, 28px);
}

.gtg-post-tags {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 14px;
  padding: 0;
  margin: 0;
}

.gtg-post-tags strong {
  padding-top: 6px;
  font-size: 12px;
  text-transform: uppercase;
}

.gtg-post-tags > div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.gtg-post-tags a {
  padding: 5px 9px;
  color: #404040 !important;
  background: var(--gtg-soft);
  border: 1px solid #e6e6e6;
  border-radius: 3px;
  font-size: 11px;
  text-decoration: none;
}

.gtg-post-tags a:hover {
  color: var(--gtg-accent) !important;
  border-color: var(--gtg-accent);
}

.gtg-post-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  padding: 0;
  margin: 0;
}

.gtg-post-navigation.has-tags {
  padding-top: 22px;
  margin-top: 22px;
  border-top: 1px solid var(--gtg-line);
}

.gtg-post-navigation > div:last-child {
  text-align: right;
}

.gtg-post-navigation a {
  display: inline-flex;
  max-width: min(100%, 470px);
  flex-direction: column;
  color: var(--gtg-ink) !important;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
}

.gtg-post-navigation small {
  margin-bottom: 4px;
  color: var(--gtg-accent);
  font-size: 10px;
  text-transform: uppercase;
}

.gtg-post-navigation a > span {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

/* Structured content surfaces and native legacy-page replacements. */
.gtg-content-surface {
  padding: clamp(20px, 2.7vw, 34px);
  background: var(--gtg-white);
  border: 1px solid #e1e1e3;
  border-radius: var(--gtg-radius);
  box-shadow: var(--gtg-shadow);
}

.gtg-content-surface > .gtg-archive-header,
.gtg-page-article > .gtg-article-header {
  margin-bottom: 0;
}

.gtg-single .gtg-article-core > .gtg-article-header {
  margin-bottom: clamp(26px, 3vw, 38px);
}

.gtg-home > .gtg-container > .gtg-home-section:first-of-type,
.gtg-native-hub-page .gtg-hub-overview {
  margin-top: 0;
}

.gtg-home > .gtg-container > .gtg-home-section,
.gtg-native-hub-page > .gtg-container > .gtg-home-section,
.gtg-native-hub-page > .gtg-container > .gtg-hub-editorial,
.gtg-native-hub-page > .gtg-container > .gtg-hub-faq {
  margin-top: clamp(20px, 2vw, 28px);
}

.gtg-native-hub-page .gtg-hub-overview {
  padding-block: clamp(20px, 2.2vw, 28px);
}

.gtg-native-hub-page .gtg-hub-overview .gtg-archive-header {
  max-width: none;
  margin: 0;
}

.gtg-native-hub-page .gtg-hub-overview .gtg-breadcrumbs {
  margin-bottom: 10px;
}

.gtg-native-hub-page .gtg-hub-overview h1 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3rem);
}

.gtg-home-banner {
  width: 100%;
  margin: 0 0 28px;
  overflow: hidden;
  background: var(--gtg-white);
  border: 1px solid #e1e1e3;
  border-radius: var(--gtg-radius);
  box-shadow: var(--gtg-shadow);
}

.gtg-home-banner .gtg-widget,
.gtg-home-banner .widget,
.gtg-home-banner figure,
.gtg-home-banner p {
  padding: 0;
  margin: 0;
}

.gtg-home-banner a,
.gtg-home-banner img {
  display: block;
  width: 100%;
}

.gtg-home-banner img {
  max-height: 220px;
  object-fit: cover;
}

.gtg-archive-posts {
  margin-top: 28px;
}

.gtg-category-hub > .gtg-container > .gtg-c4s {
  padding: clamp(22px, 3.4vw, 42px) !important;
  background: var(--gtg-white) !important;
  border: 1px solid #e1e1e3 !important;
  border-radius: var(--gtg-radius) !important;
  box-shadow: var(--gtg-shadow) !important;
}

.gtg-article-core {
  padding-top: clamp(26px, 3.4vw, 42px);
  padding-bottom: clamp(30px, 5vw, 60px);
}

.gtg-related,
.gtg-post-footer,
.gtg-single-hubs {
  max-width: none;
}

.gtg-post-footer {
  padding: 22px clamp(22px, 3.4vw, 42px);
}

.gtg-all-topics-link {
  color: var(--gtg-accent) !important;
  background: #fff5f5 !important;
  border-color: #f1c5c8 !important;
  font-weight: 750;
}

.gtg-hub-overview .gtg-hub-intro {
  max-width: var(--gtg-reading);
  margin-right: 0;
  margin-left: 0;
  margin-top: 24px;
}

.gtg-hub-editorial,
.gtg-hub-faq {
  margin-top: clamp(20px, 2vw, 28px);
}

.gtg-hub-editorial .gtg-entry-content > :first-child,
.gtg-hub-faq .gtg-entry-content > :first-child {
  margin-top: 0;
}

.gtg-home-about .gtg-widget {
  padding: 0;
  margin: 0;
}

.gtg-home-about .gtg-entry-content {
  max-width: 860px;
}

.gtg-home-about .gtg-widget > :last-child {
  margin-bottom: 0;
}

.gtg-category-hub > .gtg-container > .gtg-content-surface:first-child {
  padding-top: clamp(20px, 2.5vw, 30px);
  padding-bottom: clamp(20px, 2.5vw, 30px);
}

.gtg-category-hub .gtg-archive-header {
  max-width: 960px;
}

.gtg-category-hub .gtg-archive-header h1 {
  margin-bottom: 10px;
  font-size: clamp(1.9rem, 4vw, 2.75rem);
}

.gtg-main:not(.gtg-home):not(.gtg-native-hub-page) .gtg-container > .gtg-content-surface + .gtg-content-surface {
  margin-top: 24px;
}

/* Category copy stays in the HTML; the toggle expands the complete introduction. */
.gtg-category-hub .gtg-archive-description {
  max-width: 860px;
  font-size: 0.875rem;
  line-height: 1.58;
}

.gtg-description-content {
  position: relative;
}

.gtg-archive-description.is-collapsible.is-collapsed .gtg-description-content {
  max-height: 4.75em;
  overflow: hidden;
  -webkit-mask-image: none;
  mask-image: none;
}

.gtg-archive-description.is-collapsed .gtg-description-content > :first-child { margin-top: 0; }
.gtg-archive-description.has-intro-lead.is-collapsed .gtg-description-content { max-height: 4.75em; overflow: hidden; }
.gtg-archive-description.has-intro-lead.is-collapsed .gtg-description-content > :not(.gtg-intro-lead) { display: none; }
.gtg-archive-description.has-intro-lead.is-collapsed .gtg-intro-lead { margin: 0; }
.gtg-description-toggle {
  padding: 0;
  margin-top: 8px;
  color: var(--gtg-accent) !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}

.gtg-description-toggle:hover,
.gtg-description-toggle:focus,
.gtg-description-toggle:active,
.gtg-description-toggle[aria-expanded="true"] {
  color: var(--gtg-accent-dark) !important;
  background: transparent !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

html.gtg-keyboard-navigation .gtg-description-toggle:focus {
  outline: 2px solid var(--gtg-accent) !important;
  outline-offset: 3px !important;
}

/* Gutenberg and legacy galleries: four previews on desktop, two on phones. */
.gtg-single .gtg-entry-content .wp-block-gallery,
.gtg-single .gtg-entry-content .wp-block-gallery.has-nested-images,
.gtg-single .gtg-entry-content .wp-block-gallery .blocks-gallery-grid,
.gtg-single .gtg-entry-content .gallery {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 5px !important;
  width: 100%;
}

.gtg-single .gtg-entry-content .wp-block-gallery > figure.wp-block-image,
.gtg-single .gtg-entry-content .wp-block-gallery.has-nested-images > figure.wp-block-image,
.gtg-single .gtg-entry-content .wp-block-gallery .blocks-gallery-item,
.gtg-single .gtg-entry-content .gallery .gallery-item {
  display: block !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

.gtg-single .gtg-entry-content .wp-block-gallery > figure.wp-block-image img,
.gtg-single .gtg-entry-content .wp-block-gallery.has-nested-images > figure.wp-block-image img,
.gtg-single .gtg-entry-content .wp-block-gallery .blocks-gallery-item img,
.gtg-single .gtg-entry-content .gallery .gallery-item img {
  display: block;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/*
 * Photo Gallery by 10Web uses a plugin-owned flex width, so it needs a direct
 * standard-thumbnail override. Lightbox behavior and image data remain owned
 * by the plugin; this rule changes only the visible column layout.
 */
.gtg-single .gtg-entry-content .bwg-container.bwg-standard-thumbnails {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 5px !important;
  justify-content: stretch !important;
}

body.gtg-theme #primary#primary#primary .gtg-entry-content .bwg-container.bwg-standard-thumbnails {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 1.7em 0 !important;
}

body.gtg-theme #primary#primary#primary .gtg-entry-content .bwg-container.bwg-standard-thumbnails > .bwg-item {
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.gtg-single .gtg-entry-content .bwg-container.bwg-standard-thumbnails > .bwg-item > .bwg-a {
  display: block !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

.gtg-single .gtg-entry-content .bwg-container.bwg-standard-thumbnails .bwg-item0 {
  width: 100% !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.gtg-single .gtg-entry-content .bwg-container.bwg-standard-thumbnails .bwg-item1 {
  width: 100% !important;
  padding-top: 56.25% !important;
}

/* C4S plugin: native GTG presentation, data and links remain plugin-owned. */
body.gtg-theme .gtg-c4s {
  clear: both;
  width: 100%;
  padding: 0 !important;
  margin: 48px 0 42px !important;
  color: var(--gtg-ink) !important;
  background: transparent !important;
  font-family: inherit !important;
}

body.gtg-theme .gtg-c4s-post-surface .gtg-c4s {
  margin: 0 !important;
}

body.gtg-theme .gtg-c4s > h2 {
  position: relative;
  padding: 0 0 10px !important;
  margin: 0 0 20px !important;
  color: var(--gtg-ink) !important;
  border: 0 !important;
  border-bottom: 1px solid var(--gtg-line) !important;
  font-family: inherit !important;
  font-size: 15px !important;
  font-weight: 820 !important;
  letter-spacing: 0.01em !important;
  line-height: 1.2 !important;
  text-transform: uppercase !important;
}

body.gtg-theme .gtg-c4s > h2::before {
  display: none !important;
}

body.gtg-theme .gtg-c4s > h2::after {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 52px;
  height: 3px;
  background: var(--gtg-accent);
  content: "";
}

body.gtg-theme .gtg-c4s-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 32px 24px !important;
}

body.gtg-theme .gtg-c4s-card {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  min-width: 0;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.gtg-theme .gtg-c4s-image {
  display: flex !important;
  width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  overflow: hidden !important;
  align-items: center !important;
  justify-content: center !important;
  background: #ececec !important;
  border-radius: var(--gtg-radius) !important;
}

body.gtg-theme .gtg-c4s-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

body.gtg-theme .gtg-c4s-card h3 {
  display: block !important;
  padding: 0 !important;
  margin: 10px 0 7px !important;
  color: var(--gtg-ink) !important;
  font-family: inherit !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  letter-spacing: -0.015em !important;
  line-height: 1.3 !important;
  opacity: 1 !important;
}

body.gtg-theme .gtg-c4s-card h3 a {
  display: -webkit-box !important;
  overflow: hidden !important;
  color: var(--gtg-ink) !important;
  text-decoration: none !important;
  opacity: 1 !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

body.gtg-theme .gtg-c4s-card h3 a:hover,
body.gtg-theme .gtg-c4s-meta a,
body.gtg-theme .gtg-c4s-browse a {
  color: var(--gtg-accent) !important;
}

body.gtg-theme .gtg-c4s-meta {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  margin-top: auto !important;
  color: var(--gtg-muted) !important;
  font-size: 12px !important;
}

body.gtg-theme .gtg-c4s-meta a {
  font-weight: 700 !important;
  text-decoration: none !important;
}

body.gtg-theme .gtg-c4s-browse {
  margin: 24px 0 4px !important;
  text-align: center !important;
}

body.gtg-theme .gtg-c4s-browse a {
  display: inline-block !important;
  padding: 9px 14px !important;
  background: var(--gtg-white) !important;
  border: 1px solid var(--gtg-accent) !important;
  border-radius: 4px !important;
  font-size: 12px !important;
  font-weight: 750 !important;
  text-decoration: none !important;
}

body.gtg-theme .gtg-c4s-browse a:hover {
  color: var(--gtg-white) !important;
  background: var(--gtg-accent) !important;
}

/* Topics and tag directory */
.gtg-topic-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.gtg-topic-cloud a,
.gtg-tag-directory-grid a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 12px;
  color: var(--gtg-ink) !important;
  background: var(--gtg-white);
  border: 1px solid var(--gtg-line);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.gtg-topic-cloud a:hover,
.gtg-tag-directory-grid a:hover {
  color: var(--gtg-accent) !important;
  border-color: var(--gtg-accent);
}

.gtg-topic-cloud small,
.gtg-tag-directory-grid small {
  color: var(--gtg-muted);
  font-size: 11px;
  font-weight: 500;
}

.gtg-tag-filter {
  display: block;
  max-width: 620px;
  margin: 0 0 30px;
}

.gtg-tag-filter span {
  display: block;
  margin-bottom: 7px;
  font-size: 13px;
  font-weight: 750;
}

.gtg-tag-filter input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid #bbb;
  border-radius: 4px;
}

.gtg-tag-directory-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.gtg-directory-intro {
  margin-bottom: 34px;
}

/* Pagination, empty states and comments */
.navigation.pagination {
  display: flex;
  justify-content: center;
  margin: 26px 0 0;
}

.navigation.pagination .nav-links {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  width: auto;
  padding: 6px;
  margin: 0 auto;
  background: var(--gtg-white);
  border: 1px solid var(--gtg-line);
  border-radius: 999px;
  box-shadow: 0 5px 18px rgb(0 0 0 / 5%);
}

.navigation.pagination .nav-links .page-numbers {
  display: inline-grid;
  place-items: center;
  min-width: 40px;
  height: 40px;
  padding: 0 9px;
  color: var(--gtg-ink) !important;
  background: transparent;
  border: 0;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.navigation.pagination .nav-links .page-numbers.current,
.navigation.pagination .nav-links a.page-numbers:hover {
  color: var(--gtg-white) !important;
  background: var(--gtg-black);
}

.navigation.pagination .nav-links .page-numbers.prev,
.navigation.pagination .nav-links .page-numbers.next {
  display: inline-flex;
  width: auto;
  min-width: 94px;
  gap: 7px;
  padding: 0 16px;
  color: var(--gtg-white) !important;
  background: var(--gtg-accent);
}

.navigation.pagination .nav-links .page-numbers.prev:hover,
.navigation.pagination .nav-links .page-numbers.next:hover {
  background: var(--gtg-accent-dark);
}

.navigation.pagination .nav-links .dots:hover {
  color: var(--gtg-ink) !important;
  background: transparent;
}

.gtg-empty-state,
.gtg-not-found,
.gtg-no-local-posts {
  max-width: 680px;
  padding: 38px;
  margin: 20px auto 50px;
  background: var(--gtg-soft);
  border-radius: var(--gtg-radius);
  text-align: center;
}

.gtg-empty-state h2 {
  margin-top: 0;
}

.gtg-error-code {
  color: var(--gtg-accent);
  font-size: clamp(3rem, 10vw, 7rem);
  font-weight: 900;
  line-height: 1;
}

.gtg-page-discovery {
  margin-top: clamp(22px, 2.5vw, 32px);
}

.gtg-page-discovery .gtg-page-discovery-section:first-child {
  margin-top: 0;
}

.gtg-comments {
  max-width: none;
  margin: clamp(20px, 2vw, 28px) auto 0;
}

.gtg-comments-inner {
  max-width: var(--gtg-reading);
  margin-inline: auto;
}

.gtg-comments .gtg-comment-reply-heading {
  margin-top: 0;
}

.gtg-comments .comment-list + .navigation,
.gtg-comments .comment-list + .comments-pagination {
  margin-bottom: 30px;
}

.gtg-comments .comment-respond {
  padding: 0;
  margin: 0;
}

.gtg-comments .comment-list + .comment-respond,
.gtg-comments .navigation + .comment-respond {
  margin-top: 34px;
}

.gtg-comments .comment-list {
  padding: 0;
  list-style: none;
}

.gtg-comments .comment-body {
  padding: 18px 0;
  border-bottom: 1px solid var(--gtg-line);
}

.gtg-comments textarea,
.gtg-comments input[type="text"],
.gtg-comments input[type="email"],
.gtg-comments input[type="url"] {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #bbb;
  border-radius: 4px;
}

.gtg-comments textarea {
  min-height: 170px;
  resize: vertical;
}

.gtg-comments .logged-in-as,
.gtg-comments .comment-notes {
  color: var(--gtg-muted);
  font-size: 13px;
}

body.gtg-theme .gtg-comments input[type="submit"].submit,
body.gtg-theme .gtg-comments .gtg-comment-submit {
  padding: 11px 17px;
  color: var(--gtg-white) !important;
  background: var(--gtg-accent) !important;
  border: 1px solid var(--gtg-accent) !important;
  border-radius: 4px;
  font-weight: 750;
}

body.gtg-theme .gtg-comments input[type="submit"].submit:hover,
body.gtg-theme .gtg-comments .gtg-comment-submit:hover {
  background: var(--gtg-accent-dark) !important;
  border-color: var(--gtg-accent-dark) !important;
}

/* Footer */
.gtg-site-footer {
  position: relative;
  color: #d9d9d9;
  background: var(--gtg-black);
}

.gtg-footer-accent {
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gtg-accent) 0 72px, #2a2a2a 72px 100%);
}

.gtg-footer-inner {
  display: grid;
  grid-template-columns: minmax(250px, 1.25fr) minmax(190px, 0.85fr) minmax(190px, 0.85fr);
  align-items: start;
  gap: clamp(28px, 4vw, 58px);
  width: min(calc(100% - 40px), var(--gtg-container));
  padding: 46px 0 34px;
  margin-inline: auto;
}

.gtg-footer-inner--four {
  grid-template-columns: minmax(240px, 1.25fr) minmax(170px, 0.75fr) minmax(170px, 0.75fr) minmax(220px, 1fr);
}

.gtg-footer-brand .custom-logo-link {
  display: inline-flex;
  line-height: 0;
}

.gtg-footer-brand .custom-logo {
  display: block;
  width: auto;
  max-width: 250px;
  max-height: 52px;
  object-fit: contain;
}

.gtg-footer-brand p {
  max-width: 380px;
  margin: 15px 0 0;
  color: #aaa;
  font-size: 13px;
  line-height: 1.55;
}

.gtg-footer-explore h2,
.gtg-footer-information h2,
.gtg-footer-connect h2 {
  padding: 0 0 12px;
  margin: 0 0 16px;
  color: var(--gtg-white);
  border-bottom: 1px solid rgb(255 255 255 / 12%);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
}

.gtg-footer-feature .gtg-widget {
  margin: 0;
}

.gtg-footer-feature,
.gtg-footer-feature p {
  color: #aaa;
  font-size: 13px;
  line-height: 1.55;
}

.gtg-footer-feature .gtg-section-title,
.gtg-footer-feature .widget-title {
  padding: 0 0 12px;
  margin: 0 0 16px;
  color: var(--gtg-white);
  border-bottom: 1px solid rgb(255 255 255 / 12%);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
}

.gtg-footer-feature a {
  color: #e5e5e5 !important;
}

.gtg-footer-feature + h2 {
  margin-top: 25px;
}

.gtg-footer-menu,
.gtg-social-menu {
  padding: 0;
  margin: 0;
  list-style: none;
}

.gtg-footer-menu {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
}

.gtg-footer-menu a {
  display: inline-block;
  color: #cfcfcf !important;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
  text-decoration: none;
}

.gtg-footer-menu a:hover {
  color: var(--gtg-white) !important;
  text-decoration: underline;
  text-decoration-color: var(--gtg-accent);
}

.gtg-footer-email {
  display: inline-block;
  margin-top: 12px;
  color: #e1e1e1 !important;
  font-size: 14px !important;
  font-weight: 700;
  letter-spacing: 0 !important;
  line-height: 1.35;
  text-decoration: none;
}

.gtg-footer-email:hover {
  color: var(--gtg-white) !important;
  text-decoration: underline;
  text-decoration-color: var(--gtg-accent);
}

.gtg-social-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.gtg-social-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  gap: 7px;
  padding: 7px 10px;
  color: #f1f1f1 !important;
  border: 1px solid rgb(255 255 255 / 20%);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}

.gtg-social-icon {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.gtg-social-icon-fill {
  fill: currentColor;
  stroke: none;
}

.gtg-social-menu a:hover {
  color: var(--gtg-white) !important;
  border-color: var(--gtg-accent);
}

/* Compact profiles below the footer contact address; no empty fourth column. */
.gtg-footer-profiles { margin-top: 14px; }
.gtg-footer-profiles .gtg-social-menu { margin: 0; padding: 0; list-style: none; gap: 10px; }
.gtg-footer-profiles .gtg-social-menu a { width: 44px; height: 44px; padding: 10px; justify-content: center; box-sizing: border-box; }
.gtg-footer-profiles .gtg-social-icon { width: 21px; height: 21px; }
.gtg-footer-profiles a:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }

.gtg-footer-legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(calc(100% - 40px), var(--gtg-container));
  padding: 18px 0 25px;
  margin-inline: auto;
  color: #858585;
  border-top: 1px solid rgb(255 255 255 / 10%);
  font-size: 11px;
}

.gtg-footer-legal .gtg-recaptcha-disclosure {
  width: auto;
  padding: 0;
  margin: 0;
  color: #858585;
  font-size: 9px;
  line-height: 1.4;
}

.gtg-footer-legal .gtg-recaptcha-disclosure a {
  color: #aaa !important;
}

body.gtg-hide-recaptcha-badge .grecaptcha-badge {
  visibility: hidden !important;
}

.gtg-footer-legal-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
}

.gtg-footer-legal a {
  color: #aaa !important;
  text-decoration: none;
}

.gtg-footer-legal a:hover {
  color: var(--gtg-white) !important;
}

.gtg-confirmation label {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 9px;
  font-weight: 500;
}

.gtg-honeypot {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.gtg-form-message {
  padding: 11px 13px;
  margin: 18px 0;
  background: var(--gtg-white);
  border-left: 4px solid var(--gtg-accent);
}

.gtg-form-message--success {
  border-left-color: #16803a;
}

@media (max-width: 1050px) {
  .gtg-header-inner {
    gap: 18px;
  }

  .gtg-menu {
    gap: 15px;
  }

  .gtg-menu a {
    font-size: 11px;
  }

  .gtg-term-grid--five,
  .gtg-term-grid--four,
  .gtg-related-grid,
  .gtg-tag-directory-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .gtg-single .gtg-entry-content .bwg-container.bwg-standard-thumbnails {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .gtg-footer-inner,
  .gtg-footer-inner--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  :root {
    --gtg-header-height: 64px;
  }

  .admin-bar .gtg-site-header {
    top: 46px;
  }

  .gtg-header-inner {
    position: relative;
    grid-template-columns: 48px 1fr 48px;
    width: min(calc(100% - 24px), var(--gtg-container));
    gap: 8px;
  }

  .gtg-brand {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
  }

  .gtg-brand .custom-logo {
    max-width: 215px;
    max-height: 48px;
  }

  .gtg-menu-toggle {
    grid-column: 1;
    grid-row: 1;
    display: inline-grid;
  }

  .gtg-menu-toggle > span:not(.screen-reader-text) {
    display: block;
    width: 22px;
    height: 2px;
    margin: 2px 0;
    background: currentColor;
    transition: transform 160ms ease, opacity 160ms ease;
  }

  .gtg-menu-toggle[aria-expanded="true"] > span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .gtg-menu-toggle[aria-expanded="true"] > span:nth-child(2) {
    opacity: 0;
  }

  .gtg-menu-toggle[aria-expanded="true"] > span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .gtg-search-toggle {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
  }

  .gtg-primary-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    background: var(--gtg-black);
    border-top: 1px solid rgb(255 255 255 / 10%);
    box-shadow: 0 18px 30px rgb(0 0 0 / 24%);
  }

  .gtg-primary-nav.is-open {
    display: block;
  }

  .gtg-menu {
    display: block;
    width: min(calc(100% - 32px), var(--gtg-container));
    padding: 12px 0 18px;
    margin-inline: auto;
  }

  .gtg-menu a {
    padding: 12px 4px;
    border-bottom: 1px solid rgb(255 255 255 / 9%);
    font-size: 13px;
  }

  .gtg-menu > li > a::after {
    display: none;
  }

  .gtg-menu .sub-menu {
    position: static;
    display: block;
    width: auto;
    padding: 0 0 0 18px;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .gtg-menu .sub-menu a {
    color: #bebebe !important;
  }

  .gtg-grid,
  body.gtg-theme .gtg-c4s-grid,
  .gtg-term-grid--three {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .gtg-term-grid--five,
  .gtg-term-grid--four,
  .gtg-related-grid,
  .gtg-tag-directory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gtg-footer-inner {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .gtg-footer-inner--four {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .admin-bar .gtg-site-header {
    top: 0;
  }

  .gtg-container {
    width: min(calc(100% - 28px), var(--gtg-container));
  }

  body.gtg-theme main#primary.gtg-main {
    padding: 22px 0 52px !important;
  }

  .gtg-grid,
  body.gtg-theme .gtg-c4s-grid,
  .gtg-term-grid--three,
  .gtg-term-grid--five,
  .gtg-related-grid,
  .gtg-tag-directory-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .gtg-term-grid--four,
  .gtg-single .gtg-entry-content .wp-block-gallery,
  .gtg-single .gtg-entry-content .wp-block-gallery.has-nested-images,
  .gtg-single .gtg-entry-content .wp-block-gallery .blocks-gallery-grid,
  .gtg-single .gtg-entry-content .gallery,
  .gtg-single .gtg-entry-content .bwg-container.bwg-standard-thumbnails {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .gtg-grid {
    gap: 28px;
  }

  .gtg-term-grid {
    gap: 18px;
  }

  .gtg-section-heading {
    align-items: flex-start;
  }

  .gtg-section-heading > a {
    max-width: 112px;
    text-align: right;
  }

  .gtg-archive-header h1,
  .gtg-article-header h1 {
    font-size: clamp(1.85rem, 9vw, 2.55rem);
  }

  .gtg-entry-content .alignwide {
    width: calc(100vw - 28px);
  }

  .gtg-content-surface {
    padding: 18px;
    border-radius: 7px;
  }

  .navigation.pagination .nav-links {
    border-radius: 16px;
  }

  .navigation.pagination .nav-links .page-numbers.prev,
  .navigation.pagination .nav-links .page-numbers.next {
    min-width: 82px;
    padding: 0 12px;
  }

  .gtg-post-tags {
    grid-template-columns: 1fr;
  }

  .gtg-post-navigation {
    grid-template-columns: 1fr;
  }

  .gtg-post-navigation > div:last-child {
    text-align: left;
  }

  .gtg-post-navigation > div:empty {
    display: none;
  }

  .gtg-post-categories {
    gap: 6px;
  }

  body.gtg-theme .gtg-c4s-meta {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 2px !important;
  }

  .gtg-search-form {
    display: grid;
  }

  .gtg-search-form button {
    min-height: 44px;
  }

  .gtg-footer-menu {
    grid-template-columns: 1fr;
  }

  .gtg-footer-legal {
    align-items: flex-start;
    flex-direction: column;
  }

  .gtg-footer-legal-meta {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  .gtg-site-header,
  .gtg-site-footer,
  .gtg-related,
  .gtg-single-hubs,
  .gtg-post-footer,
  .gtg-c4s {
    display: none !important;
  }

  .gtg-entry-content {
    max-width: none;
  }
}

/* External feed: near-black surface with restrained brand accents. */
body.gtg-theme .gtg-category-hub .gtg-browse-content > .gtg-c4s,
body.gtg-theme .gtg-category-hub > .gtg-container > .gtg-c4s,
body.gtg-theme .gtg-c4s,
body.gtg-theme .gtg-c4s-post-surface {
 background:#141414 !important; color:#f5f5f5 !important;
 border:1px solid #343434 !important; border-radius:10px;
}
body.gtg-theme .gtg-category-hub .gtg-browse-content > .gtg-c4s,
body.gtg-theme .gtg-category-hub > .gtg-container > .gtg-c4s,
body.gtg-theme .gtg-c4s {padding:clamp(18px,2.5vw,30px) !important;box-sizing:border-box;}
body.gtg-theme .gtg-c4s-post-surface {padding:0;overflow:hidden;box-shadow:none;}
body.gtg-theme .gtg-c4s-post-surface .gtg-c4s {border:0 !important;}
body.gtg-theme .gtg-c4s .gtg-c4s-brand {display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 18px;color:#bdbdc5;font-size:12px;line-height:1.5;}
body.gtg-theme .gtg-c4s-brand-name {display:inline-flex;flex-shrink:0;align-items:center;background:#080808;border:1px solid #3b3b3b;border-radius:6px;padding:7px 10px;}
body.gtg-theme .gtg-c4s-brand img {display:block;width:68px;height:32px;object-fit:contain;}
body.gtg-theme .gtg-c4s > h2 {color:#f5f5f5 !important;border-bottom-color:#343434 !important;line-height:1.4 !important;text-transform:none !important;font-size:18px !important;}
body.gtg-theme .gtg-c4s > h2::after {background:#8c53b8 !important;}
body.gtg-theme .gtg-c4s-card h3, body.gtg-theme .gtg-c4s-card h3 a {color:#f5f5f5 !important;}
body.gtg-theme .gtg-c4s-card h3 a:hover, body.gtg-theme .gtg-c4s-meta a {color:#c4a7ff !important;}
body.gtg-theme .gtg-c4s-meta {color:#bdbdc5 !important;}
body.gtg-theme .gtg-c4s-meta a {padding:6px 0;}
body.gtg-theme .gtg-c4s-browse a {color:#202020 !important;background:#fff !important;border-color:#bfbcc5 !important;padding:12px 18px !important;min-height:44px;line-height:1.5;}
body.gtg-theme .gtg-c4s-browse a:hover {background:#efedf2 !important;}
body.gtg-theme .gtg-c4s a:focus-visible {outline:3px solid #c4a7ff;outline-offset:4px;}
@media(max-width:600px){
 body.gtg-theme .gtg-c4s .gtg-c4s-brand{gap:12px;font-size:11px;}
 body.gtg-theme .gtg-c4s .gtg-c4s-brand>span:last-child{max-width:140px;text-align:right;}
 body.gtg-theme .gtg-c4s > h2{font-size:17px !important;}
}

/* Wide homepage only. Reading columns and existing archives retain their width. */
body.gtg-theme.home .gtg-header-inner{width:min(calc(100% - 48px),1600px);max-width:1600px;}
body.gtg-theme main#primary.gtg-home-catalogue{padding-top:14px !important;}
.gtg-home-catalogue>.gtg-container{width:min(calc(100% - 48px),1600px);}
body.gtg-theme .gtg-home-catalogue .gtg-browse-content>.gtg-home-section,
body.gtg-theme .gtg-home-catalogue>.gtg-container>.gtg-home-section{
 background:transparent;border:0;box-shadow:none;padding:0;margin:32px 0 0;
}
.gtg-home-catalogue .gtg-section-heading{margin-bottom:18px;}
.gtg-home-catalogue .gtg-grid,.gtg-home-catalogue .gtg-term-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr)) !important;gap:24px 18px;}
.gtg-home-catalogue .gtg-card-title{font-size:15px;line-height:1.4;letter-spacing:-.01em;margin-bottom:5px;}
.gtg-home-catalogue .gtg-card-category{position:static;align-self:flex-start;max-width:100%;background:transparent;color:#666 !important;padding:0;margin:0 0 5px;font-size:10px;line-height:1.4;}
.gtg-home-catalogue .gtg-card-primary{display:none;}
.gtg-home-catalogue .gtg-card-body{padding-top:9px;}
.gtg-home-catalogue .gtg-card-media,.gtg-home-catalogue .gtg-term-media{border-radius:6px;}
.gtg-home-catalogue .gtg-play{width:30px;height:30px;top:8px;right:8px;}
.gtg-home-catalogue .gtg-play svg{width:15px;height:15px;}
.gtg-home-catalogue .gtg-term-card{box-shadow:none;border:0;background:transparent;padding:0;}
.gtg-home-catalogue .gtg-term-card h3{font-size:15px;}
.gtg-home-filters{display:flex;flex-wrap:wrap;align-items:end;gap:12px;margin:0 0 24px;padding:16px;background:#fff;border:1px solid #e1e1e5;border-radius:8px;}
.gtg-home-filters label{display:flex;flex-direction:column;gap:5px;flex:1 1 190px;min-width:0;font-size:12px;font-weight:650;color:#555;}
.gtg-home-filters label.gtg-home-search{flex:2 1 260px;}
body.gtg-theme .gtg-home-filters input,body.gtg-theme .gtg-home-filters select{display:block;width:100%;min-width:0;height:44px;margin:0;padding:8px 12px;border:1px solid #c9c9cf;border-radius:5px;background:#fff;color:#202020;font-size:14px;line-height:1.4;box-shadow:none;}
body.gtg-theme .gtg-home-filters button{min-height:44px;margin:0;padding:8px 22px;background:#202020;color:#fff;border:1px solid #202020;border-radius:5px;font-size:14px;cursor:pointer;}
.gtg-home-reset{display:flex;align-items:center;min-height:44px;font-size:13px;}
.gtg-home-results{font-size:13px;color:#666;}
.gtg-home-pagination{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:16px;margin-top:28px;font-size:13px;}
.gtg-home-pagination a{display:inline-flex;align-items:center;min-height:44px;padding:9px 16px;background:#fff;border:1px solid #dedee5;border-radius:6px;text-decoration:none;}
.gtg-home-empty{padding:24px;background:#fff;border-radius:8px;}
.gtg-collection-links{display:flex;flex-wrap:wrap;gap:12px;}
.gtg-collection-links a{display:flex;gap:40px;align-items:center;justify-content:space-between;min-height:48px;padding:12px 18px;background:#fff;border:1px solid #dedee5;border-radius:6px;text-decoration:none;font-size:14px;color:#202020 !important;}
.gtg-home-ad{margin:28px 0;}
.gtg-home-ad--top{margin:0 0 24px;}
.gtg-ad-label{display:block;margin:0 0 5px;color:#62626b;font-size:10px;line-height:1.5;text-align:right;}
.gtg-home-ad>a{display:block;overflow:hidden;border:1px solid #dedee5;border-radius:6px;background:#fff;text-decoration:none;}
.gtg-home-ad img{display:block;width:100%;height:auto;}
.gtg-home-ad .gtg-ad-mobile{display:none;}
.gtg-ad-mobile-text{align-items:center;justify-content:space-between;gap:16px;min-height:68px;padding:16px 20px;background:#f3eef8;color:#242128;font-size:14px;}
.gtg-ad-mobile-text strong{font-size:24px;letter-spacing:-1px;}
#gtg-latest-title{scroll-margin-top:110px;}
@media(max-width:1399px){
 .gtg-home-catalogue .gtg-grid,.gtg-home-catalogue .gtg-term-grid{grid-template-columns:repeat(4,minmax(0,1fr)) !important;}
}
@media(max-width:1099px){
 .gtg-home-catalogue .gtg-grid,.gtg-home-catalogue .gtg-term-grid{grid-template-columns:repeat(3,minmax(0,1fr)) !important;}
 .gtg-home-filters label.gtg-home-search{flex-basis:100%;}
}
@media(max-width:767px){
 .gtg-home-catalogue>.gtg-container{width:calc(100% - 28px);}
 .gtg-home-catalogue .gtg-grid,.gtg-home-catalogue .gtg-term-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:22px 12px;}
 .gtg-home-catalogue .gtg-card-title{font-size:14px;}
 .gtg-home-catalogue .gtg-card-category{font-size:9px;}
 .gtg-home-catalogue .gtg-play{width:25px;height:25px;border-width:1px;}
 .gtg-home-filters{padding:12px;gap:10px;}
 .gtg-home-filters label{flex-basis:calc(50% - 5px);}
 .gtg-home-filters button{flex:1 0 100%;}
 .gtg-home-ad .gtg-ad-desktop{display:none;}
 .gtg-home-ad .gtg-ad-mobile{display:block;}
 .gtg-home-ad .gtg-ad-mobile-text{display:flex;}
 .gtg-home-ad .gtg-ad-desktop.gtg-ad-mobile-text{display:none;}
 .gtg-home-catalogue .gtg-section-heading h2{font-size:16px;}
 .gtg-home-catalogue .gtg-section-heading>a{font-size:11px;}
 .gtg-collection-links a{flex:1 1 140px;}
}
@media(max-width:359px){
 .gtg-home-catalogue .gtg-grid,.gtg-home-catalogue .gtg-term-grid{grid-template-columns:1fr !important;}
 .gtg-home-filters label{flex-basis:100%;}
}
@media(prefers-reduced-motion:reduce){.gtg-home-catalogue .gtg-card-media img{transition:none;}.gtg-home-catalogue .gtg-post-card:hover .gtg-card-media img{transform:none;}}

/* Six secondary cards, independent of the main post-grid columns. */
.gtg-home-catalogue .gtg-trending-section .gtg-grid,.gtg-home-catalogue .gtg-home-studios .gtg-term-grid{grid-template-columns:repeat(6,minmax(0,1fr))!important;}
@media(max-width:1199px){.gtg-home-catalogue .gtg-trending-section .gtg-grid,.gtg-home-catalogue .gtg-home-studios .gtg-term-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;}}
@media(max-width:767px){.gtg-home-catalogue .gtg-trending-section .gtg-grid,.gtg-home-catalogue .gtg-home-studios .gtg-term-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}}
.gtg-post-footer .gtg-post-published{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 18px;color:#64646c;font:13px/1.5 system-ui,sans-serif;}
.gtg-post-footer .gtg-post-published:last-child{margin-bottom:0;}
.gtg-post-published>span{font-weight:600;}
.gtg-home-video-slot{margin:28px 0;}

/* Compact single-post heading; other page and archive headings retain their styling. */
body.gtg-theme .gtg-single .gtg-article-header h1{font-size:clamp(26px,2.6vw,36px);line-height:1.18;letter-spacing:-.025em;font-weight:750;margin:10px 0 0;overflow-wrap:anywhere;}
body.gtg-theme .gtg-single .gtg-article-core>.gtg-article-header{margin-bottom:20px;}
@media(max-width:767px){
 body.gtg-theme .gtg-single .gtg-article-header h1{font-size:clamp(22px,5.8vw,28px);line-height:1.2;}
 body.gtg-theme .gtg-single .gtg-article-core>.gtg-article-header{margin-bottom:16px;}
 body.gtg-theme .gtg-single .gtg-article-core{padding-top:18px;}
 body.gtg-theme .gtg-single .gtg-breadcrumbs{font-size:11px;line-height:1.5;gap:5px;margin-bottom:12px;}
 body.gtg-theme .gtg-single .gtg-post-categories{gap:5px;margin-bottom:8px;}
 body.gtg-theme .gtg-single .gtg-post-category-badge{font-size:10px;padding:5px 7px;}
}

/* Compact type navigation, separate from post and studio cards. */
.gtg-type-links{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;}
.gtg-type-links a{position:relative;display:flex;flex-direction:column;gap:5px;padding:20px 42px 20px 18px;border:1px solid var(--gtg-border,#ddd);border-radius:8px;background:#fff;color:#202027;text-decoration:none;}
.gtg-type-links a>span{font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:#777;}
.gtg-type-links strong{font-size:18px;line-height:1.25;}
.gtg-type-links i{position:absolute;right:16px;top:50%;transform:translateY(-50%);font-style:normal;color:var(--gtg-accent);}
.gtg-type-links a:hover,.gtg-type-links a:focus-visible{border-color:var(--gtg-accent);}
.gtg-native-hub-page .gtg-hub-intro.gtg-archive-description{max-width:860px;font-size:14px;line-height:1.6;margin-top:12px;}
@media(max-width:600px){.gtg-type-links{grid-template-columns:repeat(2,minmax(0,1fr));}.gtg-type-links a{padding:16px 32px 16px 14px;}.gtg-type-links strong{font-size:16px;}}

.gtg-hub-ad{margin:28px auto;max-width:1200px;clear:both;}
.gtg-hub-ad[data-hub-ad="studios_top"]{max-width:1600px;}
.gtg-hub-ad>a,.gtg-hub-ad picture{display:block;}
.gtg-hub-ad img{display:block;margin:0 auto;width:100%;height:auto;object-fit:contain;}
@media(max-width:767px){.gtg-hub-ad{max-width:800px;margin:20px auto;}}

/* 1.7.3: compact, centered category archives with 24 posts per page. */
.gtg-category-hub>.gtg-container{width:min(calc(100% - 40px),1280px);margin-inline:auto;}
.gtg-category-hub>.gtg-container>.gtg-category-heading{padding:22px 28px;}
.gtg-category-hub .gtg-archive-header{max-width:none;margin:0;}
.gtg-category-hub .gtg-archive-header h1{font-size:clamp(24px,2.6vw,32px);line-height:1.2;margin:8px 0;}
.gtg-category-hub .gtg-archive-header .gtg-breadcrumbs{margin-bottom:8px;}
.gtg-category-hub .gtg-archive-posts{padding:26px 28px;}
.gtg-category-hub .gtg-archive-posts>.gtg-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:28px 20px;}
.gtg-category-hub .gtg-archive-posts .gtg-card-title{font-size:16px;line-height:1.38;}
.gtg-category-hub .gtg-archive-posts .gtg-card-body{padding-top:10px;}
@media(min-width:768px) and (max-width:1023px){.gtg-category-hub .gtg-archive-posts>.gtg-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;}}
@media(max-width:767px){
 .gtg-category-hub>.gtg-container{width:calc(100% - 24px);}
 .gtg-category-hub>.gtg-container>.gtg-category-heading{padding:17px 15px;}
 .gtg-category-hub .gtg-archive-posts{padding:18px 12px;}
 .gtg-category-hub .gtg-archive-posts>.gtg-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:24px 12px;}
 .gtg-category-hub .gtg-archive-posts .gtg-card-title{font-size:14px;line-height:1.38;}
 .gtg-category-hub .gtg-archive-posts .gtg-card-category,.gtg-category-hub .gtg-archive-posts .gtg-card-primary{font-size:10px;line-height:1.4;overflow-wrap:anywhere;}
 .gtg-category-hub .gtg-archive-posts .gtg-play{width:26px;height:26px;top:6px;right:6px;}
}

/* Assigned category placements and the compact comic header remain outside content surfaces. */
.gtg-category-banner{clear:both;min-width:0;}
.gtg-category-banner--top>.gtg-hub-ad,.gtg-category-banner--top>.gtg-video-ad{margin-top:0;margin-bottom:24px;}
.gtg-category-banner--bottom>.gtg-hub-ad,.gtg-category-banner--bottom>.gtg-video-ad{margin-top:28px;margin-bottom:28px;}

/* 1.7.10: approved option A — plain rainbow text and a decorative green dot. */
.gtg-menu a.gtg-live-cams,
.gtg-footer-menu a.gtg-live-cams {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  text-decoration: none;
}
.gtg-live-cams-text { color: #f5c285; }
@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  .gtg-live-cams-text {
    background: linear-gradient(100deg, #ff9dba 0%, #ffd17e 28%, #b3e581 53%, #8de0e2 76%, #b4b8ff 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}
.gtg-live-cams-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: #35d884;
  box-shadow: 0 0 0 3px #35d88412;
}
.gtg-menu > li > a.gtg-live-cams::after { display: none; }
.gtg-live-cams:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.gtg-menu a.gtg-live-cams { min-height: 44px; }
@media (max-width: 860px) {
  /* Fill the header width: end alignment otherwise clips longer menu labels. */
  .gtg-primary-nav { justify-self: stretch; width: 100%; }
}
@media (forced-colors: active) {
  .gtg-live-cams-text { background: none; color: LinkText; -webkit-text-fill-color: LinkText; }
  .gtg-live-cams-dot { background: LinkText; box-shadow: none; }
}

/* Optional studio media belongs inside the heading; the generic banner follows it. */
.gtg-studio-heading--media{display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,320px);gap:28px;align-items:start;}
.gtg-studio-heading--media>.gtg-archive-header{min-width:0;}
.gtg-studio-header-media{width:100%;min-width:0;max-width:320px;justify-self:end;}
.gtg-studio-header-media .gtg-ads-placement{margin:0;}
.gtg-studio-header-media .gtg-video-ad{width:100%;max-width:100%;margin:0;}
.gtg-studio-header-media .gtg-video-ad-link{width:100%;}
@media(max-width:900px){.gtg-studio-heading--media{grid-template-columns:minmax(0,1fr);gap:18px;}.gtg-studio-header-media{max-width:100%;justify-self:stretch;}}

/* Compact comics introduction; source text remains intact and expandable. */
.gtg-comics-landing .gtg-hub-overview{padding:20px 24px;margin-bottom:18px;}
.gtg-comics-landing .gtg-hub-overview .gtg-archive-header{margin:0;}
.gtg-comics-landing .gtg-hub-overview h1{font-size:clamp(24px,2.5vw,32px);line-height:1.2;margin:8px 0;}
.gtg-comics-landing .gtg-hub-intro.gtg-archive-description{margin:8px 0 0;}
.gtg-comics-landing .gtg-home-section{margin-top:24px;}
.gtg-studio-header-media .gtg-ad-label,.gtg-studio-header-media .gtg-video-ad-meta{display:none!important;}
.gtgc-hub-links .gtgc-store-c4s{background:#111;border-color:#111;color:#fff;}
.gtgc-hub-links .gtgc-store-c4s:hover{background:#252525;border-color:#252525;color:#fff;}
@media(max-width:767px){.gtg-comics-landing .gtg-hub-overview{padding:16px;}}

@media(min-width:901px){.gtg-studio-heading--media>.gtg-studio-header-media{align-self:start;margin-top:28px;}}

/* Compact archive advertising and recovery navigation. */
.gtg-hub-header-copy{min-width:0;}
.gtg-hub-header-copy .gtg-archive-header{margin-bottom:14px;}
.gtg-hub-overview.gtg-studio-heading--media>.gtg-studio-header-media{margin-top:0;}
.gtg-recovery-links{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin-top:24px;}
.gtg-recovery-links a{display:inline-flex;padding:10px 16px;border:1px solid #ddd;border-radius:8px;color:inherit;text-decoration:none;background:#fff;}
@media(min-width:1024px){.gtg-brand .custom-logo-link{position:relative;top:2px;}}

.gtg-studio-header-media .gtg-ads-placement{margin-inline:auto;}

/* 1.7.16: direct navigation, compact mobile header and distinct homepage modules. */
.gtg-site-header{transition:transform 180ms ease;will-change:transform}
.gtg-site-header.is-scroll-hidden{transform:translateY(calc(-100% - 48px));pointer-events:none;visibility:hidden}
.gtg-header-inner{gap:20px}
.gtg-primary-nav .gtg-menu{gap:clamp(12px,1.5vw,24px)}
.gtg-home-catalogue .gtg-home-trending>.gtg-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important}
.gtg-home-catalogue .gtg-home-latest>.gtg-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.gtg-home-catalogue .gtg-card-title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
@media(max-width:1199px){.gtg-home-catalogue .gtg-home-trending>.gtg-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media(min-width:768px) and (max-width:1023px){.gtg-home-catalogue .gtg-home-trending>.gtg-grid,.gtg-home-catalogue .gtg-home-latest>.gtg-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:1000px){
 :root{--gtg-header-height:56px}
 .gtg-header-inner{position:relative;display:grid;grid-template-columns:minmax(0,max-content) 44px 1fr 44px;gap:6px;width:calc(100% - 24px);min-height:56px}
 .gtg-brand{grid-column:1;grid-row:1;justify-self:start;min-width:0}
 .gtg-brand .custom-logo{max-width:min(190px,48vw);max-height:36px}
 .gtg-search-toggle{grid-column:2;grid-row:1;width:44px;height:44px;justify-self:start;background:transparent;border:0}
 .gtg-menu-toggle{grid-column:4;grid-row:1;display:inline-grid;place-content:center;justify-self:end;width:44px;height:44px;padding:8px;background:transparent;border:0;border-radius:4px}
 .gtg-menu-toggle>span:not(.screen-reader-text){display:block;width:22px;height:2px;margin:2px 0;background:currentColor}
 .gtg-primary-nav{position:absolute;top:100%;right:0;left:auto;width:min(300px,calc(100vw - 24px));display:none;background:#151515;border-radius:0 0 8px 8px;padding:14px;box-shadow:0 8px 20px #0003}
 .gtg-primary-nav.is-open{display:block}
 .gtg-primary-nav .gtg-menu{display:flex;flex-direction:column;align-items:stretch;gap:0}
 .gtg-primary-nav .gtg-menu>li>a{display:flex;min-height:44px;align-items:center;padding:10px 14px}
}
@media(max-width:767px){
 .gtg-home-catalogue .gtg-home-trending>.gtg-grid,.gtg-home-catalogue .gtg-home-latest>.gtg-grid,.gtg-home-catalogue .gtg-home-listing>.gtg-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:22px 8px}
}
@media(prefers-reduced-motion:reduce){.gtg-site-header{transition:none}}
/* Compact ad labels also cover fallback components and the existing Sync wrapper. */
.gtg-home-ad,.gtg-hub-ad,.gtg-video-ad,.gtg-c4s-brand{position:relative}
.gtg-home-ad>.gtg-ad-label,.gtg-hub-ad>.gtg-ad-label,.gtg-video-ad>.gtg-video-ad-meta,.gtg-c4s-brand>.gtg-ad-badge{position:absolute!important;top:8px;right:8px;left:auto;z-index:4;padding:3px 6px!important;margin:0!important;background:#222e!important;color:#fff!important;border-radius:4px;font:700 12px/1.3 system-ui,sans-serif!important;letter-spacing:.02em;pointer-events:none}
.gtg-video-ad-meta span{font:inherit!important;color:inherit!important}
.gtg-corner-ad-bar{position:absolute!important;inset:6px 6px auto auto!important;z-index:10;background:transparent!important;padding:0!important}
.gtg-corner-ad .gtg-video-ad-meta,.gtg-corner-ad .gtg-ad-label{left:8px!important;right:auto!important}

/* 1.7.17: category navigation alongside the grid, compact two-row mobile header. */
.gtg-mobile-categories,.gtg-mobile-hub-bar{display:none}
.gtg-primary-nav .gtg-menu>li>a{font-size:16px;letter-spacing:.01em}
.gtg-header-inner{grid-template-columns:minmax(170px,240px) 1fr 44px;gap:18px}
.gtg-browse-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:20px;align-items:start}
.gtg-browse-content{min-width:0}
.gtg-browse-aside{grid-row:1;min-width:0;justify-self:start;width:min(360px,100%)}
.gtg-category-panel{background:#fff;border:1px solid #dedee2;border-radius:9px;font-size:14px;overflow:hidden}
.gtg-category-panel>summary{padding:14px 16px;font-size:15px;font-weight:750;cursor:pointer}
.gtg-category-panel-body{padding:0 14px 14px}
.gtg-navigation-shortcuts{display:grid;gap:2px;margin:0 0 10px}
body.gtg-theme .gtg-navigation-shortcuts a,body.gtg-theme .gtg-category-hub-link{display:block;color:#202024;text-decoration:none;font-size:14px;padding:9px 8px;border-radius:4px}
body.gtg-theme .gtg-category-hub-link{font-weight:650}
.gtg-category-search{display:grid;gap:7px;margin:12px 0;color:inherit;font-size:12px;font-weight:650}
.gtg-category-search input[type=search]{box-sizing:border-box;min-width:0;width:100%;height:42px;border:1px solid #cfcfd6;border-radius:6px;background:#fff;padding:8px 10px;font-size:14px;color:#202024}
.gtg-category-links{list-style:none;padding:0!important;margin:0!important;max-height:480px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
.gtg-category-links>li{list-style:none;margin:0;padding:0}
body.gtg-theme .gtg-category-links a{display:block;padding:9px 8px;line-height:1.35;font-size:14px;color:#28282e;text-decoration:none;border-radius:4px;overflow-wrap:anywhere}
body.gtg-theme .gtg-category-links a:hover,body.gtg-theme .gtg-navigation-shortcuts a:hover,body.gtg-theme .gtg-category-hub-link:hover{background:#f0f0f3}
body.gtg-theme .gtg-category-links a[aria-current=page]{color:#b60024;background:#f8e9ed;font-weight:700}
.gtg-category-empty{font-size:13px;padding:8px;margin:0}
.gtg-category-links [hidden],.gtg-category-empty[hidden]{display:none!important}
.gtg-category-panel a:focus-visible,.gtg-mobile-categories a:focus-visible,.gtg-mobile-hub-bar a:focus-visible,.gtg-category-panel summary:focus-visible,.gtg-mobile-category-group summary:focus-visible{outline:2px solid #cf2343;outline-offset:-2px}
#gtg-latest-title,#gtg-trending-title{scroll-margin-top:125px}
/* 1.7.20: centre the content, reserving equal outer gutters on wide screens.
   The left gutter houses navigation; the right gutter keeps the grid centred. */
@media(min-width:1001px){
 body.gtg-theme .gtg-has-category-navigation>.gtg-container{width:min(calc(100% - 40px),1280px);max-width:1280px}
 body.gtg-theme .gtg-home-catalogue.gtg-has-category-navigation>.gtg-container{width:min(calc(100% - 48px),1322px);max-width:1322px}
}
@media(min-width:1900px){
 body.gtg-theme .gtg-has-category-navigation>.gtg-container{width:min(calc(100% - 48px),1836px);max-width:1836px}
 body.gtg-theme .gtg-home-catalogue.gtg-has-category-navigation>.gtg-container{width:min(calc(100% - 48px),1878px);max-width:1878px}
 .gtg-browse-layout{grid-template-columns:250px minmax(0,1fr) 250px;gap:28px}
 .gtg-browse-content{grid-column:2;grid-row:1}
 .gtg-browse-aside{grid-column:1;grid-row:1;width:250px}
 .gtg-category-panel>summary{cursor:pointer}
 .gtg-browse-aside .gtg-side-rail{position:static!important;width:100%!important;margin-top:28px;left:auto!important;top:auto!important}
}
@media(min-width:1001px) and (max-width:1439px){
 .gtg-primary-nav .gtg-menu{gap:14px}
 .gtg-header-inner{grid-template-columns:minmax(160px,205px) 1fr 44px;gap:12px}
 .gtg-brand .custom-logo{max-width:205px}
 .gtg-browse-aside{justify-self:start;width:min(360px,100%)}
 .gtg-category-panel-body .gtg-category-links{max-height:360px}
}
@media(max-width:1000px){
 body.gtg-theme .gtg-header-inner{grid-template-columns:minmax(0,1fr) 44px 44px;gap:4px;width:calc(100% - 24px);min-height:56px}
 .gtg-brand{grid-column:1;justify-self:start}
 .gtg-brand .custom-logo{max-width:min(210px,56vw);max-height:36px}
 .gtg-search-toggle{grid-column:2;justify-self:end}
 .gtg-search-toggle svg{width:22px;height:22px}
 .gtg-menu-toggle{grid-column:3}
 .gtg-menu-toggle>span:not(.screen-reader-text){width:21px;height:2px}
 .gtg-primary-nav{top:calc(100% + 44px);width:min(360px,calc(100vw - 24px));padding:12px;max-height:calc(100dvh - 120px);overflow-y:auto;overscroll-behavior:contain}
 .admin-bar .gtg-primary-nav{max-height:calc(100dvh - 166px)}
 .gtg-primary-nav .gtg-menu{display:none}
 .gtg-mobile-categories{display:block}
 .gtg-mobile-hub-bar{display:flex;gap:0;align-items:center;height:44px;overflow-x:auto;white-space:nowrap;padding:0 10px;border-top:1px solid #ffffff18;scrollbar-width:none;overscroll-behavior-x:contain}
 .gtg-mobile-hub-bar::-webkit-scrollbar{display:none}
 body.gtg-theme .gtg-mobile-hub-bar a{display:flex;align-items:center;justify-content:center;min-height:44px;padding:0 12px;font:700 13px/1.3 system-ui,sans-serif;letter-spacing:.01em;text-transform:uppercase;color:#f6f6f6!important;text-decoration:none;flex:1 0 auto;border-bottom:2px solid transparent;box-sizing:border-box}
 .gtg-mobile-hub-bar a[aria-current=page]{border-bottom-color:#cf2343!important}
 .gtg-mobile-category-group{border-top:1px solid #ffffff20}
 .gtg-mobile-category-group summary{cursor:pointer;padding:13px 9px;font-size:15px;font-weight:700;color:#fff}
 .gtg-mobile-category-group>div{padding:0 4px 10px}
 .gtg-mobile-category-group .gtg-category-links{max-height:310px}
 body.gtg-theme .gtg-mobile-categories .gtg-category-links a,body.gtg-theme .gtg-mobile-categories .gtg-category-hub-link,body.gtg-theme .gtg-mobile-categories .gtg-navigation-shortcuts a{color:#f4f4f6;min-height:44px;box-sizing:border-box;display:flex;align-items:center}
 body.gtg-theme .gtg-mobile-categories a:hover{background:#ffffff16}
 body.gtg-theme .gtg-mobile-categories .gtg-category-links a[aria-current=page]{color:#fff;background:#792039}
 .gtg-mobile-external{list-style:none;padding:12px 8px 2px;margin:4px 0 0;border-top:1px solid #ffffff20}
 .gtg-mobile-external .gtg-live-cams{min-height:44px}
 .gtg-browse-aside{display:none}
}
@media(max-width:1000px){
 .gtg-menu-toggle{position:relative}
 .gtg-menu-toggle>span:not(.screen-reader-text){position:absolute;left:11.5px;top:21px;margin:0;transform-origin:center}
 .gtg-menu-toggle>span:nth-child(1){transform:translateY(-6px)}
 .gtg-menu-toggle>span:nth-child(2){transform:none}
 .gtg-menu-toggle>span:nth-child(3){transform:translateY(6px)}
 .gtg-menu-toggle[aria-expanded=true]>span:nth-child(1){transform:rotate(45deg)}
 .gtg-menu-toggle[aria-expanded=true]>span:nth-child(2){opacity:0}
 .gtg-menu-toggle[aria-expanded=true]>span:nth-child(3){transform:rotate(-45deg)}
}

/* 1.7.18: full category list, grid alignment and dependable mobile navigation. */
.gtg-category-panel .gtg-category-links{max-height:none;overflow:visible;overscroll-behavior:auto}
.gtg-header-spacer{display:none}
@media(min-width:1900px){.gtg-browse-aside{margin-top:var(--gtg-browse-offset,0px)}}
.gtg-mobile-external a.gtg-live-cams{display:inline-flex;align-items:center;gap:9px;white-space:nowrap;text-decoration:none;padding:8px}
.gtg-mobile-external .gtg-live-cams-dot{display:block;align-self:center;position:static;transform:none;margin:0;flex:0 0 6px}
@media(max-width:1000px){
 body.gtg-theme .gtg-site-header{position:fixed;top:var(--gtg-header-offset,0px);left:0;right:0;width:100%;}
 .gtg-header-spacer{display:block;height:var(--gtg-mobile-header-height,100px)}
 .gtg-mobile-hub-bar{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));height:44px;overflow:visible;padding:0 6px;white-space:normal}
 body.gtg-theme .gtg-mobile-hub-bar a{min-width:0;padding:0 2px;font-size:clamp(11px,3.05vw,13px);letter-spacing:0;white-space:nowrap}
 .gtg-primary-nav{top:calc(100% + var(--gtg-mobile-links-height,44px));max-height:calc(100dvh - var(--gtg-header-offset,0px) - var(--gtg-mobile-header-height,100px) - 12px)}
 .admin-bar .gtg-primary-nav{max-height:calc(100dvh - var(--gtg-header-offset,0px) - var(--gtg-mobile-header-height,100px) - 12px)}
}
@media(max-width:359px){
 .gtg-mobile-hub-bar{grid-template-columns:repeat(3,minmax(0,1fr));height:88px}
 body.gtg-theme .gtg-mobile-hub-bar a{font-size:12px}
 .gtg-header-spacer{height:var(--gtg-mobile-header-height,144px)}
 .gtg-primary-nav{top:calc(100% + var(--gtg-mobile-links-height,88px))}
}

/* Studio recommendations stay compact beside the external card sections. */
.gtg-studio-related .gtg-section-heading h2{text-transform:none}
body.gtg-theme .gtg-c4s-post-surface:has(.gtg-c4s-feed){background:transparent!important;border:0!important;box-shadow:none}
@media(max-width:640px){
 body.gtg-theme .gtg-studio-related-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:22px 12px}
 .gtg-studio-related .gtg-card-title{font-size:14px!important;line-height:1.35}
}

/* 1.7.19: compact mobile brand inset and consistent studio discovery cards. */
@media(max-width:1000px){
 body.gtg-theme .gtg-header-inner{width:calc(100% - 18px);margin-left:6px;margin-right:12px}
}
@media(min-width:768px){
 body.gtg-theme .gtg-studio-discovery>.gtg-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:767px){
 body.gtg-theme .gtg-studio-discovery>.gtg-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

/* 1.7.22: shared hub rhythm, independent of homepage/archive layouts. */
.gtg-native-hub-page .gtg-hub-latest>.gtg-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:28px 20px}
.gtg-native-hub-page .gtg-trending-section>.gtg-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:28px 20px}
.gtg-native-hub-page .gtg-hub-overview .gtg-hub-intro{margin-top:12px}
.gtg-native-hub-page .gtg-hub-intro .gtg-description-content>:first-child{margin-top:0}
.gtg-term-card>a.gtg-term-card-link{display:block;height:100%;color:inherit;text-decoration:none}
.gtg-term-card-link .gtg-term-media{display:block;overflow:hidden}
.gtg-term-card-link h3{color:var(--gtg-ink,#17171c)}
.gtg-term-card-link:focus-visible{outline:3px solid #d80032;outline-offset:3px;border-radius:10px}
@media(max-width:767px){
 .gtg-native-hub-page .gtg-hub-latest>.gtg-grid,.gtg-native-hub-page .gtg-trending-section>.gtg-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:24px 12px}
}
/* One desktop frame: logo stays above the category rail on every template. */
@media(min-width:1001px){
 body.gtg-theme .gtg-site-header .gtg-header-inner{width:min(calc(100% - 40px),1280px);max-width:1280px;margin-inline:auto}
 body.gtg-theme .gtg-has-category-navigation>.gtg-container,
 body.gtg-theme .gtg-home-catalogue.gtg-has-category-navigation>.gtg-container{width:min(calc(100% - 40px),1280px);max-width:1280px}
}
@media(min-width:1900px){
 body.gtg-theme .gtg-site-header .gtg-header-inner{width:min(calc(100% - 48px),1836px);max-width:1836px}
 body.gtg-theme .gtg-has-category-navigation>.gtg-container,
 body.gtg-theme .gtg-home-catalogue.gtg-has-category-navigation>.gtg-container{width:min(calc(100% - 48px),1836px);max-width:1836px}
}

/* With no visible lead content, bring the first mobile homepage heading closer to navigation. */
@media(max-width:767px){
 body.gtg-theme .gtg-home-catalogue.is-home-lead-empty .gtg-browse-content>.gtg-home-section:first-of-type{margin-top:4px;}
 .gtg-home-catalogue.is-home-lead-empty .gtg-home-lead{display:none;}
}

/* One mobile header width, including the homepage override. Keep both 44px controls on the right. */
@media(max-width:1000px){
 body.gtg-theme .gtg-site-header .gtg-header-inner{width:calc(100% - 16px);max-width:none;margin-inline:8px;grid-template-columns:minmax(0,1fr) 44px 44px;gap:4px;}
 body.gtg-theme .gtg-site-header .gtg-search-toggle{grid-column:2;justify-self:end;margin:0;}
 body.gtg-theme .gtg-site-header .gtg-menu-toggle{grid-column:3;justify-self:end;margin:0;}
}

/* 1.7.26: use the homepage header frame on every template, independently
   of the article, player or sidebar width below it. */
@media(min-width:1900px){
 body.gtg-theme .gtg-site-header .gtg-header-inner{padding-right:278px;box-sizing:border-box}
}

@media(min-width:1001px){body.gtg-theme .gtg-site-header .gtg-search-toggle{justify-self:end}}

/* 1.7.27: the temporary trial label shares the approved rainbow treatment. */
.gtg-trial-saved-item>a{white-space:nowrap;color:#f5c285}
@supports ((background-clip:text) or (-webkit-background-clip:text)) {
 .gtg-trial-saved-item>a{background:linear-gradient(100deg,#ff9dba 0%,#ffd17e 28%,#b3e581 53%,#8de0e2 76%,#b4b8ff 100%);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent}
}
@media(forced-colors:active){.gtg-trial-saved-item>a{background:none;color:LinkText;-webkit-text-fill-color:LinkText}}

/* Mobile and tablet footer: brand above two aligned navigation columns. */
@media (max-width: 1050px) {
 .gtg-footer-inner,.gtg-footer-inner--four{grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:20px;row-gap:26px}
 .gtg-footer-brand,.gtg-footer-connect{grid-column:1/-1;min-width:0}
 .gtg-footer-explore{grid-column:1;min-width:0}
 .gtg-footer-information{grid-column:2;min-width:0}
 .gtg-footer-explore,.gtg-footer-information{grid-row:2;text-align:left}
 .gtg-footer-menu li,.gtg-footer-menu a{min-width:0;max-width:100%;overflow-wrap:anywhere}
 .gtg-footer-menu a{padding-block:6px;line-height:1.45}
 .gtg-footer-menu a.gtg-live-cams,.gtg-footer-menu .gtg-trial-saved-item>a{white-space:normal}
 .gtg-footer-brand .custom-logo{max-width:min(250px,100%)}
 .gtg-footer-email{max-width:100%;overflow-wrap:anywhere}
}

/* 1.7.30: more related tags in a quiet, compact list. */
.gtg-related-tags .gtg-section-heading{margin-bottom:12px}
.gtg-related-tags .gtg-section-heading h2{font-size:16px;font-weight:650;text-transform:none}
.gtg-related-tag-links{display:flex;flex-wrap:wrap;gap:6px 8px;list-style:none;margin:0!important;padding:0!important}
.gtg-related-tag-links>li{margin:0;padding:0;max-width:100%;list-style:none}
body.gtg-theme .gtg-related-tag-links a{display:block;padding:5px 8px;border:1px solid #e9e9ed;border-radius:4px;background:#f6f6f8;color:#45454d!important;font-size:12px;font-weight:400;line-height:1.5;text-decoration:none;overflow-wrap:anywhere}
body.gtg-theme .gtg-related-tag-links a:hover{color:var(--gtg-accent)!important;border-color:#d4d4db;background:#fff}
.gtg-related-tag-links a:focus-visible{outline:2px solid var(--gtg-accent);outline-offset:2px}

/* 1.7.31: supplied white-text vector logo, fitted to the shared header/footer. */
.gtg-brand .gtg-bundled-logo-link,
.gtg-footer-brand .gtg-bundled-logo-link{max-width:100%;vertical-align:middle}
.gtg-brand .gtg-bundled-logo{width:262px;height:auto;max-width:100%;max-height:none}
.gtg-footer-brand .gtg-bundled-logo{width:250px;height:auto;max-width:100%;max-height:none}
@media(max-width:1000px){
 .gtg-brand .gtg-bundled-logo{width:200px}
}

/* 1.7.32: quiet desktop-only tagline beside the logo. */
.gtg-header-tagline{display:none}
@media(min-width:1001px){
 .gtg-header-inner{grid-template-columns:max-content minmax(0,1fr) 44px}
 .gtg-brand{display:flex;align-items:center;gap:16px}
 .gtg-brand .gtg-bundled-logo-link{flex:0 0 auto;top:0}
 .gtg-header-tagline{display:block;flex:0 0 auto;margin:0;padding:2px 0 2px 16px;border-left:1px solid #ffffff29;font-size:10px;font-weight:500;line-height:1.7;letter-spacing:.09em;color:#aaa}
 .gtg-header-tagline span,.gtg-header-tagline strong{display:block;white-space:nowrap}
 .gtg-header-tagline strong{font-size:11px;font-weight:600;letter-spacing:.035em;color:#ff4d5f}
}
@media(min-width:1200px) and (max-width:1439px){
 .gtg-brand .gtg-bundled-logo{width:205px}
}
@media(min-width:1001px) and (max-width:1199px){
 .gtg-brand{gap:12px}
 .gtg-brand .gtg-bundled-logo{width:180px}
 .gtg-header-tagline{padding-left:12px;font-size:9px}
 .gtg-header-tagline strong{font-size:10px}
 .gtg-primary-nav .gtg-menu{gap:8px}
 .gtg-primary-nav .gtg-menu>li>a{font-size:13px}
}

/* Our Friends invitation takes the former inside-header ad position. */
.gtg-friends-heading--message{display:grid;grid-template-columns:minmax(180px,.65fr) minmax(0,1.35fr);gap:32px;align-items:start}
.gtg-friends-heading--message .gtg-article-header{margin:0}
.gtg-friends-invitation{min-width:0;border-left:1px solid var(--gtg-border,#dedee3);padding-left:28px}
.gtg-friends-invitation .gtgl-message{margin:0;padding:0;background:transparent;border:0;color:#333}
.gtg-friends-invitation .gtgl-message h2{font:700 20px/1.3 system-ui;margin:0 0 10px;padding:0;border:0}
.gtg-friends-invitation .gtgl-message p{font:400 14px/1.65 system-ui;margin:0 0 12px}
.gtg-friends-invitation .gtgl-contact{display:inline-block;background:#b4142b;color:#fff;padding:10px 16px;border-radius:5px;text-decoration:none;font:650 13px/1.4 system-ui}
.gtg-friends-invitation .gtgl-contact:hover{background:#951024;color:#fff}
.gtg-friends-invitation .gtgl-contact:focus-visible{outline:2px solid #b4142b;outline-offset:3px}
@media(max-width:767px){.gtg-friends-heading--message{grid-template-columns:1fr;gap:20px}.gtg-friends-invitation{border-left:0;border-top:1px solid #dedee3;padding:20px 0 0}.gtg-friends-invitation .gtgl-message h2{font-size:18px}}
