.uj-magazine-slider {
  --uj-slider-green: #12352d;
  --uj-slider-gold: #d1a467;
  --uj-slider-cream: #f8f6ef;
  position: relative;
  width: calc(100% - 32px);
  max-width: 1180px;
  margin: 22px auto;
  color: var(--uj-slider-cream);
}

.uj-magazine-slider__viewport {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 14%, rgba(209, 164, 103, .3), transparent 26%),
    linear-gradient(135deg, #173f35 0%, var(--uj-slider-green) 70%);
  border: 1px solid rgba(209, 164, 103, .62);
  border-radius: 20px;
  box-shadow: 0 18px 42px rgba(18, 53, 45, .2);
}

@media(max-width:360px){.main-title a{font-size:24px!important}}
@media(max-width:360px){html body #masthead.site-header .inside-header .site-branding-container .site-branding .main-title a[href]{font-size:24px!important}}


.uj-magazine-slider__slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: clamp(30px, 5vw, 64px);
  background-image: var(--uj-slide-image);
  background-position: center;
  background-size: cover;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(1.015);
  transition: opacity .65s ease, transform .85s ease, visibility .65s ease;
}

.uj-magazine-slider__slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: scale(1);
}

.uj-magazine-slider__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 36, 30, .97) 0%, rgba(10, 36, 30, .84) 48%, rgba(10, 36, 30, .38) 100%),
    linear-gradient(0deg, rgba(10, 36, 30, .46), transparent 60%);
}

.uj-magazine-slider__content {
  position: relative;
  z-index: 1;
  width: min(720px, 82%);
}

.uj-magazine-slider__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: rgba(248, 246, 239, .84);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.uj-magazine-slider__label {
  padding: 4px 9px;
  color: var(--uj-slider-green);
  background: var(--uj-slider-gold);
  border-radius: 999px;
}

.uj-magazine-slider__title {
  margin: 0 0 12px;
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: .01em;
  text-shadow: 0 3px 12px rgba(0, 0, 0, .34);
}

.uj-magazine-slider__title a,
.uj-magazine-slider__title a:visited {
  color: var(--uj-slider-cream);
  text-decoration: none;
}

.uj-magazine-slider__title a:hover,
.uj-magazine-slider__title a:focus-visible {
  color: var(--uj-slider-gold);
}

.uj-magazine-slider__excerpt {
  max-width: 620px;
  margin: 0 0 20px;
  color: rgba(248, 246, 239, .9);
  font-size: 17px;
  line-height: 1.55;
}

.uj-magazine-slider__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 17px;
  color: var(--uj-slider-green) !important;
  background: var(--uj-slider-gold);
  border: 1px solid var(--uj-slider-gold);
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.uj-magazine-slider__more:hover,
.uj-magazine-slider__more:focus-visible {
  color: var(--uj-slider-cream) !important;
  background: transparent;
  transform: translateY(-1px);
}

.uj-magazine-slider__controls {
  position: absolute;
  right: 24px;
  bottom: 22px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
}

.uj-magazine-slider__arrow,
.uj-magazine-slider__dot {
  appearance: none;
  margin: 0;
  border: 1px solid rgba(209, 164, 103, .72);
  cursor: pointer;
}

.uj-magazine-slider__arrow {
  display: grid;
  width: 38px;
  height: 38px;
  padding: 0;
  place-items: center;
  color: var(--uj-slider-cream);
  background: rgba(18, 53, 45, .76);
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
}

.uj-magazine-slider__dots {
  display: flex;
  align-items: center;
  gap: 7px;
}

.uj-magazine-slider__dot {
  width: 9px;
  height: 9px;
  padding: 0;
  background: rgba(248, 246, 239, .42);
  border-radius: 50%;
}

.uj-magazine-slider__dot.is-active {
  background: var(--uj-slider-gold);
  transform: scale(1.24);
}

.uj-magazine-slider__arrow:hover,
.uj-magazine-slider__arrow:focus-visible,
.uj-magazine-slider__dot:focus-visible {
  outline: 2px solid var(--uj-slider-cream);
  outline-offset: 2px;
}

