/* =========================================================
   01. Design tokens
   ========================================================= */
:root {
  --gc-bg: #041015;
  --gc-bg-deep: #02090d;
  --gc-surface: #081d24;
  --gc-surface-2: #0d2831;
  --gc-surface-3: #113641;
  --gc-text: #f4f7f8;
  --gc-text-soft: #c8d5da;
  --gc-muted: #8ea5ae;
  --gc-blue: #19a7d8;
  --gc-blue-light: #68d7f4;
  --gc-gold: #f4a62a;
  --gc-gold-light: #ffd27c;
  --gc-success: #65d49d;
  --gc-danger: #ff7566;
  --gc-line: rgba(255,255,255,.09);
  --gc-line-strong: rgba(25,167,216,.34);
  --gc-shadow: 0 24px 64px rgba(0,0,0,.34);
  --gc-radius-sm: 10px;
  --gc-radius: 18px;
  --gc-radius-lg: 24px;
  --gc-wide: 1280px;
  --gc-content: 900px;
  --gc-gutter: clamp(1rem, 4vw, 3rem);
  --gc-section-space: clamp(3.5rem, 7vw, 6.5rem);
}

/* =========================================================
   02. Reset and base
   ========================================================= */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--gc-text);
  background:
    radial-gradient(circle at 50% -20%, rgba(25,167,216,.06), transparent 34rem),
    var(--gc-bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.admin-bar .gc-site-header { top: 32px; }
img { max-width: 100%; height: auto; }
a { color: var(--gc-blue-light); text-decoration: none; }
a:hover { color: #fff; }
p { color: var(--gc-text-soft); }
h1,h2,h3,h4,h5,h6 { margin-top: 0; color: var(--gc-text); text-wrap: balance; }
.wp-site-blocks { overflow: clip; }
.wp-site-blocks > * { margin-block-start: 0; }
.alignwide { width: min(var(--gc-wide), calc(100vw - (var(--gc-gutter) * 2))); max-width: var(--gc-wide); margin-inline: auto; }
.alignfull { width: 100%; max-width: none; }

/* =========================================================
   03. Header
   ========================================================= */
.gc-site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  border-bottom: 1px solid rgba(244,166,42,.22);
  background: rgba(2,8,12,.94);
  box-shadow: 0 14px 34px rgba(0,0,0,.3);
  backdrop-filter: blur(18px) saturate(130%);
}
.gc-header-inner {
  width: min(var(--gc-wide), calc(100vw - (var(--gc-gutter) * 2)));
  min-height: 82px;
  margin-inline: auto;
  gap: 1.5rem;
}
.gc-brand-logo { flex: 0 0 auto; margin: 0 !important; }
.gc-brand-logo img { display: block; width: 76px; height: 52px; object-fit: contain; }
.gc-header-nav-wrap { gap: 1rem; margin-left: auto; }
.gc-main-nav .wp-block-navigation__container { gap: .2rem .4rem; }
.gc-main-nav .wp-block-navigation-item { position: relative; }
.gc-main-nav .wp-block-navigation-item + .wp-block-navigation-item::before {
  content: "·";
  position: absolute;
  left: -.38rem;
  top: 50%;
  color: rgba(244,166,42,.45);
  transform: translateY(-52%);
}
.gc-main-nav .wp-block-navigation-item__content {
  padding: .65rem .58rem !important;
  color: var(--gc-gold) !important;
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.gc-main-nav .wp-block-navigation-item__content:hover,
.gc-main-nav .current-menu-item > .wp-block-navigation-item__content { color: #fff0d4 !important; }
.gc-main-nav .wp-block-navigation-item__content::after {
  content: "";
  position: absolute;
  right: .55rem;
  bottom: .4rem;
  left: .55rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gc-gold), transparent);
  opacity: 0;
  transform: scaleX(.35);
  transition: .18s ease;
}
.gc-main-nav .wp-block-navigation-item__content:hover::after,
.gc-main-nav .current-menu-item > .wp-block-navigation-item__content::after { opacity: 1; transform: scaleX(1); }
.gc-header-tools { display: flex; gap: .7rem; }
.gc-header-tool {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: var(--gc-gold);
  border: 1px solid rgba(244,166,42,.45);
  border-radius: 12px;
  background: rgba(244,166,42,.035);
  transition: .18s ease;
}
.gc-header-tool:hover { color: #fff; border-color: var(--gc-gold); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0,0,0,.3); }
.gc-header-tool svg { width: 19px; height: 19px; fill: currentColor; }
.gc-site-header .wp-block-navigation__responsive-container-open,
.gc-site-header .wp-block-navigation__responsive-container-close {
  padding: .55rem;
  color: var(--gc-gold) !important;
  border: 1px solid rgba(244,166,42,.4);
  border-radius: 10px;
}

/* =========================================================
   04. One hero system for every overview
   ========================================================= */
.gc-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 390px !important;
  margin: 0 !important;
  overflow: hidden;
  border-bottom: 1px solid rgba(244,166,42,.22);
  background: #02090d;
}
.gc-hero .wp-block-cover__image-background {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
}
.gc-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(1,6,9,.78) 0%, rgba(1,6,9,.34) 48%, rgba(1,6,9,.18) 100%),
    linear-gradient(180deg, rgba(0,0,0,.04), rgba(0,0,0,.18));
  pointer-events: none;
}
.gc-hero .wp-block-cover__inner-container { position: relative; z-index: 2; width: 100%; }
.gc-hero-content {
  width: min(var(--gc-wide), calc(100vw - (var(--gc-gutter) * 2)));
  margin-inline: auto;
  padding-block: 2.5rem;
}
.gc-hero-lockup { width: 100%; max-width: 900px; gap: clamp(1.8rem, 3vw, 4rem); }
.gc-hero-logo { flex: 0 0 clamp(220px, 23vw, 330px); margin: 0 !important; }
.gc-hero-logo img { display: block; width: 100%; filter: drop-shadow(0 16px 30px rgba(0,0,0,.52)); }
.gc-hero-text { min-width: 0; }
.gc-kicker {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  margin: 0 0 .8rem !important;
  color: var(--gc-gold) !important;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(.72rem, .9vw, .9rem);
  font-weight: 700;
  letter-spacing: .24em;
  line-height: 1.15;
  text-transform: uppercase;
}
.gc-kicker::before,
.gc-kicker::after { content: ""; width: clamp(34px, 4vw, 62px); height: 1px; background: currentColor; }
.gc-hero-title,
.gc-hero .wp-block-query-title {
  margin: 0 !important;
  color: #fff !important;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.7rem, 4.6vw, 5.15rem) !important;
  font-weight: 500 !important;
  letter-spacing: -.045em;
  line-height: .98 !important;
  text-shadow: 0 12px 32px rgba(0,0,0,.56);
}

