/*
 * Heidenheim.info – CI fuer Unterseiten 0.1.166
 * Deutlich sichtbare Uebertragung der neuen Startseiten-Sprache auf alle
 * oeffentlichen Inhalts-, Verzeichnis-, Such-, Taxonomie- und Detailseiten.
 */

:root{
  --hi-page-navy:#123148;
  --hi-page-petrol:#0b7a75;
  --hi-page-petrol-dark:#075e5a;
  --hi-page-green:#18823a;
  --hi-page-ink:#243640;
  --hi-page-muted:#65757d;
  --hi-page-bg:#f4f7f8;
  --hi-page-line:#d9e4e7;
  --hi-page-card:#ffffff;
  --hi-page-radius:16px;
  --hi-page-radius-lg:22px;
  --hi-page-shadow:0 8px 24px rgba(18,49,72,.075);
  --hi-page-shadow-hover:0 14px 32px rgba(18,49,72,.12);
}

/* Grundgeruest */
body:not(.home){
  background:var(--hi-page-bg)!important;
  color:var(--hi-page-ink);
}
body:not(.home) .wp-site-blocks{background:var(--hi-page-bg)!important}
body:not(.home) main{
  box-sizing:border-box;
}
body:not(.home) main.alignwide,
body:not(.home) main.hi-page-shell,
body:not(.home) main.hi-place-main,
body:not(.home) main.hi-gastro-main,
body:not(.home) main.hi-service-main,
body:not(.home) main.hi-destination-main,
body:not(.home) main.hi-event-archive-main,
body.search main{
  width:min(1200px,calc(100% - 32px))!important;
  max-width:1200px!important;
  margin-inline:auto!important;
}

/* sichtbarer Marken-Rhythmus unter dem Header */
body:not(.home) main:not(.hi-municipality-main):not(.hi-district-main){
  padding-top:clamp(28px,4vw,48px)!important;
  padding-bottom:clamp(44px,5vw,72px)!important;
}

/* Generische Seitentitel erhalten einen echten CI-Kopf statt nur eine H1-Zeile. */
body.page:not(.home) main.hi-page-shell > .wp-block-post-title,
body.search main > .wp-block-query-title,
body.archive main.hi-archive-shell > .wp-block-query-title{
  position:relative;
  overflow:hidden;
  box-sizing:border-box;
  width:100%!important;
  max-width:none!important;
  min-height:190px;
  margin:0 0 28px!important;
  padding:clamp(30px,5vw,58px)!important;
  display:flex;
  align-items:flex-end;
  border:0!important;
  border-radius:var(--hi-page-radius-lg)!important;
  background:
    linear-gradient(90deg,rgba(9,31,46,.88) 0%,rgba(10,57,65,.72) 58%,rgba(9,31,46,.45) 100%),
    url('../images/home/hero-schloss-hellenstein-nebel.webp') center 52%/cover no-repeat!important;
  color:#fff!important;
  box-shadow:var(--hi-page-shadow)!important;
  font-size:clamp(2.05rem,4.6vw,3.7rem)!important;
  line-height:1.02!important;
  letter-spacing:-.04em!important;
  text-shadow:0 2px 14px rgba(0,0,0,.18);
}