@media (max-width: 768px) {
  .uj-magazine-slider {
    width: calc(100% - 24px);
    margin: 14px auto 20px;
  }

  .uj-magazine-slider__viewport {
    min-height: 350px;
    border-radius: 16px;
  }

  .uj-magazine-slider__slide {
    align-items: center;
    padding: 28px 24px 72px;
  }

  .uj-magazine-slider__shade {
    background: linear-gradient(90deg, rgba(10, 36, 30, .94), rgba(10, 36, 30, .72));
  }

  .uj-magazine-slider__content {
    width: 100%;
  }

  .uj-magazine-slider__title {
    font-size: clamp(30px, 10vw, 40px);
  }

  .uj-magazine-slider__excerpt {
    display: -webkit-box;
    overflow: hidden;
    font-size: 15px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .uj-magazine-slider__controls {
    right: 20px;
    bottom: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .uj-magazine-slider__slide,
  .uj-magazine-slider__more {
    transition: none;
  }
}


/* Utánajárok – témamenü, témakártyák és belső oldali slider */
@media (min-width: 769px) {
  body .site-header,
  body .site-header .inside-header {
    position: relative !important;
    z-index: 2000 !important;
    overflow: visible !important;
  }
  body .site-header #site-navigation {
    position: relative !important;
    z-index: 2002 !important;
    overflow: visible !important;
  }
  body .main-navigation ul ul {
    width: 230px !important;
    padding: 9px !important;
    background: #fbf7ee !important;
    border: 1px solid #d3ad6c !important;
    border-radius: 14px !important;
    box-shadow: 0 14px 32px rgba(18, 53, 45, .22) !important;
    overflow: hidden !important;
    z-index: 99999 !important;
  }
  body .main-navigation ul ul li,
  body .main-navigation ul ul li:hover {
    background: transparent !important;
  }
  body .main-navigation ul ul li a {
    padding: 11px 14px !important;
    color: #12352d !important;
    background: transparent !important;
    border-radius: 9px !important;
    font-size: 15px !important;
    line-height: 1.35 !important;
    transition: background-color .18s ease, color .18s ease, transform .18s ease !important;
  }
  body .main-navigation ul ul li a:hover,
  body .main-navigation ul ul li a:focus {
    color: #fffaf1 !important;
    background: #12352d !important;
    transform: translateX(3px);
  }
}

.uj-topics-panel {
  margin-top: 34px;
  padding: 30px;
  background: linear-gradient(145deg, #dfe9e3 0%, #edf2ee 100%);
  border: 1px solid rgba(189, 145, 76, .58);
  border-radius: 24px;
  box-shadow: 0 16px 38px rgba(18, 53, 45, .12);
}
.uj-topics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.uj-topic-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 220px;
  padding: 27px;
  color: #12352d !important;
  background: #fbf7ee;
  border: 1px solid #d3ad6c;
  border-radius: 18px;
  box-shadow: 0 8px 22px rgba(18, 53, 45, .08);
  text-decoration: none !important;
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background-color .22s ease;
}
.uj-topic-card::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -42px;
  width: 112px;
  height: 112px;
  border: 1px solid rgba(189, 145, 76, .35);
  border-radius: 50%;
}
.uj-topic-card:hover,
.uj-topic-card:focus-visible {
  color: #12352d !important;
  background: #fffaf2;
  border-color: #bd914c;
  box-shadow: 0 14px 30px rgba(18, 53, 45, .16);
  transform: translateY(-4px);
}
.uj-topic-card__number {
  align-self: flex-start;
  margin-bottom: 24px;
  padding: 4px 10px;
  color: #fffaf1;
  background: #12352d;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
}
.uj-topic-card h2 {
  margin: 0 0 10px !important;
  color: #12352d !important;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: 30px !important;
  line-height: 1.08 !important;
  text-shadow: 0 2px 5px rgba(18, 53, 45, .14);
}
.uj-topic-card p {
  max-width: 92%;
  margin: 0 !important;
  color: #344f48;
  font-size: 16px;
  line-height: 1.55;
}
.uj-topic-card__arrow {
  position: relative;
  z-index: 1;
  align-self: flex-end;
  margin-top: auto;
  color: #9a6e2e;
  font-size: 26px;
  line-height: 1;
  transition: transform .2s ease;
}
.uj-topic-card:hover .uj-topic-card__arrow,
.uj-topic-card:focus-visible .uj-topic-card__arrow {
  transform: translateX(5px);
}

body:not(.home) .uj-magazine-slider,
body:not(.home) .uj-magazine-slider__viewport {
  height: 280px;
  min-height: 280px;
}
body:not(.home) .uj-magazine-slider__slide {
  height: 278px;
  padding: 38px 52px;
}
body:not(.home) .uj-magazine-slider__content {
  height: auto;
}
body:not(.home) .uj-magazine-slider__title {
  margin-bottom: 8px;
  font-size: clamp(34px, 4vw, 46px);
  line-height: 1.05;
}
body:not(.home) .uj-magazine-slider__excerpt {
  max-width: 700px;
  margin-bottom: 14px;
  font-size: 16px;
  line-height: 1.45;
}

@media (max-width: 768px) {
  .uj-topics-panel {
    margin-top: 24px;
    padding: 16px;
    border-radius: 19px;
  }
  .uj-topics-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .uj-topic-card {
    min-height: 190px;
    padding: 22px;
  }
  .uj-topic-card__number {
    margin-bottom: 18px;
  }
  .uj-topic-card h2 {
    font-size: 27px !important;
  }
  body:not(.home) .uj-magazine-slider,
  body:not(.home) .uj-magazine-slider__viewport {
    height: 300px;
    min-height: 300px;
  }
  body:not(.home) .uj-magazine-slider__slide {
    height: 298px;
    padding: 30px 24px 54px;
  }
  body:not(.home) .uj-magazine-slider__title {
    font-size: 32px;
  }
  body:not(.home) .uj-magazine-slider__excerpt {
    display: none;
  }
}

@media (min-width: 769px) {
  body .site-header .inside-navigation { overflow: visible !important; }
  body .main-navigation { position: relative !important; }
}

/* Javítás: a belső oldali Slider tartalma ne vágódjon le */
@media (min-width: 769px) {
  body:not(.home) .uj-magazine-slider,
  body:not(.home) .uj-magazine-slider__viewport {
    height: 340px;
    min-height: 340px;
  }
  body:not(.home) .uj-magazine-slider__slide {
    height: 338px;
    padding: 38px 52px;
  }
  body:not(.home) .uj-magazine-slider__title a {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
}

/* Utánajárok – fejléc kereső */
.uj-header-search {
  position: absolute;
  top: 26px;
  left: 30px;
  z-index: 2010;
  width: 260px;
}

.uj-header-search__form {
  display: flex;
  align-items: center;
  height: 46px;
  overflow: hidden;
  background: #fbf7ee;
  border: 1px solid #d3ad6c;
  border-radius: 999px;
  box-shadow: 0 7px 18px rgba(18, 53, 45, .11);
  transition: border-color .18s ease, box-shadow .18s ease;
}

.uj-header-search__form:focus-within {
  border-color: #bd914c;
  box-shadow: 0 8px 22px rgba(18, 53, 45, .18);
}

.uj-header-search__input {
  flex: 1;
  min-width: 0;
  height: 44px;
  padding: 0 8px 0 18px !important;
  color: #12352d !important;
  background: transparent !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  font-size: 15px;
}

.uj-header-search__input::placeholder {
  color: #687a74;
  opacity: 1;
}

.uj-header-search__button {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  margin: 0 !important;
  padding: 0 !important;
  color: #fffaf1 !important;
  background: #12352d !important;
  border: 0 !important;
  border-radius: 50% !important;
  cursor: pointer;
  transition: background-color .18s ease, transform .18s ease;
}

.uj-header-search__button:hover,
.uj-header-search__button:focus {
  background: #1b4a3e !important;
  transform: scale(.96);
}

.uj-header-search__button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

#right-sidebar #block-2.widget_search {
  display: none !important;
}

