/**
 * Landingpages: Browser-Neuer-Tab-Stil (Kacheloptik, Glas-Panels).
 */

.page-wrapper.st-page--landing {
  --st-landing-overlay-opacity: 0.45;
  --st-page-bg-overlay-opacity: var(--st-landing-overlay-opacity);
  --st-landing-panel-bg: var(--color-transparent);
  --st-landing-panel-border: var(--color-transparent);
  --st-landing-widget-bg: var(--color-transparent);
  --st-landing-card-bg: var(--color-fff);
  --st-landing-card-radius: 14px;
  --st-landing-card-gap-min: 10px;
  --st-landing-card-gap-max: 20px;
  --st-landing-card-gap-span: 10;
  --st-landing-card-gap-fluid: calc(
    var(--st-landing-card-gap-min) + (100vw - var(--st-logo-vw-min, 380px))
    * var(--st-landing-card-gap-span)
    / var(--st-logo-vw-span, 1676)
  );
  --st-landing-panel-radius: 20px;
  --st-landing-gap-min: 12px;
  --st-landing-gap-max: 24px;
  --st-landing-gap-span: 12;
  --st-landing-gap-fluid: calc(
    var(--st-landing-gap-min) + (100vw - var(--st-logo-vw-min, 380px))
    * var(--st-landing-gap-span)
    / var(--st-logo-vw-span, 1676)
  );
  --st-landing-pad-min: 16px;
  --st-landing-pad-max: 56px;
  --st-landing-pad-span: 40;
  --st-landing-pad-fluid: calc(
    var(--st-landing-pad-min) + (100vw - var(--st-logo-vw-min, 380px))
    * var(--st-landing-pad-span)
    / var(--st-logo-vw-span, 1676)
  );
  --st-landing-search-max: calc(
    320px + (100vw - var(--st-logo-vw-min, 380px)) * 320 / var(--st-logo-vw-span, 1676)
  );
  --st-landing-surface-bg: var(--color-e6e6e6);
  --st-landing-surface-text: var(--color-000);
  --st-landing-surface-muted: var(--color-functional-006);
  --st-landing-surface-icon: var(--color-374151);
  --st-landing-card-text: var(--color-111827);
  --st-landing-card-meta: var(--color-4b5563);
  --st-landing-card-icon: var(--color-374151);
  --st-landing-card-media-bg: var(--color-e5e7eb);
  --st-landing-card-shadow: 0 6px 18px var(--color-functional-036);
  --st-landing-card-shadow-hover: 0 10px 28px var(--color-functional-037);
  --st-landing-search-bg: var(--color-functional-038);
  --st-landing-search-text: var(--color-000);
  --st-landing-search-placeholder: var(--color-6b7280);
  --st-landing-page-fg: var(--color-fff);
  --st-landing-hero-fg: var(--color-fff);
  --st-landing-hero-fg-muted: var(--color-fff);
  --st-landing-widget-fg: var(--color-fff);
  --st-landing-widget-label: var(--color-fff);
  --st-landing-empty-bg: var(--color-functional-040);
  --st-landing-empty-text: var(--color-1a2332);
  --st-landing-header-bg: var(--color-functional-041);
  /* News-/Event-Pill (Light: wie Artikelkarten – hell) */
  --st-landing-section-header-bg: var(--st-landing-card-bg);
  --st-landing-section-header-text: var(--st-landing-card-text);
  --st-landing-section-header-icon: var(--st-landing-card-icon);
  --st-landing-section-header-icon-secondary: var(--st-landing-card-meta);
  --st-landing-section-header-border: color-mix(in srgb, var(--st-landing-card-text) 10%, var(--color-transparent));
  --st-landing-events-heading-bg: var(--st-landing-section-header-bg);
  --st-landing-events-heading-text: var(--st-landing-section-header-text);
  --st-landing-events-heading-icon: var(--st-landing-section-header-icon);
  --st-landing-events-heading-icon-secondary: var(--st-landing-section-header-icon-secondary);
}

html[data-color-scheme='light'] .page-wrapper.st-page--landing {
  --st-landing-section-header-bg: var(--st-landing-card-bg);
  --st-landing-section-header-text: var(--st-landing-card-text);
  --st-landing-section-header-icon: var(--st-landing-card-icon);
  --st-landing-section-header-icon-secondary: var(--st-landing-card-meta);
  --st-landing-section-header-border: color-mix(in srgb, var(--st-landing-card-text) 10%, var(--color-transparent));
  --st-landing-events-heading-bg: var(--st-landing-section-header-bg);
  --st-landing-events-heading-text: var(--st-landing-section-header-text);
  --st-landing-events-heading-icon: var(--st-landing-section-header-icon);
  --st-landing-events-heading-icon-secondary: var(--st-landing-section-header-icon-secondary);
}