/* Portal-Seiten: bestehender Portal-Kopf wird zum kompakten Bild-Hero. */
body:not(.home) :is(
  .hi-place-portal__hero,
  .hi-gastro-portal__hero,
  .hi-service-portal__hero,
  .hi-topic-landing__hero,
  .hi-public-page__hero,
  .hi-newsletter-page__hero,
  .hi-owner-menu__hero,
  .hi-event-directory__head
){
  position:relative!important;
  isolation:isolate;
  overflow:hidden!important;
  box-sizing:border-box;
  min-height:220px;
  margin:0 0 28px!important;
  padding:clamp(28px,5vw,52px)!important;
  border:0!important;
  border-radius:var(--hi-page-radius-lg)!important;
  background:
    linear-gradient(90deg,rgba(8,32,47,.9) 0%,rgba(7,76,77,.76) 62%,rgba(8,32,47,.4) 100%),
    url('../images/home/hero-haertsfeldsee.webp') center 54%/cover no-repeat!important;
  box-shadow:var(--hi-page-shadow)!important;
  color:#fff!important;
}
body:not(.home) :is(
  .hi-place-portal__hero,
  .hi-gastro-portal__hero,
  .hi-service-portal__hero,
  .hi-topic-landing__hero,
  .hi-public-page__hero,
  .hi-newsletter-page__hero,
  .hi-owner-menu__hero,
  .hi-event-directory__head
)::before{
  content:"HEIDENHEIM.INFO";
  position:relative;
  z-index:1;
  display:block;
  margin:0 0 8px;
  color:rgba(255,255,255,.82);
  font-size:.68rem;
  line-height:1;
  font-weight:850;
  letter-spacing:.16em;
}
body:not(.home) :is(
  .hi-place-portal__hero,
  .hi-gastro-portal__hero,
  .hi-service-portal__hero,
  .hi-topic-landing__hero,
  .hi-public-page__hero,
  .hi-newsletter-page__hero,
  .hi-owner-menu__hero,
  .hi-event-directory__head
)::after{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  z-index:-1!important;
  width:auto!important;
  height:auto!important;
  border-radius:0!important;
  background:linear-gradient(180deg,transparent 45%,rgba(3,28,38,.18))!important;
  pointer-events:none;
}
body:not(.home) :is(
  .hi-place-portal__hero,
  .hi-gastro-portal__hero,
  .hi-service-portal__hero,
  .hi-topic-landing__hero,
  .hi-public-page__hero,
  .hi-newsletter-page__hero,
  .hi-owner-menu__hero,
  .hi-event-directory__head
) :is(h1,h2){
  position:relative;
  z-index:1;
  max-width:850px;
  margin:.1rem 0 .55rem!important;
  color:#fff!important;
  font-size:clamp(2rem,4.3vw,3.65rem)!important;
  line-height:1.02!important;
  letter-spacing:-.04em!important;
  text-shadow:0 2px 14px rgba(0,0,0,.18);
}
body:not(.home) :is(
  .hi-place-portal__intro,
  .hi-gastro-portal__intro,
  .hi-service-portal__intro,
  .hi-topic-landing__intro,
  .hi-public-page__hero p,
  .hi-newsletter-page__hero p,
  .hi-owner-menu__hero p,
  .hi-event-directory__head p
){
  position:relative;
  z-index:1;
  max-width:780px;
  margin:.35rem 0 0!important;
  color:rgba(255,255,255,.9)!important;
  line-height:1.5!important;
}
/* vorhandene Eyebrows im Bild-Hero nicht doppelt anzeigen */
body:not(.home) :is(.hi-place-portal__hero,.hi-gastro-portal__hero,.hi-service-portal__hero,.hi-topic-landing__hero,.hi-public-page__hero,.hi-newsletter-page__hero,.hi-owner-menu__hero,.hi-event-directory__head) > :is(.hi-gastro-portal__eyebrow,.hi-service-portal__eyebrow,.hi-topic-landing__eyebrow,.hi-public-page__eyebrow,.hi-owner-menu__eyebrow){
  display:none!important;
}

