/*
Theme Name: HowToFixIt Child
Theme URI: https://howtofixit.info/
Description: Child Theme für HowToFixIt auf Basis von Twenty Twenty-Five.
Author: Projekt-X
Template: twentytwentyfive
Version: 1.2.3
Text Domain: howtofixit-child
*/

@font-face {
  font-family: "Manrope";
  src: url("./assets/fonts/manrope-700.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("./assets/fonts/manrope-600.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("./assets/fonts/source-sans-3-400.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("./assets/fonts/source-sans-3-500.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("./assets/fonts/source-sans-3-600.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  --color-bg: #f4f8fc;
  --color-surface: #ffffff;
  --color-text: #18324b;
  --color-text-muted: #4d667d;
  --color-primary-700: #0f5f9e;
  --color-primary-900: #083d70;
  --color-accent: #ff8a2f;
  --color-success: #1e8e5a;
  --color-warning: #b96a00;
  --color-error: #b3261e;
  --focus-ring: #ffb068;
  --border-color: rgba(27, 84, 134, 0.18);
  --shadow-card: 0 12px 24px rgba(9, 46, 77, 0.11);
  --shadow-strong: 0 14px 30px rgba(8, 35, 67, 0.2);
  --radius-xs: 0.5rem;
  --radius-sm: 0.75rem;
  --radius-md: 1rem;
  --radius-lg: 1.25rem;
  --radius-pill: 999px;
  --space-4: 0.25rem;
  --space-8: 0.5rem;
  --space-12: 0.75rem;
  --space-16: 1rem;
  --space-24: 1.5rem;
  --space-32: 2rem;
  --space-40: 2.5rem;
  --space-56: 3.5rem;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  color: var(--color-text);
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 141, 39, 0.16), transparent 36%),
    radial-gradient(circle at 88% 15%, rgba(12, 124, 216, 0.16), transparent 32%),
    linear-gradient(160deg, #edf3f9 0%, #e7f0fa 45%, #f4f8fc 100%);
  font-family: "Source Sans 3", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.06rem;
  line-height: 1.65;
}

.wp-site-blocks {
  min-height: 100vh;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Manrope", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--color-text);
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2rem, 3.6vw, 3rem);
}

h2 {
  font-size: clamp(1.6rem, 2.3vw, 2rem);
}

h3 {
  font-size: clamp(1.25rem, 1.7vw, 1.5rem);
}

a {
  color: var(--color-primary-700);
  text-decoration-thickness: 0.07em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--color-primary-900);
}

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
}

:where(button, .wp-element-button, .hfix-chip, .hfix-category-card, .hfix-guide-card a) {
  min-height: 44px;
}

.hfix-header-shell {
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 166, 86, 0.16), transparent 36%),
    linear-gradient(120deg, rgba(8, 61, 112, 0.95) 0%, rgba(16, 98, 165, 0.94) 62%, rgba(20, 115, 182, 0.92) 100%);
  border-bottom: 1px solid rgba(201, 225, 245, 0.46);
  box-shadow: var(--shadow-strong);
  position: relative;
  z-index: 30;
  overflow: visible;
}

.hfix-header-shell::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -24px;
  height: 26px;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(14, 88, 147, 0.28), rgba(14, 88, 147, 0));
}

.hfix-header-inner {
  min-height: clamp(88px, 9vw, 112px);
  gap: var(--space-16);
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
  align-items: flex-end;
}

.hfix-brand-wrap {
  gap: 0.75rem;
  min-width: 0;
  align-items: flex-end;
}

.hfix-site-logo {
  margin: 0 0 -72px 0 !important;
  position: relative;
  z-index: 4;
  line-height: 0;
}

.hfix-site-logo .custom-logo-link {
  display: inline-block;
  line-height: 0;
}

.hfix-site-logo img {
  display: block;
  width: auto;
  height: clamp(90px, 11.2vw, 153px) !important;
  max-width: min(76vw, 760px);
  object-fit: contain;
  border-radius: 0.55rem;
  filter: drop-shadow(0 10px 20px rgba(5, 29, 55, 0.35));
  transform: none;
  transform-origin: left bottom;
}

.hfix-site-title {
  margin: 0 !important;
  font-size: clamp(0.95rem, 1vw, 1.08rem);
  font-weight: 600;
  padding-bottom: 0.5rem;
}

.hfix-site-title a,
.hfix-nav .wp-block-navigation-item__content {
  color: #edf6ff !important;
  text-decoration: none !important;
}

.hfix-nav .wp-block-navigation-item__content {
  font-family: "Source Sans 3", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.98rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  padding: 0.5rem 0.85rem !important;
  transition: background-color 180ms ease, color 180ms ease;
}

.hfix-nav .wp-block-navigation-item__content:hover,
.hfix-nav .wp-block-navigation-item__content:focus-visible,
.hfix-site-title a:hover {
  color: #ffe0bf !important;
  background: rgba(255, 255, 255, 0.08);
}

.hfix-main {
  margin-top: var(--space-32);
  margin-bottom: var(--space-40);
  gap: var(--space-32);
}

.hfix-main > * + * {
  margin-block-start: var(--space-32);
}

.hfix-hero,
.hfix-home-section,
.hfix-page-intro,
.hfix-article-intro,
.hfix-search-panel,
.hfix-quick-steps,
.hfix-related-guides,
.hfix-toc-wrap,
.hfix-help-card,
.hfix-breadcrumb-wrap {
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.96), rgba(241, 248, 255, 0.95)),
    radial-gradient(circle at 88% 12%, rgba(255, 145, 34, 0.14), transparent 35%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.hfix-hero,
.hfix-home-section,
.hfix-page-intro,
.hfix-article-intro,
.hfix-help-card,
.hfix-breadcrumb-wrap {
  padding: clamp(var(--space-16), 2vw, var(--space-24));
}

.hfix-eyebrow {
  color: var(--color-accent);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-8);
}