/* =========================================================
   05. Intro strip
   ========================================================= */
.gc-intro-strip {
  margin: 0 !important;
  padding: 1.45rem var(--gc-gutter) !important;
  border-bottom: 1px solid rgba(244,166,42,.22);
  background:
    radial-gradient(circle at 55% -150%, rgba(25,167,216,.1), transparent 45%),
    linear-gradient(180deg, #03090d, #02070a) !important;
}
.gc-intro-inner { min-height: 70px; gap: 1.5rem 3rem; }
.gc-intro-copy-wrap { flex: 1 1 540px; }
.gc-intro-label,
.gc-eyebrow {
  margin: 0 0 .42rem !important;
  color: var(--gc-gold) !important;
  font-size: .7rem !important;
  font-weight: 950 !important;
  letter-spacing: .14em !important;
  line-height: 1.2 !important;
  text-transform: uppercase !important;
}
.gc-intro-copy { max-width: 760px; margin: 0 !important; color: var(--gc-text-soft); }
.gc-intro-actions { flex: 0 1 auto; }
.gc-intro-actions .wp-block-button__link { min-height: 42px; padding: .72rem 1rem; border-radius: 999px; }

/* =========================================================
   06. Main layout and headings
   ========================================================= */
.gc-main,
.gc-shop-main,
.gc-page-shell,
.gc-article-shell,
.gc-content-shell { padding: var(--gc-section-space) var(--gc-gutter); }
.gc-section { padding: var(--gc-section-space) var(--gc-gutter) !important; }
.gc-section-heading { margin-bottom: clamp(1.8rem, 3vw, 3rem); }
.gc-section-heading-spaced { margin-top: var(--gc-section-space); }
.gc-section-title,
.gc-page-title {
  margin: 0 0 .75rem !important;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.3vw, 3.55rem) !important;
  font-weight: 500 !important;
  letter-spacing: -.035em;
  line-height: 1.05 !important;
}
.gc-section-lead { max-width: 760px; margin: 0; color: var(--gc-muted); font-size: clamp(1rem, 1.3vw, 1.15rem); }
.gc-page-header { margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--gc-line); }

/* =========================================================
   07. Buttons
   ========================================================= */
.wp-block-button__link,
.gc-outline-button,
.gc-product-link,
.gc-download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .75rem 1.15rem;
  color: #160e03 !important;
  border: 1px solid rgba(255,220,151,.5);
  border-radius: 12px;
  background: linear-gradient(180deg, #ffbd55, #ee941e);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 10px 22px rgba(0,0,0,.24);
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .07em;
  text-transform: uppercase;
  transition: .18s ease;
}
.wp-block-button__link:hover,
.gc-outline-button:hover,
.gc-product-link:hover,
.gc-download-button:hover { color: #100904 !important; transform: translateY(-2px); filter: brightness(1.06); }
.is-style-outline .wp-block-button__link,
.gc-outline-button {
  color: var(--gc-gold-light) !important;
  border-color: rgba(244,166,42,.45);
  background: transparent;
  box-shadow: none;
}
.is-style-outline .wp-block-button__link:hover,
.gc-outline-button:hover { color: #fff !important; background: rgba(244,166,42,.08); }

/* =========================================================
   08. Shared cards
   ========================================================= */
.gc-post-grid,
.gc-dynamic-card-grid,
.gc-product-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.35rem, 2.2vw, 2rem);
}
.gc-post-card,
.gc-topic-card,
.gc-product-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  border: 2px solid rgba(25,167,216,.28);
  border-radius: var(--gc-radius-lg);
  background:
    radial-gradient(circle at 92% 5%, rgba(25,167,216,.08), transparent 34%),
    linear-gradient(145deg, rgba(8,31,38,.99), rgba(3,17,22,.99));
  box-shadow: var(--gc-shadow), inset 0 1px 0 rgba(255,255,255,.035);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.gc-post-card::before,
