.site-shell--homepage-test .content-layout--with-sidebar {
  grid-template-columns: 1fr;
}

.site-shell.site-shell--homepage-test .content-layout.content-layout--front {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-block: 0;
  overflow-x: hidden;
}

.site-shell.site-shell--homepage-test .content-layout.content-layout--front .content-layout__main {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

.site-shell--homepage-test #block-halasztelek-page-title,
.site-shell--homepage-test #block-halasztelek-content {
  display: none;
}

.home-hero,
.home-quick-links,
.home-feature,
.home-news {
  background: var(--ht-surface);
}

.home-hero {
  position: relative;
  display: grid;
  align-items: center;
  width: 100%;
  max-width: 100%;
  min-height: clamp(360px, 40vw, 520px);
  margin-inline: 0;
  overflow: hidden;
  padding-block: clamp(44px, 5vw, 66px);
  color: #ffffff;
  background: #073c66;
  border-bottom: 1px solid var(--ht-border);
}

.home-hero::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 40, 69, 0.88) 0%, rgba(5, 40, 69, 0.66) 42%, rgba(5, 40, 69, 0.22) 100%),
    linear-gradient(0deg, rgba(5, 40, 69, 0.2), rgba(5, 40, 69, 0.08));
}

.home-hero__backgrounds {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.home-hero__background {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: homeHeroFade 36s linear infinite;
}

.home-hero__background:only-child {
  opacity: 1;
  animation: none;
}

.home-hero__background--1 {
  animation-delay: 0s;
}

.home-hero__background--2 {
  animation-delay: 6s;
}

.home-hero__background--3 {
  animation-delay: 12s;
}

.home-hero__background--4 {
  animation-delay: 18s;
}

.home-hero__background--5 {
  animation-delay: 24s;
}

.home-hero__background--6 {
  animation-delay: 30s;
}

.home-hero__background img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center;
  animation: homeHeroDrift 12s ease-in-out infinite alternate;
}

.home-hero__background--2 img,
.home-hero__background--5 img {
  animation-direction: alternate-reverse;
  transform-origin: 60% 45%;
}

.home-hero__background--3 img,
.home-hero__background--6 img {
  transform-origin: 42% 58%;
}

.home-hero__inner,
.home-section,
.home-feature__inner {
  width: min(100% - 32px, var(--ht-content));
  margin-inline: auto;
}

.home-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: clamp(260px, 27vw, 380px);
}

.home-hero__content {
  display: grid;
  max-width: 820px;
  gap: 22px;
  align-content: center;
}

.home-hero h1 {
  max-width: 820px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.4rem, 4.5vw, 4.85rem);
  line-height: 0.98;
  font-weight: 900;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.22);
}

.home-hero__lead {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.08rem, 1.5vw, 1.24rem);
  line-height: 1.62;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.2);
}

.home-hero__lead p,
.home-feature__text p {
  margin-block: 0;
}

.home-feature__media {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--ht-border);
  border-radius: var(--ht-radius);
  background: var(--ht-blue-soft);
  box-shadow: var(--ht-shadow);
}

.home-feature__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 4px;
}

.home-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 18px;
  border: 2px solid transparent;
  border-radius: 6px;
  font-weight: 850;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.home-button--primary,
.home-button--primary:visited {
  color: var(--ht-blue-dark);
  background: var(--ht-yellow);
  border-color: var(--ht-yellow);
}

.home-button--secondary,
.home-button--secondary:visited,
.home-button--tertiary,
.home-button--tertiary:visited {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(6px);
}

.home-button:hover,
.home-button:focus-visible {
  color: var(--ht-blue-dark);
  background: #ffffff;
  border-color: #ffffff;
}