@media (max-width: 768px) {
  body .inside-header {
    flex-wrap: wrap !important;
  }

  body .inside-header .site-branding-container {
    order: 1;
  }

  .uj-header-search {
    position: relative;
    inset: auto;
    order: 2;
    width: calc(100% - 32px);
    max-width: 420px;
    margin: 12px auto 4px;
  }

  .uj-header-search__form {
    height: 44px;
  }

  body #mobile-menu-control-wrapper,
  body #site-navigation {
    order: 3;
  }
}

/* Mobilfejléc – biztos elem-sorrend */
@media (max-width: 768px) {
  body .site-header .inside-header {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  body .site-header .inside-header .site-branding-container {
    order: 1 !important;
    width: auto !important;
    margin: 0 auto !important;
  }

  body .site-header .inside-header .uj-header-search {
    order: 2 !important;
    margin: 12px auto 4px !important;
  }

  body .site-header .inside-header #mobile-menu-control-wrapper,
  body .site-header .inside-header #site-navigation {
    order: 3 !important;
  }

  body .site-header .inside-header #mobile-menu-control-wrapper {
    align-self: center !important;
    width: auto !important;
    margin: 8px auto 0 !important;
  }
}

/* Mobilfejléc – kereső és menügomb egy sorban */
@media (max-width: 768px) {
  body .site-header .inside-header {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 46px !important;
    column-gap: 10px !important;
    align-items: center !important;
  }

  body .site-header .inside-header .site-branding-container {
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
    justify-self: center !important;
  }

  body .site-header .inside-header .uj-header-search {
    grid-column: 1 !important;
    grid-row: 2 !important;
    width: 100% !important;
    max-width: none !important;
    margin: 12px 0 4px !important;
  }

  body .site-header .inside-header #mobile-menu-control-wrapper {
    grid-column: 2 !important;
    grid-row: 2 !important;
    justify-self: end !important;
    align-self: center !important;
    width: 46px !important;
    margin: 12px 0 4px !important;
  }

  body .site-header .inside-header #site-navigation {
    grid-column: 1 / -1 !important;
    grid-row: 3 !important;
    width: 100% !important;
  }
}

/* Utánajárok – mozaikos bejegyzéskártyák */
body.blog #main,
body.archive #main,
body.search-results #main {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 26px;
  align-items: stretch;
}

body.blog #main > .page-header,
body.archive #main > .page-header,
body.search-results #main > .page-header,
body.blog #main > .paging-navigation,
body.archive #main > .paging-navigation,
body.search-results #main > .paging-navigation {
  grid-column: 1 / -1;
  width: 100%;
}

body.blog #main > article,
body.archive #main > article,
body.search-results #main > article {
  width: 100%;
  max-width: 420px;
  height: 100%;
  margin: 0 !important;
  justify-self: center;
  overflow: hidden;
  background: #fbf7ee;
  border: 1px solid rgba(189, 145, 76, .55);
  border-radius: 20px;
  box-shadow: 0 10px 28px rgba(18, 53, 45, .11);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

body.blog #main > article:hover,
body.archive #main > article:hover,
body.search-results #main > article:hover {
  transform: translateY(-5px);
  border-color: #bd914c;
  box-shadow: 0 16px 34px rgba(18, 53, 45, .17);
}

body.blog #main > article .inside-article,
body.archive #main > article .inside-article,
body.search-results #main > article .inside-article {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0 !important;
  background: transparent !important;
}

body.blog #main > article .post-image,
body.archive #main > article .post-image,
body.search-results #main > article .post-image {
  order: -2;
  width: 100%;
  aspect-ratio: 16 / 10;
  margin: 0 !important;
  overflow: hidden;
  background: #12352d;
}

body.blog #main > article .post-image a,
body.archive #main > article .post-image a,
body.search-results #main > article .post-image a {
  display: block;
  width: 100%;
  height: 100%;
}

body.blog #main > article .post-image img,
body.archive #main > article .post-image img,
body.search-results #main > article .post-image img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  transition: transform .35s ease;
}

body.blog #main > article:hover .post-image img,
body.archive #main > article:hover .post-image img,
body.search-results #main > article:hover .post-image img {
  transform: scale(1.035);
}

body.blog #main > article:not(.has-post-thumbnail) .inside-article::before,
body.archive #main > article:not(.has-post-thumbnail) .inside-article::before,
body.search-results #main > article:not(.has-post-thumbnail) .inside-article::before {
  content: "";
  display: block;
  order: -2;
  width: 100%;
  aspect-ratio: 16 / 10;
  background:
    radial-gradient(circle at 76% 28%, rgba(211, 173, 108, .42), transparent 22%),
    linear-gradient(135deg, #0d2b25 0%, #17483c 55%, #12352d 100%);
}

body.blog #main > article .entry-header,
body.archive #main > article .entry-header,
body.search-results #main > article .entry-header {
  padding: 22px 24px 0;
}

body.blog #main > article .entry-title,
body.archive #main > article .entry-title,
body.search-results #main > article .entry-title {
  margin: 0 0 10px !important;
  font-size: clamp(24px, 2.1vw, 31px) !important;
  line-height: 1.12 !important;
}

body.blog #main > article .entry-header .entry-meta,
body.archive #main > article .entry-header .entry-meta,
body.search-results #main > article .entry-header .entry-meta {
  margin-top: 0;
  color: #687a74;
  font-size: 13px;
  letter-spacing: .035em;
}

body.blog #main > article .entry-summary,
body.archive #main > article .entry-summary,
body.search-results #main > article .entry-summary {
  flex: 1;
  padding: 14px 24px 20px;
  color: #263e37;
}

body.blog #main > article .entry-summary p,
body.archive #main > article .entry-summary p,
body.search-results #main > article .entry-summary p {
  margin-bottom: 0;
}

body.blog #main > article a.read-more,
body.archive #main > article a.read-more,
body.search-results #main > article a.read-more {
  display: inline-block;
  margin-top: 14px;
  padding: 8px 14px;
  color: #fffaf1 !important;
  background: #12352d;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}

body.blog #main > article a.read-more:hover,
body.archive #main > article a.read-more:hover,
body.search-results #main > article a.read-more:hover {
  background: #1b4a3e;
}

