/* Hof Rempe V0.5.2.0: gezielte Korrektur der beiden gemeldeten Kopfbereiche.
   Die Startseite, Navigation und Backend-Dateien bleiben unangetastet. */

/* Das jeweils nicht aktive Pony-Bild wirklich ausblenden. Ältere CSS-Regeln
   hatten durch !important beide Bildvarianten gleichzeitig eingeblendet. */
:root:not([data-theme="kupfer"]) .page-heading.hr-matched-hero .pasture-picture img.pasture-day {
 display:block !important;
}
:root:not([data-theme="kupfer"]) .page-heading.hr-matched-hero .pasture-picture img.pasture-evening {
 display:none !important;
}
:root[data-theme="kupfer"] .page-heading.hr-matched-hero .pasture-picture img.pasture-day {
 display:none !important;
}
:root[data-theme="kupfer"] .page-heading.hr-matched-hero .pasture-picture img.pasture-evening {
 display:block !important;
}
/* Der Text bleibt links, damit 'Monatsabrechnung' nicht im Ponygesicht steht. */
body:has(.month-wrap) .page-heading.hr-matched-hero .hero-welcome {
 width:51% !important;
 max-width:51% !important;
 grid-template-columns:38px minmax(0,1fr) !important;
 gap:6px !important;
}
body:has(.month-wrap) .page-heading.hr-matched-hero .hero-logo .hof-logo {
 width:38px !important;
 height:34px !important;
}
body:has(.month-wrap) .page-heading.hr-matched-hero .page-heading-copy h2 {
 font-size:clamp(14px,3.5vw,19px) !important;
 line-height:1.12 !important;
 overflow-wrap:anywhere !important;
 hyphens:auto !important;
}
body:has(.month-wrap) .page-heading.hr-matched-hero .page-heading-copy p {
 font-size:10px !important;
 line-height:1.25 !important;
 overflow-wrap:anywhere !important;
}
@media(min-width:760px) {
 body:has(.month-wrap) .page-heading.hr-matched-hero .hero-welcome {
  width:56% !important;max-width:56% !important;
  grid-template-columns:60px minmax(0,1fr) !important;gap:12px !important;
 }
 body:has(.month-wrap) .page-heading.hr-matched-hero .hero-logo .hof-logo {
  width:60px !important;height:52px !important;
 }
 body:has(.month-wrap) .page-heading.hr-matched-hero .page-heading-copy h2 {
  font-size:25px !important;hyphens:none !important;
 }
}