html[data-color-scheme='dark'] .page-wrapper.st-page--landing,
body.darkmode--activated .page-wrapper.st-page--landing {
  --st-landing-card-bg: var(--st-bg-card);
  --st-landing-surface-bg: color-mix(in srgb, var(--st-bg-card) 92%, var(--color-fff) 8%);
  --st-landing-surface-text: var(--st-text);
  --st-landing-surface-muted: var(--st-text-muted);
  --st-landing-surface-icon: var(--st-text-muted);
  --st-landing-card-text: var(--st-text);
  --st-landing-card-meta: var(--st-text-muted);
  --st-landing-card-icon: var(--st-text-muted);
  --st-landing-card-media-bg: color-mix(in srgb, var(--st-text) 8%, var(--st-bg-card));
  --st-landing-card-shadow: 0 6px 18px var(--color-functional-033);
  --st-landing-card-shadow-hover: 0 10px 28px var(--color-functional-043);
  --st-landing-search-bg: var(--st-bg-card);
  --st-landing-search-text: var(--color-000);
  --st-landing-search-placeholder: var(--color-6b7280);
  --st-landing-page-fg: var(--color-fff);
  --st-landing-hero-fg: var(--color-fff);
  --st-landing-hero-fg-muted: var(--color-fff);
  --st-landing-widget-fg: var(--color-fff);
  --st-landing-widget-label: var(--color-fff);
  --st-landing-empty-bg: var(--st-bg-card);
  --st-landing-empty-text: var(--st-text);
  --st-landing-header-bg: var(--color-functional-044);
  --st-page-bg-overlay-opacity: min(1, calc(var(--st-landing-overlay-opacity, 0.45) + 0.12));
  /* News-/Event-Pill (Dark: wie Artikelkarten – folgt --st-landing-card-*) */
  --st-landing-section-header-bg: var(--st-landing-card-bg);
  --st-landing-section-header-text: var(--st-landing-card-text);
  --st-landing-section-header-icon: var(--st-landing-card-icon);
  --st-landing-section-header-icon-secondary: var(--st-landing-card-meta);
  --st-landing-section-header-border: color-mix(in srgb, var(--st-landing-card-text) 14%, var(--color-transparent));
  --st-landing-events-heading-bg: var(--st-landing-section-header-bg);
  --st-landing-events-heading-text: var(--st-landing-section-header-text);
  --st-landing-events-heading-icon: var(--st-landing-section-header-icon);
  --st-landing-events-heading-icon-secondary: var(--st-landing-section-header-icon-secondary);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-color-scheme='light']) .page-wrapper.st-page--landing {
    --st-landing-card-bg: var(--st-bg-card);
    --st-landing-surface-bg: color-mix(in srgb, var(--st-bg-card) 92%, var(--color-fff) 8%);
    --st-landing-surface-text: var(--st-text);
    --st-landing-surface-muted: var(--st-text-muted);
    --st-landing-surface-icon: var(--st-text-muted);
    --st-landing-card-text: var(--st-text);
    --st-landing-card-meta: var(--st-text-muted);
    --st-landing-card-icon: var(--st-text-muted);
    --st-landing-card-media-bg: color-mix(in srgb, var(--st-text) 8%, var(--st-bg-card));
    --st-landing-card-shadow: 0 6px 18px var(--color-functional-033);
    --st-landing-card-shadow-hover: 0 10px 28px var(--color-functional-043);
    --st-landing-search-bg: var(--st-bg-card);
    --st-landing-search-text: var(--color-000);
    --st-landing-search-placeholder: var(--color-6b7280);
    --st-landing-page-fg: var(--color-fff);
    --st-landing-hero-fg: var(--color-fff);
    --st-landing-hero-fg-muted: var(--color-fff);
    --st-landing-widget-fg: var(--color-fff);
    --st-landing-widget-label: var(--color-fff);
    --st-landing-empty-bg: var(--st-bg-card);
    --st-landing-empty-text: var(--st-text);
    --st-landing-header-bg: var(--color-functional-044);
    --st-page-bg-overlay-opacity: min(1, calc(var(--st-landing-overlay-opacity, 0.45) + 0.12));
    --st-landing-section-header-bg: var(--st-landing-card-bg);
    --st-landing-section-header-text: var(--st-landing-card-text);
    --st-landing-section-header-icon: var(--st-landing-card-icon);
    --st-landing-section-header-icon-secondary: var(--st-landing-card-meta);
    --st-landing-section-header-border: color-mix(in srgb, var(--st-landing-card-text) 14%, var(--color-transparent));
    --st-landing-events-heading-bg: var(--st-landing-section-header-bg);
    --st-landing-events-heading-text: var(--st-landing-section-header-text);
    --st-landing-events-heading-icon: var(--st-landing-section-header-icon);
    --st-landing-events-heading-icon-secondary: var(--st-landing-section-header-icon-secondary);
  }
}

