:root {
  --hm-bg: #f3f5f8;
  --hm-panel: #ffffff;
  --hm-panel-2: #f7f9fc;
  --hm-ink: #11151b;
  --hm-muted: #5e6878;
  --hm-line: #d8e0ea;
  --hm-accent: #ff5a36;
  --hm-accent-2: #ffd166;
  --hm-shadow: 0 18px 50px rgba(15, 19, 24, 0.08);
}

body {
  background: var(--hm-bg);
  color: var(--hm-ink);
}

body .site.grid-container.container {
  max-width: 1280px;
}

body .site-header {
  background: #0f1318;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

body .inside-header {
  padding: 22px 20px 16px;
}

body .site-branding .main-title a,
body .site-logo a {
  color: #f7f9fc;
  font-size: clamp(1.6rem, 2.7vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

body .site-description {
  color: #aab5c4;
}

body .main-navigation,
body .main-navigation ul ul {
  background: transparent;
}

body .main-navigation .main-nav > ul {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  flex-wrap: wrap;
}

body .main-navigation .main-nav > ul > li > a,
body .menu-toggle {
  color: #dce3ed;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 10px 14px;
  line-height: 1.1;
  background: rgba(255, 255, 255, 0.02);
}

body .main-navigation .main-nav > ul > li:hover > a,
body .main-navigation .main-nav > ul > li.current-menu-item > a,
body .main-navigation .main-nav > ul > li.current_page_item > a,
body .menu-toggle:hover,
body .menu-toggle:focus {
  background: var(--hm-accent);
  border-color: var(--hm-accent);
  color: #170e0a;
}

body .main-navigation ul ul {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: #171c23;
  padding: 0.45rem;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
}

body .main-navigation ul ul li a {
  color: #edf2f7;
  border-radius: 10px;
}

body .main-navigation ul ul li a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--hm-accent-2);
}

body:not(.home) .site-content {
  padding-top: 34px;
  padding-bottom: 46px;
}

body:not(.home).right-sidebar .content-area {
  width: 69%;
}

body:not(.home).right-sidebar .widget-area {
  width: 31%;
  padding-left: 24px;
}

body:not(.home) .inside-article,
body:not(.home) .widget {
  background: var(--hm-panel);
  border: 1px solid var(--hm-line);
  border-radius: 24px;
  box-shadow: var(--hm-shadow);
}

body:not(.home) .inside-article {
  padding: clamp(24px, 3.2vw, 38px);
}

body:not(.home).blog .inside-article,
body:not(.home).archive .inside-article,
body:not(.home).search .inside-article {
  position: relative;
  overflow: hidden;
}

body:not(.home).blog .inside-article::before,
body:not(.home).archive .inside-article::before,
body:not(.home).search .inside-article::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, var(--hm-accent), var(--hm-accent-2));
}

body:not(.home) .entry-title,
body:not(.home) .entry-title a {
  color: var(--hm-ink);
  text-decoration: none;
}

body:not(.home) .entry-title {
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
}

body:not(.home).blog .entry-title,
body:not(.home).archive .entry-title {
  font-size: clamp(1.6rem, 2.2vw, 2.25rem);
}

body:not(.home) .entry-meta {
  font-size: 0.9rem;
  line-height: 1.55;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #4e596a;
  font-weight: 600;
}

body:not(.home) .entry-meta a {
  color: #364254;
  font-weight: 700;
}

body:not(.home).blog .inside-article > .entry-meta,
body:not(.home).archive .inside-article > .entry-meta,
body:not(.home).search .inside-article > .entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: #5d6878;
}

body:not(.home).blog .inside-article > .entry-meta a,
body:not(.home).archive .inside-article > .entry-meta a,
body:not(.home).search .inside-article > .entry-meta a {
  color: #2e3949;
}

body:not(.home).blog footer.entry-meta,
body:not(.home).archive footer.entry-meta,
body:not(.home).search footer.entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
  margin-top: 0.4rem;
  padding-top: 1rem;
  border-top: 1px solid var(--hm-line);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: #5d6878;
}