body.blog #main > article .inside-article > .entry-meta,
body.archive #main > article .inside-article > .entry-meta,
body.search-results #main > article .inside-article > .entry-meta {
  margin-top: auto;
  padding: 16px 24px 20px;
  border-top: 1px solid rgba(189, 145, 76, .3);
  color: #687a74;
  font-size: 13px;
}

@media (max-width: 760px) {
  body.blog #main,
  body.archive #main,
  body.search-results #main {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  body.blog #main > article,
  body.archive #main > article,
  body.search-results #main > article {
    max-width: 520px;
  }
}

/* Rövidebb, magazinos kártyakivonatok */
body.blog #main > article .entry-summary p,
body.archive #main > article .entry-summary p,
body.search-results #main > article .entry-summary p {
  position: relative;
  max-height: 10.5em;
  overflow: hidden;
  padding-bottom: 3.2em;
}

body.blog #main > article .entry-summary p:not(:has(a.read-more)),
body.archive #main > article .entry-summary p:not(:has(a.read-more)),
body.search-results #main > article .entry-summary p:not(:has(a.read-more)) {
  padding-bottom: 0;
}

body.blog #main > article a.read-more,
body.archive #main > article a.read-more,
body.search-results #main > article a.read-more {
  position: absolute;
  left: 0;
  bottom: 0;
  margin-top: 0;
}


/* Tiszta kifutás az Olvass tovább gomb mögött */
body.blog #main > article .entry-summary p:has(a.read-more)::after,
body.archive #main > article .entry-summary p:has(a.read-more)::after,
body.search-results #main > article .entry-summary p:has(a.read-more)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  height: 3.7em;
  background: linear-gradient(to bottom, rgba(251, 247, 238, 0), #fbf7ee 32%);
  pointer-events: none;
}

body.blog #main > article a.read-more,
body.archive #main > article a.read-more,
body.search-results #main > article a.read-more {
  z-index: 2;
}


/* Középre rendezett, legfeljebb háromoszlopos kártyacsoport */
body.blog #main,
body.archive #main,
body.search-results #main {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
  gap: 26px;
}

body.blog #main > .page-header,
body.archive #main > .page-header,
body.search-results #main > .page-header,
body.blog #main > .paging-navigation,
body.archive #main > .paging-navigation,
body.search-results #main > .paging-navigation {
  flex: 0 0 100%;
}

body.blog #main > article,
body.archive #main > article,
body.search-results #main > article {
  flex: 0 1 calc((100% - 52px) / 3);
  height: auto;
}

@media (max-width: 1000px) {
  body.blog #main > article,
  body.archive #main > article,
  body.search-results #main > article {
    flex-basis: calc((100% - 26px) / 2);
  }
}

@media (max-width: 760px) {
  body.blog #main > article,
  body.archive #main > article,
  body.search-results #main > article {
    flex-basis: 100%;
  }
}

/* Utánajárok – kompakt MailPoet hírlevél a fejlécben */
.uj-header-newsletter {
  z-index: 2010;
  width: 310px;
  color: #12352d;
}

/* MailPoet – látható adatvédelmi tájékoztatás */
.uj-newsletter-privacy {
  margin-top: 6px;
  color: inherit;
  font-size: 11px;
  line-height: 1.4;
  opacity: 0.78;
  text-align: left;
}

.uj-newsletter-privacy a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.uj-header-newsletter .uj-newsletter-privacy {
  text-align: center;
}

body .site-footer .uj-newsletter-privacy {
  color: #f1eadf;
}

.uj-header-newsletter__label {
  margin: 0 0 5px;
  color: #12352d;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-align: center;
}