.page-wrapper.st-page--landing > #primary-menu,
.page-wrapper.st-page--landing > #st_headline_1,
.page-wrapper.st-page--landing > #st_headline_2,
.page-wrapper.st-page--landing #st_hero,
.page-wrapper.st-page--landing #st_hero_meta,
.page-wrapper.st-page--landing .breadcrumb,
.page-wrapper.st-page--landing #system-breadcrumb,
.page-wrapper.st-page--landing #sidebar-box-first,
.page-wrapper.st-page--landing #sidebar-box-second,
.page-wrapper.st-page--landing #article_advertising_top,
.page-wrapper.st-page--landing #article_advertising_bottom,
.page-wrapper.st-page--landing #st_ad_left,
.page-wrapper.st-page--landing #st_ad_right,
.page-wrapper.st-page--landing #st_footer,
.page-wrapper.st-page--landing .st-footer,
.page-wrapper.st-page--landing .footer-regions,
.page-wrapper.st-page--landing #footer-menu,
.page-wrapper.st-page--landing .view-st-startseite,
.page-wrapper.st-page--landing .view-id-st_startseite,
.page-wrapper.st-page--landing #st-homepage-content,
.page-wrapper.st-page--landing #st-homepage-news,
.page-wrapper.st-page--landing #st-homepage-lead,
.page-wrapper.st-page--landing #st-homepage-grid {
  display: none !important;
}

.page-wrapper.st-page--landing #st_hero,
.page-wrapper.st-page--landing #st_hero_meta {
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

.page-wrapper.st-page--landing #main-container.active-main-3 > #main-container-inner {
  grid-template-columns: minmax(0, 1fr) !important;
}

.page-wrapper.st-page--landing #main-container,
.page-wrapper.st-page--landing #sidebar-box-main,
.page-wrapper.st-page--landing #sidebar-box-main > .sidebar-box-main-inner {
  max-width: none;
  width: 100%;
}

.page-wrapper.st-page--landing #st_header {
  position: relative;
  z-index: 2;
  background: var(--st-landing-header-bg);
  backdrop-filter: blur(10px);
}

.page-wrapper.st-page--landing #st_header #header-inner {
  padding-inline: var(--st-landing-pad-fluid);
  box-sizing: border-box;
}

.page-wrapper.st-page--landing #st_header .article-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: var(--st-landing-gap-fluid);
  padding-inline: 0;
}

.page-wrapper.st-page--landing #st_header .article-header__slot--left,
.page-wrapper.st-page--landing #st_header .article-header__toggle--menu,
.page-wrapper.st-page--landing #block-saarland-today-offcanvas-menu-trigger {
  display: none !important;
}

.page-wrapper.st-page--landing #st_header .article-header__slot--center {
  flex: 0 1 auto;
  grid-column: auto;
  justify-self: start;
  margin-inline: 0;
}

.page-wrapper.st-page--landing #st_header .article-header__slot--right {
  flex: 0 0 auto;
  grid-column: auto;
  justify-self: end;
  margin-left: auto;
}

.page-wrapper.st-page--landing #st_header .article-header__logo-link {
  grid-column: auto;
  justify-self: start;
  align-items: flex-start;
  margin-inline: 0;
  padding-left: 10px;;
}

.page-wrapper.st-page--landing #st_header #block-saarland-today-branding {
  padding-left: 10px;
}

.page-wrapper.st-page--landing #st_header #block-saarland-today-branding .branding-wrapper,
.page-wrapper.st-page--landing #st_header #block-saarland-today-branding .branding-first {
  margin-inline: 0;
}