/* Such-/Filterzeile wie die Startseiten-Suche: weiss, klar, hochwertig. */
body:not(.home) :is(
  .hi-place-search,.hi-gastro-search,.hi-service-search,.hi-topic-search,
  .hi-doctor-search,.hi-driving-school-search,.hi-martial-arts-search,
  .hi-event-range-search,.hi-search-filters,.hi-new-entries__filter
){
  position:relative;
  z-index:2;
  display:grid;
  gap:8px!important;
  margin-top:22px!important;
  padding:7px!important;
  border:1px solid rgba(255,255,255,.35)!important;
  border-radius:16px!important;
  background:rgba(255,255,255,.96)!important;
  box-shadow:0 8px 24px rgba(9,31,46,.18)!important;
}
body:not(.home) :is(
  .hi-place-search,.hi-gastro-search,.hi-service-search,.hi-topic-search,
  .hi-doctor-search,.hi-driving-school-search,.hi-martial-arts-search,
  .hi-event-range-search,.hi-search-filters,.hi-new-entries__filter
) :is(input,select,textarea){
  min-height:46px!important;
  border:1px solid #d2dde0!important;
  border-radius:10px!important;
  background:#fff!important;
  color:var(--hi-page-ink)!important;
  padding:.62rem .78rem!important;
  box-shadow:none!important;
}
body:not(.home) :is(
  .hi-place-search,.hi-gastro-search,.hi-service-search,.hi-topic-search,
  .hi-doctor-search,.hi-driving-school-search,.hi-martial-arts-search,
  .hi-event-range-search,.hi-search-filters,.hi-new-entries__filter
) button{
  min-height:46px!important;
  border:0!important;
  border-radius:10px!important;
  padding:.62rem 1.05rem!important;
  background:var(--hi-page-green)!important;
  color:#fff!important;
  font-weight:850!important;
  box-shadow:none!important;
}
body:not(.home) :is(.hi-place-search,.hi-gastro-search,.hi-service-search,.hi-topic-search,.hi-doctor-search,.hi-driving-school-search,.hi-martial-arts-search,.hi-event-range-search,.hi-search-filters,.hi-new-entries__filter) button:hover{
  background:#126b31!important;
}

/* Standard-Suche auf der Suchseite */
body.search .wp-block-search{
  margin:0 0 14px!important;
}
body.search .wp-block-search .wp-block-search__inside-wrapper{
  padding:5px!important;
  border:1px solid var(--hi-page-line)!important;
  border-radius:999px!important;
  background:#fff!important;
  box-shadow:var(--hi-page-shadow)!important;
}
body.search .wp-block-search__input{
  min-height:48px!important;
  border:0!important;
  background:transparent!important;
  padding:0 1rem!important;
}
body.search .wp-block-search__button{
  min-height:44px!important;
  margin:0!important;
  border:0!important;
  border-radius:999px!important;
  background:var(--hi-page-green)!important;
  color:#fff!important;
}

/* Abschnittskoepfe bekommen denselben Rhythmus wie die Startseite. */
body:not(.home) :is(
  .hi-gastro-directory-section__head,
  .hi-service-directory-section__head,
  .hi-place-directory-section__head,
  .hi-municipality-section__head,
  .hi-district-section__head,
  .hi-topic-landing__section-head
){
  display:flex!important;
  align-items:flex-end!important;
  justify-content:space-between!important;
  gap:18px!important;
  margin:34px 0 14px!important;
}
body:not(.home) :is(.hi-gastro-directory-section__head,.hi-service-directory-section__head,.hi-place-directory-section__head,.hi-municipality-section__head,.hi-district-section__head,.hi-topic-landing__section-head) h2{
  margin:.15rem 0 0!important;
  color:var(--hi-page-navy)!important;
  font-size:clamp(1.55rem,2.5vw,2.05rem)!important;
  line-height:1.08!important;
  letter-spacing:-.025em!important;
}
body:not(.home) :is(.hi-gastro-portal__eyebrow,.hi-service-portal__eyebrow,.hi-topic-landing__eyebrow,.hi-municipality-section__eyebrow,.hi-district-section__eyebrow){
  margin:0!important;
  color:var(--hi-page-petrol)!important;
  font-size:.68rem!important;
  font-weight:850!important;
  letter-spacing:.1em!important;
  text-transform:uppercase!important;
}
body:not(.home) :is(.hi-gastro-directory-section__head,.hi-service-directory-section__head,.hi-place-directory-section__head,.hi-municipality-section__head,.hi-district-section__head) > a{
  color:var(--hi-page-petrol-dark)!important;
  font-size:.82rem!important;
  font-weight:850!important;
  text-decoration:none!important;
}