.hfix-section-title {
  margin-bottom: var(--space-16);
}

.hfix-hero-grid {
  gap: var(--space-24);
}

.hfix-search-panel {
  padding: var(--space-16);
  border: 1px solid rgba(15, 95, 158, 0.25);
  border-radius: var(--radius-md);
  background: var(--color-surface);
}

.hfix-search-panel.is-compact {
  padding: var(--space-12);
  border-radius: var(--radius-sm);
}

.hfix-search-panel__label {
  display: block;
  margin-bottom: var(--space-8);
  font-weight: 600;
}

.hfix-search-panel__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--space-8);
  align-items: center;
}

.hfix-search-panel__row input,
.hfix-search-panel__filters select,
.hfix-native-search input[type="search"] {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(15, 94, 153, 0.3);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.85rem;
  background: #fff;
  color: var(--color-text);
}

.hfix-search-panel__filters {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--space-8);
  align-items: center;
  margin-top: var(--space-12);
}

.hfix-search-panel__filters label {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.wp-element-button,
.wp-block-button__link {
  background: linear-gradient(130deg, #0f5f9e 0%, #1a7bc6 58%, #ff8a2f 100%) !important;
  border: 1px solid rgba(15, 95, 158, 0.26) !important;
  border-radius: var(--radius-pill) !important;
  color: #fff !important;
  font-weight: 600;
  transition: transform 160ms ease, filter 160ms ease;
}

.wp-element-button:hover,
.wp-block-button__link:hover {
  filter: brightness(1.04);
  transform: translateY(-1px);
}

.hfix-category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-12);
}

.hfix-category-card {
  display: grid;
  gap: var(--space-8);
  align-content: start;
  padding: var(--space-16);
  border-radius: var(--radius-md);
  border: 1px solid rgba(20, 89, 146, 0.22);
  background: linear-gradient(145deg, #ffffff, #f6fbff);
  color: var(--color-text);
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.hfix-category-card:hover {
  border-color: rgba(255, 138, 47, 0.55);
  box-shadow: 0 10px 22px rgba(9, 46, 77, 0.14);
  transform: translateY(-1px);
}

.hfix-category-card__icon {
  width: 2.1rem;
  height: 2.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.65rem;
  background: rgba(14, 99, 167, 0.12);
  color: var(--color-primary-700);
}

.hfix-category-card__icon svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;
}

.hfix-category-card__title {
  font-family: "Manrope", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

.hfix-category-card__meta,
.hfix-category-card__count {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.hfix-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-16);
}

.hfix-guide-card {
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--color-surface);
  border: 1px solid var(--border-color);
  box-shadow: 0 8px 18px rgba(13, 53, 89, 0.1);
  display: grid;
  grid-template-rows: auto 1fr;
}

.hfix-guide-card__cover {
  aspect-ratio: 16 / 9;
  display: block;
  background: linear-gradient(135deg, #deedf9, #f8fbff);
}

.hfix-guide-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hfix-guide-card__placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--color-primary-700);
  font-weight: 700;
}

.hfix-guide-card__body {
  padding: var(--space-16);
  display: grid;
  gap: var(--space-8);
}

.hfix-guide-card__meta {
  margin: 0;
  display: flex;
  justify-content: space-between;
  gap: var(--space-8);
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.hfix-guide-card__title {
  margin: 0;
  font-size: 1.2rem;
}

.hfix-guide-card__title a {
  color: inherit;
  text-decoration: none;
}

.hfix-guide-card__title a:hover {
  color: var(--color-primary-700);
}

.hfix-guide-card__excerpt {
  margin: 0;
  color: var(--color-text-muted);
}

.hfix-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
  margin-top: var(--space-16);
}

.hfix-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.8rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(15, 94, 153, 0.25);
  background: #fff;
  color: var(--color-primary-700);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.94rem;
}

.hfix-chip.is-active,
.hfix-chip:hover {
  border-color: rgba(255, 138, 47, 0.55);
  background: rgba(255, 138, 47, 0.12);
  color: var(--color-primary-900);
}

.hfix-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-12);
}

.hfix-trust-card {
  padding: var(--space-16);
  border-radius: var(--radius-md);
  border: 1px solid rgba(20, 89, 146, 0.2);
  background: #fff;
}

.hfix-trust-card h3 {
  margin-top: 0;
  margin-bottom: var(--space-8);
}

.hfix-trust-card p {
  margin: 0;
  color: var(--color-text-muted);
}

.hfix-breadcrumb {
  font-size: 0.9rem;
}

.hfix-breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
}

.hfix-breadcrumb li {
  display: inline-flex;
  align-items: center;
  color: var(--color-text-muted);
}

.hfix-breadcrumb li + li::before {
  content: ">";
  margin-right: 0.35rem;
  color: rgba(77, 102, 125, 0.75);
}

.hfix-quick-steps,
.hfix-related-guides,
.hfix-toc-wrap {
  padding: var(--space-16);
}

.hfix-quick-steps h2,
.hfix-related-guides h2,
.hfix-toc-wrap h2 {
  margin-top: 0;
}

.hfix-quick-steps ol {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: var(--space-8);
}

.hfix-article-columns {
  gap: var(--space-24);
}

.hfix-toc-wrap {
  position: sticky;
  top: var(--space-24);
}

.hfix-toc-wrap p {
  margin-top: 0;
  color: var(--color-text-muted);
}

