/* =========================================================
   BUTEYKO - ONLINE ALVÁS ELŐADÁS OLDAL
   ========================================================= */

.bf-sleep-event,
.bf-sleep-event * {
  box-sizing: border-box;
}

.bf-sleep-event {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  font-family: 'Lato', sans-serif;
  color: #152018;
  background: #ffffff;
}

.entry-content .bf-sleep-event p {
  margin-bottom: 0;
}

/* ===== HERO ===== */

.bf-sleep-hero {
  width: 100%;
  padding: 86px 20px;
  background:
    linear-gradient(135deg, rgba(21, 32, 24, 0.90), rgba(92, 120, 0, 0.72)),
    url("/wp-content/uploads/2026/04/boldog_02.jpg") center/cover no-repeat;
  color: #ffffff;
}

.bf-sleep-hero-inner {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 52px;
  align-items: center;
}

.bf-sleep-hero-actions-box {
  padding: 34px;
  border-radius: 28px;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.26);
  box-shadow: 0 24px 70px rgba(0,0,0,0.22);
  backdrop-filter: blur(8px);
}

.bf-sleep-kicker {
  pointer-events: none;
  cursor: default;
}

.bf-sleep-hero h1 {
  margin: 0 0 16px;
  font-family: 'Marcellus', serif;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.05;
  color: #ffffff;
}

.bf-sleep-hero h2 {
  margin: 0 0 24px;
  max-width: 760px;
  font-family: 'Marcellus', serif;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.2;
  color: rgba(255,255,255,0.95);
}

.bf-sleep-hero p {
  max-width: 760px;
  margin: 0 0 20px !important;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255,255,255,0.92);
}

.bf-sleep-lead {
  font-size: 21px !important;
  font-weight: 700;
}

.bf-sleep-date {
  display: inline-flex;
  margin: 12px 0 28px;
  padding: 12px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.28);
  color: #ffffff;
  font-size: 18px;
  font-weight: 900;
}

.bf-sleep-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.bf-sleep-btn,
.bf-sleep-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 15px 30px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none !important;
  transition: all 0.24s ease;
}

.bf-sleep-btn {
  background: linear-gradient(135deg, #7fa200 0%, #5f8400 100%);
  color: #ffffff !important;
  box-shadow: 0 16px 34px rgba(127,162,0,0.34);
}

.bf-sleep-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(127,162,0,0.42);
}

.bf-sleep-btn-secondary {
  background: rgba(255,255,255,0.14);
  color: #ffffff !important;
  border: 1px solid rgba(255,255,255,0.32);
}

.bf-sleep-btn-secondary:hover {
  background: rgba(255,255,255,0.22);
  transform: translateY(-2px);
}

.bf-sleep-hero-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 30px;
  box-shadow: 0 26px 70px rgba(0,0,0,0.28);
  border: 1px solid rgba(255,255,255,0.2);
}

/* ===== SZEKCIÓK ===== */

.bf-sleep-section {
  width: 100%;
  padding: 76px 20px;
}

.bf-sleep-section:nth-of-type(odd) {
  background: #ffffff;
}

.bf-sleep-section:nth-of-type(even) {
  background: #f7faf0;
}

.bf-sleep-content {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
}

.bf-sleep-content h2 {
  margin: 0 0 28px;
  font-family: 'Marcellus', serif;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.18;
  color: #152018;
}

.bf-sleep-content h3 {
  margin: 0 0 12px;
  font-size: 21px;
  line-height: 1.35;
  color: #152018;
}

.bf-sleep-content p {
  max-width: 920px;
  margin: 0 0 22px !important;
  font-size: 18px;
  line-height: 1.75;
  color: rgba(21,32,24,0.86);
}

.bf-sleep-content a {
  color: #6f9200;
  font-weight: 800;
}

/* ===== INTRO / WARNING ===== */

.bf-sleep-intro .bf-sleep-content {
  padding: 42px;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid rgba(127,162,0,0.14);
  box-shadow: 0 18px 50px rgba(21,32,24,0.08);
}