.gc-topic-card::before,
.gc-product-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 18px;
  left: 18px;
  z-index: 2;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--gc-blue), var(--gc-gold), transparent);
}
.gc-post-card:hover,
.gc-topic-card:hover,
.gc-product-card:hover { transform: translateY(-5px); border-color: rgba(244,166,42,.64); box-shadow: 0 34px 78px rgba(0,0,0,.44), 0 0 28px rgba(244,166,42,.07); }
.gc-card-image,
.gc-post-card > .wp-block-post-featured-image,
.gc-card-image.wp-block-post-featured-image { margin: 0 !important; }
.gc-card-image img,
.gc-post-card > .wp-block-post-featured-image img,
.gc-post-card .gc-card-image img { display: block; width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.gc-card-image-placeholder { display: grid; aspect-ratio: 16/10; place-items: center; color: var(--gc-muted); background: #061319; }
.gc-post-card-content,
.gc-product-content { display: flex; flex-direction: column; min-height: 240px; padding: 1.35rem; }
.gc-card-category,
.gc-post-card .taxonomy-category,
.gc-shop-product-category {
  margin: 0 0 .65rem !important;
  color: var(--gc-gold) !important;
  font-size: .66rem !important;
  font-weight: 950 !important;
  letter-spacing: .09em !important;
  text-transform: uppercase;
}
.gc-card-category a,
.gc-post-card .taxonomy-category a,
.gc-shop-product-category a { color: inherit !important; }
.gc-card-title,
.gc-post-card .wp-block-post-title { min-height: 2.55em; margin: 0 0 .7rem !important; font-size: clamp(1.1rem, 1.4vw, 1.35rem) !important; line-height: 1.28 !important; }
.gc-card-title a,
.gc-post-card .wp-block-post-title a { color: #fff !important; }
.gc-card-excerpt,
.gc-post-card .wp-block-post-excerpt { margin: 0 0 1.2rem !important; color: var(--gc-muted); font-size: .91rem; line-height: 1.55; }
.gc-post-card .wp-block-post-excerpt__more-text { display: none; }
.gc-card-footer { margin-top: auto !important; padding-top: 1rem; border-top: 1px solid var(--gc-line); color: var(--gc-muted); font-size: .76rem; }
.gc-card-footer .wp-block-read-more { color: var(--gc-gold-light); font-weight: 850; }
.gc-topic-grid { gap: 1.4rem; }
.gc-topic-card { height: 100%; padding: 1.5rem; }
.gc-topic-number { margin: 0 0 1rem; color: var(--gc-gold); font-size: .68rem; font-weight: 900; letter-spacing: .1em; }
.gc-topic-card h3 { font-size: 1.5rem; }
.gc-topic-card h3 a { color: #fff; }
.gc-topic-link { margin-top: 1.25rem; font-weight: 850; }


.gc-post-views { display: inline-flex; align-items: center; gap: .35rem; color: var(--gc-muted); font-size: inherit; font-weight: 750; white-space: nowrap; }
.gc-post-views svg { width: 15px; height: 15px; fill: var(--gc-gold); }
.gc-product-image { display: block; overflow: hidden; margin: 0; background: #031014; }
.gc-product-image img { display: block; width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.gc-product-content h3 { min-height: 2.5em; margin: 0 0 .7rem; font-size: 1.18rem; line-height: 1.28; }
.gc-product-content h3 a { color: #fff; }
.gc-product-price { margin-bottom: 1rem; color: var(--gc-gold-light); font-weight: 950; }

/* =========================================================
   09. Article and content typography
   ========================================================= */
.gc-article-header { margin-bottom: 2rem; text-align: left; }
.gc-article-title { margin: 0 0 1rem !important; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.25rem, 4.2vw, 4.7rem) !important; font-weight: 500 !important; letter-spacing: -.045em; line-height: 1.02 !important; }
.gc-post-meta { gap: .55rem; color: var(--gc-muted); font-size: .85rem; }
.gc-post-meta p { margin: 0; color: inherit; }
.gc-single-featured { overflow: hidden; margin-bottom: 2.5rem !important; border: 1px solid var(--gc-line); border-radius: var(--gc-radius-lg); box-shadow: var(--gc-shadow); }
.gc-single-featured img { display: block; width: 100%; max-height: 680px; object-fit: cover; }
.gc-entry-content { color: var(--gc-text-soft); font-size: 1.03rem; }
.gc-entry-content > * + * { margin-block-start: 1.35rem; }
.gc-entry-content h2 { margin-top: 3.2rem; padding-bottom: .7rem; border-bottom: 1px solid var(--gc-line); font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.75rem, 2.5vw, 2.5rem); font-weight: 500; }
.gc-entry-content h3 { margin-top: 2.4rem; color: #fff; font-size: 1.4rem; }
.gc-entry-content code { padding: .12em .35em; border: 1px solid rgba(25,167,216,.2); border-radius: 6px; color: var(--gc-blue-light); background: rgba(25,167,216,.06); }
.gc-entry-content pre { overflow-x: auto; padding: 1.2rem; border: 1px solid rgba(25,167,216,.22); border-radius: var(--gc-radius); background: #020b0f; }
.gc-entry-content blockquote { margin-inline: 0; padding: 1rem 1.2rem; border-left: 3px solid var(--gc-gold); background: rgba(244,166,42,.045); }
.gc-back-wrap { margin-bottom: 1.8rem; }
.gc-back-wrap a { color: var(--gc-gold-light); font-size: .8rem; font-weight: 850; }
.gc-post-nav { padding-top: 1.5rem; }
.gc-article-separator { margin-block: 3rem 1.5rem !important; border-color: var(--gc-line) !important; }

/* =========================================================
   10. Tutorial and project components
   ========================================================= */
.gc-tutorial-overview,
.gc-tutorial-requirements,
.gc-tutorial-toc,
.gc-tutorial-step,
.gc-tutorial-summary,
.gc-project-meta-box,
.gc-info-box,
.gc-download-box,
.gc-tech-card,
.gc-pros-card,
.gc-cons-card,
.gc-callout {
  margin-block: 1.5rem !important;
  padding: clamp(1.2rem, 2.5vw, 1.8rem) !important;
  border: 1px solid rgba(25,167,216,.25);
  border-radius: var(--gc-radius);
  background: linear-gradient(145deg, rgba(12,40,49,.92), rgba(5,22,28,.95));
  box-shadow: 0 18px 44px rgba(0,0,0,.23), inset 0 1px 0 rgba(255,255,255,.03);
}
.gc-tutorial-step { position: relative; border-left: 4px solid var(--gc-blue); }
.gc-step-heading { display: flex; align-items: center; gap: .9rem; }
.gc-step-number { display: inline-grid; flex: 0 0 42px; width: 42px; height: 42px; place-items: center; border-radius: 50%; color: #071014; background: var(--gc-gold); font-weight: 950; }
.gc-callout-tip { border-color: rgba(101,212,157,.36); border-left: 4px solid var(--gc-success); }
.gc-callout-warning { border-color: rgba(255,117,102,.35); border-left: 4px solid var(--gc-danger); }
.gc-callout-term { border-left: 4px solid var(--gc-blue); }
.gc-callout-success { border-left: 4px solid var(--gc-success); }
.gc-callout-label { margin: 0 0 .45rem !important; color: var(--gc-gold) !important; font-size: .7rem; font-weight: 950; letter-spacing: .1em; text-transform: uppercase; }
.gc-check-list li::marker,
.gc-pros-list li::marker { color: var(--gc-success); }
.gc-cons-list li::marker { color: var(--gc-danger); }
.gc-tech-grid,
.gc-pros-cons-grid { gap: 1.3rem; }
.gc-download-button { margin-top: .8rem; }
.gc-template-hint,
.gc-editor-note { margin: 1.2rem 0; padding: 1rem 1.2rem; border: 1px dashed rgba(244,166,42,.45); border-radius: 12px; color: var(--gc-gold-light); background: rgba(244,166,42,.05); }

/* =========================================================
   11. Gallery
   ========================================================= */
.gc-gallery-overview { display: grid; gap: clamp(3rem, 6vw, 5rem); }
.gc-gallery-group { padding: clamp(1.2rem, 2.5vw, 2rem); border: 1px solid var(--gc-line); border-radius: var(--gc-radius-lg); background: rgba(6,24,30,.72); box-shadow: var(--gc-shadow); }
.gc-gallery-group-heading { margin-bottom: 1.5rem; }
.gc-gallery-group-heading h2 { margin-bottom: .35rem; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.75rem, 2.8vw, 2.65rem); font-weight: 500; }
.gc-gallery-group-heading p:last-child { margin: 0; color: var(--gc-muted); }
.gc-gallery-overview img,
.gc-home-gallery img { border-radius: 12px; box-shadow: 0 14px 34px rgba(0,0,0,.26); }
.gc-generated-section { margin: var(--gc-section-space) calc(var(--gc-gutter) * -1) 0; padding: var(--gc-section-space) var(--gc-gutter); border-block: 1px solid var(--gc-line); background: rgba(3,14,18,.72); }
.gc-generated-inner { width: min(var(--gc-wide), calc(100vw - (var(--gc-gutter) * 2))); margin-inline: auto; }
.gc-generated-actions { margin-top: 2rem; }

/* =========================================================
   12. Shop archive and product cards
   ========================================================= */
.gc-shop-notices:empty { display: none; }
.gc-shop-heading { margin-bottom: 1.6rem; }
.gc-shop-toolbar { margin-bottom: 1.6rem; padding: 1rem 1.1rem; border: 1px solid var(--gc-line); border-radius: var(--gc-radius); background: rgba(5,26,31,.78); }
.gc-shop-toolbar p { margin: 0; }
.gc-shop-toolbar select { min-width: 230px; min-height: 44px; padding: .65rem 2.3rem .65rem .85rem; color: #fff; border: 1px solid rgba(25,167,216,.28); border-radius: 10px; background: #06171c; }
.gc-shop-products .wc-block-product-template { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: clamp(1.35rem, 2.2vw, 2rem) !important; }
.gc-shop-products .wc-block-product { height: 100%; }
.gc-shop-product-card {
  position: relative;
  display: flex;
  overflow: hidden;
  flex-direction: column;
  height: 100%;
  border: 2px solid rgba(25,167,216,.34);
  border-radius: var(--gc-radius-lg);
  background: linear-gradient(145deg, rgba(8,31,38,.99), rgba(3,17,22,.99));
  box-shadow: var(--gc-shadow), inset 0 1px 0 rgba(255,255,255,.04);
  transition: .18s ease;
}
.gc-shop-product-card::before { content: ""; position: absolute; top: 0; right: 20px; left: 20px; z-index: 4; height: 3px; background: linear-gradient(90deg, transparent, var(--gc-blue), var(--gc-gold), transparent); }
.gc-shop-product-card:hover { transform: translateY(-5px); border-color: rgba(244,166,42,.72); box-shadow: 0 34px 78px rgba(0,0,0,.45), 0 0 34px rgba(244,166,42,.09); }
.gc-shop-product-image { position: relative; overflow: hidden; margin: 0 !important; background: #031014; }
.gc-shop-product-image img { display: block; width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.gc-shop-product-image::before {
  content: "PRODUKT";
  position: absolute;
  z-index: 5;
  top: .9rem;
  left: .9rem;
  padding: .42rem .68rem;
  color: #eafcff;
  border: 1px solid rgba(104,215,244,.56);
  border-radius: 999px;
  background: rgba(5,61,75,.93);
  box-shadow: 0 8px 22px rgba(0,0,0,.38);
  font-size: .61rem;
  font-weight: 950;
  letter-spacing: .1em;
}
.product_cat-grafana-dashboards .gc-shop-product-image::before,
[class*="product_cat-grafana"] .gc-shop-product-image::before { content: "DASHBOARD"; color: #160e03; border-color: rgba(255,226,167,.78); background: linear-gradient(#ffd075,#e69b2d); }
.product_cat-digitale-downloads .gc-shop-product-image::before,
[class*="product_cat-download"] .gc-shop-product-image::before { content: "DOWNLOAD"; }
.product_cat-3d-druck .gc-shop-product-image::before,
[class*="product_cat-3d"] .gc-shop-product-image::before { content: "3D-DRUCK"; border-color: rgba(101,212,157,.55); background: rgba(19,105,75,.94); }
.gc-shop-product-content { display: flex; flex: 1; flex-direction: column; padding: 1.25rem; }
.gc-shop-product-title { min-height: 2.6em; margin: 0 0 .7rem !important; font-size: 1.18rem !important; line-height: 1.3 !important; }
.gc-shop-product-title a { color: #fff !important; }
.gc-shop-product-excerpt { display: -webkit-box; overflow: hidden; min-height: 4.45em; margin: 0 0 1rem !important; color: var(--gc-muted); font-size: .87rem; line-height: 1.52; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.gc-shop-product-excerpt p { margin: 0; color: inherit; }
.gc-shop-product-footer { margin-top: auto !important; padding-top: 1rem; border-top: 1px solid var(--gc-line); }
.gc-shop-product-price { color: var(--gc-gold-light); font-weight: 950; }
.gc-shop-product-button .wp-block-button__link,
.gc-shop-product-button button,
.gc-shop-product-button a { min-height: 42px !important; padding: .68rem .9rem !important; border-radius: 10px !important; }
.gc-shop-products .wc-gzd-additional-info,
.gc-shop-products .wgm-info,
.gc-shop-products .tax-info,
.gc-shop-products .shipping-costs-info,
.gc-shop-products .delivery-time-info { margin: .45rem 1.25rem 0 !important; color: var(--gc-muted) !important; font-size: .67rem !important; line-height: 1.45 !important; }
.gc-shop-products .wc-gzd-additional-info:last-child,
.gc-shop-products .wgm-info:last-child,
.gc-shop-products .shipping-costs-info:last-child { margin-bottom: 1rem !important; }

/* =========================================================
   13. WooCommerce system pages
   ========================================================= */
.gc-woo-system-page .wc-block-cart,
.gc-woo-system-page .wc-block-checkout,
.woocommerce-account .woocommerce {
  padding: clamp(1.2rem, 3vw, 2rem);
  border: 1px solid var(--gc-line);
  border-radius: var(--gc-radius-lg);
  background: rgba(7,29,36,.88);
  box-shadow: var(--gc-shadow);
}
.woocommerce input,
.woocommerce textarea,
.woocommerce select,
.wc-block-components-text-input input,
.wc-block-components-combobox-control input { color: #fff !important; border-color: rgba(255,255,255,.16) !important; background: #05151a !important; }

/* =========================================================
   14. Footer
   ========================================================= */
.gc-site-footer { padding: clamp(3rem, 6vw, 5rem) var(--gc-gutter) 1.5rem; border-top: 1px solid rgba(244,166,42,.22); background: #02080b; }
.gc-footer-grid { gap: 2.5rem; }
.gc-footer-logo { margin: 0 0 1rem !important; }
.gc-footer-logo img { width: 150px; }
.gc-footer-text { max-width: 610px; color: var(--gc-muted); }
.gc-footer-links h5 { color: var(--gc-gold); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.gc-footer-links ul { margin: 0; padding: 0; list-style: none; }
.gc-footer-links li + li { margin-top: .5rem; }
.gc-footer-links a { color: var(--gc-text-soft); }
.gc-footer-links a:hover { color: var(--gc-gold-light); }
.gc-footer-bottom { margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid var(--gc-line); color: var(--gc-muted); font-size: .78rem; }
.gc-footer-bottom p { margin: 0; color: inherit; }

/* =========================================================
   15. Pagination and states
   ========================================================= */
.gc-pagination { margin-top: 3rem; gap: .55rem; }
.gc-pagination a,
.gc-pagination .page-numbers { display: inline-flex; min-width: 42px; min-height: 42px; align-items: center; justify-content: center; padding: .55rem .8rem; border: 1px solid var(--gc-line); border-radius: 10px; color: var(--gc-text-soft); background: rgba(7,29,36,.8); }
.gc-pagination .current,
.gc-pagination a:hover { color: #170f03; border-color: var(--gc-gold); background: var(--gc-gold); }
.gc-empty-state { padding: clamp(2rem, 5vw, 4rem); border: 1px dashed rgba(25,167,216,.34); border-radius: var(--gc-radius-lg); text-align: center; background: rgba(7,29,36,.65); }

/* =========================================================
   16. Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .gc-main-nav { display: none; }
  .gc-site-header .wp-block-navigation__responsive-container-open { display: flex !important; }
  .gc-post-grid,
  .gc-dynamic-card-grid,
  .gc-product-grid,
  .gc-shop-products .wc-block-product-template { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 782px) {
  body.admin-bar .gc-site-header { top: 46px; }
  .gc-header-inner { min-height: 70px; }
  .gc-brand-logo img { width: 64px; height: 44px; }
  .gc-header-tools { gap: .45rem; }
  .gc-header-tool { width: 38px; height: 38px; }
  .gc-hero { min-height: 390px !important; }
  .gc-hero-lockup { flex-direction: column !important; align-items: flex-start !important; justify-content: center !important; gap: 1rem; }
  .gc-hero-logo { flex: 0 0 auto; width: 150px; }
  .gc-hero-title,
  .gc-hero .wp-block-query-title { font-size: clamp(2.45rem, 11vw, 4rem) !important; }
  .gc-kicker::before { display: none; }
  .gc-intro-inner { align-items: flex-start !important; flex-direction: column !important; }
  .gc-intro-actions { justify-content: flex-start; }
}
@media (max-width: 640px) {
  :root { --gc-gutter: 1rem; --gc-section-space: 3.25rem; }
  .gc-post-grid,
  .gc-dynamic-card-grid,
  .gc-product-grid,
  .gc-shop-products .wc-block-product-template { grid-template-columns: 1fr !important; }
  .gc-topic-grid { display: grid !important; grid-template-columns: 1fr; }
  .gc-header-tools .gc-header-tool:first-child { display: none; }
  .gc-article-title { font-size: clamp(2rem, 11vw, 3rem) !important; }
  .gc-shop-toolbar { align-items: stretch !important; flex-direction: column !important; }
  .gc-shop-toolbar select { width: 100%; min-width: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* =========================================================
   18. Über-mich-Seite
   Portrait, Haltung, Themen, Skills und Sicherheit
   ========================================================= */

.gc-author-template-shell {
  padding: clamp(2.2rem, 5vw, 4.5rem) var(--gc-gutter)
           clamp(4.5rem, 8vw, 7.5rem) !important;
}

.gc-author-template-shell .gc-entry-content {
  width: 100% !important;
  max-width: none !important;
}

.gc-entry-content > .gc-author-page,
.gc-author-page {
  width: min(1180px, 100%) !important;
  max-width: 1180px !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

.gc-author-page > *,
.gc-author-page .gc-author-hero,
.gc-author-page .gc-author-section,
.gc-author-page .gc-author-cta {
  width: 100%;
  max-width: none !important;
}

.gc-author-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(1.5rem, 3.5vw, 3rem) !important;

  border: 2px solid rgba(25, 167, 216, .30);
  border-radius: var(--gc-radius-lg);

  background:
    radial-gradient(circle at 12% 12%, rgba(25, 167, 216, .16), transparent 25rem),
    radial-gradient(circle at 88% 90%, rgba(244, 166, 42, .11), transparent 22rem),
    linear-gradient(145deg, rgba(13, 40, 49, .98), rgba(4, 18, 24, .99));

  box-shadow:
    0 28px 72px rgba(0, 0, 0, .38),
    0 0 0 1px rgba(255, 255, 255, .025),
    inset 0 1px 0 rgba(255, 255, 255, .045);
}

.gc-author-hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 26px;
  left: 26px;
  height: 3px;
  border-radius: 999px;
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(25, 167, 216, .95),
      rgba(244, 166, 42, .95),
      transparent
    );
  box-shadow:
    0 0 14px rgba(25, 167, 216, .22),
    0 0 18px rgba(244, 166, 42, .12);
}

.gc-author-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(244, 166, 42, .72),
      rgba(25, 167, 216, .76),
      transparent
    );
}

.gc-author-columns {
  position: relative;
  z-index: 1;
  gap: clamp(2rem, 4vw, 4.25rem) !important;
  margin: 0 !important;
}

.gc-author-portrait {
  margin: 0 !important;
}

.gc-author-portrait img {
  display: block;
  width: min(100%, 360px) !important;
  aspect-ratio: 1;
  margin-inline: auto;
  object-fit: cover;

  border: 5px solid rgba(244, 166, 42, .25);
  border-radius: 50%;

  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .09),
    0 0 0 10px rgba(25, 167, 216, .025),
    0 24px 58px rgba(0, 0, 0, .46);
}

.gc-author-eyebrow {
  margin: 0 0 .65rem !important;
  color: var(--gc-gold) !important;

  font-size: .72rem !important;
  font-weight: 950 !important;
  letter-spacing: .18em !important;
  line-height: 1.2 !important;
  text-transform: uppercase;
}

.gc-author-name {
  margin: 0 0 .8rem !important;
  color: #fff !important;

  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4vw, 4rem) !important;
  font-weight: 500 !important;
  letter-spacing: -.045em;
  line-height: 1.02 !important;
}

.gc-author-role {
  margin: 0 0 1.15rem !important;
  color: var(--gc-blue-light) !important;

  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .105em;
  line-height: 1.45;
  text-transform: uppercase;
}

.gc-author-quote {
  margin: 1rem 0 1.25rem !important;
  padding: .15rem 0 .15rem 1.15rem;

  color: #fff1dc !important;
  border-left: 3px solid var(--gc-gold);

  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-style: italic;
  line-height: 1.5;
}

.gc-author-copy {
  max-width: 690px;
  margin-bottom: 1.45rem !important;
  color: var(--gc-text-soft) !important;
  font-size: 1.03rem;
  line-height: 1.75;
}

.gc-author-hero .wp-block-buttons,
.gc-author-cta .wp-block-buttons {
  gap: .8rem;
  margin-top: 1.35rem;
}

.gc-author-section {
  margin-top: clamp(3rem, 6vw, 5.5rem) !important;
}

.gc-author-section-head {
  max-width: 780px;
  margin-bottom: clamp(1.4rem, 2.8vw, 2.1rem) !important;
}

.gc-author-section-head .gc-eyebrow {
  margin-bottom: .55rem !important;
}

.gc-author-section-head h2 {
  margin: 0 0 .75rem !important;
  padding: 0 !important;
  color: #fff !important;
  border: 0 !important;

  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.6vw, 3.35rem) !important;
  font-weight: 500 !important;
  letter-spacing: -.04em;
  line-height: 1.04 !important;
}

.gc-author-section-head p:last-child {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--gc-muted) !important;
  font-size: 1rem;
  line-height: 1.72;
}

.gc-author-card-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}

.gc-author-card {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  padding: clamp(1.25rem, 2.3vw, 1.7rem) !important;

  border: 2px solid rgba(25, 167, 216, .22);
  border-radius: var(--gc-radius);

  background:
    radial-gradient(circle at 92% 6%, rgba(25, 167, 216, .075), transparent 38%),
    linear-gradient(145deg, rgba(11, 38, 47, .96), rgba(4, 20, 26, .98));

  box-shadow:
    0 20px 50px rgba(0, 0, 0, .28),
    inset 0 1px 0 rgba(255, 255, 255, .035);

  transition:
    transform .18s ease,
    border-color .18s ease,
    box-shadow .18s ease;
}

.gc-author-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 20px;
  width: 62px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gc-gold), var(--gc-blue));
}

.gc-author-card:hover {
  transform: translateY(-4px);
  border-color: rgba(244, 166, 42, .55);
  box-shadow:
    0 30px 68px rgba(0, 0, 0, .38),
    0 0 25px rgba(244, 166, 42, .055);
}

.gc-author-card h3 {
  margin: .15rem 0 .65rem !important;
  color: #fff !important;
  font-size: 1.2rem !important;
  line-height: 1.3 !important;
}

.gc-author-card p:last-child {
  margin-bottom: 0 !important;
  color: var(--gc-text-soft) !important;
  line-height: 1.68;
}

.gc-skill-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
}

.gc-skill-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: .62rem .9rem;

  color: #eaf8fc;
  background: rgba(13, 40, 49, .82);
  border: 1px solid rgba(25, 167, 216, .28);
  border-radius: 999px;

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .045),
    0 8px 20px rgba(0, 0, 0, .16);

  font-size: .88rem;
  font-weight: 800;
  line-height: 1;
}

.gc-skill-chip.is-warm {
  color: var(--gc-gold-light);
  background: rgba(244, 166, 42, .055);
  border-color: rgba(244, 166, 42, .34);
}

/* Sicherheitsbereich */
.gc-author-safety {
  position: relative;
  overflow: hidden;
  padding: clamp(1.6rem, 3.5vw, 2.7rem) !important;

  border: 2px solid rgba(244, 166, 42, .30);
  border-radius: var(--gc-radius-lg);

  background:
    radial-gradient(circle at 88% 18%, rgba(244, 166, 42, .12), transparent 36%),
    linear-gradient(145deg, rgba(12, 36, 43, .98), rgba(4, 18, 23, .99));

  box-shadow:
    0 24px 64px rgba(0, 0, 0, .30),
    inset 0 1px 0 rgba(255, 255, 255, .035);
}

.gc-author-safety::before {
  content: "";
  position: absolute;
  top: 0;
  right: 24px;
  left: 24px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--gc-gold), transparent);
}