.uj-header-newsletter .mailpoet_form,
.uj-header-newsletter form.mailpoet_form {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

.uj-header-newsletter .mailpoet_spacer,
.uj-header-newsletter h2,
.uj-header-newsletter p {
  display: none !important;
}

.uj-header-newsletter form.mailpoet_form {
  display: flex !important;
  align-items: center;
  gap: 8px;
}

.uj-header-newsletter .mailpoet_paragraph {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0 !important;
}

.uj-header-newsletter .mailpoet_paragraph:has(.mailpoet_submit) {
  flex: 0 0 auto;
}

.uj-header-newsletter .mailpoet_text {
  box-sizing: border-box !important;
  width: 100% !important;
  height: 43px !important;
  margin: 0 !important;
  padding: 0 15px !important;
  border: 1px solid #d9b36a !important;
  border-radius: 999px !important;
  background: #fffdf8 !important;
  color: #12352d !important;
  font-size: 14px !important;
  box-shadow: 0 7px 18px rgba(18, 53, 45, 0.10) !important;
}

.uj-header-newsletter .mailpoet_text:focus {
  border-color: #12352d !important;
  outline: 2px solid rgba(217, 179, 106, 0.35) !important;
  outline-offset: 1px;
}

.uj-header-newsletter .mailpoet_submit {
  width: auto !important;
  min-width: 106px;
  height: 43px !important;
  margin: 0 !important;
  padding: 0 15px !important;
  border: 1px solid #d9b36a !important;
  border-radius: 999px !important;
  background: #12352d !important;
  color: #fffdf8 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  box-shadow: 0 7px 18px rgba(18, 53, 45, 0.18) !important;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.uj-header-newsletter .mailpoet_submit:hover,
.uj-header-newsletter .mailpoet_submit:focus-visible {
  background: #1d5144 !important;
  transform: translateY(-1px);
}

.uj-header-newsletter .mailpoet_validate_success,
.uj-header-newsletter .mailpoet_validate_error {
  margin: 5px 0 0 !important;
  color: #12352d !important;
  font-size: 12px !important;
  line-height: 1.3 !important;
  text-align: center;
}

@media (min-width: 769px) {
  body .site-header .inside-header .uj-header-newsletter {
    position: absolute;
    top: 18px;
    right: 30px;
  }
}

@media (max-width: 768px) {
  body .site-header .inside-header .uj-header-newsletter {
    position: relative !important;
    inset: auto !important;
    grid-column: 1 / -1 !important;
    grid-row: 3 !important;
    width: 100%;
    max-width: 440px;
    margin: 8px auto 2px;
  }

  body .site-header .inside-header #site-navigation {
    grid-row: 4 !important;
  }

  .uj-header-newsletter__label {
    text-align: left;
    padding-left: 4px;
  }
}

@media (max-width: 420px) {
  .uj-header-newsletter form.mailpoet_form {
    gap: 6px;
  }

  .uj-header-newsletter .mailpoet_submit {
    min-width: 100px;
    padding-right: 12px !important;
    padding-left: 12px !important;
  }
}


@media (max-width: 420px) {
  .uj-header-newsletter .mailpoet_submit {
    min-width: 88px;
    padding-right: 9px !important;
    padding-left: 9px !important;
    font-size: 12px !important;
  }

  .uj-header-newsletter .mailpoet_text {
    font-size: 13px !important;
  }
}


.uj-header-newsletter .mailpoet_paragraph:has(.mailpoet_text) {
  flex: 1 1 0 !important;
  width: auto !important;
}

.uj-header-newsletter .mailpoet_paragraph:has(.mailpoet_submit) {
  flex: 0 0 auto !important;
  width: auto !important;
}


/* Utánajárok – elkülönített, márkához illő lábléc */
body .site-footer {
  box-sizing: border-box;
  width: calc(100% - 40px);
  max-width: 1166px;
  margin: 52px auto 24px;
  overflow: hidden;
  border: 1px solid rgba(217, 179, 106, 0.72);
  border-radius: 20px;
  background: #12352d;
  box-shadow: 0 16px 38px rgba(18, 53, 45, 0.16);
}

body .site-footer .footer-widgets {
  padding: 22px 30px 18px;
  border: 0;
  background: linear-gradient(135deg, #164238 0%, #12352d 62%, #0e2d27 100%);
  color: #fffdf8;
}

body .site-footer .inside-footer-widgets {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

body .site-footer .footer-widgets .widget {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin: 0;
  font-size: 0;
}

body .site-footer .footer-widgets a {
  display: inline-block;
  padding: 5px 14px;
  color: #fffdf8;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  text-underline-offset: 4px;
  transition: color 0.2s ease, opacity 0.2s ease;
}

body .site-footer .footer-widgets a + a {
  border-left: 1px solid rgba(217, 179, 106, 0.65);
}

body .site-footer .footer-widgets a:hover,
body .site-footer .footer-widgets a:focus-visible {
  color: #e4bd73;
  text-decoration: underline;
}

body .site-footer .footer-widgets a:focus-visible {
  outline: 2px solid #e4bd73;
  outline-offset: 3px;
  border-radius: 4px;
}

body .site-footer .site-info {
  padding: 17px 24px 19px;
  border-top: 1px solid rgba(217, 179, 106, 0.35);
  background: #0a2923;
  color: rgba(255, 253, 248, 0.78);
}

body .site-footer .site-info .inside-site-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  text-align: center;
}

body .site-footer .uj-footer-tagline {
  display: block;
  color: #e4bd73;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.01em;
}

body .site-footer .uj-footer-copy {
  display: block;
  color: rgba(255, 253, 248, 0.74);
  font-size: 13px;
  line-height: 1.5;
}

@media (max-width: 768px) {
  body .site-footer {
    width: calc(100% - 24px);
    margin-top: 36px;
    margin-bottom: 16px;
    border-radius: 16px;
  }

  body .site-footer .footer-widgets {
    padding: 17px 16px 14px;
  }

  body .site-footer .site-info {
    padding: 15px 18px 17px;
  }

  body .site-footer .uj-footer-tagline {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  body .site-footer .footer-widgets .widget {
    flex-direction: column;
  }

  body .site-footer .footer-widgets a {
    width: 100%;
    padding: 7px 8px;
  }

  body .site-footer .footer-widgets a + a {
    border-top: 1px solid rgba(217, 179, 106, 0.38);
    border-left: 0;
  }
}


/* A GeneratePress footer-bar elemeinek pontos középre rendezése */
body .site-footer .site-info .inside-site-info {
  flex-direction: column !important;
}

body .site-footer .site-info .copyright-bar {
  width: 100%;
  margin: 0 !important;
  text-align: center;
}

body .site-footer .site-info .footer-bar {
  width: 100%;
  margin: 11px 0 0 !important;
  padding-top: 10px;
  border-top: 1px solid rgba(217, 179, 106, 0.28);
  text-align: center;
}

body .site-footer .site-info #block-8 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin: 0;
  font-size: 0;
}

body .site-footer .site-info #block-8 a {
  padding: 3px 13px;
  color: #fffdf8;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  text-underline-offset: 4px;
}

body .site-footer .site-info #block-8 a + a {
  border-left: 1px solid rgba(217, 179, 106, 0.55);
}

body .site-footer .site-info #block-8 a:hover,
body .site-footer .site-info #block-8 a:focus-visible {
  color: #e4bd73;
  text-decoration: underline;
}

@media (max-width: 480px) {
  body .site-footer .site-info #block-8 {
    flex-direction: column;
  }

  body .site-footer .site-info #block-8 a {
    width: 100%;
    padding: 6px 8px;
  }

  body .site-footer .site-info #block-8 a + a {
    border-top: 1px solid rgba(217, 179, 106, 0.32);
    border-left: 0;
  }
}


/* A jogi linkek az egységes copyright blokkban jelennek meg. */
body .site-footer .site-info .footer-bar {
  display: none !important;
}

body .site-footer .uj-footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0 12px;
  max-width: 620px;
  margin: 12px auto 9px;
  padding-top: 10px;
  border-top: 1px solid rgba(217, 179, 106, 0.28);
}

body .site-footer .uj-footer-links a {
  color: #fffdf8;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  text-underline-offset: 4px;
}

body .site-footer .uj-footer-links a:hover,
body .site-footer .uj-footer-links a:focus-visible {
  color: #e4bd73;
  text-decoration: underline;
}

body .site-footer .uj-footer-links a:focus-visible {
  outline: 2px solid #e4bd73;
  outline-offset: 3px;
  border-radius: 4px;
}

