/* ================================================================================ */
/*  Project: WebRH
/*  Author: Digital Experience
/*  Date: Fri Sep 25 2026 15:44:36 GMT+0000 (Coordinated Universal Time)
/*  
/*  Copyright © 2026 Red Hat, Inc.
/*  https://www.redhat.com
/* ================================================================================ */

.card-flex--subpattern .rh-card-header[data-rh-card=sections] .rh-card-content {
  padding-right: 0;
  padding-left: 0;
}
.card-flex--subpattern .rh-card-header [data-rh-card-header=image] [data-rh-background=white] {
  border: 0;
}
.card-flex--subpattern .rh-card-header [data-rh-card-header=image] [data-rh-align~=bleed] > *:first-child {
  margin-bottom: 0;
}

[data-rh-card=sections][data-at-card=flex] .rh-card-header {
  margin-bottom: 24px;
}
@container rh-card-header--component (min-width: 768px) {
  [data-rh-card=sections][data-at-card=flex] .rh-card-header {
    margin-bottom: 0;
  }
}

.rh-card-header--component {
  container-name: rh-card-header--component;
  container-type: inline-size;
}
.rh-card-header--component[data-rh-align~=left] {
  text-align: left;
  list-style-position: outside;
}
.rh-card-header--component[data-rh-align~=right] {
  text-align: right;
  list-style-position: inside;
}
.rh-card-header--component[data-rh-align~=center] {
  text-align: center;
  list-style-position: inside;
}
.rh-card-header--component[data-rh-align~=center] > ul {
  padding-left: 0;
}
@media (max-width: 767px) {
  .rh-card-header--component[data-rh-align~=left-mobile] {
    text-align: left;
    list-style-position: outside;
  }
  .rh-card-header--component[data-rh-align~=right-mobile] {
    text-align: right;
    list-style-position: inside;
  }
  .rh-card-header--component[data-rh-align~=center-mobile] {
    text-align: center;
    list-style-position: inside;
  }
  .rh-card-header--component[data-rh-align~=center-mobile] > ul {
    padding-left: 0;
  }
}
@media (min-width: 768px) {
  .rh-card-header--component[data-rh-align=left-desktop] {
    text-align: left;
    list-style-position: outside;
  }
  .rh-card-header--component[data-rh-align=right-desktop] {
    text-align: right;
    list-style-position: inside;
  }
}
[data-rh-resource=card] .rh-card-header--component[data-rh-justify=center] {
  justify-content: center;
}
[data-rh-resource=card] .rh-card-header--component[data-rh-justify=right] {
  justify-content: right;
}

