:root {
  --ht-blue: #045f9f;
  --ht-blue-dark: #073c66;
  --ht-blue-soft: #eaf5fb;
  --ht-yellow: #f6c400;
  --ht-yellow-soft: #fff6cc;
  --ht-red: #c9333a;
  --ht-ink: #18222d;
  --ht-muted: #5e6a75;
  --ht-border: #d9e3ea;
  --ht-surface: #ffffff;
  --ht-surface-alt: #f5f8fa;
  --ht-shadow: 0 16px 40px rgba(8, 31, 51, 0.12);
  --ht-radius: 8px;
  --ht-content: 1180px;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
}

.popin-banner {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: 16px;
  left: auto;
  z-index: 500;
  display: flex;
  justify-content: flex-end;
  pointer-events: none;
}

.popin-banner.is-hidden {
  display: none;
}

.popin-banner__inner {
  position: relative;
  width: fit-content;
  max-width: min(30vw, 220px);
  pointer-events: auto;
  filter: drop-shadow(0 10px 22px rgba(17, 24, 39, 0.18));
}

.popin-banner__link {
  display: block;
  width: fit-content;
  max-width: 100%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 8px;
  background: #ffffff;
}

.popin-banner__image {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 56px;
  object-fit: contain;
}

.popin-banner__close {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 30px;
  height: 30px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  background: #1f2937;
  color: #ffffff;
  cursor: pointer;
  font: 700 20px/1 Arial, sans-serif;
  box-shadow: 0 8px 22px rgba(17, 24, 39, 0.24);
}

.popin-banner__close:hover,
.popin-banner__close:focus-visible {
  background: #0f172a;
}

.popin-banner__close:focus-visible {
  outline: 3px solid var(--ht-blue-dark);
  outline-offset: 2px;
  box-shadow: 0 0 0 6px rgba(246, 196, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  color: var(--ht-ink);
  background: var(--ht-surface-alt);
}

body {
  margin: 0;
  color: var(--ht-ink);
  background: var(--ht-surface-alt);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

a {
  color: var(--ht-blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover,
a:focus {
  color: var(--ht-red);
}

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--ht-blue-dark);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(246, 196, 0, 0.45);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

img {
  max-width: 100%;
  height: auto;
}

.visually-hidden,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

.skip-link:focus {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: #fff;
  background: var(--ht-blue-dark);
  border-radius: 4px;
}

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

.topbar {
  width: 100%;
  color: #fff;
  background: var(--ht-blue-dark);
  font-size: 0.88rem;
}

.topbar__inner {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px 22px;
  min-height: 38px;
  flex-wrap: wrap;
  padding-block: 7px;
}

.topbar__contact {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px 22px;
  min-width: 0;
  flex: 1 1 auto;
  flex-wrap: wrap;
}

.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  color: rgba(255, 255, 255, 0.94);
  line-height: 1.2;
  white-space: nowrap;
}

.topbar__icon {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  color: var(--ht-yellow);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.topbar a {
  color: #fff;
  text-decoration: none;
}

.topbar__accessibility {
  flex: 0 0 auto;
  margin-left: auto;
  padding: 5px 10px;
  color: var(--ht-blue-dark);
  background: var(--ht-yellow);
  border-radius: 6px;
  font-weight: 800;
}

.topbar__accessibility a,
.topbar__accessibility .topbar__icon {
  color: var(--ht-blue-dark);
}

.topbar__accessibility a:hover,
.topbar__accessibility a:focus {
  color: var(--ht-red);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 14px rgba(8, 31, 51, 0.08);
}

body.toolbar-fixed .site-header {
  top: 39px;
}

body.toolbar-horizontal.toolbar-tray-open .site-header {
  top: 79px;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: var(--ht-ink);
  text-decoration: none;
}

.brand__crest {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.brand__text {
  display: grid;
  line-height: 1.12;
}

.brand__name {
  color: var(--ht-blue-dark);
  font-size: 1.55rem;
  font-weight: 800;
}

.brand__subtitle {
  color: var(--ht-muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.header-info {
  display: grid;
  gap: 3px;
  justify-items: end;
  max-width: min(46vw, 560px);
  margin-left: auto;
  padding-left: 22px;
  color: #66717b;
  border-left: 1px solid #e1e5e8;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.28;
  text-align: right;
}

.header-info__row,
.nameday,
.weather-widget {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: flex-end;
  gap: 3px 8px;
}

.nameday__label,
.nameday__value,
.weather-widget__place,
.weather-widget__temp,
.weather-widget__meta {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

.nameday__label {
  white-space: nowrap;
}

.nameday__value {
  color: #4f5963;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.nameday__value::before {
  content: "Névnap: ";
  color: #66717b;
  font-weight: 500;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--ht-border);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
}

.nav-toggle__bar {
  display: block;
  width: 22px;
  height: 2px;
  margin: 3px auto;
  background: var(--ht-blue-dark);
}

.primary-nav {
  min-width: 0;
  background: transparent;
}

.primary-nav__inner {
  position: relative;
}

.site-header__nav-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding-block: 0 12px;
}

.menu {
  padding: 0;
  margin: 0;
  list-style: none;
}

.menu--main {
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  gap: 8px;
}

.menu--main > .menu__item {
  flex: 0 1 auto;
  max-width: 280px;
}

.menu--main > .menu__item > .menu__link {
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding-inline: 16px;
  border-radius: 6px;
  font-size: 0.92rem;
  text-align: center;
}

.header-shortcuts {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.header-shortcut,
.header-shortcut:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 17px;
  border: 1px solid rgba(7, 60, 102, 0.16);
  border-radius: 999px;
  color: var(--ht-blue-dark);
  background: linear-gradient(180deg, #ffffff 0%, #f3f8fb 100%);
  box-shadow: 0 8px 18px rgba(8, 31, 51, 0.08);
  font-size: 0.93rem;
  font-weight: 850;
  line-height: 1.15;
  text-decoration: none;
  white-space: nowrap;
}

.header-shortcut--documents,
.header-shortcut--documents:visited {
  border-color: rgba(201, 51, 58, 0.18);
  color: #8f2430;
  background: linear-gradient(180deg, #fff8f6 0%, #f8eef0 100%);
}

.header-shortcut--phonebook,
.header-shortcut--phonebook:visited {
  border-color: rgba(4, 95, 159, 0.18);
  color: var(--ht-blue-dark);
  background: linear-gradient(180deg, #f8fcff 0%, #edf6fb 100%);
}

.header-shortcut:hover,
.header-shortcut:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(8, 31, 51, 0.12);
}

.menu__item {
  position: relative;
}

.menu__link {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 52px;
  padding: 13px 15px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: var(--ht-blue-dark);
  font-size: 0.94rem;
  font-family: inherit;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.menu__item--expanded > .menu__link::after,
.menu__item--collapsed > .menu__link::after {
  content: "";
  display: inline-block;
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  margin-left: 2px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  opacity: 0.72;
}

.menu--level-1 .menu__item--expanded > .menu__link::after,
.menu--level-1 .menu__item--collapsed > .menu__link::after,
.menu--level-2 .menu__item--expanded > .menu__link::after,
.menu--level-2 .menu__item--collapsed > .menu__link::after {
  margin-left: auto;
  transform: rotate(-45deg);
}

.menu__link--nolink {
  cursor: default;
}

.menu__item--active-trail > .menu__link,
.menu__link:hover,
.menu__link:focus {
  color: var(--ht-blue-dark);
  background: var(--ht-blue-soft);
  border-bottom-color: var(--ht-yellow);
}

.menu--level-1,
.menu--level-2 {
  position: absolute;
  z-index: 20;
  top: 100%;
  left: 0;
  display: none;
  min-width: 280px;
  background: #fff;
  border: 1px solid var(--ht-border);
  box-shadow: var(--ht-shadow);
}

.menu--level-2 {
  top: -1px;
  left: 100%;
}

.menu__item:hover > .menu--level-1,
.menu__item:focus-within > .menu--level-1,
.menu__item.is-submenu-open > .menu--level-1,
.menu__item:hover > .menu--level-2,
.menu__item:focus-within > .menu--level-2,
.menu__item.is-submenu-open > .menu--level-2 {
  display: block;
}

.menu--level-1 .menu__link,
.menu--level-2 .menu__link {
  min-height: auto;
  padding: 11px 14px;
  font-size: 0.88rem;
  font-weight: 650;
  text-transform: none;
  border-bottom: 1px solid var(--ht-border);
}

.highlighted,
.breadcrumb-band {
  background: #fff;
}

.breadcrumb-band {
  border-bottom: 1px solid #e2e6e9;
  box-shadow: 0 8px 18px rgba(24, 34, 45, 0.025);
}

.breadcrumb {
  overflow-x: auto;
  padding-block: 13px;
  color: #5e6a75;
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.25;
  scrollbar-width: thin;
}

.breadcrumb__list {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-width: max-content;
  margin: 0 0 0 4px;
  padding: 0;
  list-style: none;
}

.breadcrumb__item {
  display: inline-flex;
  align-items: center;
  color: #5e6a75;
}

.breadcrumb__item:not(:first-child)::before {
  content: "";
  display: block;
  width: 34px;
  height: 1px;
  margin-inline: 10px;
  background: #d8dde1;
}

.breadcrumb__link,
.breadcrumb__text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #5e6a75;
  white-space: nowrap;
  text-decoration: none;
}

.breadcrumb__link::before,
.breadcrumb__text::before {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #a2a8ad;
}

.breadcrumb__item--root .breadcrumb__link::before,
.breadcrumb__item--root .breadcrumb__text::before {
  width: 12px;
  height: 12px;
  background: #8f969c;
  box-shadow: inset 0 0 0 3px #fff, 0 0 0 1px #9aa1a7;
}

.breadcrumb__item--last .breadcrumb__link,
.breadcrumb__item--last .breadcrumb__text {
  color: #666d74;
  font-weight: 780;
}

.breadcrumb__link:hover,
.breadcrumb__link:focus {
  color: #4f565d;
}

.main-content {
  min-height: 55vh;
}

.content-layout {
  padding-block: 56px 72px;
}

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

.content-layout--front .content-layout__main {
  width: 100%;
}

.content-layout--with-sidebar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 36px;
}

.content-layout__main {
  min-width: 0;
}

.site-shell:not(.site-shell--front) .content-layout {
  width: min(100% - 48px, 1280px);
}

.site-shell:not(.site-shell--front) .content-layout:has(.ht-org-chart) {
  width: min(100% - 32px, 1440px);
}

.site-shell:not(.site-shell--front) .content-layout__main {
  max-width: 1120px;
  margin-inline: auto;
}

.site-shell:not(.site-shell--front) .content-layout__main:has(.ht-org-chart) {
  max-width: 1360px;
}

.site-shell:not(.site-shell--front) #block-halasztelek-page-title {
  max-width: 1120px;
  margin: 0 auto 28px;
}

.page-title,
h1 {
  margin: 0 0 22px;
  color: var(--ht-blue-dark);
  font-size: clamp(2.25rem, 4vw, 4.3rem);
  line-height: 1.02;
  font-weight: 850;
}

h2 {
  color: var(--ht-blue-dark);
  font-size: clamp(1.65rem, 2vw, 2.1rem);
  line-height: 1.16;
  margin: 0 0 22px;
  font-weight: 820;
}

h3 {
  color: var(--ht-ink);
  font-size: 1.22rem;
  line-height: 1.25;
  margin: 32px 0 12px;
  font-weight: 760;
}

.node--page .field--name-body > *:first-child {
  margin-top: 0;
}

.node--news .field--name-field-publish-date,
.ht-news-meta {
  display: block;
  color: #5b6873;
  font-size: 0.88rem;
  font-weight: 760;
  line-height: 1.25;
  letter-spacing: 0;
}

.node--news .field--name-field-lead,
.ht-news-lead {
  color: #33404c;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  font-weight: 540;
  line-height: 1.62;
}

.node--news .field--name-field-featured-image img,
.ht-news-hero img,
.ht-news-teaser__image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--ht-radius);
}

.node--news .field--name-field-tags,
.ht-news-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding-top: 22px;
  border-top: 1px solid var(--ht-border);
}

.node--news .field--name-field-tags .field__label,
.ht-news-tags .field__label {
  flex: 0 0 auto;
  margin: 0;
  color: var(--ht-muted);
  font-size: 0.82rem;
  font-weight: 760;
}

.node--news .field--name-field-tags .field__items,
.ht-news-tags .field__items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.node--news .field--name-field-tags a,
.ht-news-tags a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 10px;
  color: var(--ht-blue-dark);
  background: #eef6fb;
  border: 1px solid #d4e7f2;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 650;
}

.node--news.node--view-mode-full .node__content,
.node--news.node--view-mode-default .node__content {
  display: grid;
  gap: 24px;
}

.node--news.node--view-mode-full .field--name-field-featured-image,
.node--news.node--view-mode-full .ht-news-hero,
.node--news.node--view-mode-default .field--name-field-featured-image,
.node--news.node--view-mode-default .ht-news-hero {
  max-width: 1120px;
}

.node--news.node--view-mode-full .field--name-field-lead,
.node--news.node--view-mode-full .ht-news-lead,
.node--news.node--view-mode-default .field--name-field-lead,
.node--news.node--view-mode-default .ht-news-lead {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--ht-border);
}

.node--news.node--view-mode-full .field--name-body,
.node--news.node--view-mode-full .ht-news-body,
.node--news.node--view-mode-default .field--name-body,
.node--news.node--view-mode-default .ht-news-body {
  padding: 0;
}

.node--news.node--view-mode-teaser {
  height: 100%;
}

.node--news.node--view-mode-teaser .node__content,
.ht-news-teaser {
  display: grid;
  gap: 14px;
  padding: 0;
  border: 0;
  box-shadow: none;
}

.node--news.node--view-mode-teaser .node__title {
  margin: 12px 0 0;
  color: var(--ht-blue-dark);
  font-size: 1.28rem;
  line-height: 1.28;
}

.node--news.node--view-mode-teaser .node__title a {
  color: inherit;
}

.node--news.node--view-mode-teaser .field--name-field-featured-image,
.ht-news-teaser__image {
  margin-bottom: 2px;
}

.node--news.node--view-mode-teaser .field--name-field-lead,
.ht-news-teaser__lead {
  font-size: 0.98rem;
  font-weight: 450;
  line-height: 1.62;
}

.node--news.node--view-mode-teaser .node__links,
.ht-news-teaser__links {
  margin-top: 2px;
}

.node--news.node--view-mode-teaser .node__links a,
.ht-news-teaser__links a {
  color: var(--ht-blue);
  font-weight: 750;
}

.site-shell--news-list .content-layout__main,
.site-shell--news-list #block-halasztelek-page-title {
  max-width: 960px;
  margin-inline: 0 auto;
}

.site-shell--news-list #block-halasztelek-content .views-element-container > div {
  display: grid;
  gap: 0;
}

.node--news-list-item.node--view-mode-teaser {
  height: auto;
}

.node--news-list-item.node--view-mode-teaser .ht-news-teaser {
  display: grid;
  justify-items: start;
  gap: 5px;
  padding: 14px 0 16px;
  border: 0;
  border-top: 1px solid var(--ht-border);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: left;
}

.node--news-list-item.node--view-mode-teaser .ht-news-meta {
  place-self: start;
  justify-self: start;
  width: fit-content;
  margin: 0;
  color: #4d5a65;
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1.25;
}

.node--news-list-item.node--view-mode-teaser .node__title {
  margin: 0;
  color: var(--ht-blue-dark);
  font-size: clamp(1.08rem, 1.7vw, 1.32rem);
  font-weight: 900;
  line-height: 1.24;
}

.node--news-list-item.node--view-mode-teaser .node__title a {
  color: inherit;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}

.node--news-list-item.node--view-mode-teaser .node__title a:hover,
.node--news-list-item.node--view-mode-teaser .node__title a:focus {
  color: var(--ht-red);
}

.node--news-list-item.node--view-mode-teaser .ht-news-teaser__lead {
  margin: 0;
  color: #26323d;
  font-size: 0.98rem;
  font-weight: 560;
  line-height: 1.5;
}

.site-shell--news-list #block-halasztelek-content > nav.pager {
  margin-top: 22px;
}

.site-shell--news-list .pager__items {
  justify-content: flex-start;
}

.site-shell--front .highlighted {
  padding-block: 18px 30px;
  background: #fff;
  border-block: 1px solid #d9e2ea;
}

#block-halasztelek-frontpage-featured-news {
  display: grid;
  gap: 0;
}

.ht-front-news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.9fr);
  gap: 0 30px;
  align-items: start;
}

.ht-front-news-slot {
  min-width: 0;
  border-top: 1px solid #dce5ed;
}

.ht-front-news-slot--1 {
  grid-column: 1;
  grid-row: 1 / span 3;
  border-top: 0;
}

.ht-front-news-slot--2 {
  grid-column: 1;
  grid-row: 4;
}

.ht-front-news-slot--3 {
  grid-column: 2;
  grid-row: 1;
  border-top: 0;
}

.ht-front-news-slot:not(.ht-front-news-slot--1):not(.ht-front-news-slot--2):not(.ht-front-news-slot--6) {
  grid-column: 2;
  border-top-color: #cfdbe5;
}

.ht-front-news-slot--4 {
  grid-row: 2;
}

.ht-front-news-slot--5 {
  grid-row: 3;
}

.ht-front-news-slot--6 {
  grid-column: 1;
  grid-row: 5;
}

.ht-front-news-slot--7 {
  grid-row: 4;
}

.ht-front-news-slot--8 {
  grid-row: 5;
}

.ht-front-news-card {
  display: grid;
  min-height: 100%;
  background: transparent;
}

.ht-front-news-card__media {
  display: block;
  min-height: 0;
  overflow: hidden;
  background: #dfe9ef;
  color: transparent;
  font-size: 0;
}

.ht-front-news-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease;
}

.ht-front-news-card:hover .ht-front-news-card__media img {
  transform: scale(1.025);
}

.ht-front-news-card__body {
  display: grid;
  align-content: start;
  gap: 9px;
  padding: 16px 0 18px;
}

.ht-front-news-card__title {
  margin: 0;
  color: #0b1620;
  font-size: 1.02rem;
  line-height: 1.2;
  font-weight: 900;
}

.ht-front-news-card__title a {
  color: inherit;
  text-decoration: none;
}

.ht-front-news-card__title a:hover,
.ht-front-news-card__title a:focus-visible {
  color: var(--ht-red);
}

.ht-front-news-card__lead {
  color: #26323d;
  font-size: 1.08rem;
  font-weight: 480;
  line-height: 1.55;
}

.ht-front-news-card__lead > div,
.ht-front-news-card__lead p {
  margin: 0;
}

.ht-front-news-card__more {
  display: none;
}

.ht-front-news-more {
  color: var(--ht-blue);
  font-size: 0.9rem;
  font-weight: 780;
}

.ht-front-news-slot--1 .ht-front-news-card {
  position: relative;
  min-height: 405px;
  overflow: hidden;
  background: #111d28;
}

.ht-front-news-slot--1 .ht-front-news-card::after {
  position: absolute;
  inset: 28% 0 0;
  content: "";
  background: linear-gradient(180deg, rgba(8, 20, 31, 0), rgba(8, 20, 31, 0.86));
  pointer-events: none;
}

.ht-front-news-slot--1 .ht-front-news-card__media img {
  min-height: 405px;
}

.ht-front-news-slot--1 .ht-front-news-card__body {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  padding: 22px 24px 24px;
}

.ht-front-news-slot--1 .ht-front-news-card__title {
  max-width: 720px;
  color: #fff;
  font-size: 2.05rem;
  line-height: 1.08;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.36);
}

.ht-front-news-slot--1 .ht-front-news-card__title a:hover,
.ht-front-news-slot--1 .ht-front-news-card__title a:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}

.ht-front-news-slot--1 .ht-news-meta {
  color: rgba(255, 255, 255, 0.94);
  font-weight: 820;
}

.ht-front-news-slot--1 .ht-front-news-card__lead {
  display: none;
}

.ht-front-news-slot:not(.ht-front-news-slot--1) .ht-front-news-card__media {
  display: none;
}