body .site-footer .uj-footer-separator {
  color: rgba(217, 179, 106, 0.72);
  font-size: 15px;
}

@media (max-width: 480px) {
  body .site-footer .uj-footer-links {
    flex-direction: column;
    gap: 0;
    margin-top: 10px;
    padding-top: 7px;
  }

  body .site-footer .uj-footer-links a {
    width: 100%;
    padding: 5px 4px;
  }

  body .site-footer .uj-footer-separator {
    display: none;
  }
}


/* Utánajárok – lábléc kereső és hírlevél */
body .site-footer .uj-footer-tools {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 18px;
  width: 100%;
  max-width: 780px;
  margin: 0 auto 18px;
  padding-bottom: 17px;
  border-bottom: 1px solid rgba(217, 179, 106, 0.28);
}

body .site-footer .uj-footer-search {
  display: none;
}

body .site-footer .uj-footer-newsletter {
  width: 100%;
  max-width: 450px;
}

body .site-footer .uj-footer-tool-label {
  margin: 0 0 7px;
  color: #e4bd73;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
}

body .site-footer .uj-footer-newsletter .mailpoet_form,
body .site-footer .uj-footer-newsletter form.mailpoet_form {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

body .site-footer .uj-footer-newsletter .mailpoet_spacer,
body .site-footer .uj-footer-newsletter h2,
body .site-footer .uj-footer-newsletter p {
  display: none !important;
}

body .site-footer .uj-footer-newsletter form.mailpoet_form {
  display: flex !important;
  align-items: center;
  gap: 8px;
}

body .site-footer .uj-footer-newsletter .mailpoet_paragraph:has(.mailpoet_text) {
  flex: 1 1 0 !important;
  width: auto !important;
  min-width: 0;
  margin: 0 !important;
}

body .site-footer .uj-footer-newsletter .mailpoet_paragraph:has(.mailpoet_submit) {
  flex: 0 0 auto !important;
  width: auto !important;
  margin: 0 !important;
}

body .site-footer .uj-footer-newsletter .mailpoet_text {
  box-sizing: border-box !important;
  width: 100% !important;
  height: 43px !important;
  margin: 0 !important;
  padding: 0 15px !important;
  border: 1px solid rgba(228, 189, 115, 0.8) !important;
  border-radius: 999px !important;
  background: #fffdf8 !important;
  color: #12352d !important;
  font-size: 14px !important;
}

body .site-footer .uj-footer-newsletter .mailpoet_submit {
  width: auto !important;
  min-width: 106px;
  height: 43px !important;
  margin: 0 !important;
  padding: 0 15px !important;
  border: 1px solid #e4bd73 !important;
  border-radius: 999px !important;
  background: #e4bd73 !important;
  color: #12352d !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

body .site-footer .uj-footer-newsletter .mailpoet_submit:hover,
body .site-footer .uj-footer-newsletter .mailpoet_submit:focus-visible {
  background: #f0cf8e !important;
  transform: translateY(-1px);
}

body .site-footer .uj-footer-newsletter .mailpoet_validate_success,
body .site-footer .uj-footer-newsletter .mailpoet_validate_error {
  margin: 6px 0 0 !important;
  color: #fffdf8 !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
  text-align: center;
}

/* A törzsszöveg legyen sorkizárt; a navigáció és a rövid kezelőfeliratok kivételek. */
body .entry-content p,
body .entry-content li,
body .entry-summary,
body .entry-summary p,
body .page-content p,
body .comment-content p,
body .comment-content li,
body .uj-magazine-slider p {
  text-align: justify;
  text-justify: inter-word;
  -webkit-hyphens: auto;
  hyphens: auto;
}

@media (max-width: 768px) {
  body .site-header .inside-header {
    grid-template-columns: auto minmax(0, 1fr) auto !important;
    column-gap: 7px !important;
    align-items: center !important;
  }

  body .site-header .inside-header .uj-header-search,
  body .site-header .inside-header .uj-header-newsletter {
    display: none !important;
  }

  body .site-header .inside-header .site-logo {
    grid-column: 1 !important;
    grid-row: 1 !important;
    justify-self: end;
    margin: 0 !important;
  }

  body .site-header .inside-header .site-branding {
    grid-column: 2 !important;
    grid-row: 1 !important;
    justify-self: start;
    min-width: 0;
    margin: 0 !important;
    text-align: left !important;
  }

  body .site-header .inside-header #site-navigation {
    grid-column: 3 !important;
    grid-row: 1 !important;
    justify-self: end;
    width: auto !important;
    margin: 0 !important;
  }

  body .site-footer .uj-footer-tools {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
    max-width: 440px;
    margin-bottom: 15px;
    padding-bottom: 15px;
  }

  body .site-footer .uj-footer-search {
    display: block;
    width: 100%;
  }

  body .site-footer .uj-footer-newsletter {
    max-width: none;
  }

  body .site-footer .uj-footer-tool-label {
    text-align: left;
  }

  body .site-footer .uj-footer-search__form {
    display: flex;
    align-items: center;
    width: 100%;
  }

  body .site-footer .uj-footer-search__input {
    box-sizing: border-box;
    flex: 1 1 auto;
    min-width: 0;
    height: 43px;
    margin: 0;
    padding: 0 48px 0 15px;
    border: 1px solid rgba(228, 189, 115, 0.8);
    border-radius: 999px;
    background: #fffdf8;
    color: #12352d;
    font-size: 14px;
  }

  body .site-footer .uj-footer-search__button {
    display: inline-flex;
    flex: 0 0 43px;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
    margin: 0 0 0 -43px;
    padding: 0;
    border: 1px solid #e4bd73;
    border-radius: 50%;
    background: #e4bd73;
    color: #12352d;
    cursor: pointer;
  }

  body .site-footer .uj-footer-search__button svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
  }
}

@media (max-width: 360px) {
  body .site-header .main-title {
    font-size: 31px !important;
  }

  body .site-header .inside-header {
    column-gap: 5px !important;
  }

  body .site-footer .uj-footer-newsletter .mailpoet_submit {
    min-width: 88px;
    padding-right: 9px !important;
    padding-left: 9px !important;
    font-size: 12px !important;
  }
}