.hfix-toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-8);
}

.hfix-toc-list li a {
  display: block;
  padding: 0.35rem 0.6rem;
  border-left: 3px solid rgba(15, 95, 158, 0.28);
  border-radius: 0.35rem;
  background: rgba(15, 95, 158, 0.05);
  text-decoration: none;
  color: var(--color-text);
}

.hfix-toc-list li.is-sublevel a {
  margin-left: 0.85rem;
}

.hfix-toc-list li a:hover {
  border-left-color: var(--color-accent);
  background: rgba(255, 138, 47, 0.1);
}

.hfix-help-card h2 {
  margin-top: 0;
}

.hfix-help-card p {
  color: var(--color-text-muted);
}

.hfix-empty-note {
  margin: 0;
  padding: var(--space-16);
  border: 1px dashed rgba(20, 89, 146, 0.35);
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  background: rgba(255, 255, 255, 0.8);
}

.hfix-pagination ul {
  list-style: none;
  margin: var(--space-24) 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
}

.hfix-pagination a,
.hfix-pagination span {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(15, 94, 153, 0.25);
  background: #fff;
  text-decoration: none;
  padding: 0 0.85rem;
}

.hfix-pagination .current {
  border-color: rgba(255, 138, 47, 0.55);
  background: rgba(255, 138, 47, 0.14);
}

.hfix-faq-overview {
  display: grid;
  gap: var(--space-12);
}

.hfix-faq-overview details {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: #fff;
  padding: var(--space-12) var(--space-16);
}

.hfix-faq-overview summary {
  font-weight: 600;
  cursor: pointer;
}

.hfix-faq-overview p {
  color: var(--color-text-muted);
  margin-bottom: 0;
}

.wp-block-group.is-style-hfix-tip-box,
.wp-block-group.is-style-hfix-warning-box,
.wp-block-group.is-style-hfix-info-box {
  padding: var(--space-16);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(15, 94, 153, 0.25);
  background: #fff;
}

.wp-block-group.is-style-hfix-tip-box {
  border-left: 4px solid var(--color-success);
}

.wp-block-group.is-style-hfix-warning-box {
  border-left: 4px solid var(--color-warning);
}

.wp-block-group.is-style-hfix-info-box {
  border-left: 4px solid var(--color-primary-700);
}