.ht-front-news-slot--2 .ht-front-news-card__body {
  padding-block: 18px 16px;
}

.ht-front-news-slot--2 .ht-front-news-card__title {
  max-width: 760px;
  font-size: 1.72rem;
  line-height: 1.12;
}

.ht-front-news-slot--2 .ht-front-news-card__lead {
  display: none;
}

.ht-front-news-slot--3 .ht-front-news-card__body {
  gap: 7px;
  padding: 14px 0;
}

.ht-front-news-slot--3 .ht-front-news-card__title {
  font-size: 1.1rem;
  line-height: 1.22;
}

.ht-front-news-slot--3 .ht-front-news-card__lead {
  color: #26323d;
  font-size: 1.04rem;
}

.ht-front-news-slot--5 .ht-front-news-card__title {
  color: #000;
  font-size: 1.36rem;
  line-height: 1.18;
  font-weight: 950;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.16em;
}

.ht-front-news-slot--5 .ht-front-news-card__title a:hover,
.ht-front-news-slot--5 .ht-front-news-card__title a:focus-visible {
  color: #000;
  text-decoration-thickness: 3px;
}

.ht-front-news-slot--5 .ht-front-news-card__lead {
  display: none;
}

.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 {
  position: relative;
}

.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::before {
  position: absolute;
  top: 23px;
  left: 0;
  width: 5px;
  height: 5px;
  content: "";
  background: var(--ht-red);
}

.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 {
  gap: 7px;
  padding: 14px 0 14px 16px;
}

.ht-front-news-slot--5 .ht-front-news-card__body {
  padding-block: 18px 0;
}

.ht-front-news-slot--4 .ht-front-news-card__title {
  font-size: 1.1rem;
}

.ht-front-news-slot--3 .ht-front-news-card__title,
.ht-front-news-slot--7 .ht-front-news-card__title,
.ht-front-news-slot--8 .ht-front-news-card__title {
  font-size: 0.96rem;
  line-height: 1.24;
}

.ht-front-news-slot--4 .ht-front-news-card__lead {
  display: block;
  color: #26323d;
  font-size: 1.04rem;
}

.ht-front-news-slot--7 .ht-front-news-card__lead,
.ht-front-news-slot--8 .ht-front-news-card__lead {
  display: none;
}

#block-halasztelek-frontpage-featured-news .view-footer {
  display: flex;
  grid-column: 1 / -1;
  justify-content: flex-end;
  margin-top: 12px;
}

#block-halasztelek-frontpage-featured-news .view-footer p {
  margin: 0;
}

.ht-front {
  width: 100%;
  margin: 0;
  background: var(--ht-surface-alt);
}

.ht-hero {
  width: 100%;
  margin: 0;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(4, 95, 159, 0.95), rgba(7, 60, 102, 0.88)),
    linear-gradient(90deg, var(--ht-yellow) 0 24%, transparent 24% 100%);
}

.ht-hero__inner {
  position: relative;
  width: min(100% - 32px, var(--ht-content));
  min-height: 480px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 360px;
  gap: 48px;
  align-items: center;
  padding-block: 48px 56px;
}

.ht-hero h1 {
  max-width: 760px;
  margin-bottom: 18px;
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: 0.98;
}

.ht-hero__lead {
  max-width: 680px;
  margin: 0 0 30px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.18rem;
}

.ht-hero__actions,
.ht-quick-actions,
.ht-card-grid,
.ht-news-grid,
.ht-document-grid {
  display: grid;
  gap: 16px;
}

.ht-hero__actions {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 850px;
}

.ht-action {
  min-height: 96px;
  padding: 16px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: var(--ht-radius);
  text-decoration: none;
}

.ht-action strong {
  display: block;
  font-size: 1.08rem;
}

.ht-action span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.92rem;
}

.ht-hero__crest {
  display: grid;
  place-items: center;
  min-height: 300px;
}

.ht-hero__crest img {
  width: min(240px, 70vw);
  filter: drop-shadow(0 22px 34px rgba(0, 0, 0, 0.22));
}

.ht-front--service-gateway {
  background: #f3f6f8;
}

