/*
 * Blog-tartalmi alapstílusok.
 * A bejegyzés HTML-je a .blog-content konténerbe kerül, ezért ezek a szabályok
 * nem befolyásolják az oldal navigációját, láblécét vagy más komponenseit.
 */
.blog-content {
  color: #244331;
  font-size: 1.125rem;
  line-height: 1.8;
}

.blog-content > :first-child,
.blog-content article > :first-child {
  margin-top: 0;
}

.blog-content p {
  margin: 1.25rem 0;
}

.blog-content h2,
.blog-content h3,
.blog-content h4 {
  color: #092f20;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.2;
  scroll-margin-top: 6.5rem;
}

.blog-content h2 {
  margin: 3.25rem 0 1rem;
  font-size: clamp(1.65rem, 3vw, 2.15rem);
}

.blog-content h3 {
  margin: 2.5rem 0 0.75rem;
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
}

.blog-content h4 {
  margin: 2rem 0 0.5rem;
  font-size: 1.2rem;
}

.blog-content ul,
.blog-content ol {
  margin: 1.5rem 0;
  padding-left: 1.5rem;
}

.blog-content ul {
  list-style: disc;
}

.blog-content ol {
  list-style: decimal;
}

.blog-content li {
  padding-left: 0.35rem;
}

.blog-content li + li {
  margin-top: 0.55rem;
}

.blog-content li::marker {
  color: #38694a;
  font-weight: 800;
}

.blog-content li > ul,
.blog-content li > ol {
  margin: 0.55rem 0 0;
}

.blog-content a:not(.cta-button) {
  color: #2d533c;
  font-weight: 700;
  text-decoration-line: underline;
  text-decoration-color: #70a17f;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  transition: color 150ms ease, text-decoration-color 150ms ease;
}

.blog-content a:not(.cta-button):hover {
  color: #092f20;
  text-decoration-color: currentColor;
}

.blog-content a:focus-visible {
  border-radius: 0.15rem;
  outline: 3px solid #f2cd00;
  outline-offset: 3px;
}

.blog-content strong {
  color: #092f20;
  font-weight: 800;
}

.blog-content blockquote {
  margin: 2rem 0;
  border-left: 4px solid #70a17f;
  background: #f2f7f3;
  padding: 1.25rem 1.5rem;
  color: #2d533c;
  font-weight: 600;
}

.blog-content hr {
  margin: 2.75rem 0;
  border: 0;
  border-top: 1px solid #c5dccb;
}

.blog-content img {
  display: block;
  width: 100%;
  height: auto;
  margin: 2rem 0;
  border-radius: 0.25rem;
}

/* Használható a bejegyzések lezárásában: <a class="cta-button" ...>. */
.blog-content .cta-button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.25rem;
  background: #244331;
  padding: 0.7rem 1.1rem;
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 4px 6px hsl(0 0% 0% / 0.2);
  transition: background-color 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}

.blog-content .cta-button:hover {
  background: #092f20;
  box-shadow: 0 8px 16px hsl(146 51% 12% / 0.18);
  transform: translateY(-1px);
}

/* Opcionális, szerkesztőben megadott ügyféltapasztalat vagy esettanulmány. */
.blog-experience {
  position: relative;
  isolation: isolate;
  margin-top: 5.5rem;
  overflow: hidden;
  border: 1px solid #244331;
  border-radius: 0.75rem;
  background: #092f20;
  padding: clamp(1.75rem, 4vw, 3rem);
  box-shadow: 0 18px 36px hsl(146 51% 12% / 0.18);
}

.blog-experience::before {
  position: absolute;
  z-index: 0;
  top: -3.8rem;
  right: 1rem;
  color: #70a17f;
  content: '\201C';
  font-family: Georgia, serif;
  font-size: 13rem;
  font-weight: 700;
  line-height: 1;
  opacity: 0.22;
}

.blog-experience__header {
  position: relative;
  z-index: 1;
  margin-bottom: 1.75rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid rgb(255 255 255 / 0.22);
}

.blog-experience__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  background: #f2cd00;
  padding: 0.38rem 0.7rem;
  color: #092f20;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-experience h2 {
  max-width: 28rem;
  margin: 0.9rem 0 0;
  color: #ffffff;
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.blog-experience__content {
  position: relative;
  z-index: 1;
  color: #edf5ef;
}

.blog-experience__content > :last-child {
  margin-bottom: 0;
}

.blog-experience__content strong {
  color: #ffffff;
}

.blog-experience__content a:not(.cta-button) {
  color: #f2cd00;
}

.blog-experience__content blockquote {
  border-left-color: #f2cd00;
  background: rgb(255 255 255 / 0.08);
  color: #ffffff;
}

@media (max-width: 640px) {
  .blog-content {
    font-size: 1rem;
    line-height: 1.75;
  }

  .blog-content h2 {
    margin-top: 2.5rem;
  }

  .blog-experience {
    margin-top: 4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .blog-content a,
  .blog-content .cta-button {
    transition: none;
  }
}
