/*
         * Remove the large pale/white panel behind the hero title and icon buttons.
         * Keep individual cards/buttons intact.
         */
        body.home .entry-content > .wp-block-cover:first-child,
        body.home .entry-content > .wp-block-group:first-child,
        body.home .wp-block-cover__inner-container,
        body.home .wp-block-cover__inner-container > .wp-block-group,
        body.home .wp-block-cover__inner-container > .wp-block-group > .wp-block-group {
            background: transparent !important;
            background-color: transparent !important;
            box-shadow: none !important;
            border: 0 !important;
        }

        /*
         * Keep the quick navigation cards readable.
         */
        body.home .wp-block-cover__inner-container a,
        body.home .wp-block-cover__inner-container .wp-block-button__link,
        body.home .wp-block-cover__inner-container .hernad-hero-icon-card,
        body.home .wp-block-cover__inner-container .hernad-front-card {
            background-color: rgba(255,255,255,0.94) !important;
        }

        /*
         * Keep the green subtitle pill visible.
         */
        body.home .wp-block-cover__inner-container .wp-block-heading + p,
        body.home .wp-block-cover__inner-container p.has-background {
            background-color: rgba(38, 86, 52, 0.94) !important;
        }
    


      /* ── Hide TEC chrome not needed in the homepage sidebar ── */
      .hernad-news-events .tribe-events-header,
      .hernad-news-events .tribe-events-c-events-bar,
      .hernad-news-events .tribe-events-c-top-bar,
      .hernad-news-events .tribe-events-calendar-list__month-separator,
      .hernad-news-events .tribe-events-after-html,
      .hernad-news-events .tribe-events-footer,
      .hernad-news-events .tribe-events-view-loader,
      .hernad-news-events .tribe-events-calendar-list__event-venue-address,
      .hernad-news-events .tribe-events-calendar-list__event-featured-image,
      .hernad-news-events [class*="tribe-events-c-subscribe"],
      .hernad-news-events [class*="tribe-events-ical"] {
        display: none !important;
      }

      /* ── Outer container ── */
      .hernad-news-events .tec-block__archive-events {
        margin: 0 !important;
        padding: 0 !important;
      }

      .hernad-news-events .tribe-common-l-container,
      .hernad-news-events .tribe-events-l-container {
        padding: 0 !important;
        max-width: none !important;
        min-height: 0 !important;
      }

      /* ── Events list ── */
      .hernad-news-events .tribe-events-calendar-list {
        list-style: none !important;
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
      }

      /* ── Each event row → card ── */
      .hernad-news-events .tribe-events-calendar-list__event-row {
        display: flex !important;
        align-items: flex-start !important;
        gap: 13px !important;
        background: #ffffff !important;
        border: 1px solid #e5e7eb !important;
        border-radius: 16px !important;
        padding: 13px 14px !important;
        margin: 0 !important;
        box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05) !important;
        transition: border-color 0.18s, box-shadow 0.18s !important;
        /* override tribe-common-g-row */
        flex-wrap: nowrap !important;
      }

      .hernad-news-events .tribe-events-calendar-list__event-row:hover {
        border-color: #d9ecfa !important;
        box-shadow: 0 8px 22px rgba(21, 128, 61, 0.10) !important;
      }

      /* ── Date badge (left column) ── */
      .hernad-news-events .tribe-events-calendar-list__event-date-tag {
        flex: 0 0 50px !important;
        width: 50px !important;
        min-width: 50px !important;
        max-width: 50px !important;
        height: 50px !important;
        min-height: 50px !important;
        border-radius: 999px !important;
        background: #f3fafe !important;
        border: 1.5px solid #d9ecfa !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
        margin: 1px 0 0 !important;
        /* override tribe-common-g-col grid */
        float: none !important;
        position: static !important;
      }

      .hernad-news-events .tribe-events-calendar-list__event-date-tag-datetime {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0 !important;
      }

      .hernad-news-events .tribe-events-calendar-list__event-date-tag-weekday {
        font-size: 10px !important;
        font-weight: 700 !important;
        color: #0f73ba !important;
        text-transform: uppercase !important;
        letter-spacing: 0.03em !important;
        line-height: 1.2 !important;
      }

      .hernad-news-events .tribe-events-calendar-list__event-date-tag-daynum {
        font-size: 20px !important;
        font-weight: 800 !important;
        color: #145c8f !important;
        line-height: 1.1 !important;
        letter-spacing: -0.02em !important;
        /* override tribe-common-h5/h4 */
        margin: 0 !important;
        padding: 0 !important;
      }

      /* ── Event wrapper (right column) ── */
      .hernad-news-events .tribe-events-calendar-list__event-wrapper {
        flex: 1 1 0 !important;
        min-width: 0 !important;
        padding: 0 !important;
        /* override tribe-common-g-col */
        float: none !important;
        width: auto !important;
      }

      .hernad-news-events .tribe-events-calendar-list__event {
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
        /* override tribe-common-g-row */
        float: none !important;
      }

      .hernad-news-events .tribe-events-calendar-list__event-details {
        padding: 0 !important;
        float: none !important;
        width: auto !important;
      }

      .hernad-news-events .tribe-events-calendar-list__event-header {
        margin: 0 !important;
        padding: 0 !important;
      }

      /* ── Event title ── */
      .hernad-news-events .tribe-events-calendar-list__event-title {
        margin: 0 0 5px !important;
        padding: 0 !important;
        /* override tribe-common-h6 */
        font-size: 15px !important;
        font-weight: 700 !important;
        line-height: 1.3 !important;
      }

      .hernad-news-events .tribe-events-calendar-list__event-title-link {
        color: #145c8f !important;
        text-decoration: none !important;
        font-weight: 700 !important;
        /* override tribe-common-anchor-thin */
        border-bottom: none !important;
      }

      .hernad-news-events .tribe-events-calendar-list__event-title-link:hover {
        color: #0f73ba !important;
        text-decoration: underline !important;
      }

      /* ── Date/time line ── */
      .hernad-news-events .tribe-events-calendar-list__event-datetime-wrapper {
        margin: 0 0 4px !important;
        padding: 0 !important;
        /* override tribe-common-b2 */
        font-size: 13px !important;
        font-weight: 500 !important;
        color: #475569 !important;
        line-height: 1.45 !important;
      }

      .hernad-news-events .tribe-event-date-start,
      .hernad-news-events .tribe-event-time {
        color: #475569 !important;
        font-size: 13px !important;
      }

      /* ── Venue (name only, address hidden above) ── */
      .hernad-news-events .tribe-events-calendar-list__event-venue {
        margin: 0 !important;
        padding: 0 !important;
        font-style: normal !important;
        /* override tribe-common-b2 */
        font-size: 12.5px !important;
        line-height: 1.4 !important;
        color: #63738a !important;
        display: flex !important;
        align-items: center !important;
        gap: 4px !important;
      }

      .hernad-news-events .tribe-events-calendar-list__event-venue::before {
        content: "📍";
        font-size: 11px !important;
        flex-shrink: 0 !important;
      }

      .hernad-news-events .tribe-events-calendar-list__event-venue-title {
        color: #63738a !important;
        font-size: 12.5px !important;
        font-weight: 600 !important;
        /* override tribe-common-b2--bold */
        line-height: 1.35 !important;
      }

      /* ── Responsive ── */
      @media (max-width: 781px) {
        .hernad-news-events .tribe-events-calendar-list__event-date-tag {
          flex: 0 0 44px !important;
          width: 44px !important;
          min-width: 44px !important;
          height: 44px !important;
          min-height: 44px !important;
        }

        .hernad-news-events .tribe-events-calendar-list__event-date-tag-daynum {
          font-size: 18px !important;
        }

        .hernad-news-events .tribe-events-calendar-list__event-title {
          font-size: 14.5px !important;
        }
      }

    

      body.home a.hernad-front-card-thumb {
        border-radius: 8px !important;
        aspect-ratio: 16 / 9 !important;
        padding: 0 !important;
        overflow: hidden !important;
      }

      body.home a.hernad-front-card-thumb img {
        border-radius: 0 !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        display: block !important;
      }
    

      body.home .site-branding a.brand {
        display: inline-flex !important;
        align-items: center !important;
        padding: 4px 8px !important;
        border-radius: 12px !important;
        background: linear-gradient(90deg, rgba(255,255,255,0.14), rgba(255,255,255,0.04)) !important;
        -webkit-backdrop-filter: blur(2px);
        backdrop-filter: blur(2px);
      }

      body.home .site-branding a.brand img,
      body.home .site-branding a.brand img.custom-logo {
        max-width: 340px !important;
        height: auto !important;
        background: transparent !important;
        filter:
          drop-shadow(0 1px 1px rgba(0,0,0,0.55))
          drop-shadow(0 4px 12px rgba(0,0,0,0.30)) !important;
      }

      @media (max-width: 1024px) {
        body.home .site-branding a.brand img,
        body.home .site-branding a.brand img.custom-logo {
          max-width: 280px !important;
        }
      }

      @media (max-width: 767px) {
        body.home .site-branding a.brand img,
        body.home .site-branding a.brand img.custom-logo {
          max-width: 220px !important;
        }
      }
    

      body.home .entry-content .wp-block-cover:first-of-type,
      body.home .entry-content .wp-block-cover:has(video) {
        position: relative;
        isolation: isolate;
      }

      /* Dark overlay on the video/image for readability */
      body.home .entry-content .wp-block-cover:first-of-type::before,
      body.home .entry-content .wp-block-cover:has(video)::before {
        background: linear-gradient(
          180deg,
          rgba(0, 0, 0, 0.48) 0%,
          rgba(0, 0, 0, 0.34) 34%,
          rgba(0, 0, 0, 0.16) 100%
        ) !important;
        z-index: 1;
      }

      body.home .entry-content .wp-block-cover:first-of-type .wp-block-cover__inner-container,
      body.home .entry-content .wp-block-cover:has(video) .wp-block-cover__inner-container {
        position: relative;
        z-index: 3;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        text-align: center;
        padding-top: 72px;
      }

      /* Main title */
      body.home .entry-content .wp-block-cover:first-of-type h1,
      body.home .entry-content .wp-block-cover:has(video) h1 {
        color: #ffffff !important;
        font-size: clamp(2.3rem, 4.2vw, 4.5rem) !important;
        font-weight: 800 !important;
        line-height: 1.08 !important;
        letter-spacing: -0.035em !important;
        text-align: center !important;
        max-width: 1050px;
        margin: 0 auto 22px auto !important;
        text-shadow:
          0 3px 8px rgba(0, 0, 0, 0.85),
          0 12px 30px rgba(0, 0, 0, 0.62) !important;
      }

      /* Subtitle pill */
      body.home .entry-content .wp-block-cover:first-of-type h1 + p,
      body.home .entry-content .wp-block-cover:has(video) h1 + p {
        display: block;
        width: fit-content;
        max-width: min(960px, calc(100% - 32px));
        color: #ffffff !important;
        background: rgba(20, 55, 32, 0.82);
        border: 1px solid rgba(255, 255, 255, 0.34);
        border-radius: 999px;
        padding: 11px 26px;
        margin: 0 auto 52px auto !important;
        text-align: center !important;
        font-size: clamp(1rem, 1.45vw, 1.28rem) !important;
        font-weight: 650 !important;
        line-height: 1.45 !important;
        text-shadow: 0 2px 7px rgba(0, 0, 0, 0.65) !important;
        box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
      }

      /* Keep hero navigation cards nicely separated and centered */
      body.home .hernad-hero-icon-buttons,
      body.home .hernad-hero-icon-grid,
      body.home .hernad-hero-nav,
      body.home .hernad-hero-links {
        display: grid !important;
        grid-template-columns: repeat(4, minmax(210px, 1fr)) !important;
        gap: 16px 18px !important;
        max-width: 960px !important;
        margin-left: auto !important;
        margin-right: auto !important;
      }

      body.home .hernad-hero-icon-buttons a,
      body.home .hernad-hero-icon-grid a,
      body.home .hernad-hero-nav a,
      body.home .hernad-hero-links a {
        min-height: 58px;
        display: grid !important;
        grid-template-columns: 38px 1fr 18px;
        align-items: center !important;
        column-gap: 12px !important;
      }

      body.home .hernad-hero-icon-buttons a span,
      body.home .hernad-hero-icon-grid a span,
      body.home .hernad-hero-nav a span,
      body.home .hernad-hero-links a span {
        text-align: center !important;
      }

      @media (max-width: 1024px) {
        body.home .entry-content .wp-block-cover:first-of-type .wp-block-cover__inner-container,
        body.home .entry-content .wp-block-cover:has(video) .wp-block-cover__inner-container {
          padding-top: 92px;
        }

        body.home .hernad-hero-icon-buttons,
        body.home .hernad-hero-icon-grid,
        body.home .hernad-hero-nav,
        body.home .hernad-hero-links {
          grid-template-columns: repeat(2, minmax(220px, 1fr)) !important;
          max-width: 720px !important;
        }
      }

      @media (max-width: 640px) {
        body.home .entry-content .wp-block-cover:first-of-type .wp-block-cover__inner-container,
        body.home .entry-content .wp-block-cover:has(video) .wp-block-cover__inner-container {
          padding-top: 96px;
        }

        body.home .entry-content .wp-block-cover:first-of-type h1,
        body.home .entry-content .wp-block-cover:has(video) h1 {
          font-size: clamp(1.8rem, 8vw, 2.7rem) !important;
          margin-bottom: 16px !important;
          padding-left: 14px;
          padding-right: 14px;
        }

        body.home .entry-content .wp-block-cover:first-of-type h1 + p,
        body.home .entry-content .wp-block-cover:has(video) h1 + p {
          border-radius: 18px;
          padding: 10px 16px;
          margin-bottom: 34px !important;
        }

        body.home .hernad-hero-icon-buttons,
        body.home .hernad-hero-icon-grid,
        body.home .hernad-hero-nav,
        body.home .hernad-hero-links {
          grid-template-columns: 1fr !important;
          max-width: calc(100% - 32px) !important;
          gap: 12px !important;
        }
      }
    

      body.home .site-branding a.brand {
        display: inline-flex !important;
        align-items: center !important;
        padding: 4px 8px !important;
      }

      body.home .site-branding a.brand img,
      body.home .site-branding a.brand img.custom-logo,
      body.home .site-branding img.custom-logo {
        width: auto !important;
        max-width: 460px !important;
        height: auto !important;
      }

      @media (max-width: 1024px) {
        body.home .site-branding a.brand img,
        body.home .site-branding a.brand img.custom-logo,
        body.home .site-branding img.custom-logo {
          max-width: 380px !important;
        }
      }

      @media (max-width: 767px) {
        body.home .site-branding a.brand img,
        body.home .site-branding a.brand img.custom-logo,
        body.home .site-branding img.custom-logo {
          max-width: 280px !important;
        }
      }
    

