* {
  box-sizing: border-box;
}

:root {
  --site-header-height: 86px;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

body > main {
  flex: 1 0 auto;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* Sticky header alatt ne takaródjon el az anchor cél */
main [id],
section[id] {
  scroll-margin-top: calc(var(--site-header-height) + 4px);
}

/* Fontello kiegészítés */
[class^="icon-"]:before,
[class*=" icon-"]:before {
  margin: 0 !important;
}

.container {
  width: calc(100% - 1.5rem);
  margin-left: auto;
  margin-right: auto;
  z-index: 2;
  position: relative;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media only screen and (min-width: 576px) {
  .container {
    width: 540px;
  }
}
@media only screen and (min-width: 768px) {
  .container {
    width: 720px;
  }
}
@media only screen and (min-width: 992px) {
  .container {
    width: 960px;
  }
}
@media only screen and (min-width: 1200px) {
  .container {
    width: 1140px;
  }
}
@media only screen and (min-width: 1300px) {
  .container {
    width: 1280px;
  }
}
@media only screen and (min-width: 1400px) {
  .container {
    width: 1320px;
  }
}

/* Általános oldal / WooCommerce tartalom */
.content-area {
  padding: 48px 0 80px;
}

.content-header {
  margin-bottom: 28px;
}

.content-title {
  margin: 0;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  line-height: 1.2;
  color: #121212;
}

.content-intro {
  margin-top: 12px;
  color: #666;
  font-size: 1.05rem;
  line-height: 1.55;
}

.content-entry + .content-entry {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid #e5e7eb;
}

.content-entry-title {
  margin: 0 0 12px;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
}

.content-entry-title a {
  color: #121212;
  text-decoration: none;
}

.content-entry-title a:hover {
  color: var(--color-primary, #0050a1);
}

.content-body {
  color: #666;
  font-size: 1.05rem;
  line-height: 1.65;
}

.content-body > *:first-child {
  margin-top: 0;
}

.content-body > *:last-child {
  margin-bottom: 0;
}

.content-body h1,
.content-body h2,
.content-body h3,
.content-body h4,
.content-body strong {
  color: #121212;
  font-weight: 500;
}

.content-body a {
  color: var(--color-primary, #0050a1);
}

.woocommerce .content-area,
.woocommerce-page .content-area {
  padding-top: 40px;
}