@keyframes homeHeroFade {
  0%,
  15% {
    opacity: 1;
  }

  21%,
  94% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes homeHeroDrift {
  0% {
    transform: scale(1.04) translate3d(-1.2%, -0.8%, 0);
  }

  100% {
    transform: scale(1.09) translate3d(1.2%, 0.8%, 0);
  }
}

.home-quick-links {
  padding-block: 42px;
  background: var(--ht-surface-alt);
}

.home-section {
  display: grid;
  gap: 20px;
}

.home-section h2,
.home-feature h2 {
  margin: 0;
  color: var(--ht-blue-dark);
  font-size: clamp(1.65rem, 2vw, 2.1rem);
  line-height: 1.16;
}

.home-quick-links__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.home-quick-link {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 112px;
  padding: 20px;
  color: var(--ht-blue-dark);
  background: var(--ht-surface);
  border: 1px solid var(--ht-border);
  border-top: 5px solid var(--ht-yellow);
  border-radius: var(--ht-radius);
  box-shadow: 0 10px 24px rgba(8, 31, 51, 0.08);
  text-decoration: none;
}

.home-quick-link:nth-child(2n) {
  background: #f4f9fc;
  border-top-color: var(--ht-blue);
}

.home-quick-link:nth-child(3n) {
  background: #fffaf0;
  border-top-color: #d9a000;
}

.home-quick-link:nth-child(4n) {
  background: #f3f8f1;
  border-top-color: #4f8b62;
}

.home-quick-link:nth-child(5n) {
  background: #fff5f4;
  border-top-color: var(--ht-red);
}

.home-quick-link::after {
  position: absolute;
  right: 18px;
  bottom: 16px;
  content: ">";
  color: var(--ht-red);
  font-size: 1.1rem;
  font-weight: 900;
}

.home-quick-link__title {
  max-width: calc(100% - 24px);
  font-size: 1.08rem;
  font-weight: 900;
  line-height: 1.25;
}

.home-quick-link:hover,
.home-quick-link:focus-visible {
  color: var(--ht-blue-dark);
  border-color: var(--ht-blue-dark);
  transform: translateY(-1px);
}

.home-feature {
  padding-block: 54px 64px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f4f8fb 100%);
}

.home-feature__inner {
  display: grid;
  gap: 24px;
}

.home-feature__header {
  display: grid;
  gap: 8px;
}

.home-feature__columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(280px, 0.88fr);
  gap: 18px;
  align-items: stretch;
}

.home-feature__column {
  position: relative;
  display: grid;
  align-content: start;
  gap: 16px;
  min-width: 0;
  padding: 22px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--ht-border);
  border-top: 6px solid var(--ht-yellow);
  border-radius: var(--ht-radius);
  box-shadow: 0 12px 28px rgba(8, 31, 51, 0.08);
}

.home-feature__column--2 {
  background: #f4f9fc;
  border-top-color: var(--ht-blue);
}

.home-feature__column--3 {
  display: flex;
  flex-direction: column;
  padding: 24px;
  color: var(--ht-blue-dark);
  background: #eef6f8;
  border-color: #c8dce4;
  border-top-color: #8db8c7;
}

.home-feature__column h3 {
  margin: 0;
  color: var(--ht-blue-dark);
  font-size: 1.25rem;
  line-height: 1.2;
  font-weight: 900;
}

.home-feature__column--3 h3 {
  color: var(--ht-blue-dark);
}

.home-feature__links {
  display: grid;
  gap: 10px;
}

.home-feature__link,
.home-feature__link:visited {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 50px;
  padding: 12px 42px 12px 14px;
  color: var(--ht-blue-dark);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(7, 60, 102, 0.16);
  border-radius: 6px;
  font-weight: 850;
  line-height: 1.22;
  text-decoration: none;
}

.home-feature__link::after {
  position: absolute;
  right: 16px;
  content: ">";
  color: var(--ht-red);
  font-weight: 900;
}

.home-feature__column--3 .home-feature__links {
  width: 100%;
  margin-block: auto;
  gap: 12px;
  min-height: 240px;
}

.home-feature__column--3 .home-feature__link,
.home-feature__column--3 .home-feature__link:visited {
  min-height: 72px;
  padding: 16px 46px 16px 18px;
  color: var(--ht-blue-dark);
  background: #ffffff;
  border-color: #c8dce4;
  font-size: 1.05rem;
  box-shadow: 0 10px 20px rgba(8, 31, 51, 0.08);
}