/* Hernád synced block: A kistérség települései - with captions */
.hernad-kisterseg-logo-row {
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: center !important;
  align-items: flex-start !important;
  gap: 12px !important;
  overflow-x: auto;
  padding: 2px 0 8px;
}

.hernad-kisterseg-logo-row .wp-block-image {
  margin: 0 !important;
  flex: 0 0 98px !important;
  width: 98px !important;
  text-align: center !important;
}

.hernad-kisterseg-logo-row .wp-block-image a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 98px !important;
  height: 58px !important;
  padding: 6px !important;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #f8fafc;
  text-decoration: none !important;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.hernad-kisterseg-logo-row .wp-block-image a:hover {
  transform: translateY(-2px);
  border-color: #0f73ba;
  box-shadow: 0 8px 18px rgba(21, 128, 61, .14);
}

.hernad-kisterseg-logo-row .wp-block-image img {
  display: block !important;
  width: auto !important;
  max-width: 84px !important;
  height: auto !important;
  max-height: 44px !important;
  object-fit: contain !important;
}

.hernad-kisterseg-logo-row .wp-element-caption {
  margin: 7px 0 0 !important;
  padding: 0 !important;
  color: #111827 !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  text-align: center !important;
}

@media (max-width: 900px) {
  .hernad-kisterseg-logo-row {
    justify-content: flex-start !important;
  }
}

/* Hernád synced block: A kistérség települései - scrollable grid */
.hernad-kisterseg-synced {
  box-sizing: border-box;
  overflow: hidden;
}

.hernad-kisterseg-logo-grid {
  display: grid !important;
  grid-template-columns: repeat(9, minmax(82px, 1fr)) !important;
  gap: 10px !important;
  align-items: start !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  padding-bottom: 8px !important;
  -webkit-overflow-scrolling: touch;
}

.hernad-kisterseg-logo-grid .wp-block-image {
  margin: 0 !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  text-align: center !important;
}

.hernad-kisterseg-logo-grid .wp-block-image a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 54px !important;
  padding: 5px !important;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #f8fafc;
  text-decoration: none !important;
  box-sizing: border-box;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.hernad-kisterseg-logo-grid .wp-block-image a:hover {
  transform: translateY(-2px);
  border-color: #0f73ba;
  box-shadow: 0 8px 18px rgba(21, 128, 61, .14);
}

.hernad-kisterseg-logo-grid .wp-block-image img {
  display: block !important;
  width: auto !important;
  max-width: 70px !important;
  height: auto !important;
  max-height: 38px !important;
  object-fit: contain !important;
}