.bf-sleep-warning-grid,
.bf-sleep-check-grid,
.bf-sleep-topic-grid,
.bf-sleep-mistake-grid {
  display: grid;
  gap: 22px;
}

.bf-sleep-warning-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 30px 0;
}

.bf-sleep-warning-grid div {
  padding: 22px;
  border-radius: 20px;
  background: #fff7f0;
  border: 1px solid rgba(190,82,20,0.18);
  color: #5b2a11;
  font-size: 16px;
  font-weight: 900;
}

.bf-sleep-warning-grid div::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 10px;
  border-radius: 50%;
  background: #7fa200;
}

/* ===== KINEK SZÓL ===== */

.bf-sleep-check-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 30px 0;
}

.bf-sleep-check-grid div {
  padding: 24px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid rgba(127,162,0,0.16);
  box-shadow: 0 14px 36px rgba(21,32,24,0.07);
  font-size: 16px;
  line-height: 1.6;
}

.bf-sleep-check-grid div::before {
  content: "✔";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  margin-right: 8px;
  border-radius: 999px;
  background: #7fa200;
  color: #ffffff;
  font-weight: 900;
}

.bf-sleep-list {
  max-width: 980px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

.bf-sleep-list li {
  position: relative;
  margin-bottom: 16px;
  padding-left: 34px;
  font-size: 17px;
  line-height: 1.7;
  color: rgba(21,32,24,0.88);
}

.bf-sleep-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: #7fa200;
}

/* ===== SPEAKER ===== */

.bf-sleep-speaker-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 46px;
  align-items: center;
}

.bf-sleep-speaker-image img {
  display: block;
  width: 100%;
  max-width: 320px;
  border-radius: 28px;
  box-shadow: 0 22px 56px rgba(21,32,24,0.16);
}

.bf-sleep-speaker-text {
  padding: 38px;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid rgba(127,162,0,0.14);
  box-shadow: 0 18px 50px rgba(21,32,24,0.08);
}

/* ===== 3 HIBA ===== */

.bf-sleep-mistake-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 30px 0;
}

.bf-sleep-card,
.bf-sleep-topic-grid div,
.bf-sleep-faq-item,
.bf-sleep-info-box {
  background: #ffffff;
  border-radius: 22px;
  border: 1px solid rgba(127,162,0,0.16);
  box-shadow: 0 14px 36px rgba(21,32,24,0.07);
}

.bf-sleep-card {
  padding: 30px 26px;
}

.bf-sleep-card h3 {
  color: #6f9200;
}

.bf-sleep-card p {
  margin-bottom: 0 !important;
  font-size: 16px;
}

/* ===== TÉMÁK ===== */

.bf-sleep-topic-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 30px 0 34px;
}

.bf-sleep-topic-grid div {
  padding: 26px;
  font-size: 17px;
  line-height: 1.6;
  font-weight: 800;
}

/* ===== FAQ ===== */

.bf-sleep-faq-item {
  padding: 28px;
  margin-bottom: 18px;
}

.bf-sleep-faq-item:last-child {
  margin-bottom: 0;
}

.bf-sleep-faq-item p {
  margin-bottom: 0 !important;
}

/* ===== CTA ===== */

.bf-sleep-cta {
  width: 100%;
  padding: 88px 20px;
  background: linear-gradient(135deg, #152018 0%, #4f6f00 100%);
  color: #ffffff;
  text-align: center;
}

.bf-sleep-cta-inner {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
}

.bf-sleep-cta h2 {
  margin: 0 0 26px;
  font-family: 'Marcellus', serif;
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.15;
  color: #ffffff;
}

.bf-sleep-cta p {
  max-width: 780px;
  margin: 0 auto 22px !important;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255,255,255,0.92);
}

.bf-sleep-maxbutton {
  margin: 34px auto;
  text-align: center;
}

.bf-sleep-info-box {
  margin-top: 36px;
  padding: 34px;
  text-align: left;
  background: rgba(255,255,255,0.96);
}