body:not(.home).blog footer.entry-meta .cat-links,
body:not(.home).blog footer.entry-meta .tags-links,
body:not(.home).archive footer.entry-meta .cat-links,
body:not(.home).archive footer.entry-meta .tags-links,
body:not(.home).search footer.entry-meta .cat-links,
body:not(.home).search footer.entry-meta .tags-links {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

body:not(.home).blog footer.entry-meta .gp-icon,
body:not(.home).archive footer.entry-meta .gp-icon,
body:not(.home).search footer.entry-meta .gp-icon {
  color: #b66a1f;
}

body:not(.home).blog footer.entry-meta a,
body:not(.home).archive footer.entry-meta a,
body:not(.home).search footer.entry-meta a {
  color: #2f3a49;
}

body:not(.home) .entry-content,
body:not(.home) .entry-summary {
  font-size: 1.08rem;
  line-height: 1.78;
  color: #1f2733;
}

body:not(.home) .entry-content p a,
body:not(.home) .entry-summary p a,
body:not(.home) .entry-content li a,
body:not(.home) .entry-summary li a {
  color: #b83d20;
  text-decoration-color: rgba(184, 61, 32, 0.35);
  text-underline-offset: 3px;
}

body:not(.home) .more-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 11px 15px;
  border-radius: 999px;
  background: #11151b;
  color: #f7f9fc;
  text-decoration: none;
  font-weight: 700;
}

body:not(.home) .more-link:hover {
  background: var(--hm-accent);
  color: #170e0a;
}

body:not(.home) .post-image img,
body:not(.home) .entry-content img,
body:not(.home) .inside-article figure img {
  border-radius: 18px;
}

body:not(.home) .widget {
  padding: 22px;
}

body:not(.home) .widget-title {
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #9b6a00;
  margin-bottom: 14px;
}

body:not(.home) .widget a {
  color: #19202a;
  text-decoration: none;
}

body:not(.home) .widget a:hover {
  color: #b83d20;
}

body:not(.home) .wp-block-tag-cloud a,
body:not(.home) .tagcloud a {
  display: inline-flex;
  padding: 9px 13px;
  margin: 0 8px 8px 0;
  border: 1px solid #cfd8e3;
  border-radius: 999px;
  background: #ffffff;
  font-size: 0.9rem !important;
  line-height: 1.2;
  text-decoration: none;
  color: #263240;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(15, 19, 24, 0.05);
}

body:not(.home) .wp-block-tag-cloud a:hover,
body:not(.home) .tagcloud a:hover {
  border-color: rgba(255, 90, 54, 0.4);
  background: #fff4ef;
  color: #a73b22;
}

body:not(.home) #right-sidebar .inside-right-sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

body:not(.home) #right-sidebar .widget {
  position: relative;
  padding: 24px;
  border-color: #d4dde8;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

body:not(.home) #right-sidebar .widget::before {
  display: block;
  margin-bottom: 15px;
  color: #9b6a00;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  line-height: 1.25;
  text-transform: uppercase;
}

body:not(.home) #right-sidebar #block-13::before {
  content: "Frisch aus der Werkbank";
}

body:not(.home) #right-sidebar #block-16::before {
  content: "Themenreste";
}

body:not(.home) #right-sidebar .wp-block-latest-posts {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
}

body:not(.home) #right-sidebar .wp-block-latest-posts li {
  position: relative;
  margin: 0;
  padding: 0 0 0.75rem 0;
  border-bottom: 1px solid rgba(216, 224, 234, 0.85);
  list-style: none;
}

body:not(.home) #right-sidebar .wp-block-latest-posts li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

body:not(.home) #right-sidebar .wp-block-latest-posts a {
  display: block;
  color: #18202b;
  font-size: 0.98rem;
  font-weight: 750;
  line-height: 1.32;
  letter-spacing: -0.015em;
}

body:not(.home) #right-sidebar .wp-block-latest-posts a:hover {
  color: #a73b22;
}

