/*
 * Kávássy Biorezonancia – custom.css
 * Minden stílus ami a theme.json-ban nem fejezhető ki:
 * pozicionálás, ::before/::after, box-shadow, transition,
 * háttérképek, összetett komponensek, reszponzív.
 *
 * Forrás: index.html + theme.css (az igazság forrása)
 * WordPress FSE: assets/css/custom.css (functions.php tölti be)
 */

/* ── Google Fonts preconnect ──────────────────────────────────────
   A betűtípusokat functions.php tölti be, de a preconnect
   link az általános sebesség érdekében hasznos.
────────────────────────────────────────────────────────────────── */

/* ── Reset ────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

/* ── Base ─────────────────────────────────────────────────────── */
html { scroll-behavior: smooth; font-size: 112.5%; /* ~10% nagyobb szöveg: 1rem = 18px */ }

body {
  font-family: 'Montserrat', sans-serif;
  color: #1a2a3a;
  background: #ffffff;
  line-height: 1.7;
  margin: 0 !important;
  padding: 0 !important;
}

p { font-size: 1rem; }

/* ── Szekciók közti fehér gap eltüntetése ────────────────────── */
/* WordPress FSE blockGap (1rem) és default margin-t ad minden wp-site-blocks gyereknek */
.wp-site-blocks {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Ez a kulcsszabály: minden közvetlen gyerek (szekcióblokk + template-part) */
.wp-site-blocks > * {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.wp-block-group.alignfull,
.wp-block-template-part > .wp-block-group.alignfull {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Footer template-part wrapper — ez okozza a kapcsolat és footer közti fehér sávot */
footer.wp-block-template-part,
.wp-block-template-part[data-slug="footer"] {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Konkrét szekciók közti gap: hero → bemutatkozás */
.kavassy-hero,
.kavassy-bemutatkozas,
.kavassy-technologia,
.kavassy-kezeles,
.kavassy-arak,
.kavassy-kapcsolat,
.kavassy-footer {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Footer után nincs gap */
footer.kavassy-footer,
.wp-block-template-part[class*="footer"] {
  margin-bottom: 0 !important;
  padding-bottom: 1.8rem !important;
}


/* ══════════════════════════════════════════════════════════════
   NAVIGÁCIÓ  (wp:template-part → parts/header.html)
══════════════════════════════════════════════════════════════ */

.kavassy-header {
  position: fixed !important;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97) !important;
  border-bottom: 1px solid #d6eaff;
  height: 68px;
  box-shadow: 0 2px 12px rgba(21, 101, 192, 0.08);
  transition: box-shadow 0.2s;
  /* Padding biztosítása – WP override ellen */
  padding-left: 2rem !important;
  padding-right: 2rem !important;
}

/* wp:site-title */
.kavassy-header .wp-block-site-title a,
.kavassy-header .wp-block-site-title {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-size: 1.1rem !important;
  color: #1565c0 !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;
  text-decoration: none !important;
}

/* wp:navigation linkek */
.kavassy-header .wp-block-navigation a {
  color: #3d5166 !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  transition: color 0.2s !important;
}

.kavassy-header .wp-block-navigation a:hover {
  color: #1e88e5 !important;
}

/* Időpontfoglalás CTA gomb a navban */
.kavassy-header .wp-block-navigation .wp-block-navigation-item:last-child a {
  background: #1e88e5 !important;
  color: #ffffff !important;
  padding: 0.42rem 1rem !important;
  border-radius: 4px !important;
  transition: background 0.2s !important;
}

.kavassy-header .wp-block-navigation .wp-block-navigation-item:last-child a:hover {
  background: #1565c0 !important;
}

/* Mobil overlay menü – hamburger ikon fehér bg */
.kavassy-header .wp-block-navigation__responsive-container.is-menu-open {
  background: #ffffff !important;
  padding-top: 1rem;
}

.kavassy-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item a {
  color: #3d5166 !important;
  font-size: 1rem !important;
  text-align: center;
}

.kavassy-header .wp-block-navigation__responsive-container-open {
  color: #1565c0 !important;
}


/* ══════════════════════════════════════════════════════════════
   HERO SZEKCIÓ  (patterns/hero.php → kavassy-hero)
══════════════════════════════════════════════════════════════ */

.kavassy-hero {
  background: linear-gradient(135deg, #f0f8ff 0%, #e3f2fd 60%, #bbdefb 100%) !important;
  position: relative;
  overflow: hidden;
}

/* Hullám háttérkép overlay (::after) */
.kavassy-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.28;
  background-image: url('../images/wave.png');
  background-size: 100% auto;
  background-position: center bottom;
  background-repeat: no-repeat;
  pointer-events: none;
}

/* Tartalom a hullám fölé emelése */
.kavassy-hero > .wp-block-group {
  position: relative;
  z-index: 1;
}

/*
 * hero-text igazítás:
 * A WP constrained layout max-width:1100px + margin:auto-t ad a .hero-text-re.
 * Ez pontosan ugyanúgy helyezi el, mint a bemutatkozás .intro-grid columns blokkját.
 * NEM adjuk meg a max-width:720px-et ide, mert az eltolná jobbra a szöveget.
 * A bekezdések és a lead önálló max-width-del korlátozzák a szélességüket.
 */
.hero-text {
  /* A hero szöveg bal éle egybeesik a többi szekció bal élével,
     de nem terjed ki teljes 1100px-re – olvasható szélességű szövegoszlop */
  max-width: 680px !important;
  width: 100%;
  margin-left: 0 !important;
  margin-right: auto !important;
}

/* hero h1 italic rész */
.kavassy-hero h1 em {
  font-style: italic;
  color: #1e88e5;
}

/* hero-lead max-width */
.hero-lead { max-width: 520px; }

/* Mobil-sortörés: desktopom rejt */
.mobile-break { display: none; }


/* ══════════════════════════════════════════════════════════════
   BEMUTATKOZÁS SZEKCIÓ  (kavassy-bemutatkozas)
══════════════════════════════════════════════════════════════ */

.kavassy-bemutatkozas {
  background: linear-gradient(135deg, #ffffff 0%, #dbeeff 100%) !important;
}

/* Kétoszlopos elrendezés */
.intro-grid {
  display: grid !important;
  grid-template-columns: 340px 1fr !important;
  gap: 4rem !important;
  align-items: center !important;
}

/* Portré fotó */
.intro-photo img,
.kavassy-portret {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(21, 101, 192, 0.15);
  display: block;
}

/* Blockquote stílusozása */
.intro-content .wp-block-quote {
  font-family: 'Montserrat', sans-serif;
  font-style: italic;
  font-size: 1.1rem;
  color: #1565c0;
  border-left: 3px solid #c9a84c !important;
  padding-left: 1.2rem;
  margin: 1.4rem 0;
  line-height: 1.6;
  border-top: none;
  border-right: none;
  border-bottom: none;
}

.intro-content p { color: #3d5166; margin-bottom: 0.9rem; }


/* ══════════════════════════════════════════════════════════════
   CHECK LISTA  (.check-list)
══════════════════════════════════════════════════════════════ */

.check-list {
  list-style: none !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.35rem !important;
  padding: 0 !important;
  margin: 0 !important;
}

.check-list li {
  display: flex !important;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: #3d5166;
}

.check-list li::before {
  content: "✦";
  color: #1e88e5;
  font-size: 0.65rem;
  margin-top: 0.38rem;
  flex-shrink: 0;
}


/* ══════════════════════════════════════════════════════════════
   TECHNOLÓGIA / SQUID SZEKCIÓ  (kavassy-technologia)
══════════════════════════════════════════════════════════════ */

.kavassy-technologia {
  background: #ffffff !important;
}

/* Rács */
.squid-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 4rem !important;
  align-items: center !important;
}

/* Sötét kártya */
.squid-visual {
  background: linear-gradient(145deg, #0d2f5c, #1565c0) !important;
  border-radius: 16px;
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* SVG hullám dekoráció a squid-visual-ban */
.squid-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 300'%3E%3Cg stroke='%2342a5f5' stroke-width='0.8' fill='none' opacity='0.3'%3E%3Cpath d='M0,150 C50,80 100,220 150,150 C200,80 250,220 300,150 C350,80 380,120 400,110'/%3E%3Cpath d='M0,170 C60,100 120,240 180,170 C240,100 300,240 360,170 C390,120 400,140 400,130'/%3E%3Cpath d='M0,130 C40,60 100,200 160,130 C220,60 280,200 340,130 C370,80 395,100 400,90'/%3E%3C/g%3E%3C/svg%3E");
  background-size: cover;
  pointer-events: none;
}

.squid-visual .wp-block-heading,
.squid-visual h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.35rem;
  line-height: 1.3;
  margin-bottom: 0.8rem;
  position: relative;
  z-index: 1;
  color: #ffffff !important;
}

.squid-visual p { position: relative; z-index: 1; }

.squid-visual .squid-tech {
  position: relative;
  z-index: 1;
  align-items: center !important;  /* tech badge-ek vízszintesen középre */
}

/* Tech item badge-ek */
.tech-item {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 0.55rem 1rem;
  font-size: 0.83rem;
  text-align: center;
  color: #ffffff;
  margin: 0 !important;
}

.squid-text p { color: #3d5166; margin-bottom: 0.9rem; }


/* ══════════════════════════════════════════════════════════════
   KEZELÉS SZEKCIÓ  (kavassy-kezeles)
══════════════════════════════════════════════════════════════ */

.kavassy-kezeles {
  background-color: #e3f2fd !important;
  position: relative;
  overflow: hidden;
}

/* Hullám háttérkép overlay */
.kavassy-kezeles::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/wave.png');
  background-size: 100% auto;
  background-position: center bottom;
  background-repeat: no-repeat;
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}

.kavassy-kezeles > .wp-block-group {
  position: relative;
  z-index: 1;
}

/* Kezelés rács */
.kezeles-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 4rem !important;
  align-items: start !important;
}

/* Folyamatlépések */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.step-num {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: #1e88e5;
  color: #ffffff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 0.82rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.step-text strong {
  display: block;
  color: #1565c0;
  font-size: 0.92rem;
}

.step-text span {
  font-size: 0.83rem;
  color: #6a8099;
}

/* Indikáció lista */
.indication-list {
  list-style: none !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.45rem !important;
  padding: 0 !important;
  margin-bottom: 1.5rem !important;
}

.indication-list li {
  font-size: 0.9rem;
  color: #3d5166;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.indication-list li::before {
  content: "–";
  color: #42a5f5;
  font-weight: 700;
  flex-shrink: 0;
}

/* Csoda box */
.csoda-box {
  background: linear-gradient(135deg, #1565c0, #1e88e5) !important;
  color: #ffffff;
  border-radius: 14px;
  text-align: center;
  max-width: 860px;
  margin-left: auto !important;
  margin-right: auto !important;
}


/* ══════════════════════════════════════════════════════════════
   ÁRAK SZEKCIÓ  (kavassy-arak)
══════════════════════════════════════════════════════════════ */

.kavassy-arak {
  background: #ffffff !important;
}

.arak-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 4rem !important;
  align-items: start !important;
}

/* Árkártyák */
.price-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.price-card {
  background: #f0f8ff;
  border-radius: 12px;
  padding: 1.4rem 1.6rem;
  border: 1px solid #c8e0f8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.price-card.featured {
  border-color: #1e88e5;
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(30, 136, 229, 0.10);
}

.price-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1a2a3a;
  margin-bottom: 0.15rem;
  font-family: 'Montserrat', sans-serif;
}

.price-card .duration {
  font-size: 0.8rem;
  color: #6a8099;
}

.price-card .price {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  color: #1565c0;
  white-space: nowrap;
}

.price-note {
  font-size: 0.86rem;
  color: #6a8099;
  margin-top: 1rem;
  line-height: 1.65;
}

.price-note strong { color: #1565c0; }

/* Ígéretek */
.promises {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.promise-item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}

.promise-line {
  width: 3px;
  background: #e3f2fd;
  border-radius: 2px;
  flex-shrink: 0;
  align-self: stretch;
  min-height: 40px;
}

.promise-item h3 {
  font-size: 0.93rem;
  color: #1565c0;
  font-weight: 700;
  margin-bottom: 0.2rem;
  font-family: 'Montserrat', sans-serif;
}

.promise-item p {
  font-size: 0.9rem;
  color: #3d5166;
  line-height: 1.6;
  margin: 0;
}


/* ══════════════════════════════════════════════════════════════
   KAPCSOLAT SZEKCIÓ  (kavassy-kapcsolat)
══════════════════════════════════════════════════════════════ */

.kavassy-kapcsolat {
  background: linear-gradient(135deg, #0d2f5c 0%, #1565c0 100%) !important;
  color: #ffffff;
}

.kapcsolat-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 4rem !important;
  align-items: start !important;
}

/* Elérhetőség blokk */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-bottom: 1.8rem;
}

.contact-row strong {
  display: block;
  color: #ffffff;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-row span,
.contact-row a {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.contact-row a:hover { color: #42a5f5; }

/* Kapcsolat form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.65);
}

.form-group input,
.form-group textarea,
.form-group select {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  padding: 0.72rem 1rem;
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.93rem;
  outline: none;
  transition: border 0.2s;
  width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.38);
}

.form-group select option { background: #1565c0; }

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: #42a5f5;
}

.form-group textarea {
  resize: vertical;
  min-height: 90px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

/* Fehér gomb (form submit) */
.btn-white {
  background: #ffffff;
  color: #1565c0;
  padding: 0.82rem 2rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.93rem;
  border: none;
  cursor: pointer;
  width: 100%;
  margin-top: 0.3rem;
  transition: background 0.2s, transform 0.15s;
  font-family: 'Montserrat', sans-serif;
}

.btn-white:hover {
  background: #e3f2fd;
  transform: translateY(-1px);
}


/* ══════════════════════════════════════════════════════════════
   FOOTER  (parts/footer.html)
══════════════════════════════════════════════════════════════ */

.kavassy-footer {
  background: #091e3a !important;
  color: rgba(255, 255, 255, 0.5) !important;
  text-align: center;
  font-size: 0.8rem;
}

.kavassy-footer a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  margin: 0 0.5rem;
}

.kavassy-footer a:hover { color: #42a5f5; }

.kavassy-footer p { color: rgba(255, 255, 255, 0.5) !important; }

/* Jogi nyilatkozat – egy sorban maradjon asztali nézetben */
@media (min-width: 768px) {
  .kavassy-footer p:last-child {
    white-space: nowrap;
    font-size: 0.72rem;
  }
}


/* ══════════════════════════════════════════════════════════════
   PAGE SABLON  (templates/page.html)
══════════════════════════════════════════════════════════════ */

/* Oldal-cím sáv */
.kavassy-page-hero {
  background: linear-gradient(135deg, #f0f8ff 0%, #e3f2fd 60%, #bbdefb 100%) !important;
  position: relative;
  overflow: hidden;
}

.kavassy-page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/wave.png');
  background-size: 100% auto;
  background-position: center bottom;
  background-repeat: no-repeat;
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
}

.kavassy-page-hero > .wp-block-group {
  position: relative;
  z-index: 1;
}

/* Oldal tartalom – prózafolyam */
.wp-block-post-content {
  background: #ffffff;
}

.wp-block-post-content h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  color: #1565c0;
  margin: 2rem 0 0.6rem;
  line-height: 1.3;
}

.wp-block-post-content h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #1565c0;
  margin: 1.5rem 0 0.4rem;
}

.wp-block-post-content p { color: #3d5166; margin-bottom: 1rem; }

.wp-block-post-content ul { margin: 0.5rem 0 1rem 1.4rem; color: #3d5166; }
.wp-block-post-content ul li { margin-bottom: 0.3rem; }

.wp-block-post-content a { color: #1e88e5; text-decoration: underline; }
.wp-block-post-content a:hover { color: #1565c0; }

.wp-block-post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.93rem;
}

.wp-block-post-content th {
  background: #f0f8ff;
  color: #1565c0;
  font-weight: 700;
  padding: 0.7rem 1rem;
  text-align: left;
  border-bottom: 2px solid #c8e0f8;
}

.wp-block-post-content td {
  padding: 0.6rem 1rem;
  border-bottom: 1px solid #e3f2fd;
  color: #3d5166;
}


/* ══════════════════════════════════════════════════════════════
   GOMBOK  (wp:button)
══════════════════════════════════════════════════════════════ */

.wp-block-button__link {
  transition: background 0.2s, transform 0.15s !important;
}

.wp-block-button__link:hover {
  transform: translateY(-1px);
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
  background: #1e88e5 !important;
  color: #ffffff !important;
}


/* ══════════════════════════════════════════════════════════════
   RESZPONZÍV  (max-width: 900px)
══════════════════════════════════════════════════════════════ */

@media (max-width: 900px) {

  /* Rácsok stacking */
  .intro-grid,
  .squid-grid,
  .kezeles-grid,
  .arak-grid,
  .kapcsolat-grid {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }

  /* Mobilon a fotó alulra kerül */
  .intro-photo  { order: 2; }
  .intro-content { order: 1; }

  /* Form – egy oszlop */
  .form-row { grid-template-columns: 1fr !important; }

  /* Csoda box padding */
  .csoda-box { padding: 2rem 1.5rem !important; }

  /* Hero sortörés mobilon látható */
  .mobile-break { display: block; }

  /* Navigáció mobilon */
  .kavassy-header .wp-block-navigation__responsive-container.is-menu-open {
    background: rgba(255, 255, 255, 0.98) !important;
  }
}

@media (max-width: 600px) {
  .price-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}


/* ══════════════════════════════════════════════════════════════
   VISSZAJELZÉSEK  (.kavassy-visszajelzesek)
══════════════════════════════════════════════════════════════ */

.kavassy-visszajelzesek {
  background-color: #f0f8ff;
}

.testimonial {
  background: #ffffff;
  border-radius: 12px;
  padding: 2rem 2rem 1.6rem;
  box-shadow: 0 2px 16px rgba(30, 136, 229, 0.08);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
}

.testimonial-stars {
  color: #f9a825;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
}

.testimonial-text {
  margin: 0;
  padding: 0;
  border: none;
  font-style: italic;
  color: #3d5166;
  line-height: 1.7;
  font-size: 0.97rem;
}

.testimonial-author {
  font-weight: 700;
  color: #1e88e5;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  margin-top: auto;
}

.testimonial-card {
  display: flex;
}

@media (max-width: 900px) {
  .testimonial-card {
    width: 100%;
  }
}


/* ══════════════════════════════════════════════════════════════
   EREDMÉNYEK  (.kavassy-eredmenyek) – előtte-utána képek
══════════════════════════════════════════════════════════════ */

.kavassy-eredmenyek {
  background-color: #f8fbff;
}

.eredmeny-card {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 20px rgba(21, 101, 192, 0.08);
  border: 1px solid #d6eaff;
  display: flex;
  flex-direction: column;
}

/* Cover-alapú előtte-utána rács (0 gap a két kép között) */
.elotte-utana-cover-grid {
  gap: 0 !important;
  margin: 0 !important;
}

.elotte-utana-cover-grid .kep-oszlop {
  padding: 0 !important;
  flex-basis: 50% !important;
  flex-grow: 0 !important;
}

/* Cover blokk a képterületen */
.eredmeny-card .kep-cover {
  min-height: 220px !important;
  margin: 0 !important;
  border-radius: 0 !important;
  width: 100%;
}

.eredmeny-card .kep-cover .wp-block-cover__image-background {
  object-fit: cover;
}

/* Előtte/Utána felirat a cover bal felső sarkában */
.eredmeny-card .kep-cover .wp-block-cover__inner-container {
  position: absolute !important;
  top: 8px !important;
  left: 8px !important;
  width: auto !important;
  max-width: none !important;
  padding: 0 !important;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
}

/* Felirat badge */
.kep-cimke-wp {
  background: rgba(21, 101, 192, 0.85) !important;
  color: #ffffff !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  padding: 0.22rem 0.55rem !important;
  border-radius: 4px !important;
  display: inline-block !important;
  margin: 0 !important;
  line-height: 1.4 !important;
}

.eredmeny-leiras {
  padding: 1.2rem 1.5rem;
}

.eredmeny-cim {
  font-weight: 700;
  color: #1565c0;
  font-size: 0.92rem;
  margin-bottom: 0.4rem !important;
}

.eredmeny-szoveg {
  font-size: 0.85rem;
  color: #3d5166;
  line-height: 1.6;
  margin: 0 !important;
}

/* "További esetek" gomb */
.btn-tovabbi-esetek {
  background: #1e88e5;
  color: #ffffff;
  border: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.75rem 1.8rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-tovabbi-esetek:hover {
  background: #1565c0;
  transform: translateY(-1px);
}

.toggle-arrow {
  font-size: 0.75rem;
  transition: transform 0.3s;
}

/* Esetleírás kártyák (1 kép + szöveg) */
.eset-card {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(21, 101, 192, 0.07);
  border: 1px solid #d6eaff;
}

.eset-card .eset-kep {
  margin: 0 !important;
}

.eset-card .eset-kep img {
  width: 100% !important;
  height: 240px !important;
  object-fit: cover !important;
  display: block !important;
  border-radius: 0 !important;
}

.eset-leiras {
  padding: 1.2rem 1.5rem;
}

/* ── Contact Form 7 – javított szelektorok ──────────────────── */

#kapcsolat .wpcf7-form p {
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

#kapcsolat .wpcf7-form label {
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  color: rgba(255,255,255,0.65) !important;
  display: block !important;
}

#kapcsolat .wpcf7-form input[type="text"],
#kapcsolat .wpcf7-form input[type="email"],
#kapcsolat .wpcf7-form input[type="tel"],
#kapcsolat .wpcf7-form select,
#kapcsolat .wpcf7-form textarea {
  background: rgba(255,255,255,0.1) !important;
  border: 1px solid rgba(255,255,255,0.22) !important;
  border-radius: 6px !important;
  padding: 0.72rem 1rem !important;
  color: #ffffff !important;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 0.93rem !important;
  width: 100% !important;
  box-sizing: border-box !important;
  outline: none !important;
}

#kapcsolat .wpcf7-form input::placeholder,
#kapcsolat .wpcf7-form textarea::placeholder {
  color: rgba(255,255,255,0.38) !important;
}

#kapcsolat .wpcf7-form select option {
  background: #1565c0 !important;
  color: #ffffff !important;
}

#kapcsolat .wpcf7-form input:focus,
#kapcsolat .wpcf7-form select:focus,
#kapcsolat .wpcf7-form textarea:focus {
  border-color: #42a5f5 !important;
}

#kapcsolat .wpcf7-form textarea {
  resize: vertical !important;
}

#kapcsolat .wpcf7-form input[type="submit"] {
  background: #ffffff !important;
  color: #1565c0 !important;
  border: none !important;
  border-radius: 6px !important;
  padding: 0.82rem 2rem !important;
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 700 !important;
  font-size: 0.93rem !important;
  width: 100% !important;
  cursor: pointer !important;
  margin-top: 0.5rem !important;
  transition: background 0.2s !important;
}

#kapcsolat .wpcf7-form input[type="submit"]:hover {
  background: #e3f2fd !important;
}

#kapcsolat .wpcf7-response-output {
  border: none !important;
  border-radius: 6px !important;
  padding: 0.8rem 1rem !important;
  font-size: 0.9rem !important;
  margin-top: 0.5rem !important;
  color: #ffffff !important;
  background: rgba(255,255,255,0.12) !important;
}
#kapcsolat .wpcf7-form textarea {
  min-height: 0 !important;
  height: 72px !important;
  max-height: 72px !important;
}

#kapcsolat .wpcf7-form .wpcf7-acceptance a {
  color: #64b5f6 !important;
  text-decoration: underline !important;
}