.gc-author-safety .gc-author-section-head {
  position: relative;
  z-index: 1;
  max-width: 850px;
}

.gc-author-safety-grid {
  position: relative;
  z-index: 1;
}

.gc-safety-card {
  border-color: rgba(255, 255, 255, .10);
}

.gc-safety-card.is-warning {
  border-color: rgba(244, 166, 42, .42);
  background:
    radial-gradient(circle at 82% 18%, rgba(244, 166, 42, .13), transparent 38%),
    linear-gradient(145deg, rgba(14, 39, 44, .98), rgba(5, 20, 24, .99));
}

.gc-safety-card.is-warning::before {
  background: linear-gradient(90deg, var(--gc-gold-light), var(--gc-gold));
}

.gc-author-safety-note {
  position: relative;
  z-index: 1;
  max-width: 850px;
  margin: clamp(1.5rem, 3vw, 2.1rem) 0 0 !important;
  padding-top: 1.35rem;

  color: var(--gc-muted) !important;
  border-top: 1px solid rgba(255, 255, 255, .10);

  font-size: .94rem;
  line-height: 1.72;
}

/* Abschlussbereich */
.gc-author-cta {
  position: relative;
  overflow: hidden;
  margin-top: clamp(3rem, 6vw, 5.5rem) !important;
  padding: clamp(1.5rem, 3.5vw, 2.6rem) !important;

  border: 2px solid rgba(25, 167, 216, .28);
  border-radius: var(--gc-radius-lg);

  background:
    radial-gradient(circle at 16% 18%, rgba(25, 167, 216, .13), transparent 22rem),
    radial-gradient(circle at 88% 90%, rgba(244, 166, 42, .08), transparent 18rem),
    linear-gradient(135deg, rgba(12, 39, 48, .97), rgba(4, 18, 24, .99));

  box-shadow:
    0 26px 66px rgba(0, 0, 0, .34),
    inset 0 1px 0 rgba(255, 255, 255, .04);
}