body:not(.home) #right-sidebar .wp-block-tag-cloud,
body:not(.home) #right-sidebar .tagcloud {
  max-height: 320px;
  overflow: auto;
  margin-bottom: -4px;
  padding-right: 2px;
  padding-bottom: 10px;
  scrollbar-width: thin;
  scrollbar-color: #c6d0dd transparent;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 calc(100% - 24px), transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 calc(100% - 24px), transparent 100%);
}

body:not(.home) #right-sidebar .wp-block-tag-cloud::after,
body:not(.home) #right-sidebar .tagcloud::after {
  content: "";
  display: block;
  height: 4px;
}

body:not(.home) #right-sidebar .wp-block-tag-cloud a,
body:not(.home) #right-sidebar .tagcloud a {
  margin: 0 6px 7px 0;
  padding: 8px 11px;
  font-size: 0.82rem !important;
  letter-spacing: 0.01em;
}

@media (min-width: 1025px) {
  body:not(.home) #right-sidebar {
    position: sticky;
    top: 24px;
    align-self: flex-start;
  }
}

body:not(.home) .paging-navigation .nav-links > *,
body:not(.home) .pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--hm-line);
  background: var(--hm-panel);
  color: #11151b;
  text-decoration: none;
  box-shadow: var(--hm-shadow);
}

body:not(.home) .pagination .page-numbers.current,
body:not(.home) .pagination .page-numbers:hover {
  background: var(--hm-accent);
  border-color: var(--hm-accent);
  color: #170e0a;
}

body .site-footer,
body .site-info {
  background: #0f1318;
}

body .site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 0;
}

body .site-info,
body .inside-site-info {
  color: #c5ced9;
}

body .inside-site-info {
  padding: 26px 20px;
}

body .copyright-bar {
  width: 100%;
  text-align: center;
  font-size: 0;
}

body .copyright-bar .copyright {
  display: inline-block;
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #e5ebf3;
}

body .copyright-bar a {
  display: none;
}

body .site-info a {
  color: #ffd166;
}

@media (max-width: 1024px) {
  body:not(.home).right-sidebar .content-area,
  body:not(.home).right-sidebar .widget-area {
    width: 100%;
    padding: 0;
  }

  body:not(.home) .widget-area {
    margin-top: 24px;
  }

  body .inside-header {
    display: block;
  }

  body .main-navigation .main-nav > ul {
    margin-top: 12px;
  }
}

@media (max-width: 768px) {
  body .inside-header {
    padding: 18px 14px 14px;
  }

  body .main-navigation.mobile-menu-control-wrapper .menu-toggle {
    width: 100%;
    justify-content: center;
    gap: 0.55rem;
    background: #171c23;
    color: #edf2f7;
    border-color: rgba(255, 255, 255, 0.08);
  }

  body .main-navigation.toggled .main-nav > ul {
    margin-top: 12px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    background: #171c23;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
  }

  body .main-navigation.toggled .main-nav > ul > li > a {
    display: block;
    margin-bottom: 8px;
    background: #11151b;
    color: #edf2f7;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
  }

  body .main-navigation.toggled .main-nav ul ul {
    position: static;
    float: none;
    width: 100%;
    margin: 6px 0 10px;
    padding: 8px;
    border-radius: 14px;
    background: #222934;
    box-shadow: none;
  }

  body .main-navigation.toggled .main-nav ul ul li a {
    color: #f7f9fc !important;
    padding: 10px 12px 10px 18px;
  }

  body .main-navigation.toggled .main-nav ul ul li a:hover,
  body .main-navigation.toggled .main-nav ul ul li.current-menu-item > a,
  body .main-navigation.toggled .main-nav ul ul li.current_page_item > a {
    background: rgba(255, 255, 255, 0.06);
    color: var(--hm-accent-2) !important;
  }

  body .main-navigation.toggled .dropdown-menu-toggle {
    color: #ffd166;
  }

  body:not(.home) .inside-article {
    padding: 22px 18px;
  }

  body:not(.home) .entry-title {
    font-size: clamp(1.7rem, 8vw, 2.4rem);
  }

  body:not(.home) .site-content {
    padding-top: 22px;
  }
}

body .main-navigation .main-nav ul ul li a {
  color: #edf2f7;
  display: block;
  padding: 10px 12px;
}