.home-feature__column--3 .home-feature__link::after {
  color: var(--ht-blue-dark);
}

.home-feature__link:hover,
.home-feature__link:focus-visible,
.home-feature__column--3 .home-feature__link:hover,
.home-feature__column--3 .home-feature__link:focus-visible {
  color: var(--ht-blue-dark);
  background: #ffffff;
  border-color: var(--ht-blue-dark);
  transform: translateY(-1px);
}

.home-feature__content {
  display: grid;
  gap: 18px;
  align-content: center;
  max-width: 760px;
}

.home-feature__text {
  color: var(--ht-ink);
  font-size: 1.05rem;
  line-height: 1.65;
}

.site-shell--homepage-test #block-halasztelek-homepage-test-news {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-block: 48px 58px;
  background-color: #f6fafc;
  background-image:
    linear-gradient(135deg, rgba(7, 60, 102, 0.026) 25%, transparent 25%),
    linear-gradient(225deg, rgba(180, 35, 35, 0.018) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(7, 60, 102, 0.024) 75%),
    linear-gradient(315deg, transparent 75%, rgba(217, 160, 0, 0.028) 75%);
  background-position: 0 0, 0 0, 22px 22px, 22px 22px;
  background-size: 44px 44px;
  background-attachment: fixed;
}

.site-shell--homepage-test #block-halasztelek-homepage-test-news > * {
  position: relative;
  z-index: 1;
}

.site-shell--homepage-test #block-halasztelek-homepage-test-news > h2,
.site-shell--homepage-test #block-halasztelek-homepage-test-news > .views-element-container {
  box-sizing: border-box;
  width: min(100% - 48px, var(--ht-content));
  margin-inline: auto;
}

.site-shell--homepage-test #block-halasztelek-homepage-test-news > h2,
.site-shell--homepage-test #block-halasztelek-homepage-test-news .views-element-container > h2 {
  margin-block: 0 24px;
  margin-inline: auto;
  color: var(--ht-blue-dark);
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
  line-height: 1.12;
  font-weight: 900;
}

.site-shell--homepage-test #block-halasztelek-homepage-test-news .ht-front-news-layout {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.site-shell--homepage-test #block-halasztelek-homepage-test-news .ht-front-news-slot,
.site-shell--homepage-test #block-halasztelek-homepage-test-news .ht-front-news-slot--1,
.site-shell--homepage-test #block-halasztelek-homepage-test-news .ht-front-news-slot--2,
.site-shell--homepage-test #block-halasztelek-homepage-test-news .ht-front-news-slot--3,
.site-shell--homepage-test #block-halasztelek-homepage-test-news .ht-front-news-slot--4,
.site-shell--homepage-test #block-halasztelek-homepage-test-news .ht-front-news-slot--5,
.site-shell--homepage-test #block-halasztelek-homepage-test-news .ht-front-news-slot--6,
.site-shell--homepage-test #block-halasztelek-homepage-test-news .ht-front-news-slot--7,
.site-shell--homepage-test #block-halasztelek-homepage-test-news .ht-front-news-slot--8 {
  grid-column: auto;
  grid-row: auto;
  border: 0;
}

.site-shell--homepage-test #block-halasztelek-homepage-test-news .ht-front-news-card,
.site-shell--homepage-test #block-halasztelek-homepage-test-news .ht-front-news-slot--1 .ht-front-news-card,
.site-shell--homepage-test #block-halasztelek-homepage-test-news .ht-front-news-slot--2 .ht-front-news-card {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  background: var(--ht-surface);
  border: 1px solid var(--ht-border);
  border-radius: var(--ht-radius);
  box-shadow: 0 10px 24px rgba(8, 31, 51, 0.08);
}

.site-shell--homepage-test #block-halasztelek-homepage-test-news .ht-front-news-card::before,
.site-shell--homepage-test #block-halasztelek-homepage-test-news .ht-front-news-card::after {
  display: none;
}