.gc-author-cta::before {
  content: "";
  position: absolute;
  top: 0;
  right: 24px;
  left: 24px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--gc-blue), var(--gc-gold), transparent);
}

.gc-author-cta h2 {
  position: relative;
  margin: 0 0 .7rem !important;
  padding: 0 !important;
  color: #fff !important;
  border: 0 !important;

  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3.4vw, 3rem) !important;
  font-weight: 500 !important;
  letter-spacing: -.035em;
  line-height: 1.08 !important;
}

.gc-author-cta p,
.gc-author-cta .gc-eyebrow,
.gc-author-cta .wp-block-buttons {
  position: relative;
}

.gc-author-cta > p:not(.gc-eyebrow) {
  max-width: 760px;
  color: var(--gc-text-soft) !important;
}

/* Tablet */
@media (max-width: 900px) {
  .gc-author-card-grid {
    grid-template-columns: 1fr !important;
  }

  .gc-author-card {
    min-height: 0;
  }
}

/* Smartphone und schmale Tablets */
@media (max-width: 781px) {
  .gc-author-template-shell {
    padding-top: 1.5rem !important;
  }

  .gc-author-columns {
    gap: 1.75rem !important;
  }

  .gc-author-portrait img {
    width: min(100%, 285px) !important;
  }

  .gc-author-eyebrow,
  .gc-author-name,
  .gc-author-role,
  .gc-author-copy {
    text-align: center;
  }

  .gc-author-quote {
    padding: 1rem 0 0;
    border-top: 2px solid rgba(244, 166, 42, .72);
    border-left: 0;
    text-align: center;
  }

  .gc-author-copy {
    margin-inline: auto;
  }

  .gc-author-hero .wp-block-buttons {
    justify-content: center;
  }
}