body .main-navigation .main-nav ul ul li a:hover,
body .main-navigation .main-nav ul ul li.current-menu-item > a,
body .main-navigation .main-nav ul ul li.current_page_item > a {
  background: rgba(255, 255, 255, 0.06);
  color: var(--hm-accent-2);
}

body:not(.home).blog .inside-article,
body:not(.home).archive .inside-article,
body:not(.home).search .inside-article {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding-top: 24px;
  padding-bottom: 24px;
}

body:not(.home).blog .inside-article > :last-child,
body:not(.home).archive .inside-article > :last-child,
body:not(.home).search .inside-article > :last-child {
  margin-bottom: 0;
}

body:not(.home).blog .entry-header,
body:not(.home).archive .entry-header,
body:not(.home).search .entry-header {
  margin-bottom: 0;
}

body:not(.home).blog .entry-summary,
body:not(.home).archive .entry-summary,
body:not(.home).search .entry-summary {
  margin-top: 0;
}

body:not(.home).blog .entry-summary p:last-child,
body:not(.home).archive .entry-summary p:last-child,
body:not(.home).search .entry-summary p:last-child {
  margin-bottom: 0;
}

body:not(.home).blog .more-link,
body:not(.home).archive .more-link,
body:not(.home).search .more-link {
  margin-top: 0.2rem;
}

/* Hermine QA pass 2026-05-22: desktop gutters, media framing, read-more polish */
@media (min-width: 1025px) {
  body:not(.home) .site.grid-container.container {
    width: min(calc(100% - 40px), 1240px);
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
  }

  body:not(.home) .site-content {
    gap: 28px;
  }

  body:not(.home).right-sidebar .content-area {
    width: calc(100% - 388px);
  }

  body:not(.home).right-sidebar .widget-area {
    width: 360px;
    padding-left: 0;
  }
}

body:not(.home) .entry-content figure,
body:not(.home) .post-image {
  border-radius: 18px;
  background: #f6f8fb;
}

body:not(.home) .entry-content figure img,
body:not(.home) .post-image img,
body:not(.home) .featured-image img {
  display: block;
  border-radius: 18px;
  border: 1px solid rgba(216, 224, 234, 0.95);
  box-shadow: 0 14px 34px rgba(15, 19, 24, 0.08);
}

body:not(.home) .read-more-container {
  margin-top: 1.15rem;
}

body:not(.home) .read-more.content-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 750;
  text-underline-offset: 4px;
}

body:not(.home) .read-more.content-read-more::after {
  content: "→";
  transition: transform 0.16s ease;
}

body:not(.home) .read-more.content-read-more:hover::after {
  transform: translateX(2px);
}

@media (max-width: 480px) {
  body:not(.home) .inside-article {
    padding: 24px 19px;
  }

  body:not(.home) .entry-title {
    font-size: clamp(1.75rem, 8vw, 2.15rem);
  }

  body:not(.home) .entry-meta,
  body:not(.home) .entry-meta a {
    letter-spacing: 0.12em;
  }
}