.hfix-footer-shell {
  margin-top: var(--space-56);
  background: linear-gradient(130deg, rgba(8, 53, 92, 0.96), rgba(11, 72, 120, 0.93));
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hfix-footer-inner {
  gap: var(--space-12);
  padding-top: var(--space-16);
  padding-bottom: var(--space-16);
}

.hfix-footer-brand,
.hfix-footer-nav .wp-block-navigation-item__content {
  color: #edf6ff !important;
}

.hfix-footer-brand {
  margin: 0;
  font-size: 0.95rem;
}

.hfix-footer-nav .wp-block-navigation-item__content {
  border-radius: var(--radius-pill);
  padding: 0.35rem 0.7rem !important;
}

.hfix-footer-nav .wp-block-navigation-item__content:hover {
  background: rgba(255, 255, 255, 0.12);
}

@media (max-width: 1279px) {
  .hfix-guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hfix-main {
    margin-top: var(--space-24);
  }
}

@media (max-width: 1024px) {
  body {
    font-size: 1rem;
  }

  .hfix-header-inner {
    min-height: 92px;
    flex-wrap: wrap !important;
  }

  .hfix-site-logo {
    margin-bottom: -40px !important;
  }

  .hfix-site-logo img {
    height: clamp(67px, 14vw, 105px) !important;
    max-width: min(84vw, 520px);
  }

  .hfix-nav {
    width: 100%;
  }

  .hfix-trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hfix-article-columns {
    display: block;
  }

  .hfix-toc-wrap {
    position: static;
    margin-top: var(--space-16);
  }
}

@media (max-width: 768px) {
  .hfix-main {
    margin-top: var(--space-16);
    gap: var(--space-24);
  }

  .hfix-main > * + * {
    margin-block-start: var(--space-24);
  }

  .hfix-search-sticky {
    position: sticky;
    top: 0.35rem;
    z-index: 25;
  }

  .hfix-search-panel__row {
    grid-template-columns: 1fr;
  }

  .hfix-search-panel__filters {
    grid-template-columns: 1fr;
  }

  .hfix-category-grid {
    grid-template-columns: 1fr;
  }

  .hfix-guide-grid,
  .hfix-trust-grid {
    grid-template-columns: 1fr;
  }

  .hfix-filter-chips {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: var(--space-4);
  }

  .hfix-chip {
    white-space: nowrap;
  }

  .hfix-site-logo {
    margin-bottom: -28px !important;
  }

  .hfix-site-logo img {
    height: clamp(57px, 16.8vw, 90px) !important;
  }
}

@media (max-width: 480px) {
  .hfix-header-inner,
  .hfix-hero,
  .hfix-home-section,
  .hfix-page-intro,
  .hfix-article-intro,
  .hfix-help-card,
  .hfix-breadcrumb-wrap,
  .hfix-search-panel,
  .hfix-quick-steps,
  .hfix-related-guides,
  .hfix-toc-wrap {
    padding: var(--space-12);
  }

  .hfix-nav .wp-block-navigation-item__content {
    padding: 0.45rem 0.7rem !important;
    font-size: 0.95rem;
  }

  .hfix-footer-brand {
    font-size: 0.9rem;
  }

  .hfix-site-logo {
    margin-bottom: -20px !important;
  }

  .hfix-site-logo img {
    height: clamp(50px, 18.2vw, 73px) !important;
  }
}

@media (max-width: 782px) {
  .hfix-nav .wp-block-navigation__responsive-container.is-menu-open {
    position: fixed !important;
    inset: 0 !important;
    z-index: 100000 !important;
    width: 100vw !important;
    height: 100dvh !important;
    min-height: 100dvh !important;
    padding: 0 !important;
    overflow-y: auto !important;
    color: #fff !important;
    background:
      radial-gradient(circle at 88% 12%, rgba(255, 138, 47, 0.22), transparent 15rem),
      linear-gradient(145deg, #083d70 0%, #0b568f 100%) !important;
  }

  .hfix-nav .wp-block-navigation__responsive-container-content {
    width: 100%;
    padding: 5.5rem 1.5rem 2rem !important;
    align-items: stretch !important;
  }

  .hfix-nav .wp-block-navigation__container {
    width: 100%;
    gap: 0 !important;
    align-items: stretch !important;
  }

  .hfix-nav .wp-block-navigation-item {
    width: 100%;
  }

  .hfix-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
    width: 100%;
    padding: 1rem 0.25rem !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 0 !important;
    color: #fff !important;
    font-size: 1.12rem;
    text-align: left;
  }

  .hfix-nav .wp-block-navigation__responsive-container-close {
    top: 1.25rem;
    right: 1.25rem;
    color: #fff;
  }

  .hfix-nav .wp-block-navigation__responsive-container-close svg {
    width: 30px;
    height: 30px;
  }
}

/* Archive search: WordPress may insert line breaks into shortcode markup. */
.hfix-search-panel br {
  display: none;
}

@media (min-width: 783px) {
  .hfix-search-sticky .hfix-search-panel form {
    display: grid;
    grid-template-areas:
      "label filter"
      "search filter";
    grid-template-columns: minmax(0, 2fr) minmax(14rem, 0.72fr);
    gap: 0.45rem 1rem;
    align-items: end;
  }

  .hfix-search-sticky .hfix-search-panel__label {
    grid-area: label;
  }

  .hfix-search-sticky .hfix-search-panel__row {
    grid-area: search;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .hfix-search-sticky .hfix-search-panel__filters {
    grid-area: filter;
    grid-template-columns: 1fr;
    gap: 0.4rem;
    margin: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
    scroll-behavior: auto !important;
  }
}

/* Public Design Refresh v2 (B2B-Klarheit, Blau/Orange) */
:root {
  --color-bg: #eef4fb;
  --color-surface: #ffffff;
  --color-surface-soft: #f7fbff;
  --color-text: #17314a;
  --color-text-muted: #526a80;
  --color-primary-700: #0f5f9e;
  --color-primary-900: #0a3f70;
  --color-accent: #ff8a2f;
  --border-color: rgba(20, 82, 134, 0.18);
  --border-color-strong: rgba(20, 82, 134, 0.3);
  --shadow-card: 0 8px 18px rgba(10, 44, 74, 0.08);
  --shadow-strong: 0 14px 28px rgba(8, 35, 67, 0.18);
  --layout-max: 1840px;
  --layout-gutter: clamp(10px, 1.3vw, 24px);
}

body {
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 138, 47, 0.08), transparent 35%),
    linear-gradient(180deg, #f3f8fd 0%, #edf4fb 100%);
  font-size: 1rem;
  letter-spacing: 0.01em;
}

h1,
h2,
h3 {
  line-height: 1.18;
}

p {
  color: var(--color-text);
}

.hfix-header-shell {
  position: sticky;
  top: 0;
  backdrop-filter: blur(6px) saturate(135%);
  background: linear-gradient(118deg, #0b4f85 0%, #0f5f9e 56%, #1677bc 100%);
  border-bottom: 1px solid rgba(224, 239, 252, 0.35);
  box-shadow: var(--shadow-strong);
}

.hfix-header-shell::after {
  bottom: -18px;
  height: 18px;
  background: linear-gradient(to bottom, rgba(10, 79, 133, 0.22), rgba(10, 79, 133, 0));
}

.hfix-header-inner {
  min-height: clamp(84px, 8.2vw, 104px);
  padding-top: 0.68rem;
  padding-bottom: 0.68rem;
  gap: var(--space-24);
}

.hfix-site-title {
  font-size: 0.94rem;
  letter-spacing: 0.02em;
  opacity: 0.98;
}

.hfix-nav .wp-block-navigation-item__content {
  border: 1px solid transparent;
  padding: 0.45rem 0.76rem !important;
}

.hfix-nav .wp-block-navigation-item__content:hover,
.hfix-nav .wp-block-navigation-item__content:focus-visible {
  border-color: rgba(255, 138, 47, 0.5);
  background: rgba(255, 255, 255, 0.16);
  color: #fff4e8 !important;
}

.hfix-main {
  margin-top: var(--space-24);
  margin-bottom: var(--space-56);
  gap: var(--space-24);
}

.hfix-main > * + * {
  margin-block-start: var(--space-24);
}

.hfix-hero,
.hfix-home-section,
.hfix-page-intro,
.hfix-article-intro,
.hfix-search-panel,
.hfix-quick-steps,
.hfix-related-guides,
.hfix-toc-wrap,
.hfix-help-card,
.hfix-breadcrumb-wrap {
  background: var(--color-surface);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  box-shadow: var(--shadow-card);
}

.hfix-hero,
.hfix-home-section,
.hfix-page-intro,
.hfix-article-intro,
.hfix-help-card,
.hfix-breadcrumb-wrap {
  padding: clamp(1rem, 1.6vw, 1.45rem);
}

.hfix-hero {
  border-top: 4px solid rgba(255, 138, 47, 0.8);
}

.hfix-eyebrow {
  font-size: 0.86rem;
  letter-spacing: 0.12em;
}

.hfix-section-title {
  margin-bottom: var(--space-12);
}

.hfix-hero-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: var(--space-24);
  align-items: start;
}

.hfix-hero-grid > .wp-block-column {
  flex-basis: auto !important;
  min-width: 0;
}

.hfix-search-panel {
  background: var(--color-surface-soft);
  border-color: var(--border-color-strong);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.hfix-search-panel__row input,
.hfix-search-panel__filters select,
.hfix-native-search input[type="search"] {
  border-color: rgba(17, 95, 157, 0.34);
  background: #fff;
  font-size: 0.98rem;
}

.hfix-search-panel__row input:focus,
.hfix-search-panel__filters select:focus,
.hfix-native-search input[type="search"]:focus {
  border-color: rgba(255, 138, 47, 0.72);
  box-shadow: 0 0 0 3px rgba(255, 176, 104, 0.3);
  outline: none;
}

.wp-element-button,
.wp-block-button__link {
  background: var(--color-primary-700) !important;
  border-color: rgba(11, 81, 133, 0.42) !important;
  box-shadow: 0 4px 10px rgba(11, 81, 133, 0.22);
}

.wp-element-button:hover,
.wp-block-button__link:hover {
  background: linear-gradient(125deg, #0d5b97 0%, #0e6cb1 82%, #ff8a2f 120%) !important;
  filter: none;
}

.hfix-category-card,
.hfix-guide-card,
.hfix-trust-card,
.hfix-faq-overview details,
.hfix-empty-note {
  background: var(--color-surface);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-card);
}

.hfix-category-card:hover,
.hfix-guide-card:hover {
  border-color: rgba(255, 138, 47, 0.52);
  box-shadow: 0 12px 20px rgba(10, 44, 74, 0.12);
}

.hfix-guide-card {
  border-radius: 0.95rem;
}

.hfix-guide-card__cover {
  background: linear-gradient(135deg, #eef5fc, #f9fcff);
}

.hfix-guide-card__meta,
.hfix-guide-card__excerpt,
.hfix-trust-card p,
.hfix-help-card p,
.hfix-faq-overview p,
.hfix-breadcrumb li {
  color: var(--color-text-muted);
}

.hfix-chip {
  border-color: rgba(17, 95, 157, 0.32);
  color: var(--color-primary-900);
  background: #fff;
}

.hfix-chip.is-active,
.hfix-chip:hover {
  border-color: rgba(255, 138, 47, 0.56);
  background: rgba(255, 138, 47, 0.14);
}

.hfix-pagination a,
.hfix-pagination span {
  border-color: rgba(17, 95, 157, 0.28);
}

.hfix-toc-list li a {
  border-left-color: rgba(17, 95, 157, 0.48);
  background: rgba(17, 95, 157, 0.07);
}

.hfix-footer-shell {
  border-top: none;
  background: linear-gradient(130deg, #0a3f70 0%, #0f5f9e 78%);
}

@media (max-width: 1024px) {
  .hfix-header-inner {
    min-height: 88px;
    gap: var(--space-16);
  }

  .hfix-hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-16);
  }
}

@media (max-width: 768px) {
  .hfix-main {
    margin-top: var(--space-16);
    gap: var(--space-16);
  }

  .hfix-main > * + * {
    margin-block-start: var(--space-16);
  }

  .hfix-header-shell::after {
    bottom: -12px;
    height: 12px;
  }
}

@media (min-width: 1200px) {
  .wp-block-group.alignwide.hfix-header-inner,
  .wp-block-group.alignwide.hfix-main,
  .wp-block-group.alignwide.hfix-hero,
  .wp-block-group.alignwide.hfix-home-section,
  .wp-block-group.alignwide.hfix-page-intro,
  .wp-block-group.alignwide.hfix-article-intro,
  .wp-block-group.alignwide.hfix-search-panel,
  .wp-block-group.alignwide.hfix-breadcrumb-wrap {
    width: min(var(--layout-max), calc(100vw - (var(--layout-gutter) * 2))) !important;
    max-width: min(var(--layout-max), calc(100vw - (var(--layout-gutter) * 2))) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .hfix-main.has-global-padding,
  .hfix-hero.has-global-padding,
  .hfix-home-section.has-global-padding,
  .hfix-page-intro.has-global-padding,
  .hfix-article-intro.has-global-padding {
    padding-left: clamp(14px, 1.2vw, 22px) !important;
    padding-right: clamp(14px, 1.2vw, 22px) !important;
  }
}

/* Public Design Refresh v3 (großzügig, modern, nutzerzentriert) */
.hfix-site *,
.hfix-site *::before,
.hfix-site *::after {
  box-sizing: border-box;
}

:root {
  --layout-max: 1280px;
  --layout-gutter: clamp(18px, 3.2vw, 48px);
  --color-bg: #f2f7fc;
  --color-surface-soft: #f6faff;
  --border-color: rgba(18, 76, 126, 0.15);
  --border-color-strong: rgba(18, 76, 126, 0.26);
  --shadow-card: 0 12px 34px rgba(13, 54, 89, 0.09);
  --shadow-strong: 0 14px 34px rgba(7, 42, 73, 0.2);
}

body {
  background:
    radial-gradient(circle at 92% 4%, rgba(255, 138, 47, 0.1), transparent 27rem),
    linear-gradient(180deg, #f7fbff 0%, var(--color-bg) 38%, #eef5fb 100%);
  color: var(--color-text);
}

.wp-site-blocks {
  padding: 0 !important;
}

.hfix-header-inner,
.hfix-main,
.hfix-search-sticky,
.hfix-breadcrumb-wrap {
  width: min(var(--layout-max), calc(100vw - (var(--layout-gutter) * 2))) !important;
  max-width: min(var(--layout-max), calc(100vw - (var(--layout-gutter) * 2))) !important;
  margin-inline: auto !important;
}

.hfix-header-shell {
  background: linear-gradient(112deg, #0a4a7e 0%, #0f639f 58%, #1778b7 100%);
  border-bottom: 3px solid rgba(255, 138, 47, 0.88);
  box-shadow: 0 8px 28px rgba(7, 42, 73, 0.18);
}

.hfix-header-shell::after {
  display: none;
}

.hfix-header-inner {
  min-height: 82px;
  padding-block: 0.55rem;
  gap: clamp(1.5rem, 3vw, 3.5rem);
  align-items: center;
  flex-wrap: nowrap !important;
}

.hfix-brand-wrap {
  flex: 0 0 auto;
  align-items: center;
}

.hfix-site-logo {
  margin: 0 !important;
  flex: 0 0 auto;
}

.hfix-site-logo img {
  width: 220px !important;
  height: auto !important;
  max-width: 220px !important;
  border-radius: 0;
  filter: drop-shadow(0 7px 13px rgba(4, 28, 52, 0.28));
}

.hfix-site-title {
  display: none;
}

.hfix-nav {
  width: auto !important;
  margin-left: auto;
}

.hfix-nav .wp-block-navigation__container {
  gap: 0.12rem !important;
}

.hfix-nav .wp-block-navigation-item__content {
  padding: 0.55rem 0.72rem !important;
  font-size: 0.94rem;
  white-space: nowrap;
}

.hfix-nav .current-menu-item > .wp-block-navigation-item__content,
.hfix-nav .current-menu-ancestor > .wp-block-navigation-item__content {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 184, 123, 0.7);
  color: #fff !important;
}

.hfix-main {
  margin-top: clamp(1.5rem, 3.5vw, 3rem);
  margin-bottom: clamp(3rem, 6vw, 5rem);
  gap: 0;
}

.hfix-main > * + * {
  margin-block-start: 0;
}

.hfix-main > .hfix-hero,
.hfix-main > .hfix-home-section,
.hfix-main > .hfix-page-intro,
.hfix-main > .hfix-article-intro,
.hfix-main > .hfix-help-card,
.hfix-main > .hfix-article-columns,
.hfix-main > .hfix-guide-grid,
.hfix-main > .hfix-empty-note,
.hfix-main > .hfix-pagination,
.hfix-hero > .hfix-hero-grid,
.hfix-home-section > .hfix-section-heading,
.hfix-home-section > .hfix-guide-grid,
.hfix-home-section > .hfix-trust-grid,
.hfix-home-section > .hfix-empty-note,
.hfix-trust-section > .hfix-section-heading,
.hfix-trust-section > .hfix-trust-grid {
  width: 100% !important;
  max-width: none !important;
}

.hfix-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2.25rem, 4.5vw, 4.25rem);
  border: 1px solid rgba(18, 76, 126, 0.14);
  border-top: 4px solid var(--color-accent);
  border-radius: 1.5rem;
  background:
    radial-gradient(circle at 86% 12%, rgba(20, 119, 184, 0.11), transparent 24rem),
    radial-gradient(circle at 3% 95%, rgba(255, 138, 47, 0.08), transparent 20rem),
    #fff;
  box-shadow: 0 22px 58px rgba(12, 51, 84, 0.12);
}

.hfix-hero::before {
  content: "";
  position: absolute;
  width: 19rem;
  height: 19rem;
  right: -7rem;
  top: -8rem;
  border: 1px solid rgba(15, 95, 158, 0.1);
  border-radius: 50%;
  box-shadow: 0 0 0 3.5rem rgba(15, 95, 158, 0.035);
  pointer-events: none;
}

.hfix-hero > * {
  position: relative;
  z-index: 1;
}

.hfix-hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(31rem, 0.95fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.hfix-hero-copy h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(2.65rem, 4.7vw, 4.35rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  text-wrap: balance;
  overflow-wrap: normal;
  word-break: normal;
}

.hfix-eyebrow,
.hfix-section-kicker {
  display: block;
  margin: 0 0 0.65rem;
  color: #dc6813;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.35;
  text-transform: uppercase;
}

.hfix-hero-copy > p:not(.hfix-eyebrow):not(.hfix-hero-proof) {
  max-width: 36rem;
  margin: 1.4rem 0 0;
  color: var(--color-text-muted);
  font-size: clamp(1.06rem, 1.5vw, 1.2rem);
  line-height: 1.65;
}

.hfix-hero-copy > .hfix-search-panel {
  width: 100% !important;
  max-width: 39rem !important;
  margin-top: 1.7rem;
}

.hfix-search-panel {
  padding: 1.25rem;
  border-radius: 1.05rem;
  background: rgba(246, 250, 255, 0.95);
  box-shadow: none;
}

.hfix-search-panel__label {
  margin-bottom: 0.7rem;
  color: var(--color-text);
  font-size: 1rem;
}

.hfix-search-panel__row {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.65rem;
}

.hfix-search-panel__row input,
.hfix-search-panel__filters select,
.hfix-native-search input[type="search"] {
  min-height: 52px;
  padding-inline: 1rem;
  border-radius: 0.8rem;
}

.hfix-search-panel__row .wp-element-button {
  min-height: 52px;
  padding-inline: 1.4rem;
  white-space: nowrap;
}

.hfix-search-panel__filters {
  grid-template-columns: auto minmax(12rem, 1fr);
  margin-top: 0.75rem;
}

.hfix-hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  margin: 1.1rem 0 0;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.hfix-hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
}

.hfix-hero-proof span::before {
  content: "✓";
  display: inline-grid;
  width: 1.2rem;
  height: 1.2rem;
  place-items: center;
  border-radius: 50%;
  background: rgba(30, 142, 90, 0.12);
  color: var(--color-success);
  font-size: 0.72rem;
  font-weight: 700;
}

.hfix-category-heading {
  margin: 0 0 1.2rem;
  font-size: clamp(1.55rem, 2.2vw, 2rem);
  letter-spacing: -0.025em;
}

.hfix-category-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.hfix-category-card {
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto 1fr auto;
  column-gap: 0.85rem;
  row-gap: 0.35rem;
  min-height: 142px;
  padding: 1.05rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 8px 24px rgba(12, 51, 84, 0.07);
}

.hfix-category-card:last-child {
  grid-column: 1 / -1;
  min-height: 120px;
}

.hfix-category-card__icon {
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 0.8rem;
  background: linear-gradient(145deg, #e4f1fb, #f1f7fd);
}

.hfix-category-card__title,
.hfix-category-card__meta,
.hfix-category-card__count {
  grid-column: 2;
}

.hfix-category-card__title {
  align-self: center;
  font-size: 1.02rem;
  overflow-wrap: break-word;
}

.hfix-category-card__meta {
  align-self: start;
  font-size: 0.88rem;
  line-height: 1.45;
}

.hfix-category-card__count {
  justify-self: start;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-pill);
  background: rgba(15, 95, 158, 0.08);
  color: var(--color-primary-700);
  font-size: 0.78rem;
  font-weight: 600;
}

.hfix-home-section {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hfix-section-heading {
  margin: 0 0 2rem;
}

.hfix-section-title {
  max-width: 22ch;
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.hfix-section-intro {
  max-width: 44rem;
  margin: 0.85rem 0 0;
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

.hfix-guide-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
}

.hfix-guide-card {
  border-radius: 1.15rem;
  box-shadow: 0 12px 32px rgba(12, 51, 84, 0.09);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.hfix-guide-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(12, 51, 84, 0.13);
}

.hfix-guide-card__body {
  padding: 1.35rem;
}

.hfix-empty-note {
  display: grid;
  gap: 0.35rem;
  padding: 1.6rem 1.75rem;
  border: 1px dashed rgba(15, 95, 158, 0.3);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.72);
}

.hfix-empty-note strong {
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--color-text);
}

.hfix-empty-note span {
  color: var(--color-text-muted);
}

.hfix-trust-section {
  padding: clamp(2rem, 4vw, 3.25rem);
  border: 1px solid rgba(15, 95, 158, 0.13);
  border-radius: 1.5rem;
  background:
    radial-gradient(circle at 95% 0%, rgba(255, 138, 47, 0.12), transparent 18rem),
    linear-gradient(135deg, #edf6fd 0%, #f8fbfe 100%);
  box-shadow: 0 14px 38px rgba(12, 51, 84, 0.07);
}

.hfix-trust-grid {
  gap: 1rem;
}

.hfix-trust-card {
  position: relative;
  padding: 1.45rem 1.45rem 1.45rem 4.25rem;
  border-radius: 1rem;
  box-shadow: none;
}

.hfix-trust-card::before {
  content: "✓";
  position: absolute;
  left: 1.35rem;
  top: 1.4rem;
  display: grid;
  width: 2.1rem;
  height: 2.1rem;
  place-items: center;
  border-radius: 0.7rem;
  background: rgba(15, 95, 158, 0.1);
  color: var(--color-primary-700);
  font-weight: 700;
}

.hfix-trust-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.12rem;
}

.hfix-help-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: 100% !important;
  max-width: none !important;
  margin-top: clamp(2rem, 5vw, 4rem);
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: 1.4rem;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 138, 47, 0.16), transparent 18rem),
    linear-gradient(125deg, #0a4a7e 0%, #0f639f 100%);
  color: #fff;
}