/* Kategorie-Kacheln */
body:not(.home) :is(.hi-place-type-grid,.hi-gastro-type-grid,.hi-service-topic-grid,.hi-municipality-useful-links,.hi-district-jumpnav,.hi-municipality-jumpnav){
  gap:12px!important;
}
body:not(.home) :is(
  .hi-place-type-grid a,.hi-gastro-type-grid a,.hi-service-topic,
  .hi-municipality-useful-links a,.hi-district-jumpnav a,.hi-municipality-jumpnav a,
  .hi-public-page__card,.hi-newsletter-benefit-option
){
  position:relative;
  min-height:88px;
  box-sizing:border-box;
  padding:16px 18px!important;
  border:1px solid var(--hi-page-line)!important;
  border-radius:14px!important;
  background:#fff!important;
  color:var(--hi-page-navy)!important;
  box-shadow:0 4px 14px rgba(18,49,72,.045)!important;
  text-decoration:none!important;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease!important;
}
body:not(.home) :is(.hi-place-type-grid a,.hi-gastro-type-grid a,.hi-service-topic,.hi-municipality-useful-links a,.hi-district-jumpnav a,.hi-municipality-jumpnav a)::after{
  content:"→";
  position:absolute;
  right:15px;
  bottom:13px;
  color:var(--hi-page-petrol);
  font-weight:900;
}
body:not(.home) :is(.hi-place-type-grid a,.hi-gastro-type-grid a,.hi-service-topic,.hi-municipality-useful-links a,.hi-district-jumpnav a,.hi-municipality-jumpnav a):hover{
  transform:translateY(-2px)!important;
  border-color:#b7d0d0!important;
  box-shadow:var(--hi-page-shadow-hover)!important;
}
body:not(.home) :is(.hi-place-type-grid a,.hi-gastro-type-grid a) strong{
  color:var(--hi-page-navy)!important;
  font-size:1rem!important;
  font-weight:850!important;
}

/* Verzeichnis- und Inhaltskarten */
body:not(.home) :is(
  .hi-place-card,.hi-gastro-card,.hi-service-directory-card,.hi-content-card,
  .hi-municipality-content-card,.hi-district-content-card,.hi-districtwide-card,
  .hi-new-entry-card,.hi-daily-provider-card,.hi-daily-menu-card,.hi-event-card,.hi-ui-event-card
){
  border:1px solid var(--hi-page-line)!important;
  border-top-width:1px!important;
  border-radius:var(--hi-page-radius)!important;
  background:#fff!important;
  box-shadow:var(--hi-page-shadow)!important;
  overflow:hidden!important;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease!important;
}
body:not(.home) :is(.hi-place-card,.hi-gastro-card,.hi-service-directory-card,.hi-content-card,.hi-municipality-content-card,.hi-district-content-card,.hi-districtwide-card,.hi-new-entry-card,.hi-daily-provider-card,.hi-daily-menu-card,.hi-event-card,.hi-ui-event-card):hover{
  transform:translateY(-3px)!important;
  border-color:#bdd2d3!important;
  box-shadow:var(--hi-page-shadow-hover)!important;
}
body:not(.home) :is(.hi-place-card__image,.hi-gastro-card__image,.hi-district-content-card__image,.hi-municipality-content-card__image,.hi-daily-menu-card__image){
  background:#eaf0f2!important;
  overflow:hidden!important;
}
body:not(.home) :is(.hi-place-card__image,.hi-gastro-card__image,.hi-district-content-card__image,.hi-municipality-content-card__image,.hi-daily-menu-card__image) img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  transition:transform .35s ease!important;
}
body:not(.home) :is(.hi-place-card,.hi-gastro-card,.hi-district-content-card,.hi-municipality-content-card):hover :is(.hi-place-card__image,.hi-gastro-card__image,.hi-district-content-card__image,.hi-municipality-content-card__image) img{
  transform:scale(1.025)!important;
}
body:not(.home) :is(.hi-place-card__body,.hi-gastro-card__body,.hi-municipality-content-card__body,.hi-district-content-card__body,.hi-daily-provider-card__body){
  padding:16px!important;
}
body:not(.home) :is(.hi-place-card,.hi-gastro-card,.hi-service-directory-card,.hi-content-card) h3{
  margin:.1rem 0 .45rem!important;
  color:var(--hi-page-navy)!important;
  font-size:1.08rem!important;
  line-height:1.22!important;
  letter-spacing:-.015em!important;
}
body:not(.home) :is(.hi-place-card__meta,.hi-gastro-card__meta,.hi-service-directory-card__meta,.hi-municipality-content-card__meta){
  color:var(--hi-page-petrol)!important;
  font-size:.7rem!important;
  font-weight:850!important;
  letter-spacing:.045em!important;
  text-transform:uppercase!important;
}
body:not(.home) :is(.hi-place-card__excerpt,.hi-place-card__detail,.hi-gastro-card__excerpt,.hi-gastro-card__opening,.hi-service-directory-card__excerpt,.hi-service-directory-card__detail){
  color:var(--hi-page-muted)!important;
  line-height:1.48!important;
}
body:not(.home) :is(.hi-place-card__more,.hi-gastro-card__more,.hi-service-directory-card__more,.hi-municipality-content-card__more,.hi-district-content-card__more){
  color:var(--hi-page-petrol-dark)!important;
  font-weight:850!important;
  text-decoration:none!important;
}