.ht-hero--gateway {
  color: #08141f;
  background:
    linear-gradient(90deg, #f4c400 0 10px, transparent 10px),
    linear-gradient(180deg, #ffffff 0%, #eef5fb 100%);
  border-bottom: 1px solid #d5e0ea;
}

.ht-gateway-hero {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  min-height: 360px;
  gap: 34px;
  padding-block: 46px 44px;
}

.ht-gateway-hero__content {
  min-width: 0;
}

.ht-kicker {
  margin: 0 0 10px;
  color: #b20f25;
  font-size: 0.88rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ht-hero--gateway h1 {
  max-width: 760px;
  color: #062a49;
  font-size: clamp(2.35rem, 3.6vw, 4rem);
  line-height: 1.04;
}

.ht-hero--gateway .ht-hero__lead {
  max-width: 760px;
  color: #344757;
  font-size: 1.16rem;
  line-height: 1.52;
}

.ht-hero__actions--gateway {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 820px;
  gap: 12px;
}

.ht-hero__actions--gateway .ht-action {
  display: grid;
  align-content: start;
  min-height: 92px;
  color: #062a49;
  background: #ffffff;
  border: 1px solid #cfdbe5;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(6, 42, 73, 0.08);
}

.ht-hero__actions--gateway .ht-action--primary {
  background: #062a49;
  border-color: #062a49;
  color: #ffffff;
}

.ht-hero__actions--gateway .ht-action span {
  color: #46596a;
}

.ht-hero__actions--gateway .ht-action--primary span {
  color: rgba(255, 255, 255, 0.88);
}

.ht-gateway-hero__panel {
  display: grid;
  gap: 10px;
  align-self: stretch;
  padding: 12px;
  background: #062a49;
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(6, 42, 73, 0.18);
}

.ht-gateway-hero__panel a {
  display: grid;
  align-content: center;
  min-height: 100px;
  padding: 17px 18px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-left: 6px solid #f4c400;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: none;
}

.ht-gateway-hero__panel a:nth-child(2) {
  border-left-color: #d72638;
}

.ht-gateway-hero__panel a:nth-child(3) {
  border-left-color: #247c67;
}

.ht-gateway-hero__panel span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  font-weight: 750;
}

.ht-gateway-hero__panel strong {
  margin-top: 4px;
  color: #ffffff;
  font-size: 1.2rem;
  line-height: 1.2;
}

.weather-widget__main {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.weather-widget__icon {
  width: 15px;
  color: #5e6a75;
  font-size: 0.95rem;
  line-height: 1;
  text-align: center;
}

.weather-widget__temp {
  color: #4f5963;
  font-weight: 600;
}

.weather-widget__meta {
  min-width: 0;
}

.weather-widget--loading,
.weather-widget--error {
  color: #5e6a75;
}

.ht-band {
  padding-block: 54px;
}

.ht-band--white {
  background: #fff;
}

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

.ht-section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.ht-section__head h2 {
  margin: 0;
}

.ht-section__head p {
  max-width: 560px;
  margin: 0;
  color: var(--ht-muted);
}

.ht-quick-actions {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ht-quick {
  min-height: 150px;
  padding: 20px;
  color: var(--ht-ink);
  background: #fff;
  border: 1px solid var(--ht-border);
  border-top: 5px solid var(--ht-yellow);
  border-radius: var(--ht-radius);
  text-decoration: none;
}

.ht-quick:nth-child(2) {
  border-top-color: var(--ht-blue);
}

.ht-quick:nth-child(3) {
  border-top-color: var(--ht-red);
}

.ht-quick:nth-child(4) {
  border-top-color: var(--ht-blue-dark);
}

.ht-quick strong,
.ht-news-card strong,
.ht-doc-card strong {
  display: block;
  color: var(--ht-blue-dark);
  font-size: 1.1rem;
  line-height: 1.25;
}

.ht-quick span,
.ht-news-card span,
.ht-doc-card span {
  display: block;
  margin-top: 10px;
  color: var(--ht-muted);
  font-size: 0.94rem;
}

.ht-card-grid {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: start;
}

.ht-mayor {
  padding: 30px;
  background: var(--ht-blue-soft);
  border-left: 7px solid var(--ht-blue);
  border-radius: var(--ht-radius);
}

.ht-mayor h2 {
  margin-top: 0;
}

.ht-mayor p:last-child {
  margin-bottom: 0;
}

.ht-side-list {
  display: grid;
  gap: 12px;
}

.ht-side-link {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  color: var(--ht-ink);
  background: #fff;
  border: 1px solid var(--ht-border);
  border-radius: var(--ht-radius);
  text-decoration: none;
}

.ht-side-link span {
  color: var(--ht-red);
  font-weight: 800;
}

.ht-news-grid,
.ht-document-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ht-news-card,
.ht-doc-card {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--ht-border);
  border-radius: var(--ht-radius);
}

.ht-news-card time {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 4px 9px;
  color: var(--ht-blue-dark);
  background: var(--ht-yellow-soft);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
}

.ht-doc-card {
  border-left: 5px solid var(--ht-blue);
}

.ht-front-tools {
  padding-top: 52px;
  border-top: 1px solid #e2eaf1;
}

.ht-tool-grid,
.ht-service-grid,
.ht-life-layout {
  display: grid;
  gap: 16px;
}

.ht-tool-grid {
  grid-template-columns: minmax(280px, 1.35fr) repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.ht-tool-card,
.ht-service-card,
.ht-life-card {
  display: grid;
  align-content: start;
  min-width: 0;
  color: #08141f;
  background: #ffffff;
  border: 1px solid #d5e0ea;
  border-radius: 8px;
  text-decoration: none;
}

.ht-tool-card {
  min-height: 170px;
  padding: 22px;
  border-top: 0;
  border-left: 5px solid #f4c400;
  box-shadow: 0 14px 28px rgba(6, 42, 73, 0.06);
}

.ht-tool-card--wide {
  grid-row: span 2;
  min-height: 356px;
  background: #062a49;
  border-color: #062a49;
  border-left-color: #d72638;
  color: #ffffff;
}

.ht-tool-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.ht-tool-card__label {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 12px;
  padding: 0;
  color: #8b0013;
  background: transparent;
  border-radius: 0;
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1.25;
  text-transform: uppercase;
}

.ht-tool-card--wide .ht-tool-card__label {
  color: #f8d64b;
  background: transparent;
}

.ht-tool-card strong,
.ht-service-card strong,
.ht-life-card strong {
  display: block;
  color: inherit;
  font-size: 1.28rem;
  line-height: 1.18;
}

.ht-tool-card > span:last-child,
.ht-service-card span,
.ht-life-card > span:last-child {
  display: block;
  margin-top: 12px;
  color: #3d4d5b;
  font-size: 1.02rem;
  line-height: 1.5;
}

.ht-tool-card--wide > span:last-child {
  color: rgba(255, 255, 255, 0.9);
}

.ht-tool-card:hover,
.ht-tool-card:focus-visible,
.ht-service-card:hover,
.ht-service-card:focus-visible,
.ht-life-card:hover,
.ht-life-card:focus-visible {
  border-color: #0a5e9b;
  box-shadow: 0 18px 34px rgba(8, 45, 79, 0.12);
  transform: translateY(-1px);
}

.ht-service-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.ht-service-card {
  min-height: 138px;
  padding: 18px 18px 17px;
  border-color: #dfe7ef;
  border-left: 4px solid #0a5e9b;
  box-shadow: none;
}

.ht-service-card:nth-child(2),
.ht-service-card:nth-child(6) {
  border-left-color: #d72638;
}

.ht-service-card:nth-child(3),
.ht-service-card:nth-child(7) {
  border-left-color: #247c67;
}

.ht-service-card:nth-child(4),
.ht-service-card:nth-child(8) {
  border-left-color: #f4c400;
}

.ht-service-card strong {
  color: #082d4f;
  font-size: 1.08rem;
}

.ht-front-offices {
  border-block: 1px solid #d9e2ea;
}

.ht-office-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 410px);
  gap: 28px;
  align-items: start;
}

.ht-section__head--stacked {
  display: grid;
  justify-content: start;
}

.ht-office-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.ht-office-list a,
.ht-council-links a {
  display: flex;
  align-items: center;
  min-height: 50px;
  padding: 12px 14px;
  color: #082d4f;
  background: #f7fafc;
  border: 1px solid #d5e0ea;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.25;
  text-decoration: none;
}

.ht-office-list a:hover,
.ht-office-list a:focus-visible,
.ht-council-links a:hover,
.ht-council-links a:focus-visible {
  color: #ffffff;
  background: #082d4f;
  border-color: #082d4f;
}

.ht-council-panel {
  padding: 24px;
  color: #08141f;
  background: #ffffff;
  border: 1px solid #d5e0ea;
  border-top: 6px solid #f4c400;
  border-radius: 8px;
  box-shadow: 0 14px 28px rgba(6, 42, 73, 0.06);
}

.ht-council-panel h2 {
  margin: 0 0 18px;
  color: #082d4f;
  font-size: 1.55rem;
  line-height: 1.18;
}

.ht-council-links {
  display: grid;
  gap: 10px;
}

.ht-council-links a {
  background: #ffffff;
}

.ht-life-layout {
  grid-template-columns: 1.25fr repeat(3, minmax(0, 1fr));
}

.ht-life-card {
  min-height: 170px;
  padding: 22px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(6, 42, 73, 0.05);
}

.ht-life-card--health {
  color: #ffffff;
  background: #247c67;
  border-color: #247c67;
}

.ht-life-card--health .ht-tool-card__label {
  color: #08141f;
  background: #ffffff;
}

.ht-life-card--health > span:last-child {
  color: rgba(255, 255, 255, 0.92);
}

.ht-events-calendar {
  margin-bottom: 34px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--ht-border);
  border-radius: var(--ht-radius);
}

.ht-events-calendar__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.ht-events-calendar__head .ht-kicker {
  margin: 0 0 4px;
  color: var(--ht-red);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ht-events-calendar__head h2 {
  margin: 0;
  color: var(--ht-blue-dark);
  font-size: 1.6rem;
  line-height: 1.18;
}

.ht-events-calendar__limit {
  margin: 7px 0 0;
  color: var(--ht-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.ht-events-calendar__admin {
  flex: 0 0 auto;
  padding: 9px 13px;
  color: #fff;
  background: var(--ht-blue);
  border-radius: 5px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.ht-event-tools {
  display: grid;
  gap: 14px;
  margin-bottom: 22px;
}

.ht-event-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ht-event-tabs__item {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  color: var(--ht-blue-dark);
  background: var(--ht-surface-alt);
  border: 1px solid var(--ht-border);
  border-radius: 5px;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.ht-event-tabs__item.is-active {
  color: #fff;
  background: var(--ht-blue);
  border-color: var(--ht-blue);
}

.ht-event-search {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 10px;
  padding: 14px;
  background: var(--ht-blue-soft);
  border: 1px solid #cfe0ec;
  border-radius: var(--ht-radius);
}

.ht-event-search label {
  display: grid;
  gap: 5px;
  min-width: min(100%, 180px);
  color: var(--ht-muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.ht-event-search input {
  min-height: 38px;
  padding: 7px 9px;
  color: var(--ht-ink);
  background: #fff;
  border: 1px solid var(--ht-border);
  border-radius: 5px;
  font: inherit;
  font-size: 0.94rem;
  text-transform: none;
}

.ht-event-search button,
.ht-event-search__reset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 13px;
  border-radius: 5px;
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
}

.ht-event-search button {
  color: #fff;
  background: var(--ht-blue-dark);
  border: 1px solid var(--ht-blue-dark);
  cursor: pointer;
}

.ht-event-search__reset {
  color: var(--ht-blue-dark);
  background: #fff;
  border: 1px solid var(--ht-border);
}

.ht-events-calendar__layout {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.ht-event-month {
  padding: 18px;
  background: var(--ht-blue-soft);
  border: 1px solid #cfe0ec;
  border-radius: var(--ht-radius);
}

.ht-event-month__nav {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 34px;
  gap: 8px;
  align-items: center;
  margin-bottom: 14px;
}

.ht-event-month__nav a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--ht-blue-dark);
  background: #fff;
  border: 1px solid var(--ht-border);
  border-radius: 5px;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.ht-event-month__title {
  min-width: 0;
  margin: 0;
  color: var(--ht-blue-dark);
  font-size: 1.08rem;
  font-weight: 800;
  text-align: center;
}

.ht-event-month__weekdays,
.ht-event-month__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.ht-event-month__weekdays {
  margin-bottom: 7px;
  color: var(--ht-muted);
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
}

.ht-event-month__day {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  min-width: 0;
  color: var(--ht-ink);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: 0.86rem;
  font-weight: 650;
}

.ht-event-month__day--empty {
  visibility: hidden;
}

.ht-event-month__day--event {
  color: #fff;
  background: var(--ht-blue);
}

.ht-event-month__day--today {
  border-color: var(--ht-red);
  box-shadow: inset 0 0 0 1px var(--ht-red);
}

.ht-event-list {
  display: grid;
  gap: 14px;
}

.ht-event-card {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
  background: var(--ht-surface-alt);
  border: 1px solid var(--ht-border);
  border-radius: var(--ht-radius);
}

.ht-event-card--featured {
  background: #fff;
  border-left: 6px solid var(--ht-yellow);
  box-shadow: 0 12px 28px rgba(8, 31, 51, 0.08);
}

.ht-event-card__date {
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 74px;
  color: var(--ht-blue-dark);
  background: var(--ht-yellow-soft);
  border-radius: 6px;
  text-align: center;
}

.ht-event-card__date span {
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1;
}

.ht-event-card__date small {
  margin-top: 5px;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.1;
}

.ht-event-card__body h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
  line-height: 1.25;
}

.ht-event-card__title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  justify-content: space-between;
  gap: 8px 12px;
  margin-bottom: 10px;
}

.ht-event-card__title-row h3 {
  margin-bottom: 0;
}

.ht-event-card__body h3 a {
  color: var(--ht-blue-dark);
  text-decoration: none;
}

.ht-event-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.ht-event-card__badges span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  color: var(--ht-blue-dark);
  background: #fff;
  border: 1px solid var(--ht-border);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
}

.ht-event-card__meta {
  display: grid;
  gap: 5px;
  margin: 0 0 10px;
}

.ht-event-card__meta div {
  display: flex;
  gap: 8px;
  min-width: 0;
}

.ht-event-card__meta dt {
  flex: 0 0 auto;
  color: var(--ht-muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.ht-event-card__meta dd {
  margin: 0;
  color: var(--ht-ink);
  font-size: 0.92rem;
}

.ht-event-card__body p,
.ht-event-empty p {
  margin: 0;
  color: var(--ht-muted);
  font-size: 0.96rem;
  line-height: 1.55;
}

.ht-event-empty {
  padding: 28px;
  background: var(--ht-surface-alt);
  border: 1px dashed #b9c8d3;
  border-radius: var(--ht-radius);
}

.ht-event-empty h3 {
  margin: 0 0 8px;
  color: var(--ht-blue-dark);
}

.ht-event-detail {
  display: grid;
  gap: 22px;
}

.ht-event-detail__back {
  justify-self: start;
  color: var(--ht-blue-dark);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}

.ht-event-detail__back::before {
  content: "< ";
  color: var(--ht-red);
}

.ht-event-detail__hero {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
  padding: 28px;
  background: var(--ht-blue-soft);
  border: 1px solid #cfe0ec;
  border-left: 7px solid var(--ht-blue);
  border-radius: var(--ht-radius);
}

.ht-event-detail__date-card {
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 116px;
  color: var(--ht-blue-dark);
  background: #fff;
  border: 1px solid var(--ht-border);
  border-radius: 7px;
  text-align: center;
}

.ht-event-detail__date-card span {
  font-size: 2.65rem;
  font-weight: 800;
  line-height: 1;
}

.ht-event-detail__date-card small {
  margin-top: 8px;
  color: var(--ht-muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.ht-event-detail__intro {
  align-self: center;
}

.ht-event-detail__intro .ht-kicker {
  margin: 0 0 6px;
  color: var(--ht-red);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.ht-event-detail__intro h2 {
  margin: 0;
  color: var(--ht-blue-dark);
  font-size: 2rem;
  line-height: 1.16;
}

.ht-event-detail__intro p {
  max-width: 760px;
  margin: 12px 0 0;
  color: var(--ht-ink);
  font-size: 1.08rem;
  line-height: 1.55;
}

.ht-event-detail__grid {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.ht-event-detail__facts {
  display: grid;
  gap: 12px;
  padding: 20px;
  background: var(--ht-surface-alt);
  border: 1px solid var(--ht-border);
  border-radius: var(--ht-radius);
}

.ht-event-detail__facts section {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ht-border);
}

.ht-event-detail__facts section:last-of-type {
  padding-bottom: 0;
  border-bottom: 0;
}

.ht-event-detail__facts h3,
.ht-event-detail__content h3 {
  margin: 0 0 6px;
  color: var(--ht-muted);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.ht-event-detail__facts h3 {
  display: flex;
  align-items: center;
  gap: 7px;
}

.ht-event-detail__fact-icon {
  display: inline-grid;
  place-items: center;
  width: 19px;
  height: 19px;
  color: var(--ht-blue);
}

.ht-event-detail__fact-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ht-event-detail__facts p {
  margin: 0;
  color: var(--ht-ink);
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.45;
}

.ht-event-detail__link {
  display: inline-flex;
  justify-content: center;
  padding: 10px 14px;
  color: #fff;
  background: var(--ht-blue);
  border-radius: 5px;
  font-weight: 800;
  text-decoration: none;
}

.ht-event-detail__content {
  min-width: 0;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--ht-border);
  border-radius: var(--ht-radius);
}

.site-shell:not(.site-shell--front) .ht-event-detail__content p:first-of-type {
  color: var(--ht-ink);
  font-size: 1.05rem;
  font-weight: 400;
}

.site-footer {
  color: #fff;
  background: var(--ht-blue-dark);
}

.footer-navigation-overview {
  color: #ffffff;
  background: #064f86;
}

.footer-navigation-overview__inner {
  padding-block: 34px 38px;
}

.footer-navigation-overview__title {
  margin: 0 0 22px;
  color: #ffffff;
  font-size: 1.45rem;
  line-height: 1.25;
}

.footer-navigation-overview__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}

.footer-navigation-overview__column {
  min-width: 0;
}

.footer-navigation-overview__column h3 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.3;
}

.footer-navigation-overview__list {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-navigation-overview__list li {
  min-width: 0;
}

.footer-navigation-overview__list a {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  color: #ffffff;
  font-size: 0.92rem;
  line-height: 1.35;
  text-decoration: none;
  text-wrap: pretty;
}

.footer-navigation-overview__list a:hover,
.footer-navigation-overview__list a:focus-visible {
  color: #fff5b8;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}

.footer-navigation-overview__list a:focus-visible {
  outline: 3px solid #ffdc3d;
  outline-offset: 3px;
}

@media (max-width: 1180px) {
  .footer-navigation-overview__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .footer-navigation-overview__inner {
    padding-block: 28px 32px;
  }

  .footer-navigation-overview__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-navigation-overview__list {
    gap: 6px;
  }

  .footer-navigation-overview__list a {
    min-height: 42px;
    font-size: 1rem;
  }
}

.site-footer a {
  color: #fff;
}

.site-footer__band {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.site-footer__band:first-child {
  border-top: 0;
}

.site-footer__band--contact {
  background: #0b4c7a;
}

.site-footer__band--bottom {
  background: #062f50;
}

.site-footer__contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  padding-block: 30px;
}

.footer-contact-card {
  display: grid;
  gap: 7px;
  min-width: 0;
  padding: 24px;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--ht-radius);
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.9);
  font-style: normal;
  line-height: 1.5;
}

.footer-contact-card strong {
  color: #fff;
  font-size: 1.08rem;
}

.footer-contact-card__label {
  margin-top: 10px;
  color: var(--ht-yellow-soft);
  font-weight: 800;
}

.site-footer__bottom {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding-block: 22px;
  font-size: 0.9rem;
  text-align: center;
}

.site-footer__utility {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__utility-item {
  margin: 0;
  padding: 0;
}

.site-footer__utility a {
  padding: 4px 0;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
  text-decoration: none;
}

.site-footer__utility a:hover,
.site-footer__utility a:focus {
  color: var(--ht-yellow-soft);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-footer__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 4px;
  transition: transform 160ms ease, background-color 160ms ease;
}

.site-footer__badge:hover,
.site-footer__badge:focus-visible {
  background: #ffffff;
  transform: translateY(-1px);
}

.site-footer__badge img {
  display: block;
  width: 88px;
  height: 31px;
}

.site-footer__copyright {
  color: rgba(255, 255, 255, 0.76);
}

.node__content {
  background: #fff;
  border-radius: var(--ht-radius);
}

.site-shell:not(.site-shell--front) .node__content {
  padding: clamp(36px, 4.8vw, 72px);
  border: 1px solid var(--ht-border);
  box-shadow: 0 10px 34px rgba(8, 31, 51, 0.08);
}

.site-shell:not(.site-shell--front) .node__content:has(.ht-org-chart) {
  padding: clamp(32px, 3.5vw, 52px);
}

.site-shell--front .node__content {
  background: transparent;
  border-radius: 0;
}

.content-layout--front .node__content {
  margin: 0;
  padding: 0;
}

.site-shell--front .node__content > div,
.site-shell--front .field--name-body {
  margin: 0;
  padding: 0;
  background: transparent;
}

.site-shell--front #block-halasztelek-page-title {
  display: none;
}

.field--name-body {
  padding: clamp(30px, 5vw, 58px);
  color: #222b35;
  font-size: 1.08rem;
  line-height: 1.78;
}

.site-shell:not(.site-shell--front) .field--name-body {
  padding: 0;
}

.site-shell--front .field--name-body {
  padding: 0;
}

.site-shell:not(.site-shell--front) .node__content > *,
.site-shell:not(.site-shell--front) .field--name-body > * {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.site-shell:not(.site-shell--front) .node__content:has(.ht-org-chart) > *,
.site-shell:not(.site-shell--front) .field--name-body > .ht-org-chart {
  max-width: none;
}

.site-shell:not(.site-shell--front) .node__content p,
.site-shell:not(.site-shell--front) .field--name-body p {
  margin-top: 0;
  margin-bottom: 1.25em;
  max-width: 920px;
}

.site-shell:not(.site-shell--front) .node__content p:first-of-type:not(.ht-kicker),
.site-shell:not(.site-shell--front) .field--name-body p:first-of-type:not(.ht-kicker) {
  color: #33404c;
  font-size: 1.22rem;
  line-height: 1.58;
  font-weight: 520;
}

.site-shell:not(.site-shell--front) .ht-placeholder-page {
  max-width: 980px;
  margin-inline: auto;
}

.site-shell.site-shell--municipal-associations .content-layout__main {
  max-width: 1020px;
}

.site-shell.site-shell--municipal-associations .node__content > div {
  max-width: 940px;
  margin-inline: auto;
}

.site-shell--municipal-associations .item-page {
  display: grid;
  gap: 28px;
  color: var(--ht-ink);
  font-size: 1.03rem;
  line-height: 1.72;
}

.site-shell--municipal-associations .item-page .page-header {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--ht-border);
}

.site-shell--municipal-associations .item-page .page-header h2 {
  margin: 0;
  color: var(--ht-blue-dark);
  font-size: clamp(1.45rem, 2vw, 1.9rem);
  line-height: 1.18;
}

.site-shell--municipal-associations .item-page [itemprop="articleBody"] {
  display: grid;
  gap: 18px;
}

.site-shell--municipal-associations .item-page h5 {
  margin: 0;
  padding-top: 24px;
  border-top: 1px solid var(--ht-border);
  color: var(--ht-blue-dark);
  font-size: clamp(1.18rem, 1.6vw, 1.42rem);
  line-height: 1.3;
}

.site-shell--municipal-associations .item-page [itemprop="articleBody"] > h5:first-of-type {
  padding-top: 0;
  border-top: 0;
}

.site-shell--municipal-associations .item-page h5 a {
  color: inherit;
  font-weight: 850;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.site-shell--municipal-associations .item-page p {
  max-width: 880px;
  margin: 0;
  color: #33404c;
  font-size: 1rem;
  line-height: 1.78;
}

.site-shell.site-shell--municipal-associations .node__content p:first-of-type,
.site-shell.site-shell--municipal-associations .field--name-body p:first-of-type {
  color: #33404c;
  font-size: 1rem;
  line-height: 1.78;
  font-weight: 400;
}

.site-shell--municipal-associations .item-page strong {
  color: var(--ht-blue-dark);
  font-weight: 850;
}

.site-shell--municipal-associations .item-page a {
  color: var(--ht-blue-dark);
  overflow-wrap: anywhere;
}

.site-shell--municipal-associations .item-page a:hover,
.site-shell--municipal-associations .item-page a:focus {
  color: var(--ht-red);
}

.site-shell--municipal-associations .item-page hr {
  width: 100%;
  height: 1px;
  margin: 2px 0 4px;
  border: 0;
  background: var(--ht-border);
}

.site-shell--municipal-associations .item-page hr + hr {
  display: none;
}

.site-shell.site-shell--clerk-page .content-layout__main {
  max-width: 1020px;
}

.site-shell.site-shell--clerk-page .node__content > div {
  display: grid;
  gap: 30px;
  max-width: 900px;
  margin-inline: auto;
}

.site-shell--clerk-page .item-page {
  display: grid;
  gap: 18px;
  color: var(--ht-ink);
  font-size: 1rem;
  line-height: 1.72;
}

.site-shell--clerk-page .item-page + hr {
  width: 100%;
  height: 1px;
  margin: 2px 0;
  border: 0;
  background: var(--ht-border);
}

.site-shell--clerk-page .item-page .page-header {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ht-border);
}

.site-shell--clerk-page .item-page .page-header h2 {
  margin: 0;
  color: var(--ht-blue-dark);
  font-size: clamp(1.45rem, 2vw, 1.9rem);
  line-height: 1.18;
}

.site-shell--clerk-page .item-page [itemprop="articleBody"] {
  display: grid;
  gap: 16px;
}

.site-shell--clerk-page .item-page ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-shell--clerk-page .item-page li {
  padding-left: 14px;
  border-left: 3px solid #d7e5ee;
  color: #33404c;
}

.site-shell--clerk-page .item-page h4 {
  margin: 0;
  color: var(--ht-blue-dark);
  font-size: 1.06rem;
  line-height: 1.35;
}

.site-shell--clerk-page .item-page p {
  max-width: 860px;
  margin: 0;
  color: #33404c;
  font-size: 1rem;
  line-height: 1.72;
}

.site-shell.site-shell--clerk-page .node__content p:first-of-type,
.site-shell.site-shell--clerk-page .field--name-body p:first-of-type {
  color: #33404c;
  font-size: 1rem;
  line-height: 1.72;
  font-weight: 400;
}

.site-shell--clerk-page .item-page strong {
  color: var(--ht-blue-dark);
  font-weight: 850;
}

.site-shell--clerk-page .item-page a {
  color: var(--ht-blue-dark);
  overflow-wrap: anywhere;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.site-shell--clerk-page .item-page a:hover,
.site-shell--clerk-page .item-page a:focus {
  color: var(--ht-red);
}

.site-shell--clerk-page .item-page hr {
  width: 100%;
  height: 1px;
  margin: 0;
  border: 0;
  background: var(--ht-border);
}

.site-shell--clerk-page .personlist,
.site-shell--clerk-page .person,
.site-shell--clerk-page .shell,
.site-shell--clerk-page .outerperson,
.site-shell--clerk-page .innerperson,
.site-shell--clerk-page .personinfo {
  display: grid;
  gap: 10px;
}

.site-shell--clerk-page .personpicture {
  display: none;
}

.site-shell--clerk-page .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 4px;
}

.site-shell--clerk-page .tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border: 1px solid #d7e5ee;
  border-radius: 6px;
  background: #f8fafb;
  color: var(--ht-blue-dark);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
}

.site-shell--clerk-page .personfield {
  color: #33404c;
}

.site-shell--clerk-page .fieldname .fieldvalue {
  color: var(--ht-blue-dark);
  font-size: 1.12rem;
  font-weight: 850;
}

.site-shell--clerk-page .fieldposition .fieldvalue {
  color: var(--ht-muted);
  font-weight: 700;
}

.site-shell--public-data .node__content > div {
  max-width: 980px;
  margin-inline: auto;
}

.ht-public-data-page,
.ht-public-data-detail {
  display: grid;
  gap: 22px;
  color: var(--ht-ink);
}

.ht-public-data-accordion {
  display: grid;
  gap: 12px;
}

.ht-public-data-accordion__item {
  border: 1px solid var(--ht-border);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.ht-public-data-accordion__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 56px;
  padding: 15px 18px;
  color: var(--ht-blue-dark);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 850;
  line-height: 1.3;
  list-style: none;
}

.ht-public-data-accordion__item summary::-webkit-details-marker {
  display: none;
}

.ht-public-data-accordion__item summary::after {
  content: "+";
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ht-blue-soft);
  color: var(--ht-blue-dark);
  font-size: 1.1rem;
  font-weight: 850;
  line-height: 1;
}

.ht-public-data-accordion__item[open] summary {
  border-bottom: 1px solid var(--ht-border);
  background: #f8fafb;
}

.ht-public-data-accordion__item[open] summary::after {
  content: "-";
  background: var(--ht-yellow);
}

.ht-public-data-accordion__content {
  padding: 18px;
}

.ht-public-data-link-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ht-public-data-link-list li {
  margin: 0;
}

.ht-public-data-link-list a,
.ht-public-data-detail a {
  color: var(--ht-blue-dark);
  font-weight: 780;
  overflow-wrap: anywhere;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.ht-public-data-link-list a:hover,
.ht-public-data-link-list a:focus,
.ht-public-data-detail a:hover,
.ht-public-data-detail a:focus {
  color: var(--ht-red);
}

.ht-public-data-detail__back {
  margin: 0;
}

.ht-public-data-detail__content {
  display: grid;
  gap: 18px;
}

.ht-public-data-detail__content h3,
.ht-public-data-detail__content h4 {
  margin: 0;
  color: var(--ht-blue-dark);
  line-height: 1.25;
}

.ht-public-data-detail__content p {
  margin: 0;
}

.ht-public-data-detail__content table,
.site-shell--public-data .dropfiles-content table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--ht-border);
  font-size: 0.95rem;
  line-height: 1.5;
}

.ht-public-data-detail__content th,
.ht-public-data-detail__content td,
.site-shell--public-data .dropfiles-content th,
.site-shell--public-data .dropfiles-content td {
  padding: 10px 12px;
  border: 1px solid var(--ht-border);
  vertical-align: top;
}

.ht-public-data-detail__content tr:nth-child(even),
.site-shell--public-data .dropfiles-content tr:nth-child(even) {
  background: #f8fafb;
}

.ht-public-data-detail__content ul,
.ht-public-data-detail__content ol {
  margin: 0;
  padding-left: 22px;
}

.site-shell--public-data .dropfiles-content {
  overflow-x: auto;
}

.ht-award-recipients {
  display: grid;
  gap: 18px;
}

.ht-award-recipients .ht-table-scroll {
  max-width: 820px;
  overflow-x: auto;
  border: 1px solid var(--ht-border);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(8, 31, 51, 0.08);
}

.ht-award-recipients table {
  width: 100%;
  min-width: 420px;
  border-collapse: separate;
  border-spacing: 0;
  color: var(--ht-ink);
  font-size: 1rem;
  line-height: 1.55;
}

.ht-award-recipients caption {
  padding: 14px 16px;
  color: var(--ht-blue-dark);
  font-weight: 850;
  text-align: left;
}

.ht-award-recipients th,
.ht-award-recipients td {
  padding: 13px 16px;
  border-top: 1px solid var(--ht-border);
  text-align: left;
  vertical-align: top;
}

.ht-award-recipients thead th {
  color: #ffffff;
  background: var(--ht-blue-dark);
  font-size: 0.88rem;
  font-weight: 850;
  letter-spacing: 0.02em;
}

.ht-award-recipients tbody th {
  width: 120px;
  color: var(--ht-blue-dark);
  background: #fff8df;
  font-weight: 850;
}

.ht-award-recipients tbody tr:nth-child(even) td,
.ht-award-recipients tbody tr:nth-child(even) th {
  background: #f8fafb;
}

.site-shell--public-data .ext.pdf::before {
  content: "PDF";
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin-right: 8px;
  padding: 3px 7px;
  border-radius: 5px;
  background: #eef4f8;
  color: var(--ht-blue-dark);
  font-size: 0.72rem;
  font-weight: 850;
}

.ht-placeholder-page .ht-kicker {
  margin-bottom: 12px;
  color: var(--ht-red);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ht-placeholder-page h2 {
  color: var(--ht-ink);
}

.site-shell:not(.site-shell--front) .ht-document-grid {
  max-width: 980px;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 34px;
  border-top: 1px solid var(--ht-border);
}

.site-shell:not(.site-shell--front) .node__content:has(.phonebook-page) {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.site-shell:not(.site-shell--front) .node__content:has(.phonebook-page) > *,
.site-shell:not(.site-shell--front) .field--name-body > .phonebook-page {
  max-width: none;
}

.phonebook-page {
  display: grid;
  gap: 20px;
  color: var(--ht-ink);
  min-width: 0;
}

.phonebook-page > * {
  min-width: 0;
  max-width: 100%;
}

.phonebook-page p {
  max-width: none;
}

.phonebook-admin-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 18px;
  border: 1px solid var(--ht-border);
  border-left: 6px solid var(--ht-yellow);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(8, 31, 51, 0.07);
}

.phonebook-admin-actions__button,
.phonebook-admin-actions__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid var(--ht-blue-dark);
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
}

.phonebook-admin-actions__button {
  color: #fff;
  background: var(--ht-blue-dark);
}

.phonebook-admin-actions__link {
  color: var(--ht-blue-dark);
  border-color: #d7e5ee;
  background: #fff;
}

.phonebook-toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 420px) minmax(0, 1fr);
  gap: 12px 18px;
  align-items: end;
  padding: 18px;
  border: 1px solid var(--ht-border);
  border-left: 6px solid var(--ht-yellow);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(8, 31, 51, 0.07);
}

.phonebook-search {
  display: grid;
  gap: 7px;
}

.phonebook-search span,
.phonebook-filters__label {
  color: var(--ht-muted);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: uppercase;
}

.phonebook-search input,
.phonebook-filters select {
  width: 100%;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid #cfdfe9;
  border-radius: 8px;
  color: var(--ht-ink);
  background: #f8fafb;
  font: inherit;
}

.phonebook-filters select {
  cursor: pointer;
}

.phonebook-search input:focus,
.phonebook-filters select:focus {
  border-color: var(--ht-blue);
  outline: 3px solid var(--ht-blue-dark);
  outline-offset: 2px;
  box-shadow: 0 0 0 6px rgba(246, 196, 0, 0.45);
  background: #fff;
}

.phonebook-filters {
  display: grid;
  gap: 7px;
}

.phonebook-tag-filter {
  border: 1px solid var(--ht-border);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(8, 31, 51, 0.07);
  overflow: hidden;
}

.phonebook-tag-filter__summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 14px;
  color: var(--ht-ink);
  cursor: pointer;
  list-style: none;
}

.phonebook-tag-filter__summary::-webkit-details-marker {
  display: none;
}

.phonebook-tag-filter__summary::after {
  content: "";
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--ht-blue-dark);
  border-bottom: 2px solid var(--ht-blue-dark);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.16s ease;
}

.phonebook-tag-filter[open] .phonebook-tag-filter__summary::after {
  transform: rotate(225deg) translateY(-2px);
}

.phonebook-tag-filter__summary span {
  color: var(--ht-muted);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: uppercase;
}