.site-shell--homepage-test #block-halasztelek-homepage-test-news .ht-front-news-card__media,
.site-shell--homepage-test #block-halasztelek-homepage-test-news .ht-front-news-slot:not(.ht-front-news-slot--1) .ht-front-news-card__media {
  display: block;
  aspect-ratio: 16 / 9;
}

.site-shell--homepage-test #block-halasztelek-homepage-test-news .ht-front-news-card__media img,
.site-shell--homepage-test #block-halasztelek-homepage-test-news .ht-front-news-slot--1 .ht-front-news-card__media img {
  min-height: 0;
}

.site-shell--homepage-test #block-halasztelek-homepage-test-news .ht-front-news-card__body,
.site-shell--homepage-test #block-halasztelek-homepage-test-news .ht-front-news-slot--1 .ht-front-news-card__body,
.site-shell--homepage-test #block-halasztelek-homepage-test-news .ht-front-news-slot--2 .ht-front-news-card__body,
.site-shell--homepage-test #block-halasztelek-homepage-test-news .ht-front-news-slot:not(.ht-front-news-slot--1):not(.ht-front-news-slot--2):not(.ht-front-news-slot--6) .ht-front-news-card__body {
  position: static;
  display: grid;
  gap: 10px;
  padding: 18px;
}

.site-shell--homepage-test #block-halasztelek-homepage-test-news .ht-front-news-card__title,
.site-shell--homepage-test #block-halasztelek-homepage-test-news .ht-front-news-slot--1 .ht-front-news-card__title,
.site-shell--homepage-test #block-halasztelek-homepage-test-news .ht-front-news-slot--2 .ht-front-news-card__title,
.site-shell--homepage-test #block-halasztelek-homepage-test-news .ht-front-news-slot--3 .ht-front-news-card__title,
.site-shell--homepage-test #block-halasztelek-homepage-test-news .ht-front-news-slot--4 .ht-front-news-card__title,
.site-shell--homepage-test #block-halasztelek-homepage-test-news .ht-front-news-slot--5 .ht-front-news-card__title,
.site-shell--homepage-test #block-halasztelek-homepage-test-news .ht-front-news-slot--7 .ht-front-news-card__title,
.site-shell--homepage-test #block-halasztelek-homepage-test-news .ht-front-news-slot--8 .ht-front-news-card__title {
  max-width: none;
  color: var(--ht-blue-dark);
  font-size: 1.18rem;
  line-height: 1.25;
  text-shadow: none;
  text-decoration: none;
}

.site-shell--homepage-test #block-halasztelek-homepage-test-news .ht-news-meta,
.site-shell--homepage-test #block-halasztelek-homepage-test-news .ht-front-news-slot--1 .ht-news-meta {
  color: var(--ht-muted);
}

.site-shell--homepage-test #block-halasztelek-homepage-test-news .ht-front-news-card__lead,
.site-shell--homepage-test #block-halasztelek-homepage-test-news .ht-front-news-slot--1 .ht-front-news-card__lead,
.site-shell--homepage-test #block-halasztelek-homepage-test-news .ht-front-news-slot--2 .ht-front-news-card__lead,
.site-shell--homepage-test #block-halasztelek-homepage-test-news .ht-front-news-slot--3 .ht-front-news-card__lead,
.site-shell--homepage-test #block-halasztelek-homepage-test-news .ht-front-news-slot--4 .ht-front-news-card__lead,
.site-shell--homepage-test #block-halasztelek-homepage-test-news .ht-front-news-slot--5 .ht-front-news-card__lead,
.site-shell--homepage-test #block-halasztelek-homepage-test-news .ht-front-news-slot--7 .ht-front-news-card__lead,
.site-shell--homepage-test #block-halasztelek-homepage-test-news .ht-front-news-slot--8 .ht-front-news-card__lead {
  display: block;
  color: var(--ht-ink);
  font-size: 0.98rem;
  line-height: 1.55;
}

.site-shell--homepage-test #block-halasztelek-homepage-test-news .view-footer {
  display: flex;
  justify-content: center;
  margin-top: 26px;
}