.page-wrapper.st-page--landing #main-container,
.page-wrapper.st-page--landing #main-container-inner,
.page-wrapper.st-page--landing #sidebar-box-main,
.page-wrapper.st-page--landing .sidebar-box-main-inner {
  background: var(--color-transparent) !important;
  background-color: var(--color-transparent) !important;
}

.page-wrapper.st-page--landing {
  --st-main-container-offset: 0px !important;
  --st-hero-stage-height: 0px !important;
}

.page-wrapper.st-page--landing #main-container {
  margin-top: 0 !important;
  min-height: auto !important;
}

.page-wrapper.st-page--landing #copyright,
.page-wrapper.st-page--landing #st_copyright {
  margin-top: auto;
  background: linear-gradient(
    180deg,
    var(--color-functional-046) 0%,
    var(--color-functional-047) 100%
  ) !important;
  background-color: var(--color-transparent) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--st-landing-widget-fg, var(--color-f3f4f6));
}

.page-wrapper.st-page--landing :is(#copyright, #st_copyright) #copyright-inner,
.page-wrapper.st-page--landing :is(#copyright, #st_copyright) .st-copyright__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(var(--st-landing-gap-fluid) * 0.65);
  padding-block: calc(var(--st-landing-gap-fluid) * 0.85);
}

/* Footer-left: horizontal oberhalb Copyright (#block-saarland-today-copyright). */
.page-wrapper.st-page--landing :is(#copyright, #st_copyright) .st-landing-footer-menu {
  width: 100%;
  order: -1;
  margin: 0;
  padding: 0 0 calc(var(--st-landing-gap-fluid) * 0.65);
  border-bottom: 1px solid var(--color-functional-048);
}

.page-wrapper.st-page--landing :is(#copyright, #st_copyright) .st-landing-footer-menu :is(.block-menu, nav) {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
}

.page-wrapper.st-page--landing :is(#copyright, #st_copyright) .st-landing-footer-menu :is(.menu, ul.menu) {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(10px, calc(8px + 0.35vw), 24px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-wrapper.st-page--landing :is(#copyright, #st_copyright) .st-landing-footer-menu .menu-item {
  margin: 0;
  padding: 0;
}

.page-wrapper.st-page--landing :is(#copyright, #st_copyright) .st-landing-footer-menu :is(.menu-item a, a.nav__menu-link, .menu__url-title) {
  white-space: nowrap;
  text-decoration: none;
  color: var(--st-landing-widget-fg, var(--color-f3f4f6)) !important;
  -webkit-text-fill-color: var(--color-current) !important;
}

.page-wrapper.st-page--landing :is(#copyright, #st_copyright) .st-landing-footer-menu :is(.menu-item a, a.nav__menu-link):hover,
.page-wrapper.st-page--landing :is(#copyright, #st_copyright) .st-landing-footer-menu :is(.menu-item a, a.nav__menu-link):focus-visible {
  color: var(--st-accent, var(--color-ff4f93)) !important;
}

.st-listing--landing {
  max-width: min(100%, 1680px);
  margin-inline: auto;
  padding-block: var(--st-landing-pad-fluid);
  padding-inline: var(--st-landing-pad-fluid);
  box-sizing: border-box;
}

/* Mit Karte: Breite/Padding steuert saarland-regional-public.css (#st-listing) */
.st-listing--landing:has(.regional-map) {
  max-width: none;
  padding-inline: 0;
}

.st-landing-page {
  display: flex;
  flex-direction: column;
  gap: calc(var(--st-landing-gap-fluid) * 1.35);
  color: var(--st-landing-page-fg);
}

.page-wrapper.st-page--landing .regional-map__header :is(.regional-map__title, .regional-map__description) {
  color: var(--st-landing-page-fg, var(--color-fff)) !important;
  -webkit-text-fill-color: var(--st-landing-page-fg, var(--color-fff)) !important;
}

/* ── Kopfbereich: Shortcuts ── */

.st-landing-page__top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(var(--st-landing-gap-fluid) * 1.1);
  padding-block: calc(var(--st-landing-pad-fluid) * 0.5) var(--st-landing-gap-fluid);
  text-align: center;
  margin-top:  clamp(40px, calc(18.182px + 6.818vw), 100px);
  ;
}

.st-landing-page__description {
  margin: 0;
  max-width: 42rem;
  color: var(--st-landing-hero-fg-muted);
  line-height: 1.45;
  text-shadow: 0 1px 10px var(--color-functional-049);
}

.page-wrapper.st-page--landing .st-landing-page__description {
  color: var(--st-landing-page-fg, var(--color-fff)) !important;
  -webkit-text-fill-color: var(--st-landing-page-fg, var(--color-fff)) !important;
}

.st-landing-search {
  width: min(100%, var(--st-landing-search-max));
}

.st-landing-search__form {
  margin: 0;
}

.st-landing-search__input {
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 0.9rem 1.35rem;
  border: 0;
  border-radius: 10px;
  background: var(--st-landing-search-bg);
  box-shadow: 0 8px 28px var(--color-functional-050);
  color: var(--st-landing-search-text);
  -webkit-text-fill-color: var(--st-landing-search-text);
  font: inherit;
  line-height: 1.3;
}

.st-landing-search__input::placeholder {
  color: var(--st-landing-search-placeholder);
}

.st-landing-search__input:focus {
  outline: 2px solid var(--color-functional-051);
  outline-offset: 2px;
}

.st-landing-shortcuts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem 1.1rem;
  max-width: min(100%, 920px);
}