.phonebook-tag-filter__summary strong {
  min-width: 0;
  color: var(--ht-blue-dark);
  font-size: 0.9rem;
  font-weight: 850;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.phonebook-tag-filter__panel {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 14px 14px;
  border-top: 1px solid var(--ht-border);
  background: #fff;
}

.phonebook-active-tag {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  padding: 10px 14px;
  border-top: 1px solid var(--ht-border);
  color: var(--ht-ink);
  background: #fff8df;
  font-size: 0.9rem;
  line-height: 1.35;
}

.phonebook-active-tag strong {
  color: var(--ht-blue-dark);
  font-weight: 850;
}

.phonebook-active-tag a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid var(--ht-red);
  border-radius: 8px;
  color: var(--ht-red);
  background: #fff;
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1.1;
  text-decoration: none;
}

.phonebook-active-tag a:hover,
.phonebook-active-tag a:focus-visible {
  color: #fff;
  background: var(--ht-red);
}

.phonebook-tag-filter__link,
.phonebook-card__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  border: 1px solid #d7e5ee;
  border-radius: 999px;
  color: var(--ht-blue-dark);
  background: #f8fafb;
  font-size: 0.78rem;
  font-weight: 760;
  line-height: 1.2;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.phonebook-tag-filter__link {
  min-height: 34px;
  padding: 7px 12px;
}

.phonebook-tag-filter__link:hover,
.phonebook-tag-filter__link:focus-visible,
.phonebook-tag-filter__link.is-active,
.phonebook-card__tag:hover,
.phonebook-card__tag:focus-visible {
  border-color: var(--ht-blue-dark);
  color: #fff;
  background: var(--ht-blue-dark);
}

.phonebook-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  min-width: 0;
}

.phonebook-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(150px, 138px) minmax(0, 1fr) minmax(320px, 0.92fr);
  align-items: start;
  gap: 16px;
  min-height: 0;
  padding: 16px 16px 16px 72px;
  border: 1px solid var(--ht-border);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(8, 31, 51, 0.06);
}

.phonebook-card__vcard {
  position: absolute;
  top: 16px;
  left: 16px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid #d7e5ee;
  border-radius: 8px;
  color: var(--ht-blue-dark);
  background: #fff;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(8, 31, 51, 0.08);
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.phonebook-card__vcard svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.phonebook-card__vcard span {
  position: absolute;
  overflow: hidden;
  clip: rect(0 0 0 0);
  width: 1px;
  height: 1px;
  white-space: nowrap;
  clip-path: inset(50%);
}

.phonebook-card__vcard:hover,
.phonebook-card__vcard:focus-visible {
  color: #fff;
  background: var(--ht-red);
  border-color: var(--ht-red);
  transform: translateY(-1px);
}

.phonebook-card[hidden],
.phonebook-empty[hidden],
.phonebook-pagination[hidden] {
  display: none;
}

.phonebook-card__head {
  display: grid;
  align-self: start;
  gap: 4px;
  min-width: 0;
}

.phonebook-card__category {
  display: inline-flex;
  align-self: start;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--ht-blue-dark);
  background: #f2f7fa;
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

.phonebook-card__category--egeszsegugy {
  color: #065f46;
  background: #dff7ed;
}

.phonebook-card__category--onkormanyzat {
  color: #0b4f71;
  background: #e2f1f8;
}

.phonebook-card__category--oktatas-kultura {
  color: #7a4b00;
  background: #fff1c2;
}

.phonebook-card__category--szolgaltato {
  color: #8b1d27;
  background: #fde3e6;
}

.phonebook-card__category--egyhaz {
  color: #5d3b92;
  background: #eee7fb;
}

.phonebook-card__category--polgarmesteri-hivatal {
  color: #60420a;
  background: #fff3d2;
}

.phonebook-card__category--ado-iroda {
  color: #8b1d27;
  background: #fde3e6;
}

.phonebook-card__category--penzugyi-iroda {
  color: #60420a;
  background: #fff3d2;
}

.phonebook-card__category--vallalkozasok {
  color: #065f46;
  background: #dff7ed;
}

.phonebook-card__category--lakossagi {
  color: #3b4b0f;
  background: #eef5cc;
}

.phonebook-card__category--muszaki-ugyek {
  color: #0b4f71;
  background: #e2f1f8;
}

.phonebook-card__category--szocialis-ugyek {
  color: #5d3b92;
  background: #eee7fb;
}

.phonebook-card__category--onkormanyzati-rendeszet {
  color: #813f0b;
  background: #fee7c7;
}

.phonebook-card__category--kozbeszerzes {
  color: #1f3a5f;
  background: #e6edf7;
}

.phonebook-card__category--halasztelki-hirmondo {
  color: #7a1430;
  background: #fde2ec;
}

.phonebook-card h3 {
  margin: 0;
  color: var(--ht-ink);
  font-size: 1.05rem;
  line-height: 1.3;
  font-weight: 820;
}

.phonebook-card__role {
  margin: 0;
  color: #26323d;
  font-size: 0.92rem;
  line-height: 1.55;
  font-weight: 620;
}

.phonebook-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
  margin-top: 4px;
}

.phonebook-card__tag {
  min-height: 28px;
  padding: 5px 9px;
}

.phonebook-card__details {
  display: flex;
  align-self: start;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  margin: 0;
}

.phonebook-detail {
  display: inline-grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  min-height: 38px;
  max-width: 100%;
  margin: 0;
  color: #26323d;
  font-size: 0.9rem;
  line-height: 1.25;
  border: 1px solid #d7e5ee;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.phonebook-detail dt {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-width: 0;
  min-height: 38px;
  padding: 8px 9px;
  color: #fff;
  background: var(--ht-blue-dark);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.phonebook-detail dt > span:last-child {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.phonebook-detail__icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: currentColor;
}

.phonebook-detail__icon svg {
  display: block;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.phonebook-detail dd {
  min-width: 0;
  margin: 0;
  padding: 8px 10px;
  color: var(--ht-ink);
  background: #fff;
  font-weight: 650;
  line-height: 1.45;
}

.phonebook-detail--phone dd,
.phonebook-detail--mobile dd {
  min-width: 138px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.phonebook-detail a {
  overflow-wrap: anywhere;
  color: var(--ht-blue-dark);
  font-weight: 620;
  text-decoration: none;
}

.phonebook-detail--phone a,
.phonebook-detail--mobile a {
  overflow-wrap: normal;
  white-space: nowrap;
}

.phonebook-detail a:hover,
.phonebook-detail a:focus {
  color: var(--ht-red);
  text-decoration: underline;
}

.form-documents-page .phonebook-toolbar {
  grid-template-columns: minmax(0, 480px) minmax(220px, 1fr);
}

.form-document-card {
  grid-template-columns: minmax(120px, 150px) minmax(0, 1fr) auto auto;
  min-width: 0;
}

.form-document-card__meta,
.form-document-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
}

.form-document-card__filename {
  min-width: 0;
  margin: 0;
  color: #6f7d88;
  font-size: 0.82rem;
  line-height: 1.35;
  font-weight: 520;
  overflow-wrap: anywhere;
}

.form-document-card__type,
.form-document-card__download,
.form-document-card__edit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border-radius: 8px;
  font-size: 0.88rem;
  line-height: 1.1;
  font-weight: 820;
  text-decoration: none;
  white-space: nowrap;
}

.form-document-card__type {
  gap: 7px;
  padding: 8px 11px;
  border: 1px solid #d7e5ee;
  color: var(--ht-blue-dark);
  background: #f2f7fa;
}

.form-document-card__download {
  padding: 9px 16px;
  color: #fff;
  background: var(--ht-blue-dark);
}

.form-document-card__download:hover,
.form-document-card__download:focus-visible {
  color: #fff;
  background: var(--ht-red);
}

.form-document-card__edit {
  padding: 8px 12px;
  border: 1px solid #d7e5ee;
  color: var(--ht-blue-dark);
  background: #fff;
}

.form-document-card__edit:hover,
.form-document-card__edit:focus-visible {
  border-color: var(--ht-blue-dark);
  color: #fff;
  background: var(--ht-blue-dark);
}

.phonebook-empty {
  padding: 24px;
  border: 1px dashed #b7c8d6;
  border-radius: var(--ht-radius);
  color: var(--ht-muted);
  background: #fff;
  text-align: center;
}

.phonebook-pagination {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--ht-border);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(8, 31, 51, 0.06);
}

.phonebook-pagination__summary {
  min-width: 0;
  margin: 0;
  color: var(--ht-muted);
  font-size: 0.9rem;
  font-weight: 760;
}

.phonebook-pagination__controls,
.phonebook-pagination__pages {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.phonebook-pagination__controls {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  justify-content: stretch;
  width: 100%;
}

.phonebook-pagination__pages {
  justify-content: center;
  max-width: 100%;
}

.phonebook-pagination__button,
.phonebook-pagination__page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 38px;
  padding: 8px 11px;
  border: 1px solid #d7e5ee;
  border-radius: 8px;
  color: var(--ht-blue-dark);
  background: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1;
}

.phonebook-pagination__button:hover,
.phonebook-pagination__button:focus-visible,
.phonebook-pagination__page:hover,
.phonebook-pagination__page:focus-visible,
.phonebook-pagination__page[aria-current="page"] {
  border-color: var(--ht-blue-dark);
  color: #fff;
  background: var(--ht-blue-dark);
}

.phonebook-pagination__button:disabled {
  border-color: #e0e8ee;
  color: #95a3af;
  background: #f4f7f9;
  cursor: not-allowed;
}

.site-shell:not(.site-shell--front) .ht-doc-card {
  padding: 18px 0;
  border: 0;
  border-bottom: 1px solid var(--ht-border);
  border-radius: 0;
  background: transparent;
}

.site-shell:not(.site-shell--front) .ht-doc-card strong {
  font-size: 1rem;
}

.site-shell:not(.site-shell--front) .ht-doc-card span {
  margin-top: 4px;
}

.ht-reps-page {
  display: grid;
  gap: 34px;
}

.site-shell:not(.site-shell--front) .field--name-body > .ht-reps-page {
  margin-top: 8px;
}

.ht-reps-section {
  display: grid;
  gap: 16px;
}

.ht-reps-section__head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ht-reps-section__head::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: var(--ht-border);
}

.ht-reps-section h3 {
  margin: 0;
  color: var(--ht-blue-dark);
  font-size: 1.38rem;
  line-height: 1.2;
}

.ht-reps-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.ht-rep-card {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  min-height: 204px;
  overflow: hidden;
  border: 1px solid var(--ht-border);
  border-radius: 8px;
  background: var(--ht-surface);
  box-shadow: 0 12px 28px rgba(8, 31, 51, 0.08);
}

.ht-rep-card__photo {
  min-height: 100%;
  background: var(--ht-blue-soft);
}

.ht-rep-card__photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 204px;
  object-fit: cover;
  object-position: center top;
}

.ht-rep-card__body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 16px;
}

.ht-rep-card__badge {
  align-self: flex-start;
  max-width: 100%;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--ht-yellow-soft);
  color: var(--ht-blue-dark);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.25;
}

.ht-rep-card h4 {
  margin: 12px 0 3px;
  color: var(--ht-ink);
  font-size: 1.18rem;
  line-height: 1.2;
}

.ht-rep-card__role {
  margin: 0;
  color: var(--ht-muted);
  font-size: 0.95rem;
  line-height: 1.35;
}

.ht-rep-card__office {
  margin: 10px 0 0;
  color: var(--ht-muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

.ht-rep-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
}

.ht-rep-phone-desktop {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 0;
  color: var(--ht-blue-dark);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.25;
}

.ht-rep-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.ht-rep-action--phone {
  display: none;
  background: var(--ht-blue-dark);
  color: #fff;
}

.ht-rep-action--email {
  border: 1px solid var(--ht-border);
  background: var(--ht-surface-alt);
  color: var(--ht-blue-dark);
}

.ht-rep-action:hover,
.ht-rep-action:focus {
  transform: translateY(-1px);
  text-decoration: none;
}

.ht-nationality-page {
  display: grid;
  gap: 18px;
}

.site-shell:not(.site-shell--front) .field--name-body > .ht-nationality-page {
  margin-top: 8px;
}

.ht-nationality-intro {
  padding: 18px 20px;
  border: 1px solid #d7e5ee;
  border-left: 6px solid var(--ht-yellow);
  border-radius: 8px;
  background: #f6fafc;
}

.ht-nationality-intro p {
  margin: 0;
  color: var(--ht-blue-dark);
  font-size: 1.05rem;
  font-weight: 650;
  line-height: 1.5;
}

.ht-nationality-card {
  display: grid;
  gap: 24px;
  overflow: hidden;
  border: 1px solid var(--ht-border);
  border-radius: 8px;
  background: var(--ht-surface);
  box-shadow: 0 14px 34px rgba(8, 31, 51, 0.08);
}

.ht-nationality-card__head {
  display: grid;
  gap: 12px;
  padding: 24px;
  border-bottom: 1px solid var(--ht-border);
  background:
    linear-gradient(135deg, rgba(255, 207, 48, 0.22), rgba(4, 95, 159, 0.08)),
    #fff;
}

.ht-nationality-card__badge {
  justify-self: start;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--ht-blue-dark);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.25;
}

.ht-nationality-card h3 {
  margin: 0;
  color: var(--ht-ink);
  font-size: 1.65rem;
  line-height: 1.2;
}

.ht-nationality-leaders {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 0 24px;
}

.ht-nationality-contact-cta {
  padding: 0 24px;
}

.ht-nationality-person {
  display: grid;
  gap: 7px;
  min-height: 116px;
  align-content: center;
  padding: 18px;
  border: 1px solid #d9e5ed;
  border-radius: 8px;
  background: #f8fafb;
}

.ht-nationality-person span {
  color: var(--ht-muted);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: uppercase;
}

.ht-nationality-person strong {
  color: var(--ht-blue-dark);
  font-size: 1.1rem;
  line-height: 1.28;
}

.ht-nationality-members {
  display: grid;
  gap: 14px;
  padding: 0 24px 24px;
}

.ht-nationality-members h4 {
  margin: 0;
  color: var(--ht-blue-dark);
  font-size: 1.12rem;
  line-height: 1.25;
}

.ht-nationality-member-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ht-nationality-member-list li {
  min-height: 56px;
  padding: 15px 16px;
  border: 1px solid #d9e5ed;
  border-radius: 8px;
  background: #fff;
  color: var(--ht-ink);
  font-weight: 720;
  line-height: 1.35;
}

.ht-org-chart {
  display: grid;
  gap: 24px;
}

.site-shell:not(.site-shell--front) .field--name-body > .ht-org-chart {
  margin-top: 8px;
}

.ht-org-chart__intro {
  padding: 22px;
  border: 1px solid #d7e5ee;
  border-left: 6px solid var(--ht-yellow);
  border-radius: 8px;
  background: #f6fafc;
}

.ht-org-chart__intro h2 {
  margin: 0 0 8px;
  color: var(--ht-blue-dark);
  font-size: 1.42rem;
  line-height: 1.25;
}

.ht-org-chart__intro p {
  margin: 0;
  color: var(--ht-muted);
  font-size: 1rem;
  line-height: 1.55;
}

.ht-org-chart__map {
  position: relative;
  display: grid;
  gap: 38px;
  padding: 28px;
  overflow: visible;
  border: 1px solid var(--ht-border);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(234, 245, 251, 0.78), rgba(255, 255, 255, 0.96)),
    #fff;
  box-shadow: 0 14px 34px rgba(8, 31, 51, 0.08);
}

.ht-org-chart__leadership,
.ht-org-chart__top-row,
.ht-org-chart__support-row,
.ht-org-chart__mayor-cabinet,
.ht-org-chart__clerk-chain,
.ht-org-chart__clerk-level,
.ht-org-chart__offices {
  position: relative;
  display: grid;
}

.ht-org-chart__top-row::before,
.ht-org-chart__top-row .ht-org-card::after,
.ht-org-chart__mayor-cabinet::before,
.ht-org-chart__clerk-chain::before,
.ht-org-chart__clerk-level::after,
.ht-org-chart__offices::before,
.ht-org-chart__offices .ht-org-card::after {
  content: "";
  position: absolute;
  background: #b8ccd9;
}

.ht-org-chart__leadership {
  gap: 28px;
  justify-items: center;
}

.ht-org-chart__top-row {
  grid-template-columns: repeat(3, minmax(210px, 280px));
  justify-content: center;
  gap: 18px;
  width: min(100%, 876px);
}

.ht-org-chart__top-row::before {
  bottom: -14px;
  left: 16.66%;
  right: 16.66%;
  height: 2px;
}

.ht-org-chart__top-row .ht-org-card::after {
  left: 50%;
  bottom: -14px;
  width: 2px;
  height: 14px;
  transform: translateX(-50%);
}

.ht-org-chart__support-row {
  grid-template-columns: minmax(300px, 580px) minmax(220px, 280px);
  justify-content: center;
  align-items: start;
  gap: 18px;
  width: min(100%, 876px);
}

.ht-org-chart__mayor-cabinet {
  align-content: start;
  align-items: start;
  justify-items: center;
  width: 100%;
}

.ht-org-chart__mayor-cabinet::before {
  top: -28px;
  left: 50%;
  width: 2px;
  height: 28px;
  transform: translateX(-50%);
}

.ht-org-chart__clerk-chain {
  gap: 28px;
  justify-items: center;
  width: 100%;
}

.ht-org-chart__clerk-chain::before {
  top: -28px;
  left: 50%;
  width: 2px;
  height: 28px;
  transform: translateX(-50%);
}

.ht-org-chart__clerk-level {
  justify-items: center;
  width: 100%;
}

.ht-org-chart__mayor-cabinet .ht-org-card,
.ht-org-chart__clerk-level .ht-org-card {
  width: min(100%, 280px);
}

.ht-org-chart__clerk-level::after {
  left: 50%;
  bottom: -28px;
  width: 2px;
  height: 28px;
  transform: translateX(-50%);
}

.ht-org-chart__clerk-level:last-child::after {
  bottom: -38px;
  height: 38px;
}

.ht-org-chart__offices {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.ht-org-chart__offices::before {
  top: -19px;
  left: 10%;
  right: 10%;
  height: 2px;
}

.ht-org-chart__offices .ht-org-card::after {
  left: 50%;
  top: -19px;
  width: 2px;
  height: 19px;
  transform: translateX(-50%);
}

.ht-org-card {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 30px;
  gap: 8px 12px;
  align-items: center;
  width: 100%;
  min-height: 78px;
  padding: 15px 14px 15px 16px;
  overflow: hidden;
  border: 1px solid #d9e5ed;
  border-top: 5px solid var(--ht-blue);
  border-radius: 8px;
  background: #fff;
  color: var(--ht-ink);
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(8, 31, 51, 0.07);
}

.ht-org-card::before {
  content: "";
  position: absolute;
  inset: auto -28px -42px auto;
  width: 104px;
  height: 104px;
  border-radius: 999px;
  background: rgba(4, 95, 159, 0.08);
  z-index: -1;
}

.ht-org-card:hover,
.ht-org-card:focus {
  color: var(--ht-blue-dark);
  border-color: var(--ht-blue);
  text-decoration: none;
  transform: translateY(-1px);
}

.ht-org-card__meta {
  grid-column: 1 / -1;
  color: var(--ht-muted);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.03em;
  line-height: 1.15;
  text-transform: uppercase;
}

.ht-org-card__label {
  min-width: 0;
  color: var(--ht-blue-dark);
  font-size: 1.02rem;
  font-weight: 820;
  line-height: 1.25;
  overflow-wrap: break-word;
}

.ht-org-card__arrow {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--ht-blue-soft);
  color: var(--ht-blue-dark);
  font-size: 1.25rem;
  font-weight: 850;
  line-height: 1;
}

.ht-org-card--dark {
  width: min(100%, 300px);
  min-height: 88px;
  border-top-color: var(--ht-blue-dark);
  background: var(--ht-blue-dark);
  color: #fff;
}

.ht-org-card--dark .ht-org-card__meta,
.ht-org-card--dark .ht-org-card__label,
.ht-org-card--dark:hover .ht-org-card__label,
.ht-org-card--dark:focus .ht-org-card__label {
  color: #fff;
}

.ht-org-card--dark .ht-org-card__arrow {
  background: var(--ht-yellow);
}

.ht-org-card--yellow {
  border-top-color: var(--ht-yellow);
}

.ht-org-card--yellow::before {
  background: rgba(246, 196, 0, 0.16);
}