.site-shell--homepage-test #block-halasztelek-homepage-test-news .view-footer p {
  margin: 0;
}

.site-shell--homepage-test #block-halasztelek-homepage-test-news .ht-front-news-more,
.site-shell--homepage-test #block-halasztelek-homepage-test-news .ht-front-news-more:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  color: #ffffff;
  background: var(--ht-blue-dark);
  border: 2px solid var(--ht-blue-dark);
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 850;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(8, 31, 51, 0.14);
}

.site-shell--homepage-test #block-halasztelek-homepage-test-news .ht-front-news-more::after {
  margin-left: 10px;
  content: ">";
  font-weight: 900;
}

.site-shell--homepage-test #block-halasztelek-homepage-test-news .ht-front-news-more:hover,
.site-shell--homepage-test #block-halasztelek-homepage-test-news .ht-front-news-more:focus-visible {
  color: var(--ht-blue-dark);
  background: var(--ht-yellow);
  border-color: var(--ht-blue-dark);
}

html.ht-accessibility-mode .site-shell--homepage-test #block-halasztelek-page-title,
html.ht-accessibility-mode .site-shell--homepage-test #block-halasztelek-content {
  display: none;
}

html.ht-accessibility-mode .home-hero,
html.ht-accessibility-mode .home-quick-links,
html.ht-accessibility-mode .home-feature,
html.ht-accessibility-mode .home-feature__inner,
html.ht-accessibility-mode .home-feature__column,
html.ht-accessibility-mode .site-shell--homepage-test #block-halasztelek-homepage-test-news {
  color: #000000;
  background: #ffffff;
}

html.ht-accessibility-mode .home-hero {
  min-height: 0;
  border-bottom: 3px solid #000000;
}

html.ht-accessibility-mode .home-hero::after,
html.ht-accessibility-mode .home-hero__backgrounds {
  display: none;
}

html.ht-accessibility-mode .home-hero__inner,
html.ht-accessibility-mode .home-feature__inner,
html.ht-accessibility-mode .site-shell--homepage-test #block-halasztelek-homepage-test-news .ht-front-news-layout {
  grid-template-columns: 1fr;
}

html.ht-accessibility-mode .home-hero h1,
html.ht-accessibility-mode .home-hero__lead,
html.ht-accessibility-mode .home-section h2,
html.ht-accessibility-mode .home-feature h2,
html.ht-accessibility-mode .home-feature__column h3,
html.ht-accessibility-mode .home-feature__text,
html.ht-accessibility-mode .home-feature__link,
html.ht-accessibility-mode .home-quick-link,
html.ht-accessibility-mode .home-quick-link__title {
  color: #000000;
  text-shadow: none;
}

html.ht-accessibility-mode .home-feature__media,
html.ht-accessibility-mode .home-feature__inner,
html.ht-accessibility-mode .home-feature__column,
html.ht-accessibility-mode .home-feature__link,
html.ht-accessibility-mode .home-quick-link,
html.ht-accessibility-mode .site-shell--homepage-test #block-halasztelek-homepage-test-news .ht-front-news-card {
  border: 2px solid #000000;
  border-radius: 0;
  box-shadow: none;
}

html.ht-accessibility-mode .home-feature__columns {
  grid-template-columns: 1fr;
}

html.ht-accessibility-mode .home-feature__link,
html.ht-accessibility-mode .home-feature__column--3 .home-feature__link {
  min-height: 58px;
  color: #000000;
  background: #ffffff;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.16em;
}

html.ht-accessibility-mode .home-feature__link::after,
html.ht-accessibility-mode .home-feature__column--3 .home-feature__link::after {
  color: #000000;
}

html.ht-accessibility-mode .home-feature__media {
  max-height: 420px;
}

html.ht-accessibility-mode .home-quick-links__grid {
  grid-template-columns: 1fr;
}

html.ht-accessibility-mode .home-quick-link {
  min-height: 58px;
  background: #ffffff;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.16em;
}

html.ht-accessibility-mode .home-quick-link::after {
  color: #000000;
}