.st-landing-shortcut {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  width: 5.5rem;
  color: var(--st-landing-hero-fg);
  text-decoration: none;
  text-shadow: 0 1px 6px var(--color-functional-033);
}

.st-landing-shortcut__icon {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: var(--color-functional-052);
  backdrop-filter: blur(8px);
  border: 1px solid var(--color-functional-048);
  font-weight: 700;
  line-height: 1;
}

.st-landing-shortcut__label {
  overflow: hidden;
  max-width: 100%;
  line-height: 1.2;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.st-landing-shortcut:hover .st-landing-shortcut__icon,
.st-landing-shortcut:focus-visible .st-landing-shortcut__icon {
  background: var(--color-functional-053);
}

/* ── Glas-Panels (Widgets + Artikel) ── */

.st-landing-panel {
  padding: calc(var(--st-landing-gap-fluid) * 1.05);
  border: 0;
  border-radius: var(--st-landing-panel-radius);
  background: var(--color-transparent);
  background-color: var(--color-transparent);
  box-shadow: none;
}

.st-landing-panel--search {
  display: flex;
  justify-content: center;
  margin-top: clamp(10px, calc(6.364px + 1.136vw), 20px);
}

.st-landing-panel--search .st-landing-search {
  width: min(100%, var(--st-landing-search-max));
}

.st-landing-panel--widgets {
  padding-bottom: 0;
}

/* ── Widgets + Artikel-Grid (gleiche Spaltenbreite) ── */

.st-landing-widgets__grid,
.st-landing-articles__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--st-landing-card-gap-fluid);
}

.st-landing-widgets__item {
  min-width: 0;
}

.st-landing-widgets__item--has-menu {
  position: relative;
}

.st-landing-widget__menu {
  position: absolute;
  top: calc(var(--st-landing-gap-fluid) * 0.35);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  line-height: 1;
}

.st-landing-panel--widgets .st-landing-widgets__item {
  display: flex;
}

.st-landing-panel--widgets .st-landing-widgets__item > .st-landing-widget {
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
  min-height: 100%;
}