.rh-card-header-title {
  font-family: var(--rh-font-family-body-text, RedHatText, "Red Hat Text", Helvetica, Arial, sans-serif);
  line-height: 1.5;
  margin: 0 0 8px;
  font-size: 0.875rem;
  font-weight: 400;
  color: light-dark(#151515, #ffffff);
}
.rh-card-header-title:last-child {
  margin-bottom: 0;
}
.rh-card-header-title:not(:last-child, :empty) {
  margin-bottom: 8px;
}
@media (min-width: 768px) {
  .rh-card-header-title {
    font-size: 1rem;
  }
}
.rh-card-header-title a {
  text-decoration: none;
  color: inherit;
}
.rh-card-header-title a:hover, .rh-card-header-title a:active, .rh-card-header-title a:focus {
  color: light-dark(#004d99, #c7c7c7);
}

.rh-card-header-title-small {
  display: flex;
  align-items: center;
  margin: 0 0 8px;
  font-family: var(--rh-font-family-heading, RedHatDisplay, "Red Hat Display", Helvetica, Arial, sans-serif);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.3;
  color: light-dark(#151515, #ffffff);
}
@media (min-width: 768px) {
  .rh-card-header-title-small {
    font-size: 1rem;
  }
}
.rh-card-header-title-small:last-child {
  margin-bottom: 0;
}
.rh-card-header-title-small a {
  text-decoration: none;
  color: inherit;
}
.rh-card-header-title-small a:hover, .rh-card-header-title-small a:active, .rh-card-header-title-small a:focus {
  color: light-dark(#004d99, #c7c7c7);
}

.rh-card-header-title-large {
  font-family: var(--rh-font-family-body-text, RedHatText, "Red Hat Text", Helvetica, Arial, sans-serif);
  line-height: 1.5;
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 400;
  color: light-dark(#151515, #ffffff);
}
.rh-card-header-title-large:last-child {
  margin-bottom: 0;
}
.rh-card-header-title-large:not(:last-child, :empty) {
  margin-bottom: 8px;
}
.rh-card-header-title-large a {
  text-decoration: none;
  color: inherit;
}
.rh-card-header-title-large a:hover, .rh-card-header-title-large a:active, .rh-card-header-title-large a:focus {
  color: light-dark(#004d99, #c7c7c7);
}

.rh-card-header-headline {
  font-family: var(--rh-font-family-heading, RedHatDisplay, "Red Hat Display", Helvetica, Arial, sans-serif);
  font-size: 1.5rem;
  line-height: 1.3;
  font-weight: 500;
  margin: 0 0 16px;
  color: light-dark(#151515, #ffffff);
}
.rh-card-header-headline:last-child {
  margin-bottom: 0;
}
.rh-card-header-headline:not(:last-child) {
  margin-bottom: 16px;
}
.rh-card-header-headline a {
  text-decoration: none;
  color: inherit;
}
.rh-card-header-headline a:hover, .rh-card-header-headline a:active, .rh-card-header-headline a:focus {
  color: light-dark(#004d99, #c7c7c7);
}

.rh-card-header-subhead {
  font-family: var(--rh-font-family-heading, RedHatDisplay, "Red Hat Display", Helvetica, Arial, sans-serif);
  font-size: 1.25rem;
  line-height: 1.5;
  font-weight: 500;
  margin: 0 0 16px;
  color: light-dark(#151515, #ffffff);
}
.rh-card-header-subhead:last-child {
  margin-bottom: 0;
}
.rh-card-header-subhead:not(:last-child) {
  margin-bottom: 16px;
}
.rh-card-header-subhead a {
  text-decoration: none;
  color: inherit;
}
.rh-card-header-subhead a:hover, .rh-card-header-subhead a:active, .rh-card-header-subhead a:focus {
  color: light-dark(#004d99, #c7c7c7);
}
[data-rh-misc-data=tooltip] .rh-card-header-subhead a {
  font-family: var(--rh-font-family-body-text, RedHatText, "Red Hat Text", Helvetica, Arial, sans-serif);
  text-decoration: none;
  color: #92c5f9;
}
[data-rh-misc-data=tooltip] .rh-card-header-subhead a:hover {
  cursor: pointer;
  text-decoration: underline;
  color: light-dark(#004d99, #b9dafc);
}
[data-rh-misc-data=tooltip] .rh-card-header-subhead a:active, [data-rh-misc-data=tooltip] .rh-card-header-subhead a:focus {
  outline: 1px dotted light-dark(#0066cc, #92c5f9);
  outline-offset: 1px;
  text-decoration: none !important;
}
[data-rh-theme^="dark desaturated"] [data-rh-misc-data=tooltip] .rh-card-header-subhead a {
  color: #ffffff;
}
[data-rh-theme^="dark desaturated"] [data-rh-misc-data=tooltip] .rh-card-header-subhead a:hover {
  color: #c7c7c7;
}
[data-rh-theme^="dark desaturated"] [data-rh-misc-data=tooltip] .rh-card-header-subhead a:active, [data-rh-theme^="dark desaturated"] [data-rh-misc-data=tooltip] .rh-card-header-subhead a:focus {
  outline-color: #ffffff;
}

.rh-card-header-summary {
  display: block;
  margin: 0 0 18px;
  font-family: var(--rh-font-family-body-text, RedHatText, "Red Hat Text", Helvetica, Arial, sans-serif);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.5;
  color: light-dark(#151515, #ffffff);
}
.rh-card-header-summary:last-child {
  margin-bottom: 0;
}
.rh-card-header-summary a {
  text-decoration: none;
  color: light-dark(#0066cc, #92c5f9);
}
.rh-card-header-summary a:active, .rh-card-header-summary a:hover {
  cursor: pointer;
  text-decoration: underline;
  color: light-dark(#004d99, #b9dafc);
}
.rh-card-header-summary a:active, .rh-card-header-summary a:focus {
  outline: 1px dotted light-dark(#0066cc, #92c5f9);
  outline-offset: 1px;
  text-decoration: none !important;
}
[data-rh-theme^="dark desaturated"] .rh-card-header-summary a {
  color: #ffffff;
}
[data-rh-theme^="dark desaturated"] .rh-card-header-summary a:active, [data-rh-theme^="dark desaturated"] .rh-card-header-summary a:hover {
  color: #c7c7c7;
}
[data-rh-theme^="dark desaturated"] .rh-card-header-summary a:active, [data-rh-theme^="dark desaturated"] .rh-card-header-summary a:focus {
  outline-color: #ffffff;
}
[data-rh-theme~=desaturated] .rh-card-header-summary a {
  text-decoration: underline;
}

.rh-card-header-link {
  display: flex;
  flex: 0 0 100%;
  align-items: center;
}

.rh-card-header-text {
  width: calc(100% - 42px);
  color: light-dark(#151515, #ffffff);
}

.rh-card-header-svg {
  display: inline-block;
  width: 28px;
  height: 16px;
  margin: -16px 6px 0 0;
}
.rh-card-header-svg path {
  fill: light-dark(#292929, #ffffff);
}
[data-rh-resource=card] .rh-card-header-svg {
  margin-right: 8px;
  position: relative;
  top: 8px;
}

.card-flex--subpattern {
  container-type: inline-size;
}
@container rh-card-header--component (min-width: 768px) {
  .card-flex--subpattern[data-rh-card=sections][data-rh-card-header=image][data-rh-background] {
    margin-bottom: 0;
  }
}
.card-flex--subpattern[data-rh-card=sections][data-rh-card-header=image]:not([data-rh-background]) > *:first-child {
  padding-top: 32px;
}
.card-flex--subpattern[data-rh-card=sections][data-rh-card-header=image]:not([data-rh-background]) > *:first-child:not([data-rh-layout=stacked]) {
  margin: -32px -32px 0;
}
.card-flex--subpattern[data-rh-card=sections][data-rh-card-header=image]:not([data-rh-background]) > *:first-child:not([data-rh-align~=bleed]) {
  padding-top: 0;
  margin-top: 0;
  margin-left: 0;
  margin-right: 0;
}
.card-flex--subpattern [data-rh-padding-bottom=none] {
  padding-bottom: 0;
}

.rh-card--layout[data-rh-card-header=image][data-rh-background] {
  padding: 32px;
}
.rh-card--layout[data-rh-card-header=image][data-rh-background]:not([data-rh-layout=stacked]) {
  margin-top: -32px;
  margin-left: -32px;
  margin-right: -32px;
}
.rh-card--layout[data-rh-card-header=image][data-rh-background]:has([data-rh-align~=bleed]) {
  padding-bottom: 0;
}