html.ht-accessibility-mode .home-button,
html.ht-accessibility-mode .home-button:visited {
  color: #000000;
  background: #ffd800;
  border: 2px solid #000000;
  border-radius: 0;
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

html.ht-accessibility-mode .home-button:hover,
html.ht-accessibility-mode .home-button:focus-visible {
  color: #ffffff;
  background: #000000;
}

html.ht-accessibility-mode .site-shell--homepage-test #block-halasztelek-homepage-test-news .ht-front-news-card__media {
  display: none;
}

html.ht-accessibility-mode .site-shell--homepage-test #block-halasztelek-homepage-test-news .ht-front-news-card__title,
html.ht-accessibility-mode .site-shell--homepage-test #block-halasztelek-homepage-test-news .ht-front-news-card__title a,
html.ht-accessibility-mode .site-shell--homepage-test #block-halasztelek-homepage-test-news .ht-front-news-card__lead,
html.ht-accessibility-mode .site-shell--homepage-test #block-halasztelek-homepage-test-news .ht-news-meta {
  color: #000000;
}

@media (prefers-reduced-motion: reduce) {
  .home-hero__background {
    opacity: 0;
    animation: none;
  }

  .home-hero__background:first-child {
    opacity: 1;
  }

  .home-hero__background img {
    transform: none;
    animation: none;
  }
}

@media (max-width: 900px) {
  .home-hero__inner,
  .home-feature__inner {
    grid-template-columns: 1fr;
  }

  .home-feature__columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-feature__column--3 {
    grid-column: 1 / -1;
  }

  .home-feature__column--3 .home-feature__links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-quick-links__grid,
  .site-shell--homepage-test #block-halasztelek-homepage-test-news .ht-front-news-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .home-hero {
    min-height: 0;
    padding-block: 22px 24px;
    color: var(--ht-blue-dark);
    background: var(--ht-surface-alt);
  }

  .home-hero::after,
  .home-hero__backgrounds {
    display: none;
  }

  .home-hero__inner {
    min-height: 0;
  }

  .home-hero__content {
    width: 100%;
    max-width: none;
    gap: 0;
  }

  .home-hero h1,
  .home-hero__lead {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .home-hero__actions {
    display: grid;
    width: 100%;
    gap: 10px;
    margin: 0;
  }

  .home-button {
    width: 100%;
    min-height: 48px;
  }

  .home-button--primary,
  .home-button--primary:visited {
    color: var(--ht-blue-dark);
    background: var(--ht-yellow);
    border-color: var(--ht-yellow);
  }

  .home-button--secondary,
  .home-button--secondary:visited,
  .home-button--tertiary,
  .home-button--tertiary:visited {
    color: var(--ht-blue-dark);
    background: #ffffff;
    border-color: var(--ht-border);
    backdrop-filter: none;
  }
}

@media (max-width: 560px) {
  .home-hero {
    padding-block: 30px 36px;
  }

  .home-hero__inner,
  .home-section,
  .home-feature__inner {
    width: min(100% - 24px, var(--ht-content));
  }

  .site-shell--homepage-test #block-halasztelek-homepage-test-news > h2,
  .site-shell--homepage-test #block-halasztelek-homepage-test-news > .views-element-container {
    width: min(100% - 24px, var(--ht-content));
  }

  .home-hero h1 {
    font-size: clamp(2rem, 12vw, 3rem);
  }

  .home-hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .home-button {
    width: 100%;
  }

  .home-quick-links__grid,
  .home-feature__columns,
  .home-feature__column--3 .home-feature__links,
  .site-shell--homepage-test #block-halasztelek-homepage-test-news .ht-front-news-layout {
    grid-template-columns: 1fr;
  }

  .site-shell--homepage-test #block-halasztelek-homepage-test-news {
    background-attachment: scroll;
    background-size: 36px 36px;
  }

  .home-feature__column--3 {
    grid-column: auto;
  }

  .home-feature {
    padding-block: 36px;
  }
}

html.ht-accessibility-mode .home-hero h1,
html.ht-accessibility-mode .home-hero__lead {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip-path: none;
  white-space: normal;
}