.st-landing-panel--widgets .st-landing-widget__inner {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.st-landing-widgets__item > .st-landing-widget {
  width: 100%;
  height: 100%;
}

.st-landing-widget__inner {
  box-sizing: border-box;
  width: 100%;
  min-height: 132px;
  padding: calc(var(--st-landing-gap-fluid) * 0.9);
  border: 0;
  border-radius: calc(var(--st-landing-card-radius) + 2px);
  background: var(--color-transparent);
  background-color: var(--color-transparent);
  box-shadow: none;
  color: var(--st-landing-widget-fg);
}

.st-landing-widget__label {
  margin: 0 0 0.55rem;
  color: var(--st-landing-widget-label);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.st-landing-widget__date,
.st-landing-widget__time {
  margin: 0;
  line-height: 1.2;
}

.st-landing-widget__date {
}

.st-landing-widget__time {
  margin-top: 0.35rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.st-landing-widget__headline {
  margin: 0;
  font-weight: 600;
  line-height: 1.35;
}

.st-landing-widget__headline a {
  color: inherit;
  text-decoration: none;
}

.st-landing-widget__headline a:hover {
  text-decoration: underline;
}

.st-landing-widget__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.st-landing-widget__list li + li {
  margin-top: 0.45rem;
}

.st-landing-widget__list a {
  color: var(--st-landing-widget-fg);
  line-height: 1.35;
  text-decoration: none;
}

.st-landing-widget__list a:hover {
  text-decoration: underline;
}

/* ── Links (Bookmark & Newsletter) ── */

.st-landing-widget--links .st-landing-widget__inner {
  min-height: auto;
  padding: 0;
}

.st-landing-widget--links .st-landing-links-panel {
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: center;
  min-height: 100%;
  padding: 0.85rem 1.35rem;
  border: 0;
  border-radius: 10px;
  background: var(--st-landing-surface-bg);
  box-shadow: none;
  color: var(--st-landing-surface-text);
}

.st-landing-panel--widgets .st-landing-widget--links .st-landing-links-panel {
  flex: 1;
  min-height: 100%;
}

.st-landing-links-panel__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.st-landing-links-panel__item + .st-landing-links-panel__item {
  margin-top: 0.65rem;
}

.st-landing-links-panel__action {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  line-height: 1.35;
}

.st-landing-links-panel__action:hover,
.st-landing-links-panel__action:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.st-landing-links-panel__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--st-landing-surface-icon);
  line-height: 1;
}

.st-landing-links-panel__label {
  min-width: 0;
  font-weight: 600;
}

.st-landing-widget__message {
  margin: 0;
  color: var(--st-landing-widget-label);
}

.st-landing-widget--weather .wdsb-weather-panel {
  display: block;
  width: 100%;
  margin: 0;
}

.st-landing-widget--weather .wdsb-weather-panel__heading,
.st-landing-widget--weather .wdsb-weather-panel__divider,
.st-landing-widget--weather .wdsb-weather-panel__stats,
.st-landing-widget--weather .wdsb-weather-panel__alert-slot {
  display: none !important;
}

.st-landing-widget--weather .wdsb-weather-panel__card {
  display: flex;
  width: 100%;
  flex-wrap: nowrap;
  align-items: center;
  min-height: auto;
  padding: 0.85rem 1.35rem;
  border: 0;
  border-radius: 10px;
  background: var(--st-landing-surface-bg) !important;
  box-shadow: none;
  color: var(--st-landing-surface-text);
  --wdsb-weather-panel-bg: var(--st-landing-surface-bg);
  --wdsb-weather-panel-border: var(--color-transparent);
  --wdsb-weather-panel-text: var(--st-landing-surface-text);
  --wdsb-weather-panel-muted: var(--st-landing-surface-muted);
}

.st-landing-widget--weather .wdsb-weather-panel__primary {
  flex: 0 1 auto;
  gap: 0.85rem;
  padding-right: 0;
}

.st-landing-widget--weather .wdsb-weather-panel__summary .wdsb-weather-panel__temperature-value,
.st-landing-widget--weather .wdsb-weather-panel__summary .wdsb-weather-panel__temperature-unit,
.st-landing-widget--weather .wdsb-weather-panel__summary .wdsb-weather-panel__condition-text,
#st_body .st-landing-widget--weather .wdsb-weather-panel__summary .wdsb-weather-panel__temperature-value,
#st_body .st-landing-widget--weather .wdsb-weather-panel__summary .wdsb-weather-panel__temperature-unit,
#st_body .st-landing-widget--weather .wdsb-weather-panel__summary .wdsb-weather-panel__condition-text {
  color: var(--st-landing-surface-text) !important;
}

.st-landing-widget--weather .wdsb-weather-panel__icon-fa {
}

.st-landing-widget--weather .wdsb-weather-panel__temperature-value {
  font-weight: 700;
}

.st-landing-widget--weather .wdsb-weather-panel__temperature-unit {
  font-weight: 700;
}

.st-landing-widget--weather .wdsb-weather-panel__condition-text {
  font-weight: 400;
}

.st-landing-widget--weather .wdsb-weather-panel__summary {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
}

.st-landing-widget--weather .wdsb-weather-panel__location-name {
  margin: 0;
  color: var(--st-landing-surface-muted);
  font-weight: 600;
  line-height: 1.2;
}

.st-landing-widget--weather .st-landing-widget__inner {
  min-height: auto;
  padding: 0;
}

.st-landing-panel--widgets .st-landing-widget--weather .wdsb-weather-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.st-landing-panel--widgets .st-landing-widget--weather .wdsb-weather-panel__card {
  flex: 1;
  min-height: 100%;
}

