/* Hűségprogram — közös alapstílus (a korábbi Elementor + WPForms megjelenést követi) */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-size: 16px;
  line-height: 1.5;
  color: #333;
  background-color: #fff;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}
@media (min-width: 1025px) { body { background-attachment: fixed; } }
img { max-width: 100%; height: auto; display: block; }
a { color: #c36; text-decoration: none; }
a:hover { color: #336; }
p { margin: 0 0 .9rem; }
h1, h2, h3 { margin: 0; line-height: 1.2; }
[hidden] { display: none !important; }

.wrap { max-width: 1000px; margin: 0 auto; padding: 0 10px; }
.wrap-1024 { max-width: 1024px; margin: 0 auto; padding: 0 10px; }
.site-main { flex: 1 0 auto; }

/* ---------- Fejléc ---------- */
.site-header { background: #fff; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 66px; padding-top: 10px; padding-bottom: 10px; }
.logo img { width: 100px; max-height: 46px; object-fit: contain; object-position: left center; }
.site-nav { display: flex; }
.site-nav a {
  display: block;
  padding: 13px 20px;
  font-size: 14px;
  font-weight: 600;
  color: #7a7a7a;
  line-height: 20px;
}
.site-nav a:hover, .site-nav a.active { color: #afafaf; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 3px; margin: 4px 0; background: #555; border-radius: 2px; }

@media (max-width: 767px) {
  .menu-toggle { display: block; }
  .header-inner { flex-wrap: wrap; }
  .site-nav { display: none; width: 100%; flex-direction: column; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 10px 0; border-top: 1px solid #eee; }
}

/* ---------- Tartalmi dobozok (áttetsző fehér, a háttérkép felett) ---------- */
.box { background: rgba(255, 255, 255, .79); padding: 10px; }
.box-1024 { max-width: 1024px; margin: 0 auto; }
.box-1100 { max-width: 1100px; margin: 0 auto; }
.box-1140 { max-width: 1140px; margin: 0 auto; }
.page-heading { text-align: center; font-size: 30px; }

/* ---------- Feliratkozó űrlap (WPForms „classic” kinézet) ---------- */
.signup { padding: 15px 0 0; }
.signup .field { margin: 0 0 20px; padding: 0; border: 0; min-width: 0; }
.signup .row { display: flex; gap: 20px; }
.signup .half { flex: 1 1 0; min-width: 0; }
.signup label, .signup legend {
  display: block;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.3;
  margin: 0 0 4px;
  padding: 0;
  color: #333;
}
.signup .req { color: #ff0000; font-weight: 400; }
.signup input[type=text], .signup input[type=email], .signup input[type=tel], .signup select {
  display: block;
  width: 100%;
  height: 38px;
  padding: 6px 10px;
  font: inherit;
  font-size: 16px;
  color: #333;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 2px;
}
.signup input::placeholder { color: #999; }
.signup input:focus, .signup select:focus { border-color: #999; outline: none; box-shadow: 0 0 0 1px #999; }
.signup select.medium { max-width: 60%; }
.signup .date-row select { flex: 1 1 0; }
.signup .field-desc { font-size: 13px; line-height: 1.3; margin-top: 5px; }
.signup .field-html { margin: 0 0 20px; }
.signup .field-html p { margin: 0; }
.signup label.check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-weight: 400;
  margin: 0 0 6px;
  cursor: pointer;
}
.signup label.check input { margin: 5px 0 0; flex: 0 0 auto; }
.signup .choices-2col { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; }
.signup .consents label.check { margin-bottom: 15px; }
.signup .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.signup .has-error input, .signup .has-error select { border-color: #cc0000; }
.field-error { color: #990000; font-size: 15px; margin-top: 6px; }
.form-error { background: #f2dede; border: 1px solid #ebccd1; color: #a94442; padding: 10px 15px; margin-bottom: 20px; }
.btn-submit {
  font: inherit;
  font-size: 16px;
  padding: 10px 15px;
  color: #666;
  background: #eee;
  border: 1px solid #ddd;
  cursor: pointer;
}
.btn-submit:hover { background: #ddd; border-color: #ccc; }
.btn-submit[disabled] { opacity: .6; cursor: wait; }
.submit-row { padding: 10px 0 0; }

@media (max-width: 600px) {
  .signup .row { flex-direction: column; gap: 0; }
  .signup .date-row { flex-direction: row; gap: 8px; }
  .signup .choices-2col { grid-template-columns: 1fr; }
  .signup select.medium { max-width: 100%; }
}

/* ---------- Lábléc: közösségi ikonok ---------- */
.social { display: flex; gap: 5px; }
.social a { display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 50%; color: #fff; }
.social a:hover { opacity: .9; color: #fff; }
.social svg { width: 25px; height: 25px; }
.social-fb { background: #3b5998; }
.social-ig { background: #262626; }

.simple-page { padding: 30px 20px; }
.simple-page .page-heading { margin-bottom: 20px; }
