@font-face {
  font-family: RedHatDisplay;
  src: url('/experts/fonts/RedHatDisplay/RedHatDisplay-Regular.woff');
  font-style: normal;
  font-weight: 400;
  text-rendering: optimizelegibility;
}

@font-face {
  font-family: RedHatDisplay;
  src: url('/experts/fonts/RedHatDisplay/RedHatDisplay-Medium.woff');
  font-style: normal;
  font-weight: 500;
  text-rendering: optimizelegibility;
}

@font-face {
  font-family: RedHatDisplay;
  src: url('/experts/fonts/RedHatDisplay/RedHatDisplay-Bold.woff');
  font-style: normal;
  font-weight: 700;
  text-rendering: optimizelegibility;
}

@font-face {
  font-family: RedHatText;
  src: url('/experts/fonts/RedHatText/RedHatText-Regular.woff');
  font-style: normal;
  font-weight: 400;
  text-rendering: optimizelegibility;
}

@font-face {
  font-family: RedHatText;
  src: url('/experts/fonts/RedHatText/RedHatText-Medium.woff');
  font-style: normal;
  font-weight: 500;
  text-rendering: optimizelegibility;
}

@font-face {
  font-family: RedHatMono;
  src: url('/experts/fonts/RedHatMono/RedHatMono-Bold.woff2') format('woff2');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: RedHatMono;
  src: url('/experts/fonts/RedHatMono/RedHatMono-BoldItalic.woff2') format('woff2');
  font-weight: bold;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: RedHatMono;
  src: url('/experts/fonts/RedHatMono/RedHatMono-Italic.woff2') format('woff2');
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: RedHatMono;
  src: url('/experts/fonts/RedHatMono/RedHatMono-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: RedHatMono;
  src: url('/experts/fonts/RedHatMono/RedHatMono-LightItalic.woff2') format('woff2');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: RedHatMono;
  src: url('/experts/fonts/RedHatMono/RedHatMono-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: RedHatMono;
  src: url('/experts/fonts/RedHatMono/RedHatMono-MediumItalic.woff2') format('woff2');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: RedHatMono;
  src: url('/experts/fonts/RedHatMono/RedHatMono-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: RedHatMono;
  src: url('/experts/fonts/RedHatMono/RedHatMono-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: RedHatMono;
  src: url('/experts/fonts/RedHatMono/RedHatMono-SemiBoldItalic.woff2') format('woff2');
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

html, body {
  margin: 0;
  padding: 0;
}

/* Smooth scroll for in-page links (e.g. rh-back-to-top href="#top"); skip if user prefers reduced motion */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/*
 * In-page anchors (jump links, TOC): offset for sticky rh-navigation-secondary
 * (rh-navigation-secondary-lightdom.css: position sticky; top 0; min-height 80px / 86px ≥992px).
 */
:root {
  --site-sticky-nav-offset: calc(80px + var(--rh-space-md, 8px));
}

@media screen and (min-width: 992px) {
  :root {
    --site-sticky-nav-offset: calc(86px + var(--rh-space-md, 8px));
  }
}

main :is(h1, h2, h3, h4, h5, h6)[id] {
  scroll-margin-top: var(--site-sticky-nav-offset);
}

*, *:after, *:before {
  box-sizing: border-box;
}

[aria-hidden=true] {
  display: none;
}

body {
  color: #222;
  font-family: var(--rh-font-family-body-text, RedHatText, 'Red Hat Text', 'Noto Sans Arabic', 'Noto Sans Hebrew', 'Noto Sans JP', 'Noto Sans KR', 'Noto Sans Malayalam', 'Noto Sans SC', 'Noto Sans TC', 'Noto Sans Thai', Helvetica, Arial, sans-serif);
  font-size: var(--rh-font-size-body-text-lg, 1.125rem);
  line-height: var(--rh-line-height-body-text, 1.5);
}

a,
a:visited {
  color: var(--rh-color-interactive-blue-darker, #0066cc);
}

a:hover, 
a:focus {
  color: var(--rh-color-interactive-blue-darkest, #004080);
}

:is(h1, h2, h3, h4, h5, h6) {
  font-family: var(--rh-font-family-heading, RedHatDisplay, 'Red Hat Display', 'Noto Sans Arabic', 'Noto Sans Hebrew', 'Noto Sans JP', 'Noto Sans KR', 'Noto Sans Malayalam', 'Noto Sans SC', 'Noto Sans TC', 'Noto Sans Thai', Helvetica, Arial, sans-serif);
  font-weight: var(--rh-font-weight-heading-medium, 500);
}

h1,
.h1 {
  font-size: var(--rh-font-size-heading-2xl, 3rem);
}

h2,
.h2 {
  font-size: var(--rh-font-size-heading-xl, 2.5rem);
}

h3,
.h3 {
  font-size: var(--rh-font-size-heading-lg, 2.25rem);
}

h4,
.h4 {
  font-size: var(--rh-font-size-heading-md, 1.75rem);
}

h5,
.h5 {
  font-size: var(--rh-font-size-heading-sm, 1.5rem);
}

h6,
.h6 {
  font-size: var(--rh-font-size-heading-xs, 1.25rem);
}

:is(h1, h2, h3, h4, h5, h6),
p {
  max-width: 60rem;
}

h1,
p {
  margin-block: 0 var(--rh-space-xl, 24px);
}

:is(h2, h3, h4, h5, h6) {
  margin-block: var(--rh-space-xl, 24px) var(--rh-space-lg, 16px);
}

img {
  max-width: 100%;
  height: auto;
}

pre {
  padding: var(--rh-space-xl, 24px);
  overflow: scroll;
}

header {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--rh-space-md, 8px);
  background-color: var(--rh-color-gray-90, #151515);
  color: var(--rh-color-text-primary-on-dark, #ffffff);
  padding: var(--rh-space-md, 8px);
  height: auto;
  overflow: visible;
  position: relative;
  z-index: 200;
}

header .logo {
  margin-inline-start: var(--rh-space-md, 8px);
  height: auto;
  flex: 0 0 auto;
  align-self: flex-start;
}

/* Scope to logo only — avoid styling Pagefind result links in the search drawer */
header .logo a {
  display: inline-flex;
  align-items: center;
  height: 100%;
}

header :is(img, svg) {
  max-width: 169px;
}

@media screen and (min-width: 768px) {
  header {
    flex-direction: row;
    align-items: center;
    gap: 0;
    height: 72px;
    padding: var(--rh-space-md, 8px) var(--rh-space-xl, 24px);
  }

  header .logo {
    margin-inline-start: var(--rh-space-2xl, 32px);
    height: 100%;
    align-self: center;
  }
}

/*
 * Header search: RHDS search bar pattern — light field on dark chrome
 * https://ux.redhat.com/patterns/search-bar/
 * Rules are flattened (no nesting) so Hugo’s CSS minifier does not emit invalid nested CSS.
 */
header .site-header__search {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: none;
  min-width: 0;
  margin-inline: 0;
  flex: none;
  justify-content: stretch;
}

header .site-header__search-stack {
  display: flex;
  flex-direction: column;
  gap: var(--rh-space-sm, 6px);
  width: 100%;
  min-width: 0;
}

@media screen and (min-width: 768px) {
  header .site-header__search {
    margin-inline-start: auto;
    margin-inline-end: var(--rh-space-2xl, 32px);
    width: auto;
    max-width: min(32rem, 100%);
    flex: 1 1 auto;
    justify-content: flex-end;
  }

  header .site-header__pagefind {
    align-self: center;
  }
}

header .site-header__pagefind {
  position: relative;
  z-index: 250;
  flex: 1 1 auto;
  align-self: stretch;
  min-width: 0;
  width: 100%;
  /*
   * Visual match: developers.redhat.com universal nav search (PFE .pfe-navigation__search--default-styles)
   * — padding 10px, #f0f0f0 / #8b8e91 field, #717579 text, 8px gap, #e00 button, 2px radius (not the expand/collapse UX).
   */
  --pagefind-ui-scale: 0.82;
  --rh-search-red: #e00;
  --dev-rhd-search-field-border: #f0f0f0;
  --dev-rhd-search-field-border-bottom: #8b8e91;
  --dev-rhd-search-muted: #717579;
  --dev-rhd-search-gap: 8px;
  --pagefind-ui-font: var(--rh-font-family-body-text, RedHatText, 'Red Hat Text', Helvetica, Arial, sans-serif);
  --pagefind-ui-text: var(--rh-color-text-primary-on-light, #151515);
  --pagefind-ui-background: var(--rh-color-white, #ffffff);
  --pagefind-ui-border: var(--rh-color-border-subtle-on-light, #c7c7c7);
  --pagefind-ui-border-width: 1px;
  --pagefind-ui-border-radius: 2px;
  --pagefind-ui-primary: var(--rh-color-interactive-blue-darker, #0066cc);
  --pagefind-ui-tag: var(--rh-color-surface-lighter, #f2f2f2);
}

header .site-header__pagefind .pagefind-ui__form {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--dev-rhd-search-gap, 8px);
  width: 100%;
}

/* Pagefind draws a magnifying glass on .pagefind-ui__form::before; hide it (no icon in field). */
header .site-header__pagefind .pagefind-ui__form::before {
  content: none;
  display: none;
}

header .site-header__pagefind .pagefind-ui__search-input {
  flex: 1 1 0%;
  min-width: 0;
  width: auto;
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 10px;
  font-size: var(--rh-font-size-body-text-md, 1rem);
  font-weight: 400;
  line-height: 1.5;
  color: var(--dev-rhd-search-muted, #717579);
  background-color: #ffffff;
  border: 1px solid var(--dev-rhd-search-field-border, #f0f0f0);
  border-bottom: 1px solid var(--dev-rhd-search-field-border-bottom, #8b8e91);
  border-radius: 2px;
  box-sizing: border-box;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

header .site-header__pagefind .pagefind-ui__search-input:hover:not(:focus-visible) {
  box-shadow: none;
  border-bottom-color: #06c;
}

header .site-header__pagefind .pagefind-ui__search-input::placeholder {
  color: var(--dev-rhd-search-muted, #717579);
  opacity: 1;
  font-weight: 400;
}

header .site-header__pagefind .pagefind-ui__search-input:focus {
  outline: none;
  border-color: var(--dev-rhd-search-field-border, #f0f0f0);
  border-bottom: 2px solid var(--rh-color-interactive-blue-darker, #0066cc);
  box-shadow: none;
}

header .site-header__pagefind .pagefind-ui__search-input:focus-visible {
  outline: var(--rh-border-width-md, 2px) solid var(--rh-color-interactive-blue-darker, #0066cc);
  outline-offset: 2px;
}

header .site-header__pagefind .site-header__search-submit {
  flex: 0 0 auto;
  box-sizing: border-box;
  width: 5.75rem;
  min-width: 5.75rem;
  max-width: 5.75rem;
  height: auto;
  margin: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--rh-font-family-body-text, RedHatText, 'Red Hat Text', Helvetica, Arial, sans-serif);
  font-size: var(--rh-font-size-body-text-md, 1rem);
  font-weight: 400;
  line-height: 1.5;
  padding: 10px;
  color: #ffffff;
  background-color: #e00;
  border: 1px solid #e00;
  border-radius: 2px;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

header .site-header__pagefind .site-header__search-submit:hover {
  background-color: #c00;
  border-color: #c00;
  color: #ffffff;
}

header .site-header__pagefind .site-header__search-submit:focus-visible {
  outline: var(--rh-border-width-md, 2px) solid var(--rh-color-interactive-blue-darker, #0066cc);
  outline-offset: 2px;
}

/* Inline “Clear” is replaced by the blue Clear mode on .site-header__search-submit */
header .site-header__pagefind .pagefind-ui__search-clear {
  display: none !important;
}

header .site-header__pagefind .site-header__search-submit--clear {
  color: #ffffff;
  background-color: var(--rh-color-interactive-blue-darker, #0066cc);
  border-color: var(--rh-color-interactive-blue-darker, #0066cc);
}

header .site-header__pagefind .site-header__search-submit--clear:hover {
  background-color: var(--rh-color-interactive-blue-darkest, #004080);
  border-color: var(--rh-color-interactive-blue-darkest, #004080);
  color: #ffffff;
}

header .site-header__pagefind .pagefind-ui__drawer {
  --pagefind-ui-text: var(--rh-color-text-primary-on-light, #151515);
  --pagefind-ui-background: var(--rh-color-white, #ffffff);
  --pagefind-ui-border: var(--rh-color-border-subtle-on-light, #c7c7c7);
  --pagefind-ui-primary: var(--rh-color-interactive-blue-darker, #0066cc);
  --pagefind-ui-tag: var(--rh-color-surface-lighter, #f2f2f2);
  --pagefind-ui-border-width: 1px;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 2;
  box-sizing: border-box;
  margin-top: var(--rh-space-sm, 6px);
  padding: var(--rh-space-lg, 16px);
  background: var(--rh-color-white, #ffffff);
  color: var(--rh-color-text-primary-on-light, #151515);
  border: 1px solid var(--rh-color-border-subtle-on-light, #c7c7c7);
  border-radius: var(--rh-border-radius-default, 3px);
  box-shadow: var(--rh-box-shadow-lg, 0 0.5rem 1.5rem rgba(3, 3, 3, 0.12));
  /* Height = content, capped by JS --pagefind-drawer-max-height (viewport below header) */
  max-height: var(--pagefind-drawer-max-height, calc(100dvh - 6.5rem));
  overflow-x: hidden;
  overflow-y: auto;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 0;
}

/*
 * Search results: RHDS accordion “expanded panel” + vertical nav stack (static, no toggle)
 * https://ux.redhat.com/elements/accordion/
 * https://ux.redhat.com/elements/navigation-vertical/
 */
header .site-header__pagefind .pagefind-ui__drawer .pagefind-ui__results-area {
  flex: 1 1 auto;
  min-width: 0;
  margin-top: 0;
}

header .site-header__pagefind .pagefind-ui__drawer .pagefind-ui__results {
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--rh-color-border-subtle-on-light, #c7c7c7);
  border-radius: var(--rh-border-radius-default, 3px);
  background-color: var(--rh-color-surface-lightest, #ffffff);
  overflow: hidden;
}

header .site-header__pagefind .pagefind-ui__drawer .pagefind-ui__result {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 0;
  border-bottom: 1px solid var(--rh-color-border-subtle-on-light, #c7c7c7);
}

header .site-header__pagefind .pagefind-ui__drawer .pagefind-ui__result:last-of-type {
  border-bottom: 0;
}

header .site-header__pagefind .pagefind-ui__drawer .pagefind-ui__result-inner {
  flex: 1 1 auto;
  align-items: stretch;
  margin-top: 0;
  width: 100%;
}

/* Accordion-style header row (always “open”) — gray strip; excerpt below is white */
header .site-header__pagefind .pagefind-ui__drawer .pagefind-ui__result-title {
  display: block;
  margin: 0;
  padding: var(--rh-space-md, 8px) var(--rh-space-lg, 16px);
  font-family: var(--rh-font-family-heading, RedHatDisplay, 'Red Hat Display', Helvetica, Arial, sans-serif);
  font-size: var(--rh-font-size-body-text-md, 1rem);
  font-weight: var(--rh-font-weight-heading-medium, 500);
  line-height: var(--rh-line-height-body-text, 1.5);
  background-color: var(--rh-color-surface-lighter, #f2f2f2);
  border-block-end: 1px solid var(--rh-color-border-subtle-on-light, #c7c7c7);
}

header .site-header__pagefind .pagefind-ui__drawer .pagefind-ui__result-title .pagefind-ui__result-link {
  color: var(--rh-color-text-primary-on-light, #151515);
  text-decoration: none;
  font-weight: inherit;
}

header .site-header__pagefind .pagefind-ui__drawer .pagefind-ui__result-title .pagefind-ui__result-link:hover,
header .site-header__pagefind .pagefind-ui__drawer .pagefind-ui__result-title .pagefind-ui__result-link:focus-visible {
  color: var(--rh-color-interactive-blue-darker, #0066cc);
  text-decoration: underline;
}

/* Expanded panel body — inverted: light block (was gray header styling) */
header .site-header__pagefind .pagefind-ui__drawer .pagefind-ui__result-excerpt {
  display: block;
  margin: 0;
  min-width: 0;
  padding: var(--rh-space-md, 8px) var(--rh-space-lg, 16px) var(--rh-space-lg, 16px);
  font-size: var(--rh-font-size-body-text-sm, 0.875rem);
  font-weight: 400;
  line-height: var(--rh-line-height-body-text, 1.5);
  color: var(--rh-color-text-secondary-on-light, #6a6e73);
  background-color: var(--rh-color-surface-lightest, #ffffff);
}

header .site-header__pagefind .pagefind-ui__drawer .pagefind-ui__result-tags {
  margin: 0;
  padding: var(--rh-space-sm, 6px) var(--rh-space-lg, 16px) var(--rh-space-lg, 16px);
  padding-inline-start: calc(var(--rh-space-lg, 16px) + 3px);
  background-color: var(--rh-color-surface-lightest, #ffffff);
  border-inline-start: 3px solid var(--rh-color-border-subtle-on-light, #c7c7c7);
  gap: var(--rh-space-sm, 6px);
}

header .site-header__pagefind .pagefind-ui__drawer .pagefind-ui__result-tag {
  font-size: var(--rh-font-size-body-text-sm, 0.875rem);
  border-radius: var(--rh-border-radius-default, 3px);
}

header .site-header__pagefind .pagefind-ui__drawer .pagefind-ui__result-nested .pagefind-ui__result-link {
  color: var(--rh-color-interactive-blue-darker, #0066cc);
}

header .site-header__pagefind .pagefind-ui__drawer .pagefind-ui__result-nested .pagefind-ui__result-link:hover {
  color: var(--rh-color-interactive-blue-darkest, #004080);
}

header .site-header__pagefind .pagefind-ui__drawer .pagefind-ui__message {
  padding: var(--rh-space-md, 8px) var(--rh-space-sm, 6px);
  font-size: var(--rh-font-size-body-text-sm, 0.875rem);
  font-weight: var(--rh-font-weight-body-text-medium, 500);
  color: var(--rh-color-text-secondary-on-light, #6a6e73);
}

header .site-header__pagefind .pagefind-ui__drawer mark {
  background-color: #fff6cc;
  color: var(--rh-color-text-primary-on-light, #151515);
  padding: 0 0.15em;
  border-radius: 2px;
}

header .site-header__pagefind .pagefind-ui__drawer .pagefind-ui__button {
  margin-top: var(--rh-space-lg, 16px);
  background: var(--rh-search-red, #ee0000);
  color: #ffffff;
  border: 1px solid var(--rh-search-red, #ee0000);
  border-radius: var(--rh-border-radius-default, 3px);
  font-weight: var(--rh-font-weight-body-text-medium, 500);
}

header .site-header__pagefind .pagefind-ui__drawer .pagefind-ui__button:hover {
  background: #a30000;
  border-color: #a30000;
  color: #ffffff;
}

main {
  max-width: 1320px;
  padding: var(--rh-space-lg, 16px) var(--rh-space-lg, 16px) var(--rh-length-5xl, 80px);
}

@media screen and (min-width: 768px) {
  main {
    margin: 0 auto;
    padding: var(--rh-space-2xl, 32px) var(--rh-space-2xl, 32px) var(--rh-length-5xl, 80px);
  }
}

/* Home: main column (cards) left, jump-links aside right — https://ux.redhat.com/elements/jump-links/ */
.home-layout {
  display: block;
}

.home-layout__main {
  min-width: 0;
}

/* Mobile / tablet: no sidebar; cards use full main width */
.home-jump-links {
  display: none;
}

@media screen and (min-width: 992px) {
  /* Only two-column layout when the jump-links aside is present */
  .home-layout:has(.home-jump-links) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(12rem, 16rem);
    /* Extra space between tiles and right sidebar (was 2xl) */
    gap: var(--rh-length-3xl, 48px);
    align-items: start;
  }

  .home-jump-links {
    display: block;
    position: sticky;
    top: var(--rh-space-lg, 16px);
  }

  .home-jump-links__heading {
    margin-block: 0 var(--rh-space-lg, 16px);
    font-family: var(--rh-font-family-body-text);
    font-size: var(--rh-font-size-body-text-md, 1rem);
    font-weight: var(--rh-font-weight-heading-medium, 500);
    line-height: var(--rh-line-height-body-text, 1.5);
  }

  .home-jump-links rh-jump-links {
    display: block;
    width: 100%;
  }
}

/* Home: tag sections + RHDS tile grid (docs.redhat.com–style topic catalog) */
.home-intro {
  margin-block-end: var(--rh-space-2xl, 32px);
}

.home-tag-catalog {
  display: flex;
  flex-direction: column;
  gap: var(--rh-length-3xl, 48px);
}

/* Featured tile: same rh-tile + arrow as peers; gray title bar strip (RHDS title bar card pattern) */
.home-featured-tile__head {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--rh-space-md, 8px);
  margin: 0;
}

.home-featured-tile__label {
  display: block;
  box-sizing: border-box;
  margin-block: calc(-1 * var(--rh-space-xl, 24px)) var(--rh-space-md, 8px);
  margin-inline: calc(-1 * var(--rh-space-xl, 24px));
  padding: var(--rh-space-sm, 8px) var(--rh-space-xl, 24px);
  background-color: var(--rh-color-surface-lighter, #f2f2f2);
  border-start-start-radius: var(--rh-border-radius-default, 3px);
  border-start-end-radius: var(--rh-border-radius-default, 3px);
  border-block-end: var(--rh-border-width-sm, 1px) solid var(--rh-color-border-subtle-on-light, #c7c7c7);
  color: var(--rh-color-text-primary-on-light, #151515);
  font-size: var(--rh-font-size-body-text-sm, 0.875rem);
  font-weight: var(--rh-font-weight-body-text-medium, 500);
  line-height: var(--rh-line-height-body-text, 1.5);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.home-featured-tile[color-palette^="dark"] .home-featured-tile__label,
[color-palette^="dark"] .home-featured-tile .home-featured-tile__label {
  background-color: var(--rh-color-surface-dark, #383838);
  border-block-end-color: var(--rh-color-border-subtle-on-dark, #707070);
  color: var(--rh-color-text-primary-on-dark, #ffffff);
}

/* Inherit rh-tile compact headline typography from slotted wrapper (do not use .h5 on the link — it overrides size) */
.home-featured-tile__title {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  text-decoration: none;
}

.home-tag-section__header {
  display: flex;
  flex-wrap: nowrap;
  align-items: first baseline;
  justify-content: space-between;
  gap: var(--rh-space-lg, 16px);
  margin-block-end: var(--rh-space-lg, 16px);
}

/* Let long headings wrap on multiple lines without pushing "View all" to the next row */
.home-tag-section__title {
  flex: 1 1 auto;
  min-width: 0;
  margin-block: 0;
}

.home-tag-section__all {
  flex: 0 0 auto;
  font-size: var(--rh-font-size-body-text-md, 1rem);
  font-weight: 500;
  white-space: nowrap;
}

.home-tag-section__empty {
  margin: 0;
  color: var(--rh-color-text-secondary-on-light, #6a6e73);
  font-size: var(--rh-font-size-body-text-sm, 0.875rem);
}

/* Tag taxonomy/term pages: page title spans full main width (overrides global heading max-width) */
.tag-page-list > h1 {
  max-width: none;
  width: 100%;
  box-sizing: border-box;
}

/* Shared tile grids: home catalog sections + full-width tag taxonomy/term pages */
.home-tag-tiles,
.tag-page-tiles {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--rh-space-lg, 16px);
  align-items: stretch;
}

.home-tag-tiles__cell,
.tag-page-tiles__cell {
  display: flex;
  min-width: 0;
}

.home-tag-tiles__cell rh-tile,
.tag-page-tiles__cell rh-tile {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
}

/*
 * Tag tile body (default slot): compact link tile body typography + primary text (RHDS shadow uses
 * body-text-sm for compact #body). Global :is(p) max-width/margins would otherwise fight the tile.
 * https://ux.redhat.com/elements/tile/guidelines/#writing-content
 */
.tag-page-tiles__cell rh-tile .tag-page-tile__excerpt {
  font-size: var(--rh-font-size-body-text-sm, 0.875rem);
  font-weight: var(--rh-font-weight-body-text-regular, 400);
  line-height: var(--rh-line-height-body-text, 1.5);
  color: inherit;
}

.tag-page-tiles__cell rh-tile .tag-page-tile__excerpt p {
  max-width: none;
  margin-block: 0;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
}

.tag-page-tiles__cell rh-tile .tag-page-tile__excerpt p + p {
  margin-block-start: var(--rh-space-sm, 8px);
}

.tag-page-tiles__empty {
  margin: 0;
  color: var(--rh-color-text-secondary-on-light, #6a6e73);
  font-size: var(--rh-font-size-body-text-sm, 0.875rem);
}

@media screen and (min-width: 576px) {
  .home-tag-tiles,
  .tag-page-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/*
 * Tag taxonomy/term pages only: four compact tiles per row (RHDS allows up to 4 compact across).
 * Breakpoint below 992px so laptops/tablets in the ~900px content band still get 4 columns; home
 * catalog stays 2→3 at 992px only.
 */
@media screen and (min-width: 880px) {
  section.tag-page-list > .tag-page-tiles {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media screen and (min-width: 992px) {
  .home-tag-tiles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

#hero {
  padding-block: var(--rh-space-xl, 32px);
  background-color: var(--rh-color-surface-lighter, #f2f2f2);
}  

#hero :is(h1, h2, h3, h4, h5, h6) {
  font-weight: 400;
}

#hero h1 {
  margin-block-end: var(--rh-space-lg, 16px);
}

/* Tag hero: page title at heading-xl (2.5rem), not default h1 (2xl / 3rem) */
#hero.tag-page-hero .hero-content h1 {
  font-size: var(--rh-font-size-heading-xl, 2.5rem);
}

#hero p {
  font-size: var(--rh-font-size-code-lg, 1.125rem);
}

#hero .hero-container {
  display: grid;
  grid-template-columns: 1fr;
  padding: 0 var(--rh-space-lg, 16px);
}

/* Full-width CTA row below copy; text stays in first grid column */
#hero .hero-cta {
  grid-column: 1 / -1;
  grid-row: 2;
  margin-block-start: 0;
  display: flex;
  flex-direction: column;
  gap: var(--rh-space-lg, 16px);
}

#hero .hero-cta rh-cta {
  max-width: max-content;
}

/*
 * rh-cta ::slotted(a) uses break-spaces !important; brick #container can wrap — keep one-line labels.
 */
#hero .hero-cta rh-cta::part(container) {
  flex-wrap: nowrap;
  white-space: nowrap;
}

#hero .hero-cta rh-cta a {
  white-space: nowrap !important;
  word-break: normal !important;
  display: inline-flex !important;
  align-items: center;
}

@media screen and (min-width: 576px) {
  #hero {
    padding-block: var(--rh-space-2xl, 48px);
  }
}

@media screen and (min-width: 768px) {
  #hero {
    background-image: url(/experts/images/openshift-desktop-hero.svg);
    background-repeat: no-repeat;
    background-position: top center;
    
  }

  #hero .hero-container {
    margin: 0 auto;
    max-width: 1320px;
    padding: 0 var(--rh-space-2xl, 32px);
    grid-template-columns: 1.5fr 0.5fr;
  }

  #hero .hero-cta {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
  }
}

@media screen and (min-width: 992px) {
  #hero .hero-container {
    grid-template-columns: 1.75fr 1.25fr;
  }
}

/* Tag term/taxonomy hero — hero_background: openshift | none (see layouts/partials/tags/hero.html) */
#hero.tag-page-hero.tag-page-hero--bg-none {
  background-image: none;
}

@media screen and (min-width: 768px) {
  #hero.tag-page-hero.tag-page-hero--bg-openshift {
    background-image: url(/experts/images/openshift-desktop-hero.svg);
    background-repeat: no-repeat;
    background-position: top center;
  }
}

#hero.tag-page-hero .hero-container--tag {
  display: flex;
  flex-direction: column;
  gap: var(--rh-space-xl, 24px);
  align-items: stretch;
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: var(--rh-space-lg, 16px);
}

@media screen and (min-width: 768px) {
  #hero.tag-page-hero .hero-container--tag {
    padding-inline: var(--rh-space-2xl, 32px);
  }
}

#hero.tag-page-hero .hero-content {
  max-width: none;
}

/* Readable measure for blurb (full-width hero bar, narrow prose) */
#hero.tag-page-hero .tag-page-hero__blurb {
  max-width: min(100%, 42rem);
  font-size: var(--rh-font-size-code-lg, 1.125rem);
  line-height: var(--rh-line-height-body-text, 1.5);
}

#hero.tag-page-hero .tag-page-hero__blurb > *:first-child {
  margin-block-start: 0;
}

#hero.tag-page-hero .tag-page-hero__blurb > *:last-child {
  margin-block-end: 0;
}

#hero.tag-page-hero .tag-page-hero__ctas {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--rh-space-lg, 16px);
  margin-block-start: 0;
  grid-column: unset;
  grid-row: unset;
}

#hero.tag-page-hero .tag-page-hero__ctas rh-cta {
  max-width: max-content;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  list-style: none;
  font-size: var(--rh-font-size-body-text-sm, 0.875rem);
  padding: var(--rh-space-lg, 16px) 0;
}

.breadcrumbs .breadcrumb:not(:last-of-type):after {
  content: url(/experts/images/breadcrumb-spacer.svg);
  width: 11px;
  height: 11px;
  padding: var(--rh-space-md, 8px);
}

.article-meta {
  display: flex;
  flex-direction: column;
  padding-block-end: var(--rh-space-2xl, 32px);
}

@media screen and (min-width: 768px) {
  .article-meta {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.article-meta dl {
  flex: 1;
}

.article-meta dt {
  float: left;
  clear: left;
  font-weight: bold;
}

.article-meta dt:after {
  content: ":";
  margin-right: 0.25rem;
}

.article-meta dd {
  margin: 0;
  float: left;
}

.article-meta dd + dd {
  float: left;
}

.article-meta dd + dt {
  clear: left;
}

.article-tags {
  padding-block-start: var(--rh-space-lg, 16px);
}

@media screen and (min-width: 768px) {
  .article-tags {
    padding-block-start: 0;
  }
}

.article-tags span {
  font-weight: var(--rh-font-weight-body-text-medium, 500);
}

.article-date,
.article-authors {
  font-weight: var(--rh-font-weight-body-text-medium, 500);
}


.surface-light {
  background-color: var(--rh-color-surface-light, #e0e0e0);
}

.surface-lighter {
  background-color: var(--rh-color-surface-lighter, #f2f2f2);
}

.surface-lightest {
  background-color: var(--rh-color-surface-lightest, #ffffff);
}

.surface-light,
.surface-lighter,
.surface-lightest {
  color: var(--rh-color-text-primary-on-light, #151515);
}

.surface-dark {
  background-color: var(--rh-color-surface-dark, #383838);
}

.surface-darker {
  background-color:var(--rh-color-surface-darker, #1f1f1f);
}

.surface-darkest {
  background-color: var(--rh-color-surface-darkest, #151515);
}

.surface-dark,
.surface-darker,
.surface-darkest {
  color: var(--rh-color-text-primary-on-dark, #ffffff);
}

rh-surface:is([color-palette="dark"], [color-palette="darker"], [color-palette="darkest"]) a {
  color: var(--rh-color-interactive-blue-lighter, #73bcf7);
}

rh-surface:is([color-palette="dark"], [color-palette="darker"], [color-palette="darkest"]) a:hover {
  color: var(--rh-color-interactive-blue-lightest, #bee1f4);
}

.collaborate {
  position: relative;
  padding: var(--rh-length-4xl, 64px);
}

.collaborate .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.collaborate .cta-group {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--rh-space-lg, 16px);
}

@media (min-width: 567px) {
  .collaborate .cta-group {
    grid-template-columns: 1fr 1fr;
  }
}


rh-alert {
  margin-bottom: var(--rh-space-xl, 24px);
}

/* Bug Fixes */
rh-navigation-secondary a[slot="logo"]:visited {
  color: var(--rh-color-text-primary-on-light, #151515);
}


rh-code-block {
  margin-block-end: var(--rh-space-2xl, 32px);
}