.ht-org-card--red {
  border-top-color: var(--ht-red);
}

.ht-org-card--red::before {
  background: rgba(201, 51, 58, 0.1);
}

.ht-org-chart__offices .ht-org-card {
  grid-template-columns: minmax(0, 1fr);
  padding-inline: 16px;
}

.ht-org-chart__offices .ht-org-card__arrow {
  display: none;
}

@media (min-width: 1061px) and (max-width: 1320px) {
  .ht-org-chart__offices {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ht-org-chart__offices::before,
  .ht-org-chart__offices .ht-org-card::after {
    display: none;
  }
}

.ht-office-hours-page {
  display: grid;
  gap: 20px;
}

.site-shell:not(.site-shell--front) .field--name-body > .ht-office-hours-page {
  margin-top: 8px;
}

.ht-office-hours-note {
  padding: 20px;
  border: 1px solid #d7e5ee;
  border-left: 6px solid var(--ht-yellow);
  border-radius: 8px;
  background: #f6fafc;
}

.ht-office-hours-note h3 {
  margin: 0 0 8px;
  color: var(--ht-blue-dark);
  font-size: 1.28rem;
  line-height: 1.25;
}

.ht-office-hours-note p {
  margin: 0;
  color: var(--ht-ink);
  font-size: 1rem;
  line-height: 1.55;
}

.ht-office-hours-table-wrap {
  overflow: hidden;
  border: 1px solid var(--ht-border);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(8, 31, 51, 0.08);
}

.ht-office-hours-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  color: var(--ht-ink);
}

.ht-office-hours-table th,
.ht-office-hours-table td {
  padding: 16px 14px;
  border-bottom: 1px solid var(--ht-border);
  border-left: 1px solid var(--ht-border);
  text-align: left;
  vertical-align: top;
}

.ht-office-hours-table th:first-child,
.ht-office-hours-table td:first-child {
  border-left: 0;
}

.ht-office-hours-table thead th {
  background: var(--ht-blue-dark);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.02em;
  line-height: 1.25;
}

.ht-office-hours-table tbody tr:nth-child(even) {
  background: #f8fafb;
}

.ht-office-hours-table tbody tr:last-child th,
.ht-office-hours-table tbody tr:last-child td {
  border-bottom: 0;
}

.ht-office-hours-table tbody th {
  width: 112px;
  background: #fff8df;
  color: var(--ht-blue-dark);
  font-weight: 850;
}

.ht-office-hours-day {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
}

.ht-office-hours-times {
  display: grid;
  gap: 5px;
}

.ht-office-hours-times span {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  padding: 5px 9px;
  border: 1px solid #8bb6d2;
  border-radius: 999px;
  background: #d8edf8;
  color: var(--ht-blue-dark);
  font-size: 0.92rem;
  font-weight: 760;
  line-height: 1.2;
}

.ht-office-hours-closed {
  display: inline-flex;
  padding: 5px 9px;
  border: 1px solid #9aa8b4;
  border-radius: 999px;
  background: #e4e9ed;
  color: var(--ht-ink);
  font-size: 0.88rem;
  font-weight: 760;
  line-height: 1.2;
}

.ht-office-hours-signature {
  justify-self: end;
  margin: 0;
  color: var(--ht-ink);
  text-align: right;
  line-height: 1.35;
}

.ht-office-hours-signature strong,
.ht-office-hours-signature span {
  display: block;
}

.ht-office-hours-signature strong {
  color: var(--ht-ink);
}

.ht-tax-office-page {
  display: grid;
  gap: 34px;
}

.site-shell:not(.site-shell--front) .field--name-body > .ht-tax-office-page {
  margin-top: 8px;
}

.ht-tax-office-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.7fr);
  gap: 26px;
  align-items: stretch;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid #cfe0ec;
  border-left: 7px solid var(--ht-yellow);
  border-radius: 8px;
  background: linear-gradient(135deg, #f7fbfd, #ffffff);
}

.ht-tax-office-hero .ht-kicker {
  margin: 0 0 8px;
  color: var(--ht-red);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ht-tax-office-hero h2,
.ht-tax-office-section h2 {
  margin-top: 0;
}

.ht-tax-office-hero p {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--ht-muted);
  font-size: 1.06rem;
  line-height: 1.6;
}

.ht-tax-office-contact {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 22px;
  margin: 0;
  border-radius: 8px;
  background: var(--ht-blue-dark);
  color: #fff;
}

.ht-tax-office-contact div {
  display: grid;
  gap: 2px;
}

.ht-tax-office-contact dt {
  color: var(--ht-yellow-soft);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.ht-tax-office-contact dd {
  margin: 0;
  color: #fff;
  font-weight: 720;
}

.ht-tax-office-contact a {
  color: #fff;
}

.ht-tax-office-section {
  display: grid;
  gap: 18px;
}

.ht-tax-doc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.ht-tax-doc-card {
  display: grid;
  align-content: start;
  min-height: 132px;
  padding: 18px;
  border: 1px solid var(--ht-border);
  border-top: 5px solid var(--ht-blue);
  border-radius: 8px;
  background: #fff;
  color: var(--ht-ink);
  text-decoration: none;
}

.ht-tax-doc-card:nth-child(3n + 2) {
  border-top-color: var(--ht-yellow);
}

.ht-tax-doc-card:nth-child(3n) {
  border-top-color: var(--ht-red);
}

.ht-tax-doc-card strong {
  color: var(--ht-blue-dark);
  font-size: 1.06rem;
  line-height: 1.25;
}

.ht-tax-doc-card span {
  margin-top: 8px;
  color: var(--ht-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.ht-tax-doc-card:hover,
.ht-tax-doc-card:focus {
  border-color: var(--ht-blue);
  background: var(--ht-blue-soft);
  color: var(--ht-ink);
}

.ht-tax-office-all-docs {
  margin: 0;
}

.ht-tax-office-all-docs a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--ht-blue-dark);
  color: #fff;
  font-weight: 850;
  text-decoration: none;
}

.ht-tax-office-all-docs a:hover,
.ht-tax-office-all-docs a:focus {
  background: var(--ht-blue);
  color: #fff;
}

.ht-tax-office-lead-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.ht-tax-office-lead-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 20px;
  border: 1px solid #cfe0ec;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(8, 31, 51, 0.08);
}

.ht-tax-office-lead-card img {
  display: block;
  width: 112px;
  height: 150px;
  border-radius: 8px;
  object-fit: cover;
}

.ht-tax-office-lead-card h2 {
  margin: 0;
  color: var(--ht-blue-dark);
  font-size: 1.28rem;
  line-height: 1.25;
}

.ht-tax-office-lead-card p {
  margin: 0;
  color: #26323d;
  font-weight: 760;
  line-height: 1.5;
}

.ht-tax-office-lead-card__role {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  margin: 0 0 8px !important;
  padding: 5px 9px;
  border-radius: 6px;
  background: var(--ht-blue-dark);
  color: #fff !important;
  font-size: 0.82rem;
  font-weight: 900 !important;
  line-height: 1.2 !important;
  text-transform: uppercase;
}

.ht-office-contact-cta {
  margin: 0;
}

.ht-office-contact-cta__button,
.ht-office-contact-cta__button:visited {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  max-width: 100%;
  padding: 16px 20px;
  border-radius: 8px;
  color: #fff;
  background: var(--ht-red);
  box-shadow: 0 16px 32px rgba(168, 31, 45, 0.22);
  font-size: 1.04rem;
  font-weight: 900;
  line-height: 1.25;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.ht-office-contact-cta__button:hover,
.ht-office-contact-cta__button:focus,
.ht-office-contact-cta__button:active,
.ht-office-contact-cta__button:focus-visible {
  color: #fff;
  background: #8b1d27;
  box-shadow: 0 18px 36px rgba(139, 29, 39, 0.28);
}

.ht-office-contact-cta__icons {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 7px;
}

.ht-office-contact-cta__icon {
  display: block;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  background: currentColor;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: 22px 22px;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 22px 22px;
}

.ht-office-contact-cta__icon--phone {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6.6 10.8c1.5 3 3.9 5.4 6.9 6.9l2.3-2.3c.3-.3.8-.4 1.2-.3 1.3.4 2.6.6 4 .6.6 0 1 .4 1 1V21c0 .6-.4 1-1 1C10.5 22 2 13.5 2 3c0-.6.4-1 1-1h4.3c.6 0 1 .4 1 1 0 1.4.2 2.7.6 4 .1.4 0 .8-.3 1.2l-2 2.6Z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6.6 10.8c1.5 3 3.9 5.4 6.9 6.9l2.3-2.3c.3-.3.8-.4 1.2-.3 1.3.4 2.6.6 4 .6.6 0 1 .4 1 1V21c0 .6-.4 1-1 1C10.5 22 2 13.5 2 3c0-.6.4-1 1-1h4.3c.6 0 1 .4 1 1 0 1.4.2 2.7.6 4 .1.4 0 .8-.3 1.2l-2 2.6Z'/%3E%3C/svg%3E");
}

.ht-office-contact-cta__icon--mail {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2Zm8 9.2L20 8V6.4l-8 5.2-8-5.2V8l8 5.2Z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2Zm8 9.2L20 8V6.4l-8 5.2-8-5.2V8l8 5.2Z'/%3E%3C/svg%3E");
}

.ht-office-contact-cta--download .ht-office-contact-cta__icons {
  gap: 8px;
}

.ht-office-contact-cta__icon--issue {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 3h13c1.1 0 2 .9 2 2v13.5c0 .8.7 1.5 1.5 1.5.3 0 .5.2.5.5s-.2.5-.5.5H6c-2.2 0-4-1.8-4-4V5c0-1.1.9-2 2-2Zm0 14c0 1.1.9 2 2 2h11.4c-.3-.5-.4-1-.4-1.5V5H4v12Zm2-9h9v2H6V8Zm0 4h9v2H6v-2Zm0 4h5v2H6v-2Z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 3h13c1.1 0 2 .9 2 2v13.5c0 .8.7 1.5 1.5 1.5.3 0 .5.2.5.5s-.2.5-.5.5H6c-2.2 0-4-1.8-4-4V5c0-1.1.9-2 2-2Zm0 14c0 1.1.9 2 2 2h11.4c-.3-.5-.4-1-.4-1.5V5H4v12Zm2-9h9v2H6V8Zm0 4h9v2H6v-2Zm0 4h5v2H6v-2Z'/%3E%3C/svg%3E");
}

.ht-office-contact-cta__icon--download {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M11 3h2v9.2l3.6-3.6L18 10l-6 6-6-6 1.4-1.4 3.6 3.6V3Zm-7 14h2v2h12v-2h2v3c0 .6-.4 1-1 1H5c-.6 0-1-.4-1-1v-3Z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M11 3h2v9.2l3.6-3.6L18 10l-6 6-6-6 1.4-1.4 3.6 3.6V3Zm-7 14h2v2h12v-2h2v3c0 .6-.4 1-1 1H5c-.6 0-1-.4-1-1v-3Z'/%3E%3C/svg%3E");
}

.ht-office-contact-cta__button svg {
  display: block;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ht-office-contact-cta__arrow {
  margin-left: auto;
}

.ht-local-page {
  display: grid;
  gap: 28px;
}

.site-shell:not(.site-shell--front) .field--name-body > .ht-local-page {
  margin-top: 8px;
}

.ht-local-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 24px;
  border: 1px solid #cfe0ec;
  border-left: 7px solid var(--ht-yellow);
  border-radius: 8px;
  background: var(--ht-blue-soft);
}

.ht-local-hero h2 {
  margin: 6px 0 8px;
  color: var(--ht-blue-dark);
  font-size: clamp(1.7rem, 2.4vw, 2.45rem);
  line-height: 1.1;
}

.ht-local-hero p:last-child {
  margin-bottom: 0;
}

.ht-local-hero .ht-kicker {
  display: inline-flex;
  margin: 0;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--ht-blue-dark);
  color: #fff !important;
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1.2;
  text-transform: uppercase;
}

.ht-local-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.ht-local-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ht-local-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ht-local-card {
  display: grid;
  align-content: start;
  gap: 18px;
  min-width: 0;
  padding: 22px;
  border: 1px solid #cfe0ec;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(8, 31, 51, 0.09);
}

.ht-local-card__image {
  overflow: hidden;
  margin: -20px -20px 0;
  border-radius: 8px 8px 0 0;
  background: #dfe9ef;
  aspect-ratio: 16 / 9;
}

.ht-local-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.ht-local-card__head {
  display: grid;
  gap: 7px;
  padding-bottom: 16px;
  border-bottom: 2px solid #dbe9f1;
}

.ht-local-card h2,
.ht-local-card h3 {
  margin: 0;
  color: var(--ht-blue-dark);
  font-size: 1.22rem;
  line-height: 1.25;
}

.ht-local-card h4 {
  margin: 0 0 9px;
  color: var(--ht-blue-dark);
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1.25;
  text-transform: uppercase;
}

.ht-local-card p {
  margin: 0;
  color: #26323d;
  line-height: 1.65;
}

.ht-local-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ht-local-list li {
  margin: 0;
  padding: 2px 0 2px 15px;
  border-left: 4px solid var(--ht-blue);
  color: var(--ht-ink);
  font-weight: 680;
  line-height: 1.6;
}

.ht-supervisory-page .ht-local-grid--three {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
}

.ht-supervisory-contact-list li {
  display: grid;
  gap: 3px;
}

.ht-supervisory-contact-list__label {
  color: var(--ht-muted);
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1.25;
  text-transform: uppercase;
}

.ht-supervisory-contact-list__value {
  display: inline-block;
  max-width: 100%;
  overflow-x: auto;
  color: var(--ht-ink);
  scrollbar-width: thin;
}

.ht-supervisory-contact-list__value--address,
.ht-supervisory-contact-list__value--email {
  overflow-wrap: normal;
  white-space: nowrap;
  word-break: keep-all;
}

.ht-supervisory-contact-list__value--phone {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
}

.ht-supervisory-contact-list__phone {
  white-space: nowrap;
}

.site-shell--churches-page .ht-local-card h3 + .ht-local-list,
.ht-church-times .ht-local-list {
  gap: 14px;
}

.site-shell--churches-page .ht-local-card h3 + .ht-local-list li,
.ht-church-times .ht-local-list li {
  padding-top: 5px;
  padding-bottom: 5px;
  line-height: 1.85;
}

.ht-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.ht-chip-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  max-width: 100%;
  padding: 8px 11px;
  border: 1px solid #d7e5ee;
  border-radius: 8px;
  background: #f8fafb;
  color: var(--ht-blue-dark);
  font-size: 0.88rem;
  font-weight: 850;
  line-height: 1.15;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.ht-chip-row a:hover,
.ht-chip-row a:focus-visible {
  border-color: var(--ht-blue);
  color: var(--ht-red);
  background: #fff;
}

.ht-local-toc {
  padding: 14px;
  border: 1px solid #cfe0ec;
  border-radius: 8px;
  background: var(--ht-blue-soft);
}

.ht-local-section {
  display: grid;
  gap: 18px;
  scroll-margin-top: 150px;
}

.ht-civil-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--ht-border);
}

.ht-civil-list__item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid var(--ht-border);
}

.ht-civil-list__item:hover .ht-civil-list__title-link {
  color: var(--ht-red);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ht-civil-list__main {
  display: grid;
  gap: 7px;
}

.ht-civil-list__main h3 {
  margin: 0;
  color: var(--ht-blue-dark);
  font-size: 1.08rem;
  line-height: 1.3;
}

.ht-civil-list__title-link {
  color: inherit;
  text-decoration: none;
}

.ht-civil-list__title-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.ht-civil-list__title-link:focus-visible {
  color: var(--ht-red);
  text-decoration: underline;
  text-underline-offset: 3px;
  outline: 0;
}

.ht-civil-list__title-link:focus-visible::after {
  outline: 3px solid rgba(0, 105, 170, 0.35);
  outline-offset: 3px;
}

.ht-civil-list__main p {
  margin: 0;
  color: var(--ht-muted);
  line-height: 1.5;
}

.ht-civil-list__main ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.ht-civil-list__main li {
  color: var(--ht-ink);
  font-size: 0.92rem;
  font-weight: 720;
  line-height: 1.35;
}

.ht-civil-list__actions {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.ht-civil-list__actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid #d7e5ee;
  border-radius: 8px;
  background: #f8fafb;
  color: var(--ht-blue-dark);
  font-size: 0.86rem;
  font-weight: 850;
  line-height: 1.15;
  text-decoration: none;
}

.ht-civil-list__actions a:hover,
.ht-civil-list__actions a:focus-visible {
  border-color: var(--ht-blue);
  color: var(--ht-red);
  background: #fff;
}

.ht-local-page .ht-section__head {
  display: grid;
  align-items: start;
  justify-content: start;
  gap: 6px;
  margin-bottom: 0;
}

.ht-local-page .ht-section__head p {
  max-width: 760px;
  color: #26323d;
}

.ht-health-finder {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
  gap: 18px;
  align-items: end;
  padding: 20px;
  border: 1px solid #cfe0ec;
  border-left: 7px solid var(--ht-blue);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(8, 31, 51, 0.07);
}

.ht-health-finder h2 {
  margin: 0 0 6px;
  color: var(--ht-blue-dark);
  font-size: 1.35rem;
  line-height: 1.2;
}

.ht-health-finder p {
  margin: 0;
  color: #26323d;
  line-height: 1.6;
}

.ht-local-page:has(.ht-health-finder) .ht-chip-row a {
  min-height: 40px;
  padding: 9px 12px;
  font-size: 1rem;
  line-height: 1.2;
}

.ht-health-finder label {
  display: grid;
  gap: 6px;
  min-width: 0;
  color: var(--ht-blue-dark);
  font-size: 0.95rem;
  font-weight: 850;
  line-height: 1.2;
  text-transform: uppercase;
}

.ht-health-finder input {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 9px 11px;
  border: 1px solid #cfdfe9;
  border-radius: 8px;
  background: #f8fafb;
  color: var(--ht-ink);
  font-size: 1rem;
  font-weight: 680;
  line-height: 1.35;
  text-transform: none;
}

.ht-health-finder__results {
  grid-column: 1 / -1;
  display: grid;
  gap: 9px;
  min-height: 42px;
  padding-top: 2px;
  color: #26323d;
  font-size: 1rem;
  line-height: 1.55;
}

.ht-health-result {
  display: grid;
  gap: 5px;
  padding: 13px;
  border: 1px solid #d7e5ee;
  border-radius: 8px;
  background: #f8fafb;
}

.ht-health-result strong {
  color: var(--ht-blue-dark);
  font-size: 1.06rem;
  line-height: 1.25;
}

.ht-health-result span {
  color: #26323d;
  font-size: 1rem;
  line-height: 1.5;
}

.ht-health-result a {
  justify-self: start;
  color: var(--ht-red);
  font-weight: 850;
  text-decoration: none;
}

.ht-health-result a:hover,
.ht-health-result a:focus-visible {
  text-decoration: underline;
}

.ht-district-card details {
  border: 1px solid #d7e5ee;
  border-radius: 8px;
  background: #f8fafb;
}

.ht-district-card > div {
  display: grid;
  gap: 0;
}

.ht-district-card h4 {
  justify-self: start;
  margin: 22px 0 12px;
  padding: 7px 11px;
  border-left: 4px solid var(--ht-yellow);
  border-radius: 7px;
  background: #eef6fb;
  color: var(--ht-blue-dark);
  font-size: 0.95rem;
}

.ht-district-card h4:first-child {
  margin-top: 0;
}

.ht-district-card .ht-local-list + h4 {
  margin-top: 34px;
}

.ht-district-card .ht-local-list {
  gap: 14px;
}

.ht-district-card .ht-local-list li {
  padding-left: 18px;
  line-height: 1.72;
}

.ht-district-card summary {
  min-height: 42px;
  padding: 10px 12px;
  color: var(--ht-blue-dark);
  font-weight: 850;
  cursor: pointer;
}

.ht-district-streets {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  padding: 0 12px 12px;
}

.ht-district-streets span {
  display: block;
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid #d7e5ee;
  border-radius: 7px;
  background: #fff;
  color: var(--ht-ink);
  font-size: 1rem;
  line-height: 1.45;
}

.ht-district-streets strong {
  color: var(--ht-ink);
}

.phonebook-card__category--kozmuvelodes-konyvtar {
  color: #0f4f4b;
  background: #dff5f2;
}

.phonebook-card__category--humanszolgaltato-kozpont {
  color: #813f0b;
  background: #fee7c7;
}

.phonebook-card__category--civil-szervezetek {
  color: #1f3a5f;
  background: #e6edf7;
}

.ht-tax-staff-card {
  display: grid;
  grid-template-columns: minmax(170px, 0.7fr) minmax(210px, 0.95fr) minmax(440px, 1.75fr);
  gap: 12px 24px;
  align-items: start;
  min-width: 0;
  padding: 16px 18px;
  border: 0;
  border-bottom: 1px solid var(--ht-border);
  border-radius: 0;
  background: #fff;
}

.ht-tax-staff-grid {
  display: grid;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--ht-border);
  border-radius: 8px;
  background: #fff;
}