@media (max-width: 768px) {
  body .site-header .inside-header .main-navigation,
  body .site-header .inside-header nav[aria-label="Mobile kapcsoló"] {
    grid-column: 3 !important;
    grid-row: 1 !important;
    align-self: center !important;
    justify-self: end !important;
    width: auto !important;
    margin: 0 !important;
  }
}


@media (max-width: 768px) {
  body .site-header,
  body .site-header .inside-header {
    position: relative !important;
  }

  body .site-header nav[aria-label="Mobile kapcsoló"],
  body .site-header #mobile-header,
  body .site-header .mobile-header-navigation {
    position: absolute !important;
    top: 17px !important;
    right: 13px !important;
    z-index: 2200 !important;
    width: 43px !important;
    height: 43px !important;
    margin: 0 !important;
  }

  body .site-header nav[aria-label="Mobile kapcsoló"] .menu-toggle,
  body .site-header #mobile-header .menu-toggle,
  body .site-header .mobile-header-navigation .menu-toggle {
    position: static !important;
    width: 43px !important;
    height: 43px !important;
    margin: 0 !important;
  }
}

@media (max-width: 360px) {
  body .site-header .main-title {
    font-size: 28px !important;
  }
}


@media (max-width: 768px) {
  body .site-header nav[aria-label="Mobile kapcsoló"],
  body .site-header #mobile-header,
  body .site-header .mobile-header-navigation {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    align-self: start !important;
    justify-self: stretch !important;
    width: 100% !important;
    height: 43px !important;
    margin: -50px 0 0 !important;
    transform: none !important;
  }

  body .site-header nav[aria-label="Mobile kapcsoló"] .menu-toggle,
  body .site-header #mobile-header .menu-toggle,
  body .site-header .mobile-header-navigation .menu-toggle {
    position: static !important;
    display: flex !important;
    width: 43px !important;
    height: 43px !important;
    margin: 0 0 0 auto !important;
  }
}


@media (max-width: 768px) {
  body .site-header #mobile-header,
  body .site-header .mobile-header-navigation {
    margin: 0 0 -55px !important;
    transform: translateY(-55px) !important;
  }
}


@media (max-width: 768px) {
  body .site-header .inside-header #mobile-menu-control-wrapper {
    position: static !important;
    grid-column: 3 !important;
    grid-row: 1 !important;
    align-self: center !important;
    justify-self: end !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    transform: none !important;
  }

  body .site-header .inside-header #mobile-menu-control-wrapper .menu-toggle {
    width: 43px !important;
    height: 43px !important;
    margin: 0 !important;
  }
}


@media (max-width: 360px) {
  body .site-header .inside-header .site-branding .main-title {
    font-size: 27px !important;
    line-height: 1.1 !important;
  }
}


/* Utánajárok – háromblokkos lábléc */
body .site-footer .copyright-bar {
  display: block !important;
  width: 100% !important;
}

body .site-footer .footer-bar {
  display: none !important;
}

body .site-footer .uj-footer-main {
  display: grid !important;
  grid-template-columns: minmax(0, 1.15fr) minmax(220px, .9fr) minmax(180px, .65fr) !important;
  align-items: start !important;
  gap: clamp(26px, 4vw, 56px) !important;
  width: 100% !important;
  max-width: 1050px !important;
  margin: 0 auto 20px !important;
  padding: 8px 0 26px !important;
  border-bottom: 1px solid rgba(217, 179, 106, .32) !important;
  text-align: left !important;
}

body .site-footer .uj-footer-block {
  min-width: 0 !important;
}

body .site-footer .uj-footer-block-title,
body .site-footer .uj-footer-title {
  color: #e4bd73 !important;
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif !important;
  font-weight: 700 !important;
  letter-spacing: .015em !important;
}

body .site-footer .uj-footer-block-title {
  margin: 0 0 10px !important;
  font-size: 20px !important;
  line-height: 1.25 !important;
}

body .site-footer .uj-footer-brand-head {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin-bottom: 14px !important;
}

body .site-footer .uj-footer-brand-head .custom-logo-link {
  display: block !important;
  flex: 0 0 54px !important;
}

body .site-footer .uj-footer-brand-head .custom-logo {
  display: block !important;
  width: 54px !important;
  height: 54px !important;
  object-fit: contain !important;
}

body .site-footer .uj-footer-title {
  font-size: 31px !important;
  line-height: 1.05 !important;
  text-decoration: none !important;
  text-shadow: 0 2px 5px rgba(0, 0, 0, .2) !important;
}

body .site-footer .uj-footer-about {
  margin: 0 !important;
  color: rgba(255, 253, 248, .84) !important;
  font-size: 14px !important;
  line-height: 1.65 !important;
  text-align: justify !important;
  text-justify: inter-word !important;
  -webkit-hyphens: auto !important;
  hyphens: auto !important;
}

body .site-footer .uj-footer-newsletter {
  width: 100% !important;
  max-width: none !important;
}

body .site-footer .uj-footer-newsletter-text {
  margin: -3px 0 12px !important;
  color: rgba(255, 253, 248, .78) !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
}

body .site-footer .uj-footer-newsletter form.mailpoet_form {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 10px !important;
}

body .site-footer .uj-footer-newsletter .mailpoet_paragraph:has(.mailpoet_text),
body .site-footer .uj-footer-newsletter .mailpoet_paragraph:has(.mailpoet_submit) {
  flex: 0 0 auto !important;
  width: 100% !important;
  margin: 0 !important;
}

body .site-footer .uj-footer-newsletter .mailpoet_text,
body .site-footer .uj-footer-newsletter .mailpoet_submit {
  width: 100% !important;
  min-height: 44px !important;
  margin: 0 !important;
  padding: 11px 14px !important;
  border-radius: 12px !important;
}

body .site-footer .uj-footer-newsletter .mailpoet_text {
  background: #fffdf8 !important;
  color: #12352d !important;
  border: 1px solid rgba(228, 189, 115, .72) !important;
}

body .site-footer .uj-footer-newsletter .mailpoet_submit {
  background: #d1a467 !important;
  color: #12352d !important;
  border: 1px solid #d1a467 !important;
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif !important;
  font-weight: 700 !important;
  cursor: pointer !important;
}