/* hm-2026-05-23-home-blog-harmony */
body:not(.home) {
  --hm-bg: #151a21;
  --hm-panel: #fbf7ef;
  --hm-panel-2: #fffaf2;
  --hm-ink: #161a20;
  --hm-muted: #5f6670;
  --hm-line: rgba(74, 62, 47, 0.18);
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 90, 54, 0.16), transparent 28rem),
    radial-gradient(circle at 88% 8%, rgba(255, 209, 102, 0.10), transparent 24rem),
    #151a21;
}
body:not(.home) .site.grid-container.container {
  background: transparent;
}
body:not(.home) .site-content {
  background: transparent;
}
body:not(.home) .inside-article,
body:not(.home) .widget {
  background: linear-gradient(180deg, var(--hm-panel-2), var(--hm-panel));
  border-color: var(--hm-line);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.22);
}
body:not(.home).blog .site-main::before,
body:not(.home).archive .site-main::before {
  content: "Blog / Archiv";
  display: block;
  margin: 0 0 1.35rem;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.025));
  color: #f6efe4;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
  box-shadow: 0 18px 48px rgba(0,0,0,.20);
}
body:not(.home) .entry-title,
body:not(.home) .entry-title a {
  color: #151a21;
}
body:not(.home) .entry-content,
body:not(.home) .entry-summary {
  color: #252a31;
}
body:not(.home) .widget-title,
body:not(.home) #secondary .widget-title {
  color: #191d24;
}
body:not(.home) #secondary .widget {
  background: linear-gradient(180deg, #201b18, #151a21);
  border-color: rgba(255,255,255,.09);
  color: #d8dde5;
}
body:not(.home) #secondary .widget-title,
body:not(.home) #secondary .widget::before {
  color: #ffd166;
}
body:not(.home) #secondary .widget a {
  color: #f5efe7;
}
body:not(.home) .tagcloud a {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.13);
  color: #f5efe7 !important;
}
body:not(.home).single .inside-article {
  max-width: 880px;
  margin-inline: auto;
}
@media (max-width: 768px) {
  body:not(.home).blog .site-main::before,
  body:not(.home).archive .site-main::before {
    margin-inline: 0;
    border-radius: 16px;
  }
  body:not(.home) .inside-article,
  body:not(.home) .widget {
    border-radius: 18px;
  }
}

/* hm-2026-05-23-pagination-polish */
body:not(.home) .paging-navigation {
  background: linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.025));
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 22px;
  box-shadow: 0 18px 48px rgba(0,0,0,.18);
}
body:not(.home) .paging-navigation .page-numbers {
  background: rgba(255,250,242,.94);
  border: 1px solid rgba(74,62,47,.16);
  border-radius: 999px;
  color: #171b22;
  font-weight: 800;
}
body:not(.home) .paging-navigation .page-numbers.current,
body:not(.home) .paging-navigation .page-numbers:hover {
  background: #ff5a36;
  border-color: #ff5a36;
  color: #170e0a;
}

/* hm-2026-05-26-editor-readability-fix */
.editor-styles-wrapper,
.editor-styles-wrapper__content,
.block-editor-writing-flow,
.block-editor-block-list__layout,
.is-root-container,
.edit-post-visual-editor__post-title-wrapper,
.edit-post-visual-editor__content-area,
.block-editor-visual-editor,
.block-editor-visual-editor__post-title-wrapper {
  background: #ffffff !important;
  color: #11151b !important;
}

.editor-styles-wrapper,
.block-editor-block-list__layout,
.is-root-container {
  --contrast: #11151b !important;
  --contrast-2: #5e6878 !important;
  --contrast-3: #8a93a3 !important;
  --base: #ffffff !important;
  --base-2: #f7f9fc !important;
  --base-3: #eef3f8 !important;
  --accent: #1e73be !important;
}

.editor-post-title__input,
.editor-styles-wrapper p,
.editor-styles-wrapper li,
.editor-styles-wrapper dl,
.editor-styles-wrapper dt,
.editor-styles-wrapper dd,
.editor-styles-wrapper blockquote,
.editor-styles-wrapper cite,
.editor-styles-wrapper figcaption,
.editor-styles-wrapper table,
.editor-styles-wrapper td,
.editor-styles-wrapper th,
.editor-styles-wrapper h1,
.editor-styles-wrapper h2,
.editor-styles-wrapper h3,
.editor-styles-wrapper h4,
.editor-styles-wrapper h5,
.editor-styles-wrapper h6,
.block-editor-block-list__layout,
.block-editor-block-list__layout p,
.block-editor-block-list__layout li,
.block-editor-block-list__layout blockquote,
.block-editor-block-list__layout table,
.block-editor-block-list__layout td,
.block-editor-block-list__layout th,
.block-editor-block-list__layout h1,
.block-editor-block-list__layout h2,
.block-editor-block-list__layout h3,
.block-editor-block-list__layout h4,
.block-editor-block-list__layout h5,
.block-editor-block-list__layout h6 {
  color: #11151b !important;
}

.editor-styles-wrapper a,
.block-editor-block-list__layout a {
  color: #1e73be !important;
}