.ht-tax-staff-card:nth-child(even) {
  background: #f8fafb;
}

.ht-tax-staff-card:last-child {
  border-bottom: 0;
}

.ht-tax-staff-card h3 {
  margin: 0;
  color: var(--ht-blue-dark);
  font-size: 1.05rem;
  line-height: 1.28;
}

.ht-tax-staff-card p {
  margin: 0;
  color: var(--ht-muted);
  font-size: 0.94rem;
  line-height: 1.45;
}

.ht-tax-staff-card dl {
  display: grid;
  grid-template-columns: max-content max-content minmax(210px, 1fr);
  gap: 10px 12px;
  align-items: start;
  margin: 0;
}

.ht-tax-staff-card dl div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.ht-tax-staff-card dt {
  color: var(--ht-muted);
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1.25;
  text-transform: uppercase;
}

.ht-tax-staff-card dd {
  min-width: 0;
  margin: 0;
  color: var(--ht-ink);
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.ht-tax-staff-card dd a {
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
}

.ht-tax-staff-card dd small {
  display: block;
  margin-top: 3px;
  color: var(--ht-muted);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
}

.ht-authority-office-page .ht-tax-staff-card {
  grid-template-columns: minmax(140px, 0.5fr) minmax(180px, 0.65fr) minmax(570px, 2.2fr);
}

.ht-authority-office-page .ht-tax-staff-card dl {
  grid-template-columns: max-content max-content 132px minmax(230px, 1fr);
}

.ht-tax-staff-detail--empty {
  visibility: hidden;
}

.ht-authority-case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.ht-authority-case-group {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--ht-border);
  border-left: 5px solid var(--ht-yellow);
  border-radius: 8px;
  background: #fff;
}

.ht-authority-case-group:nth-child(2) {
  border-left-color: var(--ht-blue);
}

.ht-authority-case-group:nth-child(3) {
  border-left-color: var(--ht-red);
}

.ht-authority-case-group h3 {
  margin: 0 0 12px;
  color: var(--ht-blue-dark);
  font-size: 1.08rem;
  line-height: 1.25;
}

.ht-authority-case-group ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 19px;
}

.ht-authority-case-group li {
  margin: 0;
  color: var(--ht-ink);
  line-height: 1.45;
}

.ht-authority-full-text,
.ht-tax-full-text {
  padding: 22px;
  border: 1px solid var(--ht-border);
  border-radius: 8px;
  background: #fff;
}

.ht-authority-full-text h3,
.ht-tax-full-text h3 {
  margin: 20px 0 10px;
  color: var(--ht-blue-dark);
  font-size: 1.08rem;
}

.ht-authority-detail-list,
.ht-tax-detail-list {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 22px;
}

.ht-authority-detail-list li,
.ht-tax-detail-list li {
  margin: 0;
  color: var(--ht-ink);
  line-height: 1.5;
}

.ht-tax-detail-list a {
  overflow-wrap: anywhere;
}

.ht-tax-bank-table-wrap {
  overflow-x: auto;
}

.ht-tax-bank-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.ht-tax-bank-table th,
.ht-tax-bank-table td {
  padding: 11px 12px;
  border: 1px solid var(--ht-border);
  text-align: left;
  vertical-align: top;
}

.ht-tax-bank-table tbody tr:nth-child(odd) {
  background: #f8fafb;
}

.ht-tax-bank-table tbody th {
  width: 38%;
  color: var(--ht-blue-dark);
}

.ht-tax-office-duties {
  padding: 22px;
  border: 1px solid #d7e5ee;
  border-left: 6px solid var(--ht-yellow);
  border-radius: 8px;
  background: #f8fbfd;
}

.ht-tax-office-duties ul {
  margin: 0;
}

.ht-tax-office-duties p:last-child {
  margin-bottom: 0;
}

.ht-social-service-hero {
  grid-template-columns: 1fr;
  background: #fff;
}

.ht-social-service-hero h2 {
  color: var(--ht-blue-dark);
  font-size: clamp(1.7rem, 2.8vw, 2.35rem);
  line-height: 1.15;
}

.ht-social-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.ht-social-contact-card {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--ht-border);
  border-left: 5px solid var(--ht-yellow);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(8, 31, 51, 0.06);
}

.ht-social-contact-card:nth-child(2) {
  border-left-color: var(--ht-blue);
}

.ht-social-contact-card h3 {
  margin: 0 0 12px;
  color: var(--ht-blue-dark);
  font-size: 1.16rem;
  line-height: 1.25;
}

.ht-social-contact-card p {
  margin: 0 0 6px;
  color: var(--ht-ink);
  font-weight: 700;
  line-height: 1.45;
}

.ht-social-contact-card p:first-child {
  color: var(--ht-blue-dark);
  font-size: 1.1rem;
}

.ht-social-contact-card p:last-child {
  margin-bottom: 0;
}

.ht-social-contact-card dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.ht-social-contact-card dl div {
  display: grid;
  gap: 2px;
}

.ht-social-contact-card dt {
  color: var(--ht-red);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.ht-social-contact-card dd {
  margin: 0;
  color: var(--ht-ink);
  font-weight: 700;
  line-height: 1.45;
}

.ht-social-contact-card a,
.ht-social-documents-link a {
  color: var(--ht-red);
  font-weight: 850;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.ht-social-documents-link {
  margin: 22px 0 0;
  font-size: 1.08rem;
}

.ht-social-service-page {
  display: grid;
  gap: 22px;
}

.site-shell:not(.site-shell--front) .field--name-body > .ht-social-service-page {
  margin-top: 8px;
}

.ht-social-service-section {
  display: grid;
  gap: 14px;
}

.ht-social-service-section h4 {
  margin: 0;
  color: var(--ht-blue-dark);
  font-size: 1.15rem;
}

.ht-public-safety-hero {
  grid-template-columns: 1fr;
  background: #fff;
}

.ht-public-safety-hero h2 {
  color: var(--ht-blue-dark);
  font-size: clamp(1.7rem, 2.8vw, 2.35rem);
  line-height: 1.15;
}

.ht-public-safety-main-link {
  margin: 0;
}

.ht-public-safety-main-link a,
.ht-public-safety-download,
.ht-public-safety-document-table a {
  color: var(--ht-red);
  font-weight: 850;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.ht-public-safety-document-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--ht-border);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(8, 31, 51, 0.06);
}

.ht-public-safety-document-table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
  color: var(--ht-ink);
}

.ht-public-safety-document-table th,
.ht-public-safety-document-table td {
  padding: 13px 15px;
  border-bottom: 1px solid var(--ht-border);
  text-align: left;
  vertical-align: top;
  line-height: 1.45;
}

.ht-public-safety-document-table th {
  background: var(--ht-blue-dark);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.ht-public-safety-document-table tr:nth-child(even) td {
  background: #f7fafc;
}

.ht-public-safety-document-table tr:last-child td {
  border-bottom: 0;
}

.ht-public-safety-document-table td:nth-child(2),
.ht-public-safety-document-table td:nth-child(3) {
  width: 150px;
  white-space: nowrap;
}

.ht-public-safety-related {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.ht-public-safety-related a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 11px 14px;
  border-radius: 6px;
  background: var(--ht-blue-dark);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 850;
  line-height: 1.2;
  text-decoration: none;
}

.ht-public-safety-related a:nth-child(3n + 2) {
  background: var(--ht-red);
}

.ht-public-safety-related a:nth-child(3n) {
  background: #6b5f2f;
}

.ht-public-safety-related a:hover,
.ht-public-safety-related a:focus {
  background: var(--ht-blue);
  color: #fff;
}

.ht-towed-vehicles-page {
  display: grid;
  gap: 24px;
}

.site-shell:not(.site-shell--front) .field--name-body > .ht-towed-vehicles-page {
  margin-top: 8px;
}

.ht-towed-vehicles-hero {
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid #cfe0ec;
  border-left: 7px solid var(--ht-yellow);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(8, 31, 51, 0.08);
}

.ht-towed-vehicles-hero h2 {
  margin: 0 0 12px;
  color: var(--ht-blue-dark);
  font-size: clamp(1.7rem, 2.8vw, 2.35rem);
  line-height: 1.15;
}

.ht-towed-vehicles-hero h4 {
  max-width: 860px;
  margin: 0 0 18px;
  color: var(--ht-red);
  font-size: 1.06rem;
  line-height: 1.45;
  text-transform: uppercase;
}

.ht-towed-vehicles-hero p {
  max-width: 980px;
  margin: 0;
  color: var(--ht-ink);
  font-size: 1.02rem;
  line-height: 1.7;
}

.ht-towed-vehicles-notice {
  display: grid;
  gap: 16px;
  padding: 20px;
  border: 1px solid #d7e5ee;
  border-left: 7px solid var(--ht-yellow);
  border-radius: 8px;
  background: #f7fbfd;
}

.ht-towed-vehicles-notice p {
  margin: 0;
}

.ht-towed-vehicles-notice__lead,
.ht-towed-vehicles-notice__update {
  color: var(--ht-ink);
  font-size: 1rem;
  font-weight: 760;
  line-height: 1.5;
}

.ht-towed-vehicles-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.ht-towed-vehicles-facts div {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 12px;
  border: 1px solid #d7e5ee;
  border-radius: 8px;
  background: #fff;
}

.ht-towed-vehicles-facts dt {
  color: var(--ht-muted);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: uppercase;
}

.ht-towed-vehicles-facts dd {
  min-width: 0;
  margin: 0;
  color: var(--ht-ink);
  font-size: 0.96rem;
  font-weight: 680;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.ht-towed-vehicles-facts a {
  color: var(--ht-blue-dark);
  font-weight: 850;
  text-decoration: none;
}

.ht-towed-vehicles-facts a:hover,
.ht-towed-vehicles-facts a:focus-visible {
  color: var(--ht-red);
  text-decoration: underline;
}

.ht-towed-vehicles-list {
  display: grid;
  gap: 14px;
}

.ht-towed-vehicles-list > p {
  margin: 0;
  color: var(--ht-blue-dark);
  font-size: 1.08rem;
}

.ht-towed-vehicles-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--ht-border);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(8, 31, 51, 0.06);
}

.ht-towed-vehicles-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  color: var(--ht-ink);
}

.ht-towed-vehicles-table tr:nth-child(even) {
  background: #f7fafc;
}

.ht-towed-vehicles-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--ht-border);
  vertical-align: top;
  line-height: 1.45;
}

.ht-towed-vehicles-table tr:last-child td {
  border-bottom: 0;
}

.ht-towed-vehicles-table td:first-child {
  width: 150px;
  color: var(--ht-blue-dark);
  font-weight: 850;
  white-space: nowrap;
}

.ht-towed-vehicles-table td:nth-child(2) {
  min-width: 260px;
}

.ht-towed-vehicles-table td:nth-child(4) {
  color: var(--ht-red);
  font-weight: 850;
  white-space: nowrap;
}

.ht-twin-page {
  display: grid;
  gap: 24px;
}

.site-shell:not(.site-shell--front) .field--name-body > .ht-twin-page {
  margin-top: 8px;
}

.ht-twin-intro {
  padding: 22px;
  border: 1px solid #d7e5ee;
  border-left: 6px solid var(--ht-yellow);
  border-radius: 8px;
  background: #f6fafc;
}

.ht-twin-intro h3 {
  margin: 0 0 8px;
  color: var(--ht-blue-dark);
  font-size: 1.34rem;
  line-height: 1.25;
}

.ht-twin-intro p {
  margin: 0;
  color: var(--ht-muted);
  font-size: 1rem;
  line-height: 1.55;
}

.ht-twin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.ht-twin-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--ht-border);
  border-radius: 8px;
  background: var(--ht-surface);
  box-shadow: 0 14px 34px rgba(8, 31, 51, 0.08);
}

.ht-twin-card__media {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #dfe9ef;
}

.ht-twin-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ht-twin-card__media figcaption {
  position: absolute;
  right: 8px;
  bottom: 8px;
  max-width: calc(100% - 16px);
  padding: 5px 7px;
  border-radius: 6px;
  background: rgba(8, 31, 51, 0.78);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 650;
  line-height: 1.2;
}

.ht-twin-card__media figcaption a {
  color: #fff;
  text-decoration: none;
}

.ht-twin-card__media figcaption a:hover,
.ht-twin-card__media figcaption a:focus {
  text-decoration: underline;
}

.ht-twin-card__body {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.ht-twin-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ht-twin-card__meta span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--ht-yellow-soft);
  color: var(--ht-blue-dark);
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1.2;
}

.ht-twin-card__meta span:first-child {
  background: #eaf3f8;
}

.ht-twin-card h3 {
  margin: 0;
  color: var(--ht-ink);
  font-size: 1.28rem;
  line-height: 1.25;
}

.ht-twin-card h3 a {
  color: inherit;
  text-decoration: none;
}

.ht-twin-card h3 a:hover,
.ht-twin-card h3 a:focus {
  color: var(--ht-red);
  text-decoration: underline;
}

.ht-twin-card p {
  margin: 0;
  color: var(--ht-muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.ht-twin-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

.ht-twin-card__actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
}

.ht-twin-card__actions a:first-child {
  border: 1px solid var(--ht-border);
  background: #f8fafb;
  color: var(--ht-blue-dark);
}

.ht-twin-card__actions a:last-child {
  background: var(--ht-blue-dark);
  color: #fff;
}

.ht-twin-card__actions a:hover,
.ht-twin-card__actions a:focus {
  transform: translateY(-1px);
  text-decoration: none;
}

.ht-twin-card__actions a:last-child:hover,
.ht-twin-card__actions a:last-child:focus {
  background: var(--ht-red);
}

.ht-project-links-page {
  display: block;
}

.site-shell:not(.site-shell--front) .field--name-body > .ht-project-links-page {
  margin-top: 8px;
}

.ht-project-link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ht-project-link-grid--single {
  grid-template-columns: minmax(0, 520px);
}

.ht-project-link-grid li {
  min-width: 0;
  margin: 0;
}

.ht-project-link {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 86px;
  padding: 18px 54px 18px 18px;
  border: 1px solid var(--ht-border);
  border-left: 6px solid var(--ht-yellow);
  border-radius: 8px;
  background: #fff;
  color: var(--ht-blue-dark);
  font-size: 1.05rem;
  font-weight: 850;
  line-height: 1.25;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(8, 31, 51, 0.08);
}

.ht-project-link::after {
  content: ">";
  position: absolute;
  right: 18px;
  top: 50%;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 999px;
  background: var(--ht-blue-dark);
  color: #fff;
  font-size: 1rem;
  line-height: 1;
  transform: translateY(-50%);
}

.ht-project-link:hover,
.ht-project-link:focus {
  border-color: #bfd5e4;
  color: var(--ht-red);
  text-decoration: none;
  transform: translateY(-1px);
}

.ht-project-link:hover::after,
.ht-project-link:focus::after {
  background: var(--ht-red);
}

.ht-project-funding-logo {
  display: flex;
  justify-content: center;
  max-width: 980px;
  margin: 8px auto 18px;
}

.ht-project-funding-logo img {
  display: block;
  width: min(100%, 520px);
  height: auto;
  padding: 10px;
  border: 1px solid var(--ht-border);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(8, 31, 51, 0.06);
}

.ht-active-project-page {
  display: grid;
  gap: 26px;
}

.site-shell:not(.site-shell--front) .field--name-body > .ht-active-project-page {
  margin-top: 8px;
}

.ht-active-project-hero {
  display: grid;
  gap: 12px;
  padding: 28px;
  border: 1px solid var(--ht-border);
  border-left: 6px solid var(--ht-yellow);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 207, 48, 0.18), rgba(4, 95, 159, 0.07)),
    #fff;
  box-shadow: 0 14px 34px rgba(8, 31, 51, 0.08);
}

.ht-active-project-kicker {
  justify-self: start;
  margin: 0;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--ht-blue-dark);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 850;
  line-height: 1.2;
}

.ht-active-project-hero h2 {
  margin: 0;
  color: var(--ht-ink);
  font-size: 1.75rem;
  line-height: 1.18;
}

.ht-active-project-hero p:last-child {
  max-width: 760px;
  margin: 0;
  color: var(--ht-muted);
  font-size: 1rem;
  line-height: 1.65;
}

.ht-committees-page {
  display: grid;
  gap: 22px;
}

.site-shell:not(.site-shell--front) .field--name-body > .ht-committees-page {
  margin-top: 8px;
}

.ht-committee-article {
  display: grid;
  gap: 28px;
  width: 100%;
  max-width: 980px;
  margin-top: 8px;
  color: var(--ht-ink);
  font-size: 1rem;
  line-height: 1.65;
}

.ht-committee-article__lead {
  margin: 0;
  max-width: 780px;
  color: var(--ht-muted);
}

.ht-committee-article__section {
  display: grid;
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid var(--ht-border);
}

.ht-committee-article__section h2 {
  margin: 0;
  color: var(--ht-blue-dark);
  font-size: 1.28rem;
  line-height: 1.25;
}

.ht-committee-article__roles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
}

.ht-committee-article__roles div {
  display: grid;
  gap: 4px;
}

.ht-committee-article__roles dt {
  color: var(--ht-muted);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: uppercase;
}

.ht-committee-article__roles dd {
  margin: 0;
  color: var(--ht-ink);
  font-size: 1.06rem;
  font-weight: 850;
  line-height: 1.35;
}

.ht-committee-article__section ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 22px;
}

.ht-committee-article__section li {
  padding-left: 3px;
}

.ht-committee-article__documents {
  gap: 14px;
  padding-left: 0;
  list-style: none;
}

.ht-committee-article__documents li {
  display: grid;
  gap: 3px;
  padding: 0 0 12px;
  border-bottom: 1px solid var(--ht-border);
}

.ht-committee-article__documents a,
.ht-committee-article__back a {
  color: var(--ht-blue-dark);
  font-weight: 850;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.ht-committee-article__documents a:hover,
.ht-committee-article__documents a:focus,
.ht-committee-article__back a:hover,
.ht-committee-article__back a:focus {
  color: var(--ht-red);
}

.ht-committee-article__documents p {
  margin: 0;
  color: var(--ht-muted);
  font-size: 0.94rem;
}

.ht-committee-article__back {
  margin: 0;
}

.ht-committees-intro {
  padding: 18px 20px;
  border: 1px solid var(--ht-border);
  border-left: 6px solid var(--ht-yellow);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(8, 31, 51, 0.06);
}

.ht-committees-intro p {
  max-width: 760px;
  margin: 0;
  color: var(--ht-muted);
  font-size: 1rem;
  line-height: 1.6;
}

.ht-committee-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.ht-committee-card {
  display: grid;
  gap: 18px;
  align-content: start;
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--ht-border);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(8, 31, 51, 0.08);
}

.ht-committee-card__head {
  display: grid;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ht-border);
}

.ht-committee-card__head h2 {
  margin: 0;
  color: var(--ht-blue-dark);
  font-size: 1.16rem;
  line-height: 1.28;
}

.ht-committee-card__head a {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--ht-blue-dark);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
}

.ht-committee-card__head a:hover,
.ht-committee-card__head a:focus {
  background: var(--ht-red);
  text-decoration: none;
}

.ht-committee-roles {
  display: grid;
  gap: 10px;
  margin: 0;
}