body .site-footer .uj-footer-newsletter .mailpoet_submit:hover,
body .site-footer .uj-footer-newsletter .mailpoet_submit:focus {
  background: #f8f6ef !important;
}

body .site-footer .uj-footer-contact-link {
  display: inline-block !important;
  color: rgba(255, 253, 248, .88) !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
  overflow-wrap: anywhere !important;
}

body .site-footer .uj-footer-mobile-search {
  display: none !important;
}

body .site-footer .uj-footer-bottom {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 5px !important;
  width: 100% !important;
  text-align: center !important;
}

@media (max-width: 768px) {
  body .site-footer .uj-footer-main {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 28px !important;
    max-width: 540px !important;
    padding: 6px 0 24px !important;
  }

  body .site-footer .uj-footer-brand-head {
    justify-content: center !important;
  }

  body .site-footer .uj-footer-block,
  body .site-footer .uj-footer-block-title,
  body .site-footer .uj-footer-newsletter-text,
  body .site-footer .uj-footer-contact {
    text-align: center !important;
  }

  body .site-footer .uj-footer-about {
    text-align: justify !important;
  }

  body .site-footer .uj-footer-mobile-search {
    display: block !important;
    width: 100% !important;
    max-width: 390px !important;
    margin: 0 auto 22px !important;
    padding-bottom: 22px !important;
    border-bottom: 1px solid rgba(217, 179, 106, .28) !important;
  }

  body .site-footer .uj-footer-mobile-search .uj-footer-search {
    display: block !important;
  }
}

@media (max-width: 480px) {
  body .site-footer .uj-footer-title {
    font-size: 28px !important;
  }

  body .site-footer .uj-footer-brand-head .custom-logo-link {
    flex-basis: 48px !important;
  }

  body .site-footer .uj-footer-brand-head .custom-logo {
    width: 48px !important;
    height: 48px !important;
  }
}


body .site-footer .uj-footer-newsletter > .uj-footer-block-title {
  display: block !important;
  text-align: left !important;
}

body .site-footer .uj-footer-brand-head .custom-logo-link {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 58px !important;
  width: 58px !important;
  height: 58px !important;
  padding: 5px !important;
  box-sizing: border-box !important;
  background: #f8f6ef !important;
  border: 1px solid rgba(228, 189, 115, .72) !important;
  border-radius: 10px !important;
  box-shadow: 0 5px 14px rgba(0, 0, 0, .18) !important;
}

body .site-footer .uj-footer-brand-head .custom-logo {
  width: 46px !important;
  height: 46px !important;
}

@media (max-width: 768px) {
  body .site-footer .uj-footer-newsletter > .uj-footer-block-title {
    text-align: center !important;
  }
}


body .site-footer .uj-footer-bottom .uj-footer-links {
  margin: 0 auto 9px !important;
  padding-top: 0 !important;
  border-top: 0 !important;
}


body .site-footer .uj-footer-contact-links {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 5px !important;
  margin-top: 14px !important;
}

body .site-footer .uj-footer-contact-links a {
  color: rgba(255, 253, 248, .72) !important;
  font-size: 12px !important;
  line-height: 1.4 !important;
  text-decoration: none !important;
}

/* Utánajárok – fejléc- és mobilmenü-ütközések javítása */
@media (min-width: 769px) {
  body .site-header .inside-header #site-navigation {
    margin: 52px auto 0 !important;
  }
}

@media (max-width: 768px) {
  body .site-header .inside-header {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 44px !important;
    grid-template-rows: auto auto !important;
    column-gap: 10px !important;
    row-gap: 0 !important;
    align-items: center !important;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
  }

  body .site-header .inside-header .uj-header-search,
  body .site-header .inside-header .uj-header-newsletter {
    display: none !important;
  }

  body .site-header .inside-header .site-branding-container {
    position: static !important;
    grid-column: 1 !important;
    grid-row: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    justify-self: center !important;
    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    transform: none !important;
  }

  body .site-header .site-branding-container .site-logo {
    flex: 0 0 44px !important;
    width: 44px !important;
    margin: 0 8px 0 0 !important;
  }

  body .site-header .site-branding-container .custom-logo {
    display: block !important;
    width: 44px !important;
    max-width: 44px !important;
    height: auto !important;
  }

  body .site-header .site-branding-container .site-branding {
    min-width: 0 !important;
    margin: 0 !important;
    text-align: left !important;
  }

  body .site-header .site-branding-container .main-title {
    margin: 0 !important;
    font-size: clamp(24px, 7.4vw, 32px) !important;
    line-height: 1.05 !important;
    white-space: nowrap !important;
  }

  body .site-header .inside-header #mobile-menu-control-wrapper,
  body .site-header .inside-header nav[aria-label="Mobile kapcsoló"] {
    position: static !important;
    grid-column: 2 !important;
    grid-row: 1 !important;
    align-self: center !important;
    justify-self: end !important;
    width: 44px !important;
    height: 44px !important;
    margin: 0 !important;
    transform: none !important;
    z-index: 2300 !important;
  }

  body .site-header .inside-header #mobile-menu-control-wrapper .menu-toggle,
  body .site-header .inside-header nav[aria-label="Mobile kapcsoló"] .menu-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body .site-header .inside-header #site-navigation {
    position: static !important;
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    align-self: stretch !important;
    justify-self: stretch !important;
    width: 100% !important;
    height: auto !important;
    margin: 10px 0 0 !important;
    transform: none !important;
    z-index: 2200 !important;
  }

  body .site-header .inside-header #site-navigation .inside-navigation,
  body .site-header .inside-header #site-navigation .main-nav,
  body .site-header .inside-header #site-navigation .main-nav > ul {
    position: static !important;
    width: 100% !important;
  }
}

body .site-footer .uj-footer-contact-links a:hover,
body .site-footer .uj-footer-contact-links a:focus {
  color: #e4bd73 !important;
  text-decoration: underline !important;
}

@media (max-width: 768px) {
  body .site-footer .uj-footer-contact-links {
    align-items: center !important;
  }
}