.hfix-help-card h2,
.hfix-help-card p,
.hfix-help-card .hfix-section-kicker {
  color: #fff;
}

.hfix-help-card h2 {
  margin: 0;
  font-size: clamp(1.55rem, 2.4vw, 2.2rem);
}

.hfix-help-card p {
  max-width: 44rem;
  margin: 0.65rem 0 0;
  color: rgba(239, 247, 255, 0.88);
}

.hfix-help-card__actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 1rem;
}

.hfix-help-card .wp-element-button {
  background: #fff !important;
  border-color: #fff !important;
  color: var(--color-primary-900) !important;
  box-shadow: none;
  white-space: nowrap;
}

.hfix-text-link {
  color: #fff !important;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.55);
}

.hfix-breadcrumb-wrap {
  margin-top: 1.25rem !important;
  padding: 0.8rem 1rem;
  border: 0;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: none;
}

.hfix-page-intro,
.hfix-article-intro {
  padding: clamp(2rem, 4vw, 3.4rem);
  border-radius: 1.35rem;
  background:
    radial-gradient(circle at 95% 5%, rgba(255, 138, 47, 0.1), transparent 18rem),
    #fff;
}

.hfix-page-intro h1,
.hfix-article-intro h1 {
  max-width: 23ch;
  margin-top: 0;
  font-size: clamp(2.15rem, 4vw, 3.55rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.hfix-page-intro > p,
.hfix-article-intro .wp-block-post-excerpt__excerpt {
  max-width: 48rem;
  color: var(--color-text-muted);
  font-size: 1.08rem;
}

.hfix-search-sticky {
  position: sticky;
  top: 92px;
  z-index: 20;
  margin-top: 1rem !important;
}

.hfix-search-sticky > .hfix-search-panel {
  width: 100% !important;
  max-width: none !important;
  padding: 0.8rem 1rem;
  box-shadow: 0 10px 28px rgba(12, 51, 84, 0.1);
}

.hfix-archive-page > .hfix-guide-grid,
.hfix-archive-page > .hfix-empty-note,
.hfix-single-layout > .hfix-article-columns {
  margin-top: 2rem;
}

.hfix-article-columns {
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: flex-start !important;
}

.hfix-single-layout .hfix-article-columns > .wp-block-column:first-child {
  padding: clamp(1.25rem, 3vw, 2.5rem);
  border: 1px solid var(--border-color);
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: var(--shadow-card);
}

.hfix-single-layout .wp-block-post-content {
  max-width: 72ch !important;
  margin-inline: auto;
  font-size: 1.075rem;
  line-height: 1.75;
}

.hfix-single-layout .wp-block-post-content h2 {
  margin-top: 2.4em;
  scroll-margin-top: 8rem;
}

.hfix-single-layout .wp-block-post-content h3 {
  margin-top: 1.8em;
}

.hfix-toc-wrap {
  top: 108px;
  padding: 1.25rem;
  border-radius: 1rem;
  box-shadow: none;
}

.hfix-faq-overview,
.hfix-main > .wp-block-post-content {
  width: 100% !important;
  max-width: 52rem !important;
}

.hfix-faq-overview details {
  padding: 1rem 1.2rem;
  box-shadow: none;
}

.hfix-footer-shell {
  margin-top: 0;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 138, 47, 0.16), transparent 18rem),
    linear-gradient(125deg, #083d70 0%, #0d5790 100%);
}

.hfix-footer-inner {
  width: min(var(--layout-max), calc(100vw - (var(--layout-gutter) * 2))) !important;
  max-width: min(var(--layout-max), calc(100vw - (var(--layout-gutter) * 2))) !important;
  margin-inline: auto !important;
  padding-block: 2.25rem;
  gap: 2rem;
}

.hfix-footer-brand-wrap {
  gap: 0.1rem;
}

.hfix-footer-brand {
  color: #fff !important;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
}

.hfix-footer-claim {
  margin: 0;
  color: rgba(237, 246, 255, 0.78);
  font-size: 0.92rem;
}

@media (max-width: 1120px) {
  .hfix-site-logo img {
    width: 190px !important;
    max-width: 190px !important;
  }

  .hfix-header-inner {
    gap: 1.25rem;
  }

  .hfix-nav .wp-block-navigation-item__content {
    padding-inline: 0.52rem !important;
    font-size: 0.88rem;
  }

  .hfix-hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hfix-hero-copy h1,
  .hfix-hero-copy > p:not(.hfix-eyebrow):not(.hfix-hero-proof),
  .hfix-hero-copy > .hfix-search-panel {
    max-width: 48rem !important;
  }

  .hfix-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hfix-category-card:last-child {
    grid-column: auto;
  }

  .hfix-guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 782px) {
  :root {
    --layout-gutter: 16px;
  }

  .hfix-header-inner {
    min-height: 72px;
    padding-block: 0.4rem;
    flex-wrap: nowrap !important;
  }

  .hfix-site-logo img {
    width: 160px !important;
    max-width: 160px !important;
  }

  .hfix-nav {
    width: auto !important;
  }

  .hfix-main {
    margin-top: 1.25rem;
  }

  .hfix-hero {
    padding: 1.6rem;
    border-radius: 1.2rem;
  }

  .hfix-hero-grid {
    gap: 2.3rem;
  }

  .hfix-hero-copy h1 {
    max-width: 14ch;
    font-size: clamp(2.25rem, 10vw, 3.25rem);
  }

  .hfix-search-panel__row,
  .hfix-search-panel__filters {
    grid-template-columns: 1fr;
  }

  .hfix-search-panel__row .wp-element-button {
    width: 100%;
  }

  .hfix-category-grid,
  .hfix-guide-grid,
  .hfix-trust-grid {
    grid-template-columns: 1fr;
  }

  .hfix-category-card,
  .hfix-category-card:last-child {
    grid-column: auto;
    min-height: 0;
  }

  .hfix-home-section {
    padding-block: 3.5rem;
  }

  .hfix-trust-section {
    padding: 1.5rem;
  }

  .hfix-help-card {
    align-items: flex-start;
    flex-direction: column;
    padding: 1.6rem;
  }

  .hfix-help-card__actions {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
  }

  .hfix-help-card__actions .wp-element-button,
  .hfix-help-card__actions .hfix-text-link {
    display: inline-flex;
    justify-content: center;
    text-align: center;
  }

  .hfix-search-sticky {
    top: 78px;
  }

  .hfix-article-columns {
    display: block;
  }

  .hfix-single-layout .hfix-article-columns > .wp-block-column:first-child {
    padding: 1.2rem;
  }

  .hfix-footer-inner {
    align-items: flex-start !important;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  :root {
    --layout-gutter: 12px;
  }

  .hfix-site-logo img {
    width: 148px !important;
    max-width: 148px !important;
  }

  .hfix-hero {
    padding: 1.25rem;
  }

  .hfix-hero-copy h1 {
    font-size: clamp(2rem, 10.5vw, 2.75rem);
  }

  .hfix-search-panel {
    padding: 1rem;
  }

  .hfix-hero-proof {
    display: grid;
  }

  .hfix-page-intro,
  .hfix-article-intro,
  .hfix-trust-section,
  .hfix-help-card {
    padding: 1.25rem;
    border-radius: 1rem;
  }
}