.ht-committee-roles div {
  display: grid;
  gap: 3px;
  padding: 12px;
  border-radius: 8px;
  background: #f6f9fb;
}

.ht-committee-roles dt,
.ht-committee-members h3,
.ht-committee-docs h3 {
  margin: 0;
  color: var(--ht-muted);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: uppercase;
}

.ht-committee-roles dd {
  margin: 0;
  color: var(--ht-ink);
  font-weight: 850;
  line-height: 1.35;
}

.ht-committee-members,
.ht-committee-docs {
  display: grid;
  gap: 10px;
}

.ht-committee-members ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ht-committee-members li {
  margin: 0;
  padding-left: 14px;
  border-left: 3px solid #d7e5ee;
  color: var(--ht-ink);
  font-weight: 720;
  line-height: 1.35;
}

.ht-committee-docs div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ht-committee-docs a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 10px;
  border: 1px solid #d7e5ee;
  border-radius: 8px;
  background: #f8fafb;
  color: var(--ht-blue-dark);
  font-size: 0.86rem;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
}

.ht-committee-docs a:hover,
.ht-committee-docs a:focus {
  border-color: var(--ht-blue);
  color: var(--ht-red);
  text-decoration: none;
}

.ht-city-operations-grid {
  align-items: start;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ht-city-operations-card--wide {
  grid-column: 1 / -1;
}

.ht-city-operations-card .ht-committee-roles dd,
.ht-city-operations-card .ht-committee-roles a {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: normal;
}

.ht-city-operations-card ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 22px;
}

.ht-city-operations-card ol > li {
  padding-left: 4px;
  color: var(--ht-ink);
  font-weight: 720;
  line-height: 1.45;
}

.ht-city-operations-card ol ul {
  display: grid;
  gap: 7px;
  margin: 10px 0 0;
  padding-left: 18px;
}

.ht-city-operations-card small {
  color: var(--ht-muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.ht-invitations-page {
  display: grid;
  gap: 20px;
}

.site-shell:not(.site-shell--front) .field--name-body > .ht-invitations-page {
  margin-top: 8px;
}

.ht-invitation-filter {
  padding: 18px;
  border: 1px solid var(--ht-border);
  border-left: 6px solid var(--ht-yellow);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(8, 31, 51, 0.07);
}

.ht-invitation-filter form {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  align-items: end;
  gap: 12px;
}

.ht-invitation-filter__field {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.ht-invitation-filter label {
  color: var(--ht-muted);
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1.2;
  text-transform: uppercase;
}

.ht-invitation-filter input,
.ht-invitation-filter select {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid #cfdfe9;
  border-radius: 8px;
  background: #f8fafb;
  color: var(--ht-ink);
  font: inherit;
}

.ht-invitation-filter .form-actions {
  display: flex;
  grid-column: 1 / -1;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.ht-invitation-filter button,
.ht-invitation-filter input[type="submit"],
.ht-invitation-filter a {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: auto;
  max-width: 100%;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid var(--ht-blue-dark);
  border-radius: 8px;
  background: var(--ht-blue-dark);
  color: #fff;
  font: inherit;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

.ht-invitation-filter a {
  border-color: #d7e5ee;
  background: #fff;
  color: var(--ht-blue-dark);
}

.ht-invitation-filter button:hover,
.ht-invitation-filter button:focus,
.ht-invitation-filter input[type="submit"]:hover,
.ht-invitation-filter input[type="submit"]:focus,
.ht-invitation-filter a:hover,
.ht-invitation-filter a:focus {
  border-color: var(--ht-red);
  background: var(--ht-red);
  color: #fff;
  text-decoration: none;
}

.ht-invitation-filter .ht-invitation-filter__admin {
  margin-left: auto;
  border-color: var(--ht-yellow);
  background: var(--ht-yellow);
  color: var(--ht-blue-dark);
}

.ht-invitation-list {
  display: grid;
  gap: 10px;
}

.ht-committee-node-links__list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ht-committee-node-links__list a {
  display: block;
  padding: 14px 16px;
  border: 1px solid var(--ht-border);
  border-left: 5px solid var(--ht-yellow);
  border-radius: 8px;
  background: #fff;
  color: var(--ht-blue-dark);
  font-weight: 800;
  line-height: 1.35;
}

.ht-committee-node-links__list a:hover,
.ht-committee-node-links__list a:focus {
  border-left-color: var(--ht-red);
  color: var(--ht-red);
  text-decoration: none;
}

.ht-invitation-card {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--ht-border);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(8, 31, 51, 0.06);
}

.ht-invitation-card time {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  background: #f2f7fa;
  color: var(--ht-blue-dark);
  font-size: 0.95rem;
  font-weight: 850;
}

.ht-invitation-card h2 {
  margin: 0;
  color: var(--ht-ink);
  font-size: 1.05rem;
  line-height: 1.3;
}

.ht-invitation-card p {
  margin: 4px 0 0;
  color: var(--ht-muted);
  font-size: 0.92rem;
  line-height: 1.4;
}

.ht-invitation-card > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 9px 12px;
  border-radius: 8px;
  background: var(--ht-blue-dark);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
}

.ht-invitation-card > a:hover,
.ht-invitation-card > a:focus {
  background: var(--ht-red);
  text-decoration: none;
}

.ht-invitations-empty {
  margin: 0;
  padding: 18px;
  border: 1px dashed #c7d9e4;
  border-radius: 8px;
  background: #fff;
  color: var(--ht-muted);
}

.ht-invitations-page + nav.pager,
#block-halasztelek-content > nav.pager {
  margin-top: 18px;
}

.pager__items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pager__item {
  margin: 0;
}

.pager__item a,
.pager__item.is-active {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid #d7e5ee;
  border-radius: 8px;
  background: #fff;
  color: var(--ht-blue-dark);
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
}

.pager__item a:hover,
.pager__item a:focus,
.pager__item.is-active {
  border-color: var(--ht-blue-dark);
  background: var(--ht-blue-dark);
  color: #fff;
  text-decoration: none;
}

.ht-nursery-page {
  display: grid;
  gap: 30px;
}

.site-shell:not(.site-shell--front) .field--name-body > .ht-nursery-page {
  margin-top: 8px;
}

.ht-nursery-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  overflow: hidden;
  border: 1px solid var(--ht-border);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(8, 31, 51, 0.08);
}

.ht-nursery-hero__image,
.ht-nursery-hero > img {
  min-height: 380px;
  background: #dfe9ef;
}

.ht-nursery-hero__image img,
.ht-nursery-hero > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.ht-nursery-hero__body {
  display: grid;
  align-content: center;
  gap: 16px;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(255, 207, 48, 0.22), rgba(4, 95, 159, 0.08)),
    #fff;
}

.ht-nursery-kicker {
  justify-self: start;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--ht-blue-dark);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 850;
  line-height: 1.2;
}

.ht-nursery-hero h2 {
  margin: 0;
  color: var(--ht-ink);
  font-size: 1.8rem;
  line-height: 1.18;
}

.ht-nursery-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ht-nursery-stats span {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  min-height: 38px;
  padding: 8px 11px;
  border: 1px solid #d7e5ee;
  border-radius: 8px;
  background: #fff;
  color: var(--ht-muted);
  font-weight: 720;
}

.ht-nursery-stats strong {
  color: var(--ht-blue-dark);
  font-size: 1.12rem;
}

.ht-nursery-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ht-nursery-tabs a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 9px 13px;
  border: 1px solid var(--ht-border);
  border-radius: 8px;
  background: #fff;
  color: var(--ht-blue-dark);
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
}

.ht-nursery-tabs a:hover,
.ht-nursery-tabs a:focus {
  border-color: var(--ht-blue);
  color: var(--ht-red);
  text-decoration: none;
}

.ht-nursery-section {
  display: grid;
  gap: 18px;
  scroll-margin-top: 150px;
}

.ht-nursery-section__head {
  display: grid;
  gap: 6px;
}

.ht-nursery-section__head h3 {
  margin: 0;
  color: var(--ht-blue-dark);
  font-size: 1.36rem;
  line-height: 1.25;
}

.ht-nursery-section__head p {
  margin: 0;
  color: var(--ht-muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.ht-nursery-doc-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.ht-nursery-doc-group {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 18px;
  border: 1px solid var(--ht-border);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(8, 31, 51, 0.07);
}

.ht-nursery-doc-group h4 {
  margin: 0;
  color: var(--ht-blue-dark);
  font-size: 1.08rem;
  line-height: 1.25;
}

.ht-nursery-doc-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ht-nursery-doc-list li {
  margin: 0;
}

.ht-nursery-doc-list a {
  position: relative;
  display: grid;
  gap: 4px;
  min-height: 62px;
  padding: 12px 44px 12px 12px;
  border: 1px solid #d9e5ed;
  border-radius: 8px;
  background: #f8fafb;
  color: var(--ht-ink);
  font-weight: 780;
  line-height: 1.3;
  text-decoration: none;
}

.ht-nursery-doc-list a::after {
  content: "PDF";
  position: absolute;
  right: 10px;
  top: 12px;
  padding: 4px 6px;
  border-radius: 5px;
  background: var(--ht-red);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 850;
}

.ht-nursery-doc-list small {
  color: var(--ht-muted);
  font-size: 0.82rem;
  font-weight: 720;
}

.ht-nursery-doc-list a:hover,
.ht-nursery-doc-list a:focus {
  border-color: var(--ht-blue);
  color: var(--ht-red);
  text-decoration: none;
}

.ht-gallery {
  display: grid;
  gap: 22px;
}

.ht-gallery-group {
  display: grid;
  gap: 12px;
}

.ht-gallery-group__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--ht-border);
}

.ht-gallery-group__head h4 {
  margin: 0;
  color: var(--ht-blue-dark);
  font-size: 1.12rem;
  line-height: 1.25;
}

.ht-gallery-group__head span {
  flex: 0 0 auto;
  color: var(--ht-muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.ht-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  grid-auto-flow: dense;
  gap: 8px;
}

.ht-gallery-item {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 8px;
  background: #dfe9ef;
  box-shadow: 0 8px 18px rgba(8, 31, 51, 0.07);
}

.ht-gallery-item--featured {
  grid-column: span 1;
  grid-row: span 1;
}

.ht-gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease;
}

.ht-gallery-item::after {
  content: "Megnyitás";
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 5px 8px;
  border-radius: 6px;
  background: rgba(8, 31, 51, 0.78);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.ht-gallery-item:hover img,
.ht-gallery-item:focus img {
  transform: scale(1.035);
}

.ht-gallery-item:hover::after,
.ht-gallery-item:focus::after {
  opacity: 1;
  transform: translateY(0);
}

.ht-gallery-lightbox {
  width: min(100vw - 32px, 1180px);
  max-width: none;
  height: min(100vh - 32px, 820px);
  max-height: none;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #071622;
  color: #fff;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
}

.ht-gallery-lightbox::backdrop {
  background: rgba(7, 22, 34, 0.82);
}

.ht-gallery-lightbox-open {
  overflow: hidden;
}

.ht-gallery-lightbox__figure {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  width: 100%;
  height: 100%;
  margin: 0;
}

.ht-gallery-lightbox__figure img {
  align-self: center;
  justify-self: center;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.ht-gallery-lightbox__figure figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 54px;
  padding: 12px 18px;
  background: rgba(0, 0, 0, 0.36);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.92rem;
  line-height: 1.35;
}

.ht-gallery-lightbox__counter {
  flex: 0 0 auto;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 800;
}

.ht-gallery-lightbox__close,
.ht-gallery-lightbox__nav {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #071622;
  cursor: pointer;
  font-weight: 900;
  line-height: 1;
}

.ht-gallery-lightbox__close {
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  font-size: 1.7rem;
}

.ht-gallery-lightbox__nav {
  top: 50%;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  transform: translateY(-50%);
}

.ht-gallery-lightbox__nav--prev {
  left: 14px;
}

.ht-gallery-lightbox__nav--next {
  right: 14px;
}

.ht-gallery-lightbox__close:hover,
.ht-gallery-lightbox__close:focus,
.ht-gallery-lightbox__nav:hover,
.ht-gallery-lightbox__nav:focus {
  background: var(--ht-yellow);
}

.ht-history-page {
  display: grid;
  gap: 34px;
}

.site-shell:not(.site-shell--front) .field--name-body > .ht-history-page {
  max-width: 1120px;
}

.ht-history-toc {
  max-width: none !important;
  margin: 0 0 10px;
  padding: 24px;
  background: var(--ht-blue-soft);
  border: 1px solid #cfe0ec;
  border-left: 6px solid var(--ht-yellow);
  border-radius: var(--ht-radius);
}

.ht-history-toc h3 {
  margin: 0 0 16px;
  color: var(--ht-blue-dark);
  font-size: 1.2rem;
}

.ht-history-toc ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ht-history-toc li {
  margin: 0;
}

.ht-history-toc a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--ht-blue-dark);
  background: #fff;
  border: 1px solid #d7e5ee;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 720;
  line-height: 1.25;
  text-decoration: none;
}

.ht-history-toc a:hover,
.ht-history-toc a:focus {
  color: var(--ht-blue-dark);
  border-color: var(--ht-blue);
  box-shadow: 0 0 0 3px rgba(4, 95, 159, 0.12);
}

.ht-history-content {
  display: flow-root;
}

.ht-history-content h3 {
  clear: both;
  margin-top: 52px;
  padding-top: 22px;
  border-top: 1px solid var(--ht-border);
  scroll-margin-top: 170px;
}

.ht-history-content h3:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.ht-history-content h4 {
  clear: both;
  color: var(--ht-blue-dark);
  font-size: 1.05rem;
  line-height: 1.32;
}

.ht-history-content img {
  width: auto;
  max-width: min(100%, 360px);
  height: auto;
  border: 1px solid #d8e2e9;
  border-radius: 6px;
  box-shadow: 0 8px 22px rgba(8, 31, 51, 0.08);
}

.ht-eadmin-content :is(h1, h2, h3, p[id]) {
  scroll-margin-top: 170px;
}

.ht-eadmin-content h1 {
  clear: both;
  margin: 0 0 28px;
  line-height: 1;
}

.ht-eadmin-content h2 {
  clear: both;
  margin-top: 52px;
  padding-top: 22px;
  border-top: 1px solid var(--ht-border);
  scroll-margin-top: 170px;
}

.ht-eadmin-content img {
  max-width: 100%;
}

.ht-eadmin-content .ht-float-right {
  max-width: min(100%, 360px);
}

.ht-eadmin-content .ht-image-block {
  max-width: min(100%, 820px);
}

.ht-history-content .ht-float-right {
  float: right;
  margin: 6px 0 18px 24px;
}

.ht-history-content .ht-image-block {
  display: block;
  margin: 18px auto;
}

.ht-history-content iframe {
  display: block;
  width: min(100%, 560px);
  aspect-ratio: 16 / 9;
  height: auto;
  margin: 0 0 18px;
  border: 0;
  border-radius: 8px;
  background: #111827;
}

.ht-history-content table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  margin: 18px 0 28px;
  border: 1px solid var(--ht-border);
  border-radius: 6px;
  background: #fff;
}

.ht-history-content tbody {
  display: table;
  width: 100%;
  border-collapse: collapse;
}

.ht-history-content tr:nth-child(odd) {
  background: #f6f9fb;
}

.ht-history-content td,
.ht-history-content th {
  padding: 10px 12px;
  border-bottom: 1px solid var(--ht-border);
  color: var(--ht-ink);
  text-align: left;
  vertical-align: top;
}

.ht-history-content td:last-child,
.ht-history-content th:last-child {
  width: 110px;
  color: var(--ht-muted);
  font-weight: 700;
  text-align: center;
}