.hernad-kisterseg-logo-grid .wp-element-caption {
  margin: 6px 0 0 !important;
  padding: 0 !important;
  color: #111827 !important;
  font-size: 11px !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  text-align: center !important;
}

@media (max-width: 1180px) {
  .hernad-kisterseg-logo-grid {
    grid-template-columns: repeat(9, minmax(82px, 1fr)) !important;
  }
}

@media (max-width: 760px) {
  .hernad-kisterseg-synced {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .hernad-kisterseg-logo-grid {
    grid-template-columns: repeat(9, minmax(78px, 78px)) !important;
    justify-content: start !important;
  }

  .hernad-kisterseg-logo-grid .wp-block-image img {
    max-width: 66px !important;
    max-height: 36px !important;
  }

  .hernad-kisterseg-logo-grid .wp-element-caption {
    font-size: 10.5px !important;
  }
}

@media (max-width: 460px) {
  .hernad-kisterseg-logo-grid {
    grid-template-columns: repeat(9, minmax(74px, 74px)) !important;
  }
}

/* Hernád synced block: hard forced settlement flex row */
.hernad-kisterseg-force-row {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 10px !important;
  align-items: flex-start !important;
  justify-content: center !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  width: 100% !important;
  max-width: 100% !important;
}

.hernad-kisterseg-force-row > .wp-block-image,
.hernad-kisterseg-force-row > figure {
  display: block !important;
  flex: 0 0 92px !important;
  width: 92px !important;
  max-width: 92px !important;
  min-width: 92px !important;
  margin: 0 !important;
  float: none !important;
  clear: none !important;
}

.hernad-kisterseg-force-row .wp-block-image a {
  width: 92px !important;
  height: 58px !important;
}

@media (max-width: 760px) {
  .hernad-kisterseg-force-row {
    justify-content: flex-start !important;
  }

  .hernad-kisterseg-force-row > .wp-block-image,
  .hernad-kisterseg-force-row > figure {
    flex-basis: 82px !important;
    width: 82px !important;
    max-width: 82px !important;
    min-width: 82px !important;
  }

  .hernad-kisterseg-force-row .wp-block-image a {
    width: 82px !important;
  }
}

/* Hernád synced block: kistérség HTML table layout */
.hernad-kisterseg-table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 10px;
  -webkit-overflow-scrolling: touch;
}

.hernad-kisterseg-table {
  width: 100%;
  min-width: 980px;
  table-layout: fixed;
  border-collapse: separate !important;
  border-spacing: 16px 0 !important;
  margin: 0 !important;
  border: 0 !important;
}

.hernad-kisterseg-table,
.hernad-kisterseg-table tbody,
.hernad-kisterseg-table tr,
.hernad-kisterseg-table td {
  border: 0 !important;
  background: transparent !important;
}

.hernad-kisterseg-table td {
  width: 11.111%;
  padding: 2px 0 0 0 !important;
  text-align: center !important;
  vertical-align: top !important;
}

.hernad-kisterseg-tile {
  display: block !important;
  width: 100% !important;
  text-decoration: none !important;
  color: #111827 !important;
}

.hernad-kisterseg-imgbox {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 58px !important;
  padding: 6px !important;
  border: 1px solid #d8dde3;
  border-radius: 12px;
  background: #f8fafc;
  box-sizing: border-box;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease, background-color .16s ease;
}

.hernad-kisterseg-tile:hover .hernad-kisterseg-imgbox,
.hernad-kisterseg-tile:focus .hernad-kisterseg-imgbox {
  transform: translateY(-1px);
  border-color: #0f73ba;
  background: #ffffff;
  box-shadow: 0 4px 10px rgba(21, 128, 61, .12);
}

.hernad-kisterseg-imgbox img {
  display: block !important;
  width: auto !important;
  max-width: 76px !important;
  height: auto !important;
  max-height: 42px !important;
  object-fit: contain !important;
}

.hernad-kisterseg-name {
  display: block !important;
  margin-top: 8px !important;
  font-size: 11px !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
  color: #111827 !important;
  text-align: center !important;
}

@media (max-width: 760px) {
  .hernad-kisterseg-table {
    min-width: 860px;
    border-spacing: 12px 0 !important;
  }

  .hernad-kisterseg-imgbox {
    height: 54px !important;
  }

  .hernad-kisterseg-imgbox img {
    max-width: 68px !important;
    max-height: 38px !important;
  }

  .hernad-kisterseg-name {
    font-size: 10.5px !important;
  }
}


        body {
            padding-bottom: 185px !important;
        }

        .hernad-sztp-footer-logo {
            height: 72px !important;
            margin-bottom: 8px !important;
            padding: 7px !important;
        }

        .hernad-sztp-footer-logo img {
            max-height: 60px !important;
            max-width: 100% !important;
        }

        .hernad-sztp-footer-card {
            padding-top: 12px !important;
            padding-bottom: 12px !important;
        }

        @media (max-width: 1024px) {
            body {
                padding-bottom: 220px !important;
            }

            .hernad-sztp-footer-logo {
                height: 64px !important;
            }

            .hernad-sztp-footer-logo img {
                max-height: 52px !important;
            }
        }

        @media (max-width: 640px) {
            body {
                padding-bottom: 175px !important;
            }

            .hernad-sztp-footer-logo {
                height: 58px !important;
            }

            .hernad-sztp-footer-logo img {
                max-height: 48px !important;
            }

            .hernad-sztp-footer-card {
                flex-basis: 250px !important;
            }
        }
    

:root{
	/* A Kadence `Inter` (tartalék nélkül!) helyett teljes betűlánc. */
	--global-body-font-family:'Inter','Inter Fallback',system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif;
	/* Címsorok is Inter (a Syne kivezetve) — így egységes és jól olvasható. */
	--global-heading-font-family:'Inter','Inter Fallback',system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif;
	--global-fallback-font:sans-serif;
	--global-display-fallback-font:sans-serif;
}

/*
 * Olvashatóság: a Kadence a h2-t csupa nagybetűre állítja. A hosszú, ékezetes
 * magyar címsorok (Ő, Ű, Á) csupa nagybetűvel jelentősen nehezebben olvashatók,
 * és a Syne mint dísz-betű ezt tovább rontja. A kezdőlapon a 067-es plugin
 * amúgy is már kikapcsolta — itt az egész oldalra egységesítjük.
 */