.bf-sleep-info-box p {
  max-width: 100%;
  margin: 0 0 18px !important;
  color: rgba(21,32,24,0.88);
}

.bf-sleep-info-box p:last-child {
  margin-bottom: 0 !important;
}

.bf-sleep-info-box a {
  color: #6f9200;
  font-weight: 800;
}

/* ===== WP / ASTRA ÜRES TÉRKÖZ JAVÍTÁS ===== */

.bf-sleep-event + p,
.bf-sleep-event + br,
.entry-content > p:empty {
  display: none !important;
}

/* ===== MOBIL ===== */

@media (max-width: 980px) {
  .bf-sleep-hero {
    padding: 70px 18px;
  }

  .bf-sleep-hero-inner,
  .bf-sleep-speaker-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .bf-sleep-hero-image {
    order: -1;
  }

  .bf-sleep-section {
    padding: 56px 18px;
  }

  .bf-sleep-warning-grid,
  .bf-sleep-check-grid,
  .bf-sleep-topic-grid,
  .bf-sleep-mistake-grid {
    grid-template-columns: 1fr;
  }

  .bf-sleep-intro .bf-sleep-content,
  .bf-sleep-speaker-text {
    padding: 28px 22px;
    border-radius: 24px;
  }

  .bf-sleep-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .bf-sleep-btn,
  .bf-sleep-btn-secondary {
    width: 100%;
  }

  .bf-sleep-content p,
  .bf-sleep-cta p {
    font-size: 16px;
  }

  .bf-sleep-info-box {
    padding: 24px 20px;
  }
}
/* ===== SLEEP HERO VÉGLEGES ===== */

.bf-sleep-hero {
  min-height: 650px !important;
  display: flex !important;
  align-items: center !important;
  padding: 78px 20px 88px !important;
  background:
    linear-gradient(135deg, rgba(21, 32, 24, 0.90), rgba(92, 120, 0, 0.72)),
    url("/wp-content/uploads/2026/04/boldog_02.jpg") center/cover no-repeat !important;
}

.bf-sleep-hero-inner {
  width: 100% !important;
  max-width: 1120px !important;
  margin: 0 auto !important;
  display: grid !important;
  grid-template-columns: 1.2fr 0.8fr !important;
  gap: 70px !important;
  align-items: center !important;
}

.bf-sleep-kicker {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 0 16px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  pointer-events: none !important;
}

.bf-sleep-hero-cta {
  display: flex !important;
  justify-content: flex-end !important;
}

.bf-sleep-hero-actions-box {
  width: 100% !important;
  max-width: 340px !important;
  padding: 30px !important;
  border-radius: 24px !important;
  background: rgba(28, 42, 24, 0.82) !important;
  border: 1px solid rgba(255,255,255,0.18) !important;
  box-shadow: 0 22px 55px rgba(0,0,0,0.24) !important;
  backdrop-filter: blur(5px) !important;
}

.bf-sleep-date {
  display: block !important;
  margin: 0 0 18px !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: #ffffff !important;
  font-size: 16px !important;
  line-height: 1.35 !important;
  font-weight: 800 !important;
  text-align: center !important;
  white-space: normal !important;
}

.bf-sleep-actions {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.bf-sleep-actions br,
.bf-sleep-actions p {
  display: none !important;
}

.bf-sleep-actions a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 48px !important;
  margin: 0 !important;
  padding: 12px 20px !important;
  line-height: 1.2 !important;
  font-size: 15px !important;
}

@media (max-width: 980px) {
  .bf-sleep-hero {
    min-height: auto !important;
    padding: 64px 18px !important;
  }

  .bf-sleep-hero-inner {
    grid-template-columns: 1fr !important;
    gap: 34px !important;
  }

  .bf-sleep-hero-cta {
    justify-content: flex-start !important;
  }

  .bf-sleep-hero-actions-box {
    max-width: 100% !important;
  }
}