@media (min-width: 1061px) {
  .ht-history-page {
    grid-template-columns: 280px minmax(0, 1fr);
    align-items: start;
    gap: 36px;
  }

  .ht-history-toc {
    position: sticky;
    top: 154px;
    max-height: calc(100vh - 180px);
    margin: 0;
    padding: 18px;
    overflow: auto;
    scrollbar-width: thin;
  }

  .ht-history-toc h3 {
    margin-bottom: 12px;
    font-size: 1.05rem;
  }

  .ht-history-toc ul {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .ht-history-toc a {
    min-height: 38px;
    padding: 8px 10px;
    font-size: 0.86rem;
  }

  .ht-history-content {
    min-width: 0;
  }
}

@media (max-width: 1060px) {
  .nav-toggle {
    display: block;
  }

  .site-header__nav-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-bottom: 12px;
  }

  .primary-nav {
    display: none;
  }

  .primary-nav.is-open {
    display: block;
  }

  .header-shortcuts {
    justify-content: flex-start;
  }

  .menu--main,
  .ht-hero__inner,
  .ht-card-grid,
  .content-layout--with-sidebar {
    grid-template-columns: 1fr;
  }

  .menu--main {
    display: grid;
    align-items: stretch;
  }

  .menu--main > .menu__item {
    max-width: none;
  }

  .menu--main > .menu__item > .menu__link {
    justify-content: flex-start;
    min-height: 52px;
    border-radius: 0;
  }

  .menu--level-1 .menu__item--expanded > .menu__link::after,
  .menu--level-1 .menu__item--collapsed > .menu__link::after,
  .menu--level-2 .menu__item--expanded > .menu__link::after,
  .menu--level-2 .menu__item--collapsed > .menu__link::after {
    transform: translateY(-2px) rotate(45deg);
  }

  .menu--level-1,
  .menu--level-2 {
    position: static;
    display: block;
    min-width: 0;
    border: 0;
    box-shadow: none;
  }

  .menu--level-1 .menu__link {
    padding-left: 30px;
  }

  .menu--level-2 .menu__link {
    padding-left: 46px;
  }

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

  .ht-gateway-hero,
  .ht-office-layout,
  .ht-life-layout {
    grid-template-columns: 1fr;
  }

  .ht-gateway-hero__panel {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ht-tool-grid,
  .ht-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ht-tool-card--wide {
    grid-column: auto;
  }

  .ht-tool-card:nth-child(4) {
    grid-column: auto;
  }

}

@media (max-width: 800px) {
  .topbar {
    font-size: 0.78rem;
  }

  .topbar__inner {
    width: min(100% - 20px, var(--ht-content));
    justify-content: flex-start;
    align-items: flex-start;
    gap: 6px 14px;
    min-height: 0;
    padding-block: 6px;
  }

  .topbar__contact {
    flex: 1 1 min(100%, 320px);
    gap: 6px 14px;
  }

  .topbar__item {
    gap: 5px;
    line-height: 1.15;
  }

  .topbar__contact .topbar__item:first-child {
    flex-basis: 100%;
  }

  .topbar__accessibility {
    margin-left: auto;
    padding: 6px 8px;
  }

  .topbar__icon {
    width: 13px;
    height: 13px;
  }

  .site-header__inner {
    flex-wrap: wrap;
    min-height: 76px;
    align-items: center;
    padding-block: 10px;
  }

  .brand {
    align-items: center;
    gap: 11px;
    min-width: 0;
  }

  .brand__crest {
    flex: 0 0 auto;
    width: 52px;
    height: 52px;
  }

  .brand__text {
    min-width: 0;
    justify-content: center;
    line-height: 1.08;
  }

  .brand__name {
    font-size: 1.24rem;
  }

  .brand__subtitle {
    font-size: 0.78rem;
  }

  .header-info {
    order: 3;
    flex-basis: 100%;
    max-width: none;
    margin-left: 0;
    margin-top: 8px;
    padding-left: 0;
    justify-items: start;
    border-left: 0;
    font-size: 0.76rem;
    text-align: left;
  }

  .header-info__row,
  .nameday,
  .weather-widget {
    justify-content: flex-start;
  }

  .nav-toggle {
    flex: 0 0 42px;
  }

  .site-header__nav-row {
    width: min(100% - 20px, var(--ht-content));
  }

  .header-shortcuts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .header-shortcut,
  .header-shortcut:visited {
    min-height: 42px;
    padding-inline: 12px;
    border-radius: 7px;
    white-space: normal;
  }

  .ht-hero__actions,
  .ht-hero__actions--gateway,
  .ht-quick-actions,
  .ht-news-grid,
  .ht-document-grid,
  .ht-gateway-hero__panel,
  .ht-tool-grid,
  .ht-service-grid,
  .ht-office-list,
  .ht-life-layout,
  .ht-events-calendar__layout,
  .site-footer__contact-grid {
    grid-template-columns: 1fr;
  }

  .ht-hero__crest {
    order: 3;
    min-height: 120px;
  }

  .ht-section__head {
    display: grid;
    align-items: start;
  }

  .ht-hero__inner {
    width: min(100% - 24px, var(--ht-content));
    gap: 22px;
    padding-block: 36px 32px;
  }

  .ht-gateway-hero {
    padding-block: 34px 36px;
  }

  .ht-hero h1 {
    font-size: 2.35rem;
    line-height: 1.03;
  }

  .ht-hero--gateway h1 {
    font-size: 2.2rem;
  }

  .ht-hero__lead {
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.55;
  }

  .ht-hero__crest img {
    width: min(150px, 42vw);
  }

  .weather-widget__meta {
    flex-basis: auto;
  }

  .ht-band {
    padding-block: 34px;
  }

  .ht-tool-card,
  .ht-service-card,
  .ht-life-card,
  .ht-council-panel {
    min-height: 0;
    padding: 18px;
  }

  .ht-events-calendar {
    padding: 20px;
  }

  .ht-events-calendar__head {
    display: grid;
    align-items: start;
  }

  .ht-event-card {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 14px;
    padding: 15px;
  }

  .ht-event-card__date {
    min-height: 64px;
  }

  .ht-event-card__date span {
    font-size: 1.45rem;
  }

  .ht-event-card__meta div {
    display: grid;
    gap: 1px;
  }

  .ht-event-detail__hero,
  .ht-event-detail__grid {
    grid-template-columns: 1fr;
  }

  .ht-event-detail__hero {
    padding: 20px;
  }

  .ht-event-detail__date-card {
    justify-self: start;
    width: 96px;
    min-height: 88px;
  }

  .ht-event-detail__date-card span {
    font-size: 2rem;
  }

  .ht-event-detail__intro h2 {
    font-size: 1.55rem;
  }

  .ht-reps-page {
    gap: 26px;
  }

  .ht-reps-grid {
    grid-template-columns: 1fr;
  }

  .ht-rep-card {
    grid-template-columns: 96px minmax(0, 1fr);
    min-height: 160px;
  }

  .ht-rep-card__photo img {
    min-height: 160px;
  }

  .ht-rep-card__body {
    padding: 14px;
  }

  .ht-rep-card__actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  }

  .ht-rep-phone-desktop {
    display: none;
  }

  .ht-rep-action--phone {
    display: inline-flex;
  }

  .ht-nationality-intro {
    padding: 15px 16px;
  }

  .ht-nationality-card__head,
  .ht-nationality-leaders,
  .ht-nationality-contact-cta,
  .ht-nationality-members {
    padding-inline: 16px;
  }

  .ht-nationality-card__head {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .ht-nationality-card h3 {
    font-size: 1.35rem;
  }

  .ht-nationality-leaders,
  .ht-nationality-member-list {
    grid-template-columns: 1fr;
  }

  .ht-nationality-person {
    min-height: 0;
    padding: 15px;
  }

  .ht-org-chart {
    gap: 18px;
  }

  .ht-org-chart__intro {
    padding: 16px;
  }

  .ht-org-chart__map {
    gap: 22px;
    padding: 16px;
    overflow: visible;
  }

  .ht-org-chart__top-row,
  .ht-org-chart__support-row,
  .ht-org-chart__offices {
    grid-template-columns: 1fr;
  }

  .ht-org-chart__leadership,
  .ht-org-chart__clerk-chain {
    gap: 18px;
  }

  .ht-org-chart__top-row {
    width: 100%;
    gap: 10px;
  }

  .ht-org-chart__support-row {
    width: 100%;
    gap: 18px;
  }

  .ht-org-chart__mayor-cabinet,
  .ht-org-chart__clerk-level {
    width: 100%;
  }

  .ht-org-chart__offices {
    gap: 10px;
  }

  .ht-org-chart__top-row::before,
  .ht-org-chart__top-row .ht-org-card::after,
  .ht-org-chart__mayor-cabinet::before,
  .ht-org-chart__clerk-chain::before,
  .ht-org-chart__clerk-level::after,
  .ht-org-chart__offices::before,
  .ht-org-chart__offices .ht-org-card::after {
    display: none;
  }

  .ht-org-card {
    min-height: 72px;
    padding: 15px 14px;
  }

  .ht-org-card__label {
    font-size: 1rem;
  }

  .ht-office-hours-note {
    padding: 16px;
  }

  .ht-office-hours-table-wrap {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .ht-office-hours-table,
  .ht-office-hours-table thead,
  .ht-office-hours-table tbody,
  .ht-office-hours-table tr,
  .ht-office-hours-table th,
  .ht-office-hours-table td {
    display: block;
  }

  .ht-office-hours-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .ht-office-hours-table {
    display: grid;
    gap: 14px;
  }

  .ht-office-hours-table tbody {
    display: grid;
    gap: 14px;
  }

  .ht-office-hours-table tr {
    overflow: hidden;
    border: 1px solid var(--ht-border);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(8, 31, 51, 0.07);
  }

  .ht-office-hours-table th,
  .ht-office-hours-table td {
    display: grid;
    grid-template-columns: minmax(112px, 40%) minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 12px 14px;
    border-left: 0;
  }

  .ht-office-hours-table tbody th {
    display: flex;
    align-items: center;
    width: auto;
    background: var(--ht-blue-dark);
    color: #fff;
  }

  .ht-office-hours-table th::before,
  .ht-office-hours-table td::before {
    content: attr(data-label);
    color: var(--ht-muted);
    font-size: 0.76rem;
    font-weight: 850;
    letter-spacing: 0.03em;
    line-height: 1.25;
    text-transform: uppercase;
  }

  .ht-office-hours-table tbody th::before {
    content: none;
  }

  .ht-office-hours-table tbody .ht-office-hours-day {
    min-height: 0;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 850;
  }

  .ht-office-hours-table tbody tr:last-child th,
  .ht-office-hours-table tbody tr:last-child td {
    border-bottom: 1px solid var(--ht-border);
  }

  .ht-office-hours-table tbody tr:last-child td:last-child {
    border-bottom: 0;
  }

  .ht-office-hours-signature {
    justify-self: start;
    text-align: left;
  }

  .ht-tax-office-page {
    gap: 24px;
  }

  .ht-tax-office-hero,
  .ht-tax-doc-grid,
  .ht-tax-staff-grid,
  .ht-tax-office-lead-grid,
  .ht-authority-case-grid,
  .ht-social-contact-grid,
  .ht-public-safety-related {
    grid-template-columns: 1fr;
  }

  .ht-tax-office-lead-card {
    grid-template-columns: 1fr;
  }

  .ht-tax-office-hero,
  .ht-tax-office-duties {
    padding: 18px;
  }

  .ht-tax-office-contact,
  .ht-tax-staff-card {
    padding: 16px;
  }

  .ht-tax-staff-card,
  .ht-tax-staff-card dl {
    grid-template-columns: 1fr;
  }

  .ht-authority-office-page .ht-tax-staff-card,
  .ht-authority-office-page .ht-tax-staff-card dl {
    grid-template-columns: 1fr;
  }

  .ht-tax-staff-card dl .ht-tax-staff-detail--empty {
    display: none;
  }

  .ht-tax-doc-card {
    min-height: 0;
    padding: 16px;
  }

  .ht-tax-staff-card dl div {
    grid-template-columns: 1fr;
    gap: 1px;
  }

  .ht-twin-intro {
    padding: 16px;
  }

  .ht-twin-grid {
    grid-template-columns: 1fr;
  }

  .ht-twin-card__body {
    padding: 16px;
  }

  .ht-twin-card__media figcaption {
    position: static;
    max-width: none;
    border-radius: 0;
    background: #20394d;
  }

  .ht-project-link-grid {
    grid-template-columns: 1fr;
  }

  .ht-project-link {
    min-height: 74px;
    padding: 15px 48px 15px 15px;
    font-size: 0.98rem;
  }

  .ht-active-project-hero {
    padding: 18px;
  }

  .ht-active-project-hero h2 {
    font-size: 1.38rem;
  }

  .ht-committee-grid {
    grid-template-columns: 1fr;
  }

  .ht-committee-article__roles {
    grid-template-columns: 1fr;
  }

  .ht-committee-card {
    padding: 16px;
  }

  .ht-invitation-filter form,
  .ht-invitation-filter .form-actions,
  .ht-invitation-filter__field,
  .ht-invitation-filter input:not([type="submit"]),
  .ht-invitation-filter select {
    width: 100%;
  }

  .ht-invitation-filter form {
    grid-template-columns: 1fr;
  }

  .ht-invitation-filter .form-actions {
    flex-wrap: wrap;
  }

  .ht-invitation-filter .ht-invitation-filter__admin {
    margin-left: 0;
  }

  .ht-invitation-filter button,
  .ht-invitation-filter input[type="submit"],
  .ht-invitation-filter a {
    width: auto;
  }

  .ht-invitation-card {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 10px;
  }

  .ht-invitation-card time,
  .ht-invitation-card > a {
    width: 100%;
  }

  .ht-project-funding-logo {
    justify-content: center;
    margin-bottom: 14px;
  }

  .ht-project-funding-logo img {
    width: min(100%, 420px);
    padding: 8px;
  }

  .ht-nursery-hero,
  .ht-nursery-doc-groups {
    grid-template-columns: 1fr;
  }

  .ht-nursery-hero__image,
  .ht-nursery-hero > img {
    min-height: 260px;
  }

  .ht-nursery-hero__body {
    padding: 18px;
  }

  .ht-nursery-hero h2 {
    font-size: 1.4rem;
  }

  .ht-gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 6px;
  }

  .ht-gallery-item--featured {
    grid-column: span 1;
    grid-row: span 1;
  }

  .ht-gallery-lightbox {
    width: 100vw;
    height: 100vh;
    border-radius: 0;
  }

  .ht-gallery-lightbox__figure figcaption {
    display: grid;
    gap: 4px;
    padding: 10px 12px;
    font-size: 0.84rem;
  }

  .ht-gallery-lightbox__nav {
    width: 38px;
    height: 38px;
  }

  .site-shell:not(.site-shell--front) .content-layout {
    width: min(100% - 24px, 1280px);
    padding-block: 28px 42px;
  }

  .site-shell:not(.site-shell--front) .node__content {
    padding: 24px 20px;
  }

  .field--name-body {
    font-size: 1rem;
    line-height: 1.7;
  }

  .site-shell:not(.site-shell--front) .field--name-body p:first-of-type:not(.ht-kicker) {
    font-size: 1.08rem;
  }

  .ht-history-toc {
    padding: 18px;
  }

  .ht-history-toc ul {
    grid-template-columns: 1fr;
  }

  .ht-history-content .ht-float-right {
    float: none;
    display: block;
    margin: 18px 0;
  }

  .ht-history-content img {
    max-width: 100%;
  }

  .phonebook-toolbar {
    grid-template-columns: 1fr;
  }

  .phonebook-toolbar {
    padding: 14px;
  }

  .phonebook-grid {
    grid-template-columns: 1fr;
  }

  .phonebook-card {
    grid-template-columns: minmax(112px, max-content) minmax(0, 1fr);
    align-items: start;
    gap: 10px;
    min-height: 0;
    padding: 14px 14px 14px 64px;
  }

  .phonebook-card__vcard {
    top: 14px;
    left: 14px;
  }

  .phonebook-card__category {
    grid-column: 1;
    grid-row: 1;
    justify-content: flex-start;
    width: fit-content;
    max-width: 100%;
    min-height: 38px;
    text-align: left;
  }

  .phonebook-card__head {
    grid-column: 2;
    grid-row: 1;
    padding-top: 1px;
  }

  .phonebook-card__details {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
  }

  .ht-towed-vehicles-facts {
    grid-template-columns: 1fr;
  }

  .ht-civil-list__item {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .ht-civil-list__actions {
    justify-content: flex-start;
  }

  .ht-civil-list__actions a {
    flex: 1 1 150px;
  }

  .phonebook-card__details {
    justify-content: flex-start;
  }

  .phonebook-detail {
    width: 100%;
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .phonebook-detail dt,
  .phonebook-detail dd {
    padding: 8px 9px;
  }

  .phonebook-detail__icon {
    width: 16px;
    height: 16px;
  }

  .form-documents-page .phonebook-toolbar,
  .form-document-card {
    grid-template-columns: 1fr;
  }

  .form-document-card__meta,
  .form-document-card__actions {
    justify-content: flex-start;
    width: 100%;
    flex-wrap: wrap;
  }

  .form-document-card__download,
  .form-document-card__edit {
    flex: 1 1 150px;
  }

  .ht-office-contact-cta__button {
    width: 100%;
    justify-content: flex-start;
  }

  .ht-local-hero,
  .ht-local-grid,
  .ht-local-grid--three,
  .ht-local-grid--two,
  .ht-health-finder,
  .ht-district-streets {
    grid-template-columns: 1fr;
  }

  .ht-local-hero,
  .ht-local-card,
  .ht-health-finder {
    padding: 16px;
  }

  .ht-local-hero .ht-office-contact-cta {
    width: 100%;
  }

  .ht-local-hero h2 {
    font-size: 1.45rem;
  }

  .ht-local-card h2,
  .ht-local-card h3 {
    font-size: 1.08rem;
  }

  .ht-chip-row a {
    flex: 1 1 170px;
  }

  .ht-section__head {
    display: grid;
    align-items: start;
  }

  .phonebook-pagination {
    display: grid;
    gap: 10px;
    padding: 12px;
  }

  .phonebook-pagination__controls {
    flex-wrap: wrap;
  }

  .phonebook-pagination__pages {
    flex: 1 1 100%;
    flex-wrap: wrap;
    order: 3;
  }

  .phonebook-pagination__button,
  .phonebook-pagination__page {
    min-height: 36px;
    font-size: 0.84rem;
  }

  .popin-banner {
    right: max(10px, env(safe-area-inset-right));
    bottom: 8px;
    left: max(10px, env(safe-area-inset-left));
    justify-content: center;
  }

  .popin-banner__image {
    max-width: calc(100vw - 20px);
    max-height: 52px;
  }

  .popin-banner__close {
    top: 6px;
    right: 6px;
    width: 34px;
    height: 34px;
    font-size: 22px;
  }
}

@media (max-width: 520px) {
  .ht-invitation-filter button,
  .ht-invitation-filter input[type="submit"],
  .ht-invitation-filter a {
    width: auto;
  }
}

@media (max-width: 980px) {
  .ht-front-news-layout {
    grid-template-columns: minmax(0, 1.35fr) minmax(220px, 0.9fr);
    gap: 0 20px;
  }

  .ht-front-news-slot--3 {
    border-top: 0;
  }
}

@media (max-width: 560px) {
  .site-shell--front .highlighted {
    padding-block: 14px 22px;
  }

  .ht-front-news-layout {
    display: block;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .ht-front-news-slot--1,
  .ht-front-news-slot--2,
  .ht-front-news-slot:not(.ht-front-news-slot--1):not(.ht-front-news-slot--2) {
    grid-column: auto;
    grid-row: auto;
  }

  .ht-front-news-slot--3 {
    border-top: 1px solid #dce5ed;
  }

  .ht-front-news-slot--1 .ht-front-news-card {
    min-height: 300px;
  }

  .ht-front-news-slot--1 .ht-front-news-card__media img {
    min-height: 300px;
  }

  .ht-front-news-slot--1 .ht-front-news-card__body {
    padding: 18px;
  }

  .ht-front-news-slot--1 .ht-front-news-card__title {
    font-size: 1.54rem;
  }

  .ht-front-news-slot--2 .ht-front-news-card__title {
    font-size: 1.32rem;
  }

  .ht-front-news-slot--5 .ht-front-news-card__title {
    font-size: 1.24rem;
  }

  .ht-front-news-slot:not(.ht-front-news-slot--1):not(.ht-front-news-slot--2) .ht-news-meta {
    display: block;
  }

  .ht-front-news-slot:not(.ht-front-news-slot--1):not(.ht-front-news-slot--2) .ht-front-news-card__lead {
    display: none;
  }
}

.site-shell.site-shell--news-list #block-halasztelek-content .node--news-list-item.node--view-mode-teaser .node__content.ht-news-teaser {
  display: grid;
  justify-items: start;
  gap: 8px;
  max-width: none;
  margin: 0 0 18px;
  padding: 22px 24px 24px;
  border: 1px solid var(--ht-border);
  border-left: 6px solid var(--ht-red);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(8, 31, 51, 0.06);
  text-align: left;
}

.site-shell.site-shell--news-list #block-halasztelek-content .node--news-list-item.node--view-mode-teaser .node__content.ht-news-teaser > * {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.site-shell.site-shell--news-list #block-halasztelek-content .node--news-list-item.node--view-mode-teaser .ht-news-meta {
  place-self: start;
  width: fit-content;
  margin: 0 0 10px;
  padding: 7px 10px;
  color: var(--ht-red);
  border: 2px solid var(--ht-red);
  border-radius: 4px;
  background: #ffffff;
  font-size: 0.86rem;
  font-weight: 850;
  line-height: 1.25;
  text-align: left;
}

.site-shell.site-shell--news-list #block-halasztelek-content .node--news-list-item.node--view-mode-teaser .node__title {
  margin: 0;
  color: var(--ht-blue-dark);
  font-size: clamp(1.3rem, 2.1vw, 1.7rem);
  font-weight: 900;
  line-height: 1.2;
  text-align: left;
}

.site-shell.site-shell--news-list #block-halasztelek-content .node--news-list-item.node--view-mode-teaser .node__title a {
  color: inherit;
  text-decoration: none;
}

.site-shell.site-shell--news-list #block-halasztelek-content .node--news-list-item.node--view-mode-teaser .node__title a:hover,
.site-shell.site-shell--news-list #block-halasztelek-content .node--news-list-item.node--view-mode-teaser .node__title a:focus {
  color: var(--ht-red);
}

.site-shell.site-shell--news-list #block-halasztelek-content .node--news-list-item.node--view-mode-teaser p.ht-news-teaser__lead {
  max-width: none;
  margin: 4px 0 0;
  color: #26323d;
  font-size: 1.04rem;
  font-weight: 560;
  line-height: 1.62;
  text-align: left;
}

.site-shell.site-shell--news-list #block-halasztelek-content .ht-news-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
}

.site-shell.site-shell--news-list #block-halasztelek-content .ht-news-pagination__button,
.site-shell.site-shell--news-list #block-halasztelek-content .ht-news-pagination__status {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid var(--ht-border);
  border-radius: 6px;
  background: #ffffff;
  color: var(--ht-blue-dark);
  font-size: 0.98rem;
  font-weight: 850;
  line-height: 1.2;
}

.site-shell.site-shell--news-list #block-halasztelek-content .ht-news-pagination__button.is-disabled {
  color: #5e6a75;
  background: #f5f8fa;
  cursor: default;
}

.site-shell.site-shell--news-list #block-halasztelek-content .ht-news-pagination__status {
  border-color: var(--ht-red);
  color: var(--ht-red);
}

@media (min-width: 801px) {
  .site-shell.site-shell--news-list #block-halasztelek-content .node--news-list-item.node--view-mode-teaser .node__content.ht-news-teaser {
    gap: 10px;
    margin-bottom: 24px;
    padding: 30px 34px 32px;
  }

  .site-shell.site-shell--news-list #block-halasztelek-content .node--news-list-item.node--view-mode-teaser .ht-news-meta {
    margin-bottom: 14px;
    padding: 8px 12px;
    font-size: 0.9rem;
  }

  .site-shell.site-shell--news-list #block-halasztelek-content .node--news-list-item.node--view-mode-teaser .node__title {
    font-size: clamp(1.55rem, 2.25vw, 2rem);
  }

  .site-shell.site-shell--news-list #block-halasztelek-content .node--news-list-item.node--view-mode-teaser p.ht-news-teaser__lead {
    margin-top: 6px;
    font-size: 1.08rem;
  }
}