/* Kleine Smartphones */
@media (max-width: 520px) {
  .gc-author-hero,
  .gc-author-safety,
  .gc-author-cta {
    border-radius: 18px;
  }

  .gc-author-hero {
    padding: 1.15rem !important;
  }

  .gc-author-card {
    padding: 1.15rem !important;
  }

  .gc-author-hero .wp-block-buttons,
  .gc-author-cta .wp-block-buttons {
    align-items: stretch;
    flex-direction: column;
  }

  .gc-author-hero .wp-block-button,
  .gc-author-hero .wp-block-button__link,
  .gc-author-cta .wp-block-button,
  .gc-author-cta .wp-block-button__link {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gc-author-card {
    transition: none;
  }

  .gc-author-card:hover {
    transform: none;
  }
}

/* =========================================================
   19. Beitragsbreite – einheitlich maximal 1400 px
   ========================================================= */

.gc-article-shell {
  --wp--style--global--content-size: 1400px;
  --wp--style--global--wide-size: 1400px;
}

.gc-article-shell > .gc-back-wrap,
.gc-article-shell > .gc-article-header,
.gc-article-shell > .gc-single-featured,
.gc-article-shell > .gc-entry-content,
.gc-article-shell > .gc-article-separator,
.gc-article-shell > .gc-post-nav {
  box-sizing: border-box;
  width: min(1400px, 100%) !important;
  max-width: 1400px !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

.gc-article-shell .gc-entry-content {
  --wp--style--global--content-size: 1400px;
  --wp--style--global--wide-size: 1400px;

  width: min(1400px, 100%) !important;
  max-width: 1400px !important;
}

.gc-article-shell .gc-entry-content > :where(
  :not(.alignleft):not(.alignright):not(.alignfull)
) {
  max-width: 1400px !important;
}

.gc-article-shell .gc-entry-content > .alignwide {
  width: 100% !important;
  max-width: 1400px !important;
}

@media (max-width: 1464px) {
  .gc-article-shell > .gc-back-wrap,
  .gc-article-shell > .gc-article-header,
  .gc-article-shell > .gc-single-featured,
  .gc-article-shell > .gc-entry-content,
  .gc-article-shell > .gc-article-separator,
  .gc-article-shell > .gc-post-nav {
    width: 100% !important;
  }
}

/* =========================================================
   20. Hero – alter Panorama-Ausschnitt mit 400-px-Logo
   ========================================================= */

/*
 * Wieder derselbe Bildaufbau wie beim ursprünglichen Hero:
 * Das Cover-Bild selbst füllt die Fläche. Kein separates
 * CSS-Hintergrundbild und keine abweichende Positionierung.
 */
.gc-hero {
  min-height: 400px !important;
  background: #02090d !important;
  background-image: none !important;
}

/* Originales Panorama wieder sichtbar machen. */
.gc-hero > .wp-block-cover__image-background,
.gc-hero .wp-block-cover__image-background {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;

  width: 100% !important;
  height: 100% !important;

  object-fit: cover !important;
  object-position: center center !important;

  transform: none !important;
  pointer-events: none !important;
}

/*
 * Dunkle Überlagerung wie beim alten Gutenberg-Cover.
 * Sie beeinflusst nur das Hintergrundbild, nicht Logo und Text.
 */
.gc-hero > .wp-block-cover__background,
.gc-hero .wp-block-cover__background {
  z-index: 1 !important;
  display: block !important;

  background: #12171f !important;
  opacity: .40 !important;
}

/* Keine zusätzliche CSS-Verlaufsebene über dem alten Bildausschnitt. */
.gc-hero::after {
  background: transparent !important;
}

/* Inhalt oberhalb des Bildes und der Abdunklung. */
.gc-hero .wp-block-cover__inner-container {
  position: relative !important;
  z-index: 2 !important;

  width: 100% !important;
  min-height: 400px !important;
}

.gc-hero-content {
  display: flex !important;
  align-items: center !important;
  min-height: 400px !important;
}

.gc-hero-lockup {
  width: 100% !important;
  max-width: 1160px !important;
}

/* Desktop verbindlich 400 px. */
.gc-hero-logo {
  flex: 0 0 400px !important;
  width: 400px !important;
  max-width: 400px !important;
  margin: 0 !important;
}

.gc-hero-logo img {
  display: block !important;

  width: 400px !important;
  max-width: 400px !important;
  height: auto !important;

  object-fit: contain !important;

  filter:
    drop-shadow(0 16px 30px rgba(0, 0, 0, .52)) !important;
}

/*
 * Die Navigations-Pills unter dem Hero wurden aus den Templates
 * entfernt. Der verbleibende Infostreifen ist rein beschreibend.
 */
.gc-intro-inner {
  justify-content: flex-start !important;
}

.gc-intro-copy-wrap {
  flex: 1 1 100% !important;
  max-width: 980px !important;
}

.gc-intro-actions {
  display: none !important;
}

/* Große Tablets */
@media (max-width: 1100px) {
  .gc-hero-logo {
    flex-basis: 320px !important;
    width: 320px !important;
    max-width: 320px !important;
  }

  .gc-hero-logo img {
    width: 320px !important;
    max-width: 320px !important;
  }
}

/* Tablets */
@media (max-width: 900px) {
  .gc-hero-logo {
    flex-basis: 240px !important;
    width: 240px !important;
    max-width: 240px !important;
  }

  .gc-hero-logo img {
    width: 240px !important;
    max-width: 240px !important;
  }
}

/* Smartphone */
@media (max-width: 782px) {
  .gc-hero,
  .gc-hero .wp-block-cover__inner-container,
  .gc-hero-content {
    min-height: 400px !important;
  }

  .gc-hero > .wp-block-cover__image-background,
  .gc-hero .wp-block-cover__image-background {
    object-position: center center !important;
  }

  .gc-hero-logo {
    flex: 0 0 auto !important;
    width: 170px !important;
    max-width: 170px !important;
  }

  .gc-hero-logo img {
    width: 170px !important;
    max-width: 170px !important;
  }
}

/* Kleine Smartphones */
@media (max-width: 480px) {
  .gc-hero-logo {
    width: 145px !important;
    max-width: 145px !important;
  }

  .gc-hero-logo img {
    width: 145px !important;
    max-width: 145px !important;
  }
}

/* =========================================================
   21. Projekte und Tutorials – dieselbe Kartenbreite wie Blog
   ========================================================= */

/*
 * Die Shortcode-Ausgaben werden in dieselbe Wide-Breite gesetzt
 * wie der Query-Block der Blogübersicht.
 */
.gc-overview-grid-wrap {
  box-sizing: border-box;
  width: min(var(--gc-wide), calc(100vw - (var(--gc-gutter) * 2))) !important;
  max-width: var(--gc-wide) !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

.gc-overview-grid-wrap > .wp-block-shortcode {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

/*
 * Dynamische Projekt- und Tutorial-Karten verwenden verbindlich
 * exakt dasselbe Raster wie die Blogkarten.
 */
.gc-overview-grid-wrap .gc-dynamic-card-grid {
  display: grid !important;
  width: 100% !important;
  max-width: none !important;

  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: clamp(1.35rem, 2.2vw, 2rem) !important;
}

/* Identische Kartenhöhe und Inhaltsverteilung. */
.gc-overview-grid-wrap .gc-post-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.gc-overview-grid-wrap .gc-card-image {
  display: block;
  flex: 0 0 auto;
}

.gc-overview-grid-wrap .gc-post-card-content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 240px;
}

.gc-overview-grid-wrap .gc-card-footer {
  margin-top: auto !important;
}

/* Tablet */
@media (max-width: 1080px) {
  .gc-overview-grid-wrap .gc-dynamic-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* Smartphone */
@media (max-width: 640px) {
  .gc-overview-grid-wrap .gc-dynamic-card-grid {
    grid-template-columns: 1fr !important;
  }
}

/* =========================================================
   22. Karten-Footer – Aufrufzähler und einheitliches Weiterlesen
   ========================================================= */

/*
 * Datum, Aufrufzähler und Weiterlesen sauber in einer Zeile.
 * Der Weiterlesen-Link wird auf allen Übersichten einheitlich
 * in Gerl-Craft-Orange dargestellt.
 */
.gc-card-footer {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: .55rem .8rem !important;
}

.gc-card-footer .wp-block-post-date,
.gc-card-footer time {
  color: var(--gc-muted) !important;
}

.gc-card-footer .gc-post-views {
  color: var(--gc-muted) !important;
}

.gc-card-footer .wp-block-read-more,
.gc-card-footer > a,
.gc-dynamic-post-card .gc-card-footer > a {
  margin-left: auto !important;

  color: var(--gc-gold-light) !important;

  font-weight: 850 !important;
  text-decoration: none !important;
}

.gc-card-footer .wp-block-read-more:hover,
.gc-card-footer > a:hover,
.gc-dynamic-post-card .gc-card-footer > a:hover {
  color: #ffffff !important;
  text-decoration: none !important;
}

/* Das Auge bleibt ebenfalls im warmen Akzentton. */
.gc-card-footer .gc-post-views svg {
  fill: var(--gc-gold) !important;
}

@media (max-width: 420px) {
  .gc-card-footer .wp-block-read-more,
  .gc-card-footer > a,
  .gc-dynamic-post-card .gc-card-footer > a {
    width: 100%;
    margin-top: .25rem !important;
    margin-left: 0 !important;
  }
}