.st-landing-widget--datetime .st-landing-widget__inner {
  min-height: auto;
  padding: 0;
}

.st-landing-widget--datetime .st-landing-datetime-panel {
  display: flex;
  width: 100%;
  flex: 1;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.85rem;
  min-height: 100%;
  padding: 0.85rem 1.35rem;
  border: 0;
  border-radius: 10px;
  background: var(--st-landing-surface-bg);
  box-shadow: none;
  color: var(--st-landing-surface-text);
}

.st-landing-widget--datetime .st-landing-datetime-panel__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.st-landing-widget--datetime .st-landing-datetime-panel__icon-fa {
  color: var(--st-landing-surface-icon);
  line-height: 1;
}

.st-landing-widget--datetime .st-landing-datetime-panel__summary {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
  min-width: 0;
}

.st-landing-widget--datetime .st-landing-datetime-panel__label {
  margin: 0;
  color: var(--st-landing-surface-muted);
  font-weight: 600;
  line-height: 1.2;
}

.st-landing-widget--datetime .st-landing-datetime-panel__time {
  margin: 0;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.st-landing-widget--datetime .st-landing-datetime-panel__date {
  margin: 0;
  font-weight: 400;
  line-height: 1.2;
}

/* ── Saarland Regional (Daten) ── */

.st-landing-widget--regional .st-landing-widget__inner {
  min-height: auto;
  padding: 0;
}

.st-landing-widget__inner--link {
  text-decoration: none;
  color: inherit;
}

.st-landing-widget--regional .st-landing-regional-panel {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 100%;
  padding: 0.85rem 1.35rem;
  border: 0;
  border-radius: 10px;
  background: var(--st-landing-surface-bg);
  box-shadow: none;
  color: var(--st-landing-surface-text);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.st-landing-panel--widgets .st-landing-widget--regional .st-landing-regional-panel {
  flex: 1;
  min-height: 100%;
}

.st-landing-regional-panel__label {
  margin: 0;
  color: var(--st-landing-surface-muted);
  font-weight: 600 !important;
  line-height: 1.2;
}

.st-landing-regional-panel__leader-label {
  margin: 0;
  color: var(--st-landing-surface-muted);
  font-weight: 600;
  line-height: 1.2;
}

.st-landing-regional-panel__leader-name {
  margin: 0;
  font-weight: 700 !important;
  line-height: 1.2;
  text-decoration: none;
}

.st-landing-regional-panel__cta {
  margin: auto 0 0;
  padding-top: 0.35rem;
  font-weight: 500;
  text-align: right;
  color: var(--st-landing-surface-muted);
}

.st-landing-widget--regional .st-landing-widget__inner--link:hover .st-landing-regional-panel,
.st-landing-widget--regional .st-landing-widget__inner--link:focus-visible .st-landing-regional-panel {
  transform: translateY(-2px);
  box-shadow: var(--st-landing-card-shadow);
}

.st-landing-widget--regional .st-landing-widget__inner--link:hover .st-landing-regional-panel__leader-name,
.st-landing-widget--regional .st-landing-widget__inner--link:focus-visible .st-landing-regional-panel__leader-name {
  text-decoration: none;
}

.st-landing-widget--regional .st-landing-widget__inner--link:hover .st-landing-regional-panel__cta,
.st-landing-widget--regional .st-landing-widget__inner--link:focus-visible .st-landing-regional-panel__cta {
  color: var(--st-landing-surface-text);
}

/* ── Artikelkarten ── */

.st-landing-articles__empty {
  margin: 0;
  padding: 1.25rem;
  border-radius: var(--st-landing-card-radius);
  background: var(--st-landing-empty-bg);
  color: var(--st-landing-empty-text);
}

.st-landing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 100%;
  border-radius: var(--st-landing-card-radius);
  background: var(--st-landing-card-bg);
  box-shadow: var(--st-landing-card-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.st-landing-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--st-landing-card-shadow-hover);
}

.st-landing-card__media {
  text-decoration: none;
}

.st-landing-card__body {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 0;
  padding: 0.85rem 0.95rem 1rem;
  padding-bottom: calc(1rem + 1.25rem);
}

.st-landing-card__title {
  margin: 0;
  font-weight: 700;
  line-height: 1.35;
}

.st-landing-card__title a {
  color: var(--st-landing-card-text);
  text-decoration: none;
}

.st-landing-card__title a:hover {
  text-decoration: underline;
}

.st-landing-card .category-card__media-box {
  background: var(--st-landing-card-media-bg);
}

.st-landing-card__meta {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0;
  padding: 0;
  color: var(--st-landing-card-meta);
  line-height: 1.3;
  text-transform: uppercase;
}

.st-landing-card__meta.grid-category {
  --st-category-icon: url("/themes/custom/saarland_today/assets/images/saarlandtoday-s-mono.svg");
}

.st-landing-card__meta.grid-category::before {
  content: none;
  display: none;
}

.st-landing-card__meta .category-icon {
  --st-category-icon-color: var(--st-landing-card-icon);
  display: inline-block;
  flex-shrink: 0;
  align-self: center;
  width: 1rem;
  height: 1rem;
  background-color: var(--st-category-icon-color);
  background-image: none;
  -webkit-mask-image: var(--st-category-icon);
  mask-image: var(--st-category-icon);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-position: center;
  mask-position: center;
}

.st-landing-card__meta .st-landing-card__category-logo-img {
  display: inline-block;
  flex-shrink: 0;
  align-self: center;
  width: 1rem;
  height: 1rem;
  max-width: none;
  object-fit: contain;
  object-position: center;
}

.st-landing-card__source {
  overflow: hidden;
  color: var(--st-landing-card-meta);
  font-weight: 600;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.st-landing-card__source:hover {
  text-decoration: underline;
}

.st-landing-articles__grid > * {
  display: flex;
  min-height: 0;
}

.st-landing-articles__grid > .st-landing-section-header__wrap,
.st-landing-articles__grid > .st-landing-events-row__heading-wrap {
  display: block;
}

.st-landing-articles__grid > .st-landing-card {
  flex: 1 1 auto;
  width: 100%;
  min-height: 100%;
}

.st-landing-articles__grid > .st-landing-card--ad-row-five {
  grid-column: 4;
}

/* ── Werbung im Artikelraster ── */

.st-landing-card--ad {
  min-height: 100%;
}

.st-landing-card--ad:hover {
  transform: none;
}

.st-landing-card__body--ad {
  flex: 1;
  min-height: 100%;
  padding: 0.65rem 0.75rem 0.75rem;
}

.st-landing-card__ad {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 100%;
  width: 100%;
}

.st-landing-card__ad-label,
.st-landing-card--ad .saarlandtoday-gpt-ad__label {
  display: block;
  margin: 0 0 5px;
  padding: 0;
  color: var(--st-landing-card-meta);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-align: left;
  text-transform: uppercase;
}

.st-landing-card__ad-slot {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  width: 100%;
}

.st-landing-articles__grid .st-landing-card--ad #div-gpt-ad-google-ads-lp-one,
.st-landing-articles__grid .st-landing-card--ad #div-gpt-ad-google-ads-lp-two,
.st-landing-articles__grid .st-landing-card--ad #div-gpt-ad-google-ads-lp-three,
.st-landing-articles__grid .st-landing-card--ad #div-gpt-ad-google-ads-lp-four,
.st-landing-articles__grid .st-landing-card--ad #div-gpt-ad-google-ads-lp-five {
  min-height: 180px;
  width: 100%;
}

@media (max-width: 600px) {
  .st-landing-card__ad-slot,
  .st-landing-articles__grid .st-landing-card--ad #div-gpt-ad-google-ads-lp-one,
  .st-landing-articles__grid .st-landing-card--ad #div-gpt-ad-google-ads-lp-two,
  .st-landing-articles__grid .st-landing-card--ad #div-gpt-ad-google-ads-lp-three,
  .st-landing-articles__grid .st-landing-card--ad #div-gpt-ad-google-ads-lp-four,
  .st-landing-articles__grid .st-landing-card--ad #div-gpt-ad-google-ads-lp-five {
    min-height: 120px;
  }
}

@media (max-width: 1200px) {
  .st-landing-widgets__grid,
  .st-landing-articles__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .st-landing-articles__grid > .st-landing-card--ad-row-five {
    grid-column: auto;
  }
}

@media (max-width: 900px) {
  .st-landing-widgets__grid,
  .st-landing-articles__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .st-landing-widgets__grid,
  .st-landing-articles__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .st-landing-shortcut {
    width: 4.75rem;
  }

  .st-landing-shortcut__icon {
    width: 2.85rem;
    height: 2.85rem;
  }

  .page-wrapper.st-page--landing #st_header .article-header {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
}