/* Detailseiten: Titel und Fakten deutlich in CI setzen. */
body:not(.home) :is(.hi-place-single,.hi-gastro-single,.hi-event-single,.hi-daily-menu-single),
body.single-hi_service main,
body.single-hi_destination main{
  width:min(1200px,calc(100% - 32px))!important;
  max-width:1200px!important;
  margin-inline:auto!important;
}
body:not(.home) :is(.hi-place-single,.hi-gastro-single,.hi-event-single) > .wp-block-post-title,
body.single-hi_service main > .wp-block-post-title,
body.single-hi_destination main > .wp-block-post-title{
  margin:.45rem 0 .65rem!important;
  color:var(--hi-page-navy)!important;
  font-size:clamp(2rem,4.4vw,3.55rem)!important;
  line-height:1.02!important;
  letter-spacing:-.04em!important;
}
body:not(.home) :is(.hi-place-single,.hi-gastro-single,.hi-event-single,.hi-daily-menu-single) > .wp-block-post-terms,
body.single-hi_service main > .wp-block-post-terms,
body.single-hi_destination main > .wp-block-post-terms{
  width:max-content;
  max-width:100%;
  margin:.1rem 0 .45rem!important;
  padding:.28rem .62rem!important;
  border-radius:999px!important;
  background:#e7f3f1!important;
  color:var(--hi-page-petrol-dark)!important;
  font-size:.76rem!important;
  font-weight:800!important;
}
body:not(.home) :is(.hi-entry-detail-columns,.hi-event-detail-columns){
  align-items:flex-start!important;
  gap:clamp(20px,4vw,42px)!important;
}
body:not(.home) :is(.hi-fact-box,.hi-event-facts,.hi-entry-public-facts,.hi-fuel-price-panel,.hi-service-details,.hi-destination-details){
  border:1px solid var(--hi-page-line)!important;
  border-radius:var(--hi-page-radius)!important;
  background:#fff!important;
  box-shadow:var(--hi-page-shadow)!important;
}
body:not(.home) :is(.hi-entry-gallery__main,.wp-block-post-featured-image img,.hi-event-hero){
  border-radius:var(--hi-page-radius-lg)!important;
  box-shadow:var(--hi-page-shadow)!important;
}