h2{text-transform:none;}


      /*
       * Use Kadence/theme typography, do not introduce a separate homepage font style.
       */
      body.home {
        --hernad-font-heading: var(--global-heading-font-family, var(--global-body-font-family, inherit));
        --hernad-font-body: var(--global-body-font-family, inherit);
      }

      /*
       * Main homepage section headings:
       * Gyors ügyintézés
       * Legfrissebb hírek
       * Következő események
       * Projektek
       */
      body.home h2.hernad-home-section-title,
      body.home h3.hernad-home-section-title,
      body.home .hernad-home-section-title,
      body.home h2:where(:not(.site-title)),
      body.home [class*="hernad-lower-side"] h2,
      body.home [class*="hernad-lower-side"] h3,
      body.home [class*="hernad-lower-news"] h2,
      body.home [class*="hernad-lower-news"] h3 {
        font-family: var(--hernad-font-heading) !important;
        font-style: normal !important;
        font-variant: normal !important;
        font-stretch: normal !important;
        text-transform: none !important;
        letter-spacing: normal !important;
        word-spacing: normal !important;
        color: #111827 !important;
      }

      body.home h2.hernad-home-section-title,
      body.home .hernad-home-section-title {
        font-size: clamp(24px, 1.75vw, 30px) !important;
        line-height: 1.25 !important;
        font-weight: 700 !important;
        margin-top: 0 !important;
        margin-bottom: 22px !important;
      }

      body.home h3.hernad-home-section-title,
      body.home [class*="hernad-lower-side"] h3.hernad-home-section-title {
        font-size: clamp(21px, 1.35vw, 25px) !important;
        line-height: 1.28 !important;
        font-weight: 700 !important;
        margin-top: 0 !important;
        margin-bottom: 18px !important;
      }

      body.home .hernad-home-section-title-center {
        text-align: center !important;
      }

      body.home .hernad-home-section-title-left,
      body.home .hernad-home-section-title-side {
        text-align: left !important;
      }

      /*
       * Keep the municipal underline, but make it subtle and consistent.
       */
      body.home .hernad-home-section-title::after {
        content: "";
        display: block;
        width: 44px;
        height: 3px;
        margin-top: 10px;
        border-radius: 999px;
        background: #0f73ba;
        opacity: .85;
      }

      body.home .hernad-home-section-title-center::after {
        margin-left: auto;
        margin-right: auto;
      }

      body.home .hernad-home-section-title-left::after,
      body.home .hernad-home-section-title-side::after {
        margin-left: 0;
        margin-right: auto;
      }

      /*
       * Quick-access card headings and descriptions.
       * These should look like normal site headings, not a separate decorative font.
       */
      body.home .hernad-quick-card .hernad-service-block-title,
      body.home .hernad-quick-card h3,
      body.home .hernad-quick-card h4 {
        font-family: var(--hernad-font-heading) !important;
        font-size: 17px !important;
        line-height: 1.32 !important;
        font-weight: 700 !important;
        font-style: normal !important;
        font-variant: normal !important;
        text-transform: none !important;
        letter-spacing: normal !important;
        word-spacing: normal !important;
        color: #111827 !important;
      }

      body.home .hernad-quick-card p {
        font-family: var(--hernad-font-body) !important;
        font-size: 14px !important;
        line-height: 1.58 !important;
        font-weight: 400 !important;
        font-style: normal !important;
        text-transform: none !important;
        letter-spacing: normal !important;
        word-spacing: normal !important;
        color: #4b5563 !important;
      }

      /*
       * Latest news titles and excerpts.
       */
      body.home [class*="hernad-lower-news"] h3,
      body.home [class*="hernad-lower-news"] h3 a,
      body.home [class*="hernad-lower-news"] .wp-block-post-title,
      body.home [class*="hernad-lower-news"] .wp-block-post-title a {
        font-family: var(--hernad-font-heading) !important;
        font-weight: 700 !important;
        font-style: normal !important;
        font-variant: normal !important;
        text-transform: none !important;
        letter-spacing: normal !important;
        word-spacing: normal !important;
        line-height: 1.25 !important;
        color: #111827 !important;
      }

      body.home [class*="hernad-lower-news"] p,
      body.home [class*="hernad-lower-news"] .wp-block-post-excerpt,
      body.home [class*="hernad-lower-news"] .wp-block-post-excerpt__excerpt {
        font-family: var(--hernad-font-body) !important;
        font-size: 15px !important;
        line-height: 1.65 !important;
        font-weight: 400 !important;
        letter-spacing: normal !important;
        color: #374151 !important;
      }

      body.home [class*="hernad-lower-news"] time,
      body.home [class*="hernad-lower-news"] .wp-block-post-date {
        font-family: var(--hernad-font-body) !important;
        font-size: 13px !important;
        line-height: 1.35 !important;
        font-weight: 500 !important;
        letter-spacing: normal !important;
        text-transform: none !important;
        color: #4b5563 !important;
      }

      /*
       * Events + Projects side column.
       */
      body.home [class*="hernad-lower-side"],
      body.home [class*="hernad-lower-side"] p,
      body.home [class*="hernad-lower-side"] li,
      body.home [class*="hernad-lower-side"] small,
      body.home [class*="hernad-lower-side"] span {
        font-family: var(--hernad-font-body) !important;
        font-size: 14px !important;
        line-height: 1.55 !important;
        font-weight: 400 !important;
        text-transform: none !important;
        letter-spacing: normal !important;
        word-spacing: normal !important;
        color: #374151 !important;
      }

      body.home [class*="hernad-lower-side"] a {
        font-family: var(--hernad-font-body) !important;
        font-size: 14px !important;
        line-height: 1.5 !important;
        font-weight: 500 !important;
        text-transform: none !important;
        letter-spacing: normal !important;
        color: #1f2937 !important;
        text-decoration-thickness: 1px !important;
        text-underline-offset: 3px !important;
      }

      body.home [class*="hernad-lower-side"] a:hover {
        color: #0f73ba !important;
      }

      body.home [class*="hernad-lower-side"] strong,
      body.home [class*="hernad-lower-side"] b {
        font-family: var(--hernad-font-heading) !important;
        font-weight: 700 !important;
        letter-spacing: normal !important;
        text-transform: none !important;
        color: #111827 !important;
      }

      /*
       * Force problematic uppercase-looking headings back to normal rendering.
       */
      body.home [class*="hernad-lower-side"] *,
      body.home [class*="hernad-lower-news"] *,
      body.home .hernad-quick-card * {
        font-variant-caps: normal !important;
        font-feature-settings: normal !important;
      }

      @media (max-width: 560px) {
        body.home h2.hernad-home-section-title,
        body.home .hernad-home-section-title {
          font-size: 24px !important;
        }

        body.home h3.hernad-home-section-title {
          font-size: 21px !important;
        }

        body.home .hernad-quick-card .hernad-service-block-title,
        body.home .hernad-quick-card h3 {
          font-size: 16px !important;
        }

        body.home .hernad-quick-card p {
          font-size: 13.5px !important;
        }
      }
    

        body.home .hernad-kisterseg-original-hidden {
            display: none !important;
        }

        body.home .hernad-kisterseg-clean-grid {
            display: flex !important;
            flex-wrap: wrap !important;
            justify-content: center !important;
            align-items: flex-start !important;
            gap: 10px !important;
            max-width: 860px !important;
            margin: 18px auto 0 auto !important;
            padding: 0 !important;
            overflow: visible !important;
        }

        body.home .hernad-kisterseg-clean-card {
            width: 86px !important;
            min-width: 86px !important;
            max-width: 86px !important;
            text-align: center !important;
            text-decoration: none !important;
            color: #111827 !important;
            display: flex !important;
            flex-direction: column !important;
            align-items: center !important;
            gap: 5px !important;
        }

        body.home .hernad-kisterseg-clean-icon {
            width: 80px !important;
            height: 46px !important;
            border: 1px solid #d8dee6 !important;
            border-radius: 8px !important;
            background: #f8fafc !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease !important;
        }

        body.home .hernad-kisterseg-clean-card:hover .hernad-kisterseg-clean-icon {
            transform: translateY(-1px) !important;
            border-color: #3174a3 !important;
            box-shadow: 0 6px 14px rgba(15, 23, 42, .10) !important;
        }

        body.home .hernad-kisterseg-clean-icon img {
            max-width: 46px !important;
            max-height: 40px !important;
            width: auto !important;
            height: auto !important;
            object-fit: contain !important;
            display: block !important;
            margin: 0 !important;
        }

        body.home .hernad-kisterseg-clean-name {
            font-size: 11px !important;
            line-height: 1.15 !important;
            font-weight: 700 !important;
            color: #111827 !important;
            text-align: center !important;
            white-space: normal !important;
        }

        @media (max-width: 768px) {
            body.home .hernad-kisterseg-clean-grid {
                gap: 8px !important;
                max-width: 100% !important;
            }

            body.home .hernad-kisterseg-clean-card {
                width: 80px !important;
                min-width: 80px !important;
                max-width: 80px !important;
            }

            body.home .hernad-kisterseg-clean-icon {
                width: 66px !important;
                height: 42px !important;
            }
        }
    

      /*
       * Center the events-column button.
       */

      .hernad-news-events .wp-block-buttons {
        display: flex !important;
        justify-content: center !important;
        margin-top: 16px !important;
      }

      .hernad-news-events .wp-block-button.hernad-service-block-button {
        margin-top: auto !important;
      }

      /*
       * Same base style as service-card buttons, but scoped to Összes esemény.
       * The base service style is defined in zz-homepage-gutenberg-service-cards.php.
       */

      .hernad-news-events .wp-block-button.hernad-service-block-button .wp-block-button__link {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 7px !important;

        background: #0f73ba !important;
        color: #ffffff !important;
        border-radius: 9px !important;
        padding: 9px 14px !important;
        font-size: 14px !important;
        font-weight: 800 !important;
        line-height: 1.2 !important;
        text-decoration: none !important;
        border: 0 !important;

        box-shadow: 0 6px 14px rgba(21, 128, 61, 0.18) !important;
        transition: background-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease !important;
      }

      /*
       * Small calendar icon before the text.
       */

      .hernad-news-events .wp-block-button.hernad-service-block-button .wp-block-button__link::before {
        content: "📅";
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 13px !important;
        line-height: 1 !important;
        width: 14px !important;
        height: 14px !important;
        margin-right: 1px !important;
        transform: translateY(-0.5px);
      }

      /*
       * Hover effect: active green button lift, same municipal style.
       */

      .hernad-news-events .wp-block-button.hernad-service-block-button .wp-block-button__link:hover,
      .hernad-news-events .wp-block-button.hernad-service-block-button .wp-block-button__link:focus {
        background: #145c8f !important;
        color: #ffffff !important;
        text-decoration: none !important;
        box-shadow: 0 9px 20px rgba(22, 101, 52, 0.24) !important;
        transform: translateY(-1px) !important;
      }

      .hernad-news-events .wp-block-button.hernad-service-block-button .wp-block-button__link:focus-visible {
        outline: 3px solid rgba(34, 197, 94, 0.28) !important;
        outline-offset: 3px !important;
      }

      .hernad-news-events .wp-block-button.hernad-service-block-button .wp-block-button__link:active {
        transform: translateY(0) !important;
        box-shadow: 0 5px 12px rgba(22, 101, 52, 0.18) !important;
      }
    

      /*
       * Wrapper below Összes esemény.
       */

      body.home .hernad-native-widgets {
        margin-top: 34px !important;
        padding-top: 0 !important;
      }

      body.home .hernad-native-widget {
        margin: 0 0 30px !important;
        padding: 0 !important;
      }

      /*
       * Projektek heading: match homepage section style, but keep it compact.
       */

      body.home .hernad-native-widget-title {
        position: relative !important;
        margin: 0 0 18px !important;
        padding: 0 0 10px !important;
        color: #0f172a !important;
        font-size: 22px !important;
        font-weight: 850 !important;
        line-height: 1.2 !important;
        text-align: left !important;
        text-transform: none !important;
        letter-spacing: normal !important;
      }

      body.home .hernad-native-widget-title::after {
        content: "" !important;
        display: block !important;
        width: 46px !important;
        height: 3px !important;
        margin: 10px 0 0 !important;
        border-radius: 999px !important;
        background: #0f73ba !important;
      }

      /*
       * Project list.
       */

      body.home .hernad-native-project-list {
        display: flex !important;
        flex-direction: column !important;
        gap: 18px !important;
        align-items: stretch !important;
        margin: 0 !important;
        padding: 0 !important;
      }

      /*
       * One project = image + button.
       */

      body.home .hernad-native-project-card {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 8px !important;
      }

      body.home .hernad-native-project-image {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
      }

      body.home .hernad-native-project-image img {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        height: 66px !important;
        object-fit: cover !important;
        object-position: center center !important;
        border-radius: 9px !important;
        margin: 0 !important;
        padding: 0 !important;
        box-shadow: none !important;
        cursor: default !important;
      }

      /*
       * Project button: same family as existing project buttons,
       * but cleaner and less tall.
       */

      body.home .hernad-native-project-button {
        width: 100% !important;
        margin: 0 !important;
      }

      body.home .hernad-native-project-button .wp-block-button__link {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        align-items: center !important;
        justify-content: center !important;
        column-gap: 8px !important;

        width: 100% !important;
        min-height: 50px !important;
        padding: 9px 14px !important;

        background: #ffffff !important;
        color: #145c8f !important;
        border: 1px solid #d9ecfa !important;
        border-radius: 11px !important;

        font-size: 14px !important;
        font-weight: 800 !important;
        line-height: 1.22 !important;
        text-align: center !important;
        text-decoration: none !important;
        text-transform: none !important;
        letter-spacing: normal !important;

        box-shadow: 0 3px 10px rgba(15, 23, 42, 0.035) !important;
        transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, color 0.18s ease !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
      }

      body.home .hernad-native-project-button .wp-block-button__link::after {
        content: "›" !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: #0f73ba !important;
        font-size: 21px !important;
        font-weight: 900 !important;
        line-height: 1 !important;
      }

      body.home .hernad-native-project-button .wp-block-button__link:hover,
      body.home .hernad-native-project-button .wp-block-button__link:focus {
        color: #134c74 !important;
        border-color: #bddff6 !important;
        box-shadow: 0 8px 18px rgba(21, 128, 61, 0.12) !important;
        transform: translateY(-1px) !important;
        text-decoration: none !important;
      }

      /*
       * Magyar Falu Program.
       */

      body.home .hernad-native-mfp {
        margin-top: 34px !important;
        text-align: center !important;
      }

      body.home .hernad-native-mfp .hernad-native-widget-title {
        text-align: left !important;
      }

      body.home .hernad-native-mfp-image {
        margin: 0 auto !important;
        text-align: center !important;
      }

      body.home .hernad-native-mfp-image img {
        display: block !important;
        width: auto !important;
        max-width: 190px !important;
        height: auto !important;
        margin: 0 auto !important;
      }

      /*
       * Mobile / narrow column.
       */

      @media (max-width: 900px) {
        body.home .hernad-native-project-image img {
          height: 74px !important;
        }

        body.home .hernad-native-project-button .wp-block-button__link {
          min-height: 52px !important;
          font-size: 14.5px !important;
        }
      }
    


      /* ── Flex: 4 per row, last partial row centred automatically ── */
      .hernad-logo-widget-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
        margin: 24px 0 0;
        padding: 0;
      }

      /* ── Every card: same size, same style ── */
      .hernad-logo-card,
      .hernad-logo-card--pdfs {
        /* 4 per row: 4w + 3×16px = 100% → w = calc(25% - 12px) */
        width: calc(25% - 12px);
        flex: 0 0 calc(25% - 12px);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 12px;
        min-height: 150px;

        background: #ffffff;
        border: 1px solid #e5e7eb;
        border-radius: 18px;
        padding: 20px 14px;
        box-shadow: 0 8px 24px rgba(15, 23, 42, .06);

        text-decoration: none !important;
        color: #111827;
        text-align: center;
        transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
        box-sizing: border-box;
      }

      .hernad-logo-card:hover {
        transform: translateY(-2px);
        border-color: #bddff6;
        box-shadow: 0 12px 28px rgba(21, 128, 61, .12);
        text-decoration: none !important;
      }

      .hernad-logo-card img {
        display: block;
        max-width: 100%;
        max-height: 72px;
        width: auto;
        height: auto;
        object-fit: contain;
      }

      .hernad-logo-card__label {
        font-size: 12px;
        font-weight: 700;
        color: #374151;
        line-height: 1.3;
      }

      /* ── Hulladéknaptár: two PDF links inside the card ── */
      .hernad-logo-card--pdfs {
        gap: 8px;
      }

      .hernad-logo-card-pdf-row {
        display: flex;
        gap: 12px;
        align-items: center;
        justify-content: center;
      }

      .hernad-logo-card-pdf-row a {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        text-decoration: none !important;
        color: #374151;
        font-size: 11px;
        font-weight: 700;
        transition: color .15s;
      }

      .hernad-logo-card-pdf-row a img {
        max-height: 44px;
        max-width: 70px;
        object-fit: contain;
      }

      .hernad-logo-card-pdf-row a:hover { color: #0f73ba; }

      /* ── Responsive ── */
      @media (max-width: 900px) {
        /* 3 per row: 3w + 2×16px = 100% → w = calc(33.333% - 10.667px) */
        .hernad-logo-card,
        .hernad-logo-card--pdfs {
          width: calc(33.333% - 10.667px);
          flex: 0 0 calc(33.333% - 10.667px);
        }
      }

      @media (max-width: 560px) {
        /* 2 per row: 2w + 1×16px = 100% → w = calc(50% - 8px) */
        .hernad-logo-card,
        .hernad-logo-card--pdfs {
          width: calc(50% - 8px);
          flex: 0 0 calc(50% - 8px);
        }
      }

    

      /* Override Kadence's 400px cap — let the polished logo breathe */
      .site-branding a.brand img,
      .site-branding a.brand img.svg-logo-image {
        max-width: 620px !important;
        width: auto !important;
        height: auto !important;
      }

      .site-branding img,
      .custom-logo,
      .site-logo img,
      #site-logo img,
      .kadence-logo img {
        filter: drop-shadow(0 1px 3px rgba(0,0,0,0.30)) !important;
        transition: filter .2s ease, opacity .2s ease !important;
      }
      .site-branding img:hover,
      .custom-logo:hover,
      .site-logo img:hover {
        filter: drop-shadow(0 2px 6px rgba(0,0,0,0.45)) !important;
        opacity: .92 !important;
      }
    

        /*
         * Gutenberg page-list/navigation fallback.
         */
        body.home .wp-block-page-list,
        body.home ul.wp-block-page-list,
        body.home .wp-block-navigation .wp-block-page-list,
        body.home .wp-block-navigation__container .wp-block-page-list,
        body.home .wp-block-navigation__responsive-container-content .wp-block-page-list {
            display: none !important;
            visibility: hidden !important;
            height: 0 !important;
            overflow: hidden !important;
            margin: 0 !important;
            padding: 0 !important;
        }

        /*
         * Classic WordPress Pages widget / legacy navigation widget.
         * This is the most likely source of the raw bullet links.
         */
        body.home .widget_pages,
        body.home .widget_nav_menu,
        body.home .widget.widget_pages,
        body.home .widget.widget_nav_menu,
        body.home aside.widget_pages,
        body.home section.widget_pages,
        body.home .header-widget-area .widget_pages,
        body.home .header-widget-area .widget_nav_menu,
        body.home .site-header .widget_pages,
        body.home .site-header .widget_nav_menu,
        body.home .entry-hero .widget_pages,
        body.home .entry-hero .widget_nav_menu,
        body.home .page-hero .widget_pages,
        body.home .page-hero .widget_nav_menu {
            display: none !important;
            visibility: hidden !important;
            height: 0 !important;
            overflow: hidden !important;
            margin: 0 !important;
            padding: 0 !important;
        }

        /*
         * Extra precision guard for modern browsers:
         * hide raw ULs containing old gallery/page links if they appear in the hero/header.
         */
        body.home header ul:has(a[href*="album"]),
        body.home header ul:has(a[href*="falunap"]),
        body.home .site-header ul:has(a[href*="album"]),
        body.home .site-header ul:has(a[href*="falunap"]),
        body.home .entry-hero ul:has(a[href*="album"]),
        body.home .entry-hero ul:has(a[href*="falunap"]),
        body.home .page-hero ul:has(a[href*="album"]),
        body.home .page-hero ul:has(a[href*="falunap"]) {
            display: none !important;
        }
    

      /*
       * Add clear vertical distance between the Összes esemény button
       * and the next right-column element, usually Projektek.
       */

      body.home .hernad-news-events .wp-block-buttons:has(.hernad-service-block-button) {
        margin-bottom: 32px !important;
      }

      /*
       * If the next block is the new native widget wrapper,
       * keep its own top margin controlled as well.
       */

      body.home .hernad-news-events .hernad-native-widgets {
        margin-top: 0 !important;
      }
    

        #masthead li.page_item:not(.menu-item),
        #masthead ul.children,
        #site-navigation li.page_item:not(.menu-item),
        #site-navigation ul.children,
        .primary-menu-container li.page_item:not(.menu-item),
        .primary-menu-container ul.children,
        .main-navigation li.page_item:not(.menu-item),
        .main-navigation ul.children {
            display: none !important;
            visibility: hidden !important;
            height: 0 !important;
            max-height: 0 !important;
            overflow: hidden !important;
            margin: 0 !important;
            padding: 0 !important;
            border: 0 !important;
        }
    

        body.home .hernad-kisterseg-clean-grid {
            gap: 12px !important;
            max-width: 980px !important;
        }

        body.home .hernad-kisterseg-clean-card {
            width: 98px !important;
            min-width: 98px !important;
            max-width: 98px !important;
        }

        body.home .hernad-kisterseg-clean-icon {
            width: 86px !important;
            height: 58px !important;
            border-radius: 10px !important;
        }

        body.home .hernad-kisterseg-clean-icon img {
            max-width: 60px !important;
            max-height: 52px !important;
        }

        body.home .hernad-kisterseg-clean-name {
            font-size: 11.5px !important;
            line-height: 1.15 !important;
        }

        @media (max-width: 768px) {
            body.home .hernad-kisterseg-clean-grid {
                gap: 9px !important;
            }

            body.home .hernad-kisterseg-clean-card {
                width: 86px !important;
                min-width: 86px !important;
                max-width: 86px !important;
            }

            body.home .hernad-kisterseg-clean-icon {
                width: 76px !important;
                height: 50px !important;
            }

            body.home .hernad-kisterseg-clean-icon img {
                max-width: 52px !important;
                max-height: 44px !important;
            }
        }
    

        body.home .hernad-kisterseg-clean-grid {
            gap: 12px !important;
            max-width: 1100px !important;
        }

        body.home .hernad-kisterseg-clean-card {
            width: 112px !important;
            min-width: 112px !important;
            max-width: 112px !important;
        }

        body.home .hernad-kisterseg-clean-icon {
            width: 104px !important;
            height: 72px !important;
            border-radius: 12px !important;
        }

        body.home .hernad-kisterseg-clean-icon img {
            max-width: 76px !important;
            max-height: 64px !important;
        }

        body.home .hernad-kisterseg-clean-name {
            font-size: 12px !important;
            line-height: 1.15 !important;
        }

        @media (max-width: 768px) {
            body.home .hernad-kisterseg-clean-grid {
                gap: 9px !important;
            }

            body.home .hernad-kisterseg-clean-card {
                width: 92px !important;
                min-width: 92px !important;
                max-width: 92px !important;
            }

            body.home .hernad-kisterseg-clean-icon {
                width: 86px !important;
                height: 58px !important;
            }

            body.home .hernad-kisterseg-clean-icon img {
                max-width: 62px !important;
                max-height: 52px !important;
            }

            body.home .hernad-kisterseg-clean-name {
                font-size: 11px !important;
            }
        }
    

        body.home .hernad-kisterseg-clean-grid {
            display: flex !important;
            flex-wrap: nowrap !important;
            justify-content: center !important;
            align-items: flex-start !important;
            gap: 8px !important;
            width: max-content !important;
            max-width: 100% !important;
            margin-left: auto !important;
            margin-right: auto !important;
            overflow-x: auto !important;
            overflow-y: visible !important;
            padding-bottom: 4px !important;
        }

        body.home .hernad-kisterseg-clean-card {
            flex: 0 0 104px !important;
            width: 104px !important;
            min-width: 104px !important;
            max-width: 104px !important;
        }

        body.home .hernad-kisterseg-clean-icon {
            width: 96px !important;
            height: 66px !important;
        }

        body.home .hernad-kisterseg-clean-icon img {
            max-width: 72px !important;
            max-height: 58px !important;
        }

        body.home .hernad-kisterseg-clean-name {
            font-size: 11.5px !important;
            line-height: 1.15 !important;
        }

        @media (max-width: 768px) {
            body.home .hernad-kisterseg-clean-grid {
                justify-content: flex-start !important;
                padding-left: 8px !important;
                padding-right: 8px !important;
            }

            body.home .hernad-kisterseg-clean-card {
                flex-basis: 92px !important;
                width: 92px !important;
                min-width: 92px !important;
                max-width: 92px !important;
            }

            body.home .hernad-kisterseg-clean-icon {
                width: 84px !important;
                height: 58px !important;
            }

            body.home .hernad-kisterseg-clean-icon img {
                max-width: 62px !important;
                max-height: 50px !important;
            }
        }
    

      /*
       * Reset Gutenberg/Kadence block margins inside project cards.
       */
      body.home .hernad-native-project-card,
      body.home .hernad-native-project-card figure,
      body.home .hernad-native-project-card .wp-block-image,
      body.home .hernad-native-project-card .wp-block-buttons,
      body.home .hernad-native-project-card .wp-block-button {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
      }

      /*
       * Each complete project card:
       * image + button.
       */
      body.home .hernad-native-project-card {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
        margin-bottom: 24px !important;
      }

      body.home .hernad-native-project-card:last-child {
        margin-bottom: 0 !important;
      }

      /*
       * Image -> button distance.
       * This should be visible but tight.
       */
      body.home .hernad-native-project-image {
        margin-bottom: 7px !important;
      }

      /*
       * Prevent the next image from visually touching the previous button.
       */
      body.home .hernad-native-project-button {
        margin-bottom: 0 !important;
      }

      body.home .hernad-native-project-card + .hernad-native-project-card {
        margin-top: 2px !important;
      }

      /*
       * Optional: make the button a little less tall so the stack breathes better.
       */
      body.home .hernad-native-project-button .wp-block-button__link {
        min-height: 48px !important;
        padding-top: 8px !important;
        padding-bottom: 8px !important;
      }
    

      body.home .hernad-mfp-force-visible,
      body.home .hernad-native-mfp {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: visible !important;
        clear: both !important;

        margin-top: 36px !important;
        padding-top: 24px !important;
        border-top: 1px solid #e5e7eb !important;
        text-align: center !important;
      }

      body.home .hernad-native-mfp .hernad-native-widget-title {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        margin: 0 0 18px !important;
        padding: 0 0 10px !important;
        color: #0f172a !important;
        font-size: 22px !important;
        font-weight: 850 !important;
        line-height: 1.2 !important;
        text-align: left !important;
      }

      body.home .hernad-native-mfp .hernad-native-widget-title::after {
        content: "" !important;
        display: block !important;
        width: 46px !important;
        height: 3px !important;
        margin: 10px 0 0 !important;
        border-radius: 999px !important;
        background: #0f73ba !important;
      }

      body.home .hernad-native-mfp-image,
      body.home .hernad-native-mfp-image a {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        align-items: center !important;
        justify-content: center !important;
      }

      body.home .hernad-native-mfp-image {
        margin: 0 auto !important;
        padding: 0 !important;
        width: 100% !important;
      }

      body.home .hernad-native-mfp-image a {
        width: 100% !important;
        max-width: 264px !important;
        min-height: 104px !important;
        margin: 0 auto !important;
        padding: 18px 16px !important;

        background: #ffffff !important;
        border: 1px solid #e5e7eb !important;
        border-radius: 14px !important;
        box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05) !important;
        text-decoration: none !important;
      }

      body.home .hernad-native-mfp-image a:hover {
        border-color: #d9ecfa !important;
        box-shadow: 0 10px 24px rgba(21, 128, 61, 0.10) !important;
        transform: translateY(-1px) !important;
      }

      body.home .hernad-native-mfp-image img {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;

        width: auto !important;
        max-width: 190px !important;
        height: auto !important;
        max-height: 78px !important;

        margin: 0 auto !important;
        padding: 0 !important;
        object-fit: contain !important;
      }
    

      /*
       * Same horizontal alignment as the other project cards.
       */
      body.home .hernad-native-mfp {
        margin-top: 34px !important;
      }

      body.home .hernad-native-mfp-image {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
      }

      body.home .hernad-native-mfp-image a {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        width: 100% !important;
        max-width: 100% !important;
        min-height: 118px !important;
        margin: 0 !important;
        padding: 18px 16px !important;
        box-sizing: border-box !important;

        background: #ffffff !important;
        border: 1px solid #e5e7eb !important;
        border-radius: 14px !important;
        box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05) !important;
        text-decoration: none !important;
      }

      body.home .hernad-native-mfp-image a:hover {
        border-color: #d9ecfa !important;
        box-shadow: 0 10px 24px rgba(21, 128, 61, 0.10) !important;
        transform: translateY(-1px) !important;
      }

      /*
       * Bigger logo.
       */
      body.home .hernad-native-mfp-image img {
        display: block !important;
        width: auto !important;
        max-width: 230px !important;
        max-height: 96px !important;
        height: auto !important;
        margin: 0 auto !important;
        object-fit: contain !important;
      }
    

      body.home .hernad-top-link-buttons-section {
        width: 100% !important;
        max-width: 1180px !important;
        margin: 24px auto 34px !important;
        padding: 0 20px !important;
        box-sizing: border-box !important;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
        outline: 0 !important;
        clear: both !important;
      }

      body.home .hernad-top-link-buttons-section::before,
      body.home .hernad-top-link-buttons-section::after {
        display: none !important;
        content: none !important;
      }

      body.home .hernad-top-link-grid {
        width: 100% !important;
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 18px !important;
        align-items: stretch !important;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
      }

      body.home .hernad-top-link-card {
        min-width: 0 !important;
        width: 100% !important;
        min-height: 0 !important;
        padding: 12px 16px !important;
        background: #ffffff !important;
        border: 1px solid rgba(20, 83, 45, 0.12) !important;
        border-radius: 14px !important;
        box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06) !important;
        color: #1e4460 !important;
        text-decoration: none !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        text-align: center !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        white-space: normal !important;
        transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease !important;
      }

      body.home .hernad-top-link-card:hover,
      body.home .hernad-top-link-card:focus {
        transform: translateY(-2px) !important;
        border-color: rgba(20, 83, 45, 0.25) !important;
        box-shadow: 0 16px 34px rgba(15, 23, 42, 0.10) !important;
        color: #134c74 !important;
      }

      body.home .hernad-top-link-icon {
        width: 48px !important;
        height: 48px !important;
        min-width: 48px !important;
        border-radius: 14px !important;
        background: #f0f5f8 !important;
        color: #3274a3 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 auto 8px !important;
        font-size: 22px !important;
        line-height: 1 !important;
        font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif !important;
      }

      body.home .hernad-top-link-title {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-height: 0 !important;
        margin: 0 auto 0 !important;
        color: #374151 !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        line-height: 1.2 !important;
        letter-spacing: -0.01em !important;
        word-break: normal !important;
        overflow-wrap: normal !important;
        hyphens: none !important;
        text-align: center !important;
      }

      body.home .hernad-top-link-text {
        display: none !important;
      }

      body.home .hernad-top-link-button {
        display: none !important;
      }

      body.home .hernad-top-link-card:hover .hernad-top-link-button,
      body.home .hernad-top-link-card:focus .hernad-top-link-button {
        background: #1f6191 !important;
      }

      body.home .hernad-cover-video-hero .hernad-top-link-buttons-section,
      body.home .hernad-hero-editor-buttons,
      body.home .hernad-cloned-gyors-top-links {
        display: none !important;
      }

      @media (max-width: 1100px) {
        body.home .hernad-top-link-grid {
          grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        }
      }

      @media (max-width: 640px) {
        body.home .hernad-top-link-buttons-section {
          margin: 18px auto 28px !important;
          padding: 0 16px !important;
        }

        body.home .hernad-top-link-grid {
          grid-template-columns: 1fr !important;
          gap: 14px !important;
        }

        body.home .hernad-top-link-card {
          min-height: 0 !important;
          padding: 10px 14px !important;
        }

        body.home .hernad-top-link-title,
        body.home .hernad-top-link-text {
          min-height: auto !important;
        }
      }
    

      .hernad-service-cards-blocks {
        width: 100% !important;
        max-width: 1200px !important;
        margin: 28px auto 0 !important;
      }

      .hernad-service-row {
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 18px !important;
        margin: 0 0 18px !important;
      }

      .hernad-service-card-block {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        min-height: 255px !important;
        background: #ffffff !important;
        border: 1px solid #e5e7eb !important;
        border-radius: 18px !important;
        padding: 24px 18px !important;
        box-shadow: 0 8px 24px rgba(15,23,42,.06) !important;
        text-align: center !important;
      }

      .hernad-service-block-icon {
        width: 82px !important;
        height: 82px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 22px !important;
        margin: 0 auto 18px !important;
        font-size: 54px !important;
        line-height: 1 !important;
        font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif !important;
        letter-spacing: 0 !important;
        text-indent: 0 !important;
        overflow: visible !important;
      }

      .hernad-service-block-icon.green {
        background: rgba(21,128,61,.11) !important;
      }

      .hernad-service-block-icon.blue {
        background: rgba(29,78,216,.10) !important;
      }

      @media (max-width: 760px) {
        .hernad-service-block-icon {
          width: 72px !important;
          height: 72px !important;
          font-size: 46px !important;
        }
      }

      .hernad-service-block-title {
        color: #111827 !important;
        font-size: 18px !important;
        font-weight: 850 !important;
        line-height: 1.25 !important;
        margin: 0 0 10px !important;
      }

      .hernad-service-block-text {
        color: #6b7280 !important;
        font-size: 15px !important;
        line-height: 1.55 !important;
        margin: 0 0 16px !important;
      }

      .hernad-service-block-button {
        margin-top: auto !important;
      }

      .hernad-service-block-button .wp-block-button__link {
        background: #0f73ba !important;
        color: #ffffff !important;
        border-radius: 9px !important;
        padding: 9px 14px !important;
        font-size: 14px !important;
        font-weight: 800 !important;
        text-decoration: none !important;
      }

      @media (max-width: 980px) {
        .hernad-service-row {
          grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        }
      }

      @media (max-width: 620px) {
        .hernad-service-row {
          grid-template-columns: 1fr !important;
        }

        .hernad-service-card-block {
          min-height: auto !important;
        }
      }
    

      body.home .hernad-top-link-buttons-section,
      body.home .hernad-top-link-buttons-section.wp-block-group,
      body.home .hernad-top-link-buttons-section > .wp-block-group__inner-container,
      body.home .hernad-top-link-buttons-section .wp-block-group__inner-container,
      body.home .hernad-top-link-grid {
        background: transparent !important;
        background-color: transparent !important;
        background-image: none !important;
        border: 0 !important;
        box-shadow: none !important;
        outline: 0 !important;
      }

      body.home .hernad-top-link-buttons-section::before,
      body.home .hernad-top-link-buttons-section::after,
      body.home .hernad-top-link-grid::before,
      body.home .hernad-top-link-grid::after {
        display: none !important;
        content: none !important;
      }

      /*
       * Parent wrappers containing this specific block.
       * This is the missing part from the previous fix.
       */
      body.home .entry-content > .wp-block-group:has(.hernad-top-link-grid),
      body.home .entry-content .wp-block-group:has(> .wp-block-group__inner-container .hernad-top-link-grid),
      body.home .content-container:has(.hernad-top-link-grid),
      body.home .entry-content-wrap:has(.hernad-top-link-grid) {
        background: transparent !important;
        background-color: transparent !important;
        background-image: none !important;
        border: 0 !important;
        box-shadow: none !important;
        outline: 0 !important;
      }

      /*
       * Keep only the cards themselves white.
       */
      body.home .hernad-top-link-card {
        background: #ffffff !important;
      }
    

      .hernad-eugyintezes-btn {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        min-height: 38px !important;
        padding: 9px 18px !important;
        border-radius: 999px !important;
        background: linear-gradient(135deg, #0f73ba 0%, #145c8f 100%) !important;
        color: #ffffff !important;
        border: 1px solid rgba(255,255,255,.18) !important;
        box-shadow: 0 8px 18px rgba(21,128,61,.22), inset 0 1px 0 rgba(255,255,255,.18) !important;
        font-family: "Noto Sans", "Segoe UI", Arial, sans-serif !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        line-height: 1 !important;
        letter-spacing: .01em !important;
        text-decoration: none !important;
        white-space: nowrap !important;
        transition: transform .18s ease, box-shadow .18s ease, background .18s ease !important;
      }

      .hernad-eugyintezes-btn::before {
        content: "✓" !important;
        width: 20px !important;
        height: 20px !important;
        border-radius: 999px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: rgba(255,255,255,.16) !important;
        color: #ffffff !important;
        font-size: 12px !important;
        font-weight: 800 !important;
        line-height: 1 !important;
      }

      .hernad-eugyintezes-btn:hover,
      .hernad-eugyintezes-btn:focus {
        background: linear-gradient(135deg, #0d91f0 0%, #0f73ba 100%) !important;
        color: #ffffff !important;
        transform: translateY(-1px) !important;
        box-shadow: 0 11px 24px rgba(21,128,61,.30), inset 0 1px 0 rgba(255,255,255,.22) !important;
        text-decoration: none !important;
      }

      .hernad-eugyintezes-btn:active {
        transform: translateY(0) !important;
        box-shadow: 0 5px 12px rgba(21,128,61,.22) !important;
      }

      @media (max-width: 768px) {
        .hernad-eugyintezes-btn {
          min-height: 36px !important;
          padding: 8px 14px !important;
          font-size: 13px !important;
        }

        .hernad-eugyintezes-btn::before {
          width: 18px !important;
          height: 18px !important;
          font-size: 11px !important;
        }
      }
    

      .hernad-news-grid {
        display: grid !important;
        grid-template-columns: minmax(0, 1.18fr) minmax(320px, .92fr) !important;
        gap: 20px !important;
        align-items: stretch !important;
        width: 100% !important;
      }

      .hernad-news-featured,
      .hernad-news-small {
        background: #ffffff !important;
        border: 1px solid rgba(15,23,42,.08) !important;
        border-radius: 16px !important;
        box-shadow: 0 10px 28px rgba(15,23,42,.07) !important;
        overflow: hidden !important;
      }

      .hernad-news-featured {
        display: flex !important;
        flex-direction: column !important;
        min-height: 100% !important;
      }

      .hernad-news-image-wrap {
        display: block !important;
        width: 100% !important;
        aspect-ratio: 16 / 8.4 !important;
        background: #e5e7eb !important;
        overflow: hidden !important;
      }

      .hernad-news-image-wrap img,
      .hernad-news-small-image img {
        width: 100% !important;
        height: 100% !important;
        display: block !important;
        object-fit: cover !important;
      }

      .hernad-news-card-body {
        padding: 22px 24px 24px !important;
      }

      .hernad-news-meta {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 8px 12px !important;
        align-items: center !important;
        margin-bottom: 9px !important;
        color: #0f73ba !important;
        font-size: 12.5px !important;
        font-weight: 800 !important;
        line-height: 1.35 !important;
      }

      .hernad-news-meta span {
        padding: 3px 8px !important;
        border-radius: 999px !important;
        background: rgba(21,128,61,.10) !important;
        color: #0f73ba !important;
      }

      .hernad-news-meta time {
        color: #63738a !important;
        font-weight: 700 !important;
      }

      .hernad-news-featured h3 {
        margin: 0 0 10px !important;
        font-size: clamp(24px, 2.2vw, 32px) !important;
        line-height: 1.22 !important;
        font-weight: 850 !important;
        letter-spacing: -0.015em !important;
      }

      .hernad-news-featured h3 a,
      .hernad-news-small h3 a {
        color: #0f172a !important;
        text-decoration: none !important;
      }

      .hernad-news-featured h3 a:hover,
      .hernad-news-small h3 a:hover {
        color: #0f73ba !important;
      }

      .hernad-news-featured p {
        margin: 0 0 18px !important;
        color: #475569 !important;
        font-size: 15.5px !important;
        line-height: 1.65 !important;
      }

      .hernad-news-readmore {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 10px 16px !important;
        border-radius: 10px !important;
        background: #0f73ba !important;
        color: #ffffff !important;
        font-size: 14px !important;
        font-weight: 800 !important;
        text-decoration: none !important;
        box-shadow: 0 4px 0 #094773 !important;
      }

      .hernad-news-readmore:hover {
        background: #145c8f !important;
        color: #ffffff !important;
      }

      .hernad-news-list {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 12px !important;
      }

      .hernad-news-small {
        position: relative !important;
        display: grid !important;
        grid-template-columns: 118px minmax(0, 1fr) 28px !important;
        min-height: 118px !important;
      }

      .hernad-news-small-image {
        display: block !important;
        width: 118px !important;
        height: 100% !important;
        min-height: 118px !important;
        background: #e5e7eb !important;
        overflow: hidden !important;
      }

      .hernad-news-small-body {
        padding: 13px 8px 13px 14px !important;
        text-align: left !important;
        min-width: 0 !important;
      }

      .hernad-news-small h3 {
        margin: 0 0 6px !important;
        font-size: 15.5px !important;
        line-height: 1.32 !important;
        font-weight: 850 !important;
        letter-spacing: -0.005em !important;
      }

      .hernad-news-small p {
        margin: 0 !important;
        color: #63738a !important;
        font-size: 13.5px !important;
        line-height: 1.45 !important;
      }

      .hernad-news-arrow {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: #0f73ba !important;
        font-size: 30px !important;
        font-weight: 700 !important;
        text-decoration: none !important;
        padding-right: 10px !important;
      }

      .hernad-news-placeholder {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        min-height: 118px !important;
        background: linear-gradient(135deg, #ebf6fd, #d9ecfa) !important;
      }

      @media (max-width: 980px) {
        .hernad-news-grid {
          grid-template-columns: 1fr !important;
        }

        .hernad-news-list {
          grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        }

        .hernad-news-small {
          grid-template-columns: 104px minmax(0, 1fr) !important;
        }

        .hernad-news-arrow {
          display: none !important;
        }

        .hernad-news-small-image {
          width: 104px !important;
        }
      }

      @media (max-width: 640px) {
        .hernad-news-list {
          grid-template-columns: 1fr !important;
        }

        .hernad-news-small {
          grid-template-columns: 96px minmax(0, 1fr) !important;
          min-height: 108px !important;
        }

        .hernad-news-small-image {
          width: 96px !important;
          min-height: 108px !important;
        }

        .hernad-news-card-body {
          padding: 18px !important;
        }

        .hernad-news-featured h3 {
          font-size: 22px !important;
        }
      }
    

      body.page-id-37393 #primary,
      body.page-id-37393 #main,
      body.page-id-37393 .site-main,
      body.page-id-37393 .site-content,
      body.page-id-37393 .content-area,
      body.page-id-37393 .content-wrap,
      body.page-id-37393 .content-container,
      body.page-id-37393 .entry,
      body.page-id-37393 .single-entry,
      body.page-id-37393 .entry-content-wrap,
      body.page-id-37393 .entry-content {
        margin-top: 0 !important;
        padding-top: 0 !important;
      }

      body.page-id-37393 .entry-content > *:first-child,
      body.page-id-37393 .entry-content .hernad-cover-video-hero,
      body.page-id-37393 .wp-block-cover.hernad-cover-video-hero {
        margin-top: 0 !important;
      }

      body.page-id-37393 .site-main > .content-container {
        padding-top: 0 !important;
      }

      body.page-id-37393 .content-bg {
        padding-top: 0 !important;
        margin-top: 0 !important;
      }

      body.page-id-37393 .entry-hero,
      body.page-id-37393 .entry-header,
      body.page-id-37393 header.entry-header,
      body.page-id-37393 .page-header,
      body.page-id-37393 h1.entry-title {
        display: none !important;
        margin: 0 !important;
        padding: 0 !important;
        height: 0 !important;
      }
    

      .hernad-news-grid {
        align-items: start !important;
      }

      /* Scoped to the server-rendered grid on purpose: mu-plugin 094 reuses the
         .hernad-news-featured class for its JS-built cards, which are meant to stretch to
         fill their grid row (and to clamp the excerpt at 3 lines). Unscoped, these rules
         left a ~200px hole between the two large cards. */
      .hernad-news-grid .hernad-news-featured {
        min-height: 0 !important;
        height: auto !important;
        align-self: start !important;
      }

      .hernad-news-card-body {
        padding-bottom: 24px !important;
      }

      .hernad-news-grid .hernad-news-featured p {
        display: block !important;
        max-width: 100% !important;
        margin-bottom: 18px !important;
      }

      .hernad-news-readmore {
        margin-top: 4px !important;
      }