/* Kartenbereiche und Infoboxen */
body:not(.home) :is(.hi-map-overview,.hi-map-section,.hi-search-map,.hi-daily-menu-map,.hi-event-map-section,.hi-gastro-map-section,.hi-service-map-section){
  overflow:hidden!important;
  border:1px solid var(--hi-page-line)!important;
  border-radius:var(--hi-page-radius-lg)!important;
  background:#fff!important;
  box-shadow:var(--hi-page-shadow)!important;
}
body:not(.home) .hi-feedback-cta{
  margin-top:34px!important;
  padding:18px 20px!important;
  border:1px solid #d5e5e2!important;
  border-radius:16px!important;
  background:linear-gradient(135deg,#e9f5f2,#fff)!important;
  box-shadow:0 5px 16px rgba(18,49,72,.045)!important;
}

/* Suchergebnisse */
body.search .hi-search-result{
  margin:0 0 12px!important;
  padding:17px 18px!important;
  border:1px solid var(--hi-page-line)!important;
  border-radius:15px!important;
  background:#fff!important;
  box-shadow:0 5px 16px rgba(18,49,72,.05)!important;
}
body.search .hi-search-result .wp-block-post-title{
  margin:.1rem 0 .35rem!important;
  padding:0!important;
  min-height:0!important;
  background:none!important;
  box-shadow:none!important;
  color:var(--hi-page-navy)!important;
  font-size:1.18rem!important;
  text-shadow:none!important;
}

/* Pagination */
body:not(.home) :is(.wp-block-query-pagination,.hi-event-pagination){gap:6px!important;margin-top:28px!important}
body:not(.home) :is(.wp-block-query-pagination a,.wp-block-query-pagination .page-numbers,.hi-event-pagination a,.hi-event-pagination span){
  min-width:38px;
  min-height:38px;
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  box-sizing:border-box;
  padding:.42rem .7rem!important;
  border:1px solid var(--hi-page-line)!important;
  border-radius:999px!important;
  background:#fff!important;
  color:var(--hi-page-navy)!important;
  font-weight:800!important;
  text-decoration:none!important;
}
body:not(.home) :is(.wp-block-query-pagination .current,.hi-event-pagination .current){
  background:var(--hi-page-petrol)!important;
  color:#fff!important;
  border-color:var(--hi-page-petrol)!important;
}

/* Kommunen/Landkreis: bestehende Identitaet behalten, Oberflaeche angleichen. */
body:not(.home) :is(.hi-municipality-hero,.hi-district-hero){
  margin-top:24px!important;
  border:0!important;
  border-radius:var(--hi-page-radius-lg)!important;
  background:linear-gradient(135deg,#fff,#edf5f4)!important;
  box-shadow:var(--hi-page-shadow)!important;
}
body:not(.home) :is(.hi-municipality-hero__title,.hi-district-hero__title){
  color:var(--hi-page-navy)!important;
  letter-spacing:-.035em!important;
}

/* Standard-Block-Inhalte */
body:not(.home) .wp-block-button__link{
  border-radius:999px!important;
  background:var(--hi-page-petrol)!important;
  color:#fff!important;
  font-weight:800!important;
}
body:not(.home) blockquote.wp-block-quote{
  margin-block:24px!important;
  padding:18px 20px!important;
  border-left:4px solid var(--hi-page-petrol)!important;
  border-radius:0 14px 14px 0!important;
  background:#fff!important;
  box-shadow:0 4px 14px rgba(18,49,72,.04)!important;
}
body:not(.home) table.wp-block-table,
body:not(.home) .wp-block-table table{
  border-radius:14px;
  overflow:hidden;
}

@media(max-width:900px){
  body:not(.home) :is(.hi-place-type-grid,.hi-gastro-type-grid){grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:782px){
  body:not(.home) main.alignwide,
  body:not(.home) main.hi-page-shell,
  body:not(.home) main.hi-place-main,
  body:not(.home) main.hi-gastro-main,
  body:not(.home) main.hi-service-main,
  body:not(.home) main.hi-destination-main,
  body:not(.home) main.hi-event-archive-main,
  body.search main{width:min(100% - 18px,1200px)!important}
  body.page:not(.home) main.hi-page-shell > .wp-block-post-title,
  body.search main > .wp-block-query-title,
  body.archive main.hi-archive-shell > .wp-block-query-title{
    min-height:150px;
    padding:24px!important;
    border-radius:17px!important;
  }
  body:not(.home) :is(.hi-place-portal__hero,.hi-gastro-portal__hero,.hi-service-portal__hero,.hi-topic-landing__hero,.hi-public-page__hero,.hi-newsletter-page__hero,.hi-owner-menu__hero,.hi-event-directory__head){
    min-height:0;
    padding:24px!important;
    border-radius:17px!important;
  }
  body:not(.home) :is(.hi-gastro-directory-section__head,.hi-service-directory-section__head,.hi-place-directory-section__head,.hi-municipality-section__head,.hi-district-section__head,.hi-topic-landing__section-head){align-items:flex-start!important}
}
@media(max-width:620px){
  body:not(.home) :is(.hi-place-type-grid,.hi-gastro-type-grid,.hi-service-topic-grid,.hi-municipality-useful-links){grid-template-columns:1fr!important}
  body:not(.home) :is(.hi-gastro-directory-section__head,.hi-service-directory-section__head,.hi-place-directory-section__head,.hi-municipality-section__head,.hi-district-section__head,.hi-topic-landing__section-head){display:block!important}
  body:not(.home) :is(.hi-gastro-directory-section__head,.hi-service-directory-section__head,.hi-place-directory-section__head,.hi-municipality-section__head,.hi-district-section__head) > a{display:inline-block;margin-top:8px}
}
@media(prefers-reduced-motion:reduce){
  body:not(.home) :is(.hi-place-card,.hi-gastro-card,.hi-service-directory-card,.hi-content-card,.hi-municipality-content-card,.hi-district-content-card,.hi-districtwide-card,.hi-new-entry-card,.hi-daily-provider-card,.hi-daily-menu-card,.hi-event-card,.hi-ui-event-card,.hi-place-type-grid a,.hi-gastro-type-grid a,.hi-service-topic){transition:none!important}
}

/* Portal-Seiten haben bereits einen eigenen, vollwertigen H1-Hero. */
body.hi-ci-portal-page main.hi-page-shell > .wp-block-post-title,
body.hi-ci-portal-page main.hi-page-shell--wide > .wp-block-post-title{
  display:none!important;
}
body.hi-ci-portal-page main.hi-page-shell,
body.hi-ci-portal-page main.hi-page-shell--wide{
  padding-top:clamp(28px,4vw,48px)!important;
}
/* Regionale Bildvariation je Portaltyp, damit der Landkreis nicht auf ein Motiv reduziert wird. */
body.hi-ci-destination-page :is(.hi-topic-landing__hero,.hi-place-portal__hero,.hi-gastro-portal__hero,.hi-service-portal__hero,.hi-public-page__hero,.hi-newsletter-page__hero){
  background-image:linear-gradient(90deg,rgba(8,32,47,.9) 0%,rgba(7,76,77,.76) 62%,rgba(8,32,47,.4) 100%),url('../images/home/hero-burg-katzenstein.webp')!important;
  background-position:center 48%!important;
  background-size:cover!important;
}
body.hi-ci-service-page :is(.hi-topic-landing__hero,.hi-place-portal__hero,.hi-gastro-portal__hero,.hi-service-portal__hero,.hi-public-page__hero,.hi-newsletter-page__hero){
  background-image:linear-gradient(90deg,rgba(8,32,47,.9) 0%,rgba(7,76,77,.76) 62%,rgba(8,32,47,.4) 100%),url('../images/home/hero-kuepfendorf.webp')!important;
  background-position:center 48%!important;
  background-size:cover!important;
}
body.hi-ci-gastro-page :is(.hi-gastro-portal__hero,.hi-topic-landing__hero){
  background-image:linear-gradient(90deg,rgba(8,32,47,.9) 0%,rgba(7,76,77,.76) 62%,rgba(8,32,47,.4) 100%),url('../images/home/hero-schloss-hellenstein-nebel.webp')!important;
  background-position:center 55%!important;
  background-size:cover!important;
}
