/**
 * Shared blog body style (tuinfeest look) for all single-blog posts.
 * Hero stays in the theme; this styles .flexible_content.cg-article / .cg-tuinfeest.
 */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Mulish:wght@400;500;600;700&display=swap');

.single-blog .flexible_content.cg-article,
.cg-tuinfeest {
  --cg-ink: #221c17;
  --cg-soft: #4a4038;
  --cg-paper: #f7f2ea;
  --cg-surface: #fffdf9;
  --cg-glow: #d99321;
  --cg-glow-deep: #b8791a;
  --cg-ember: #2a201a;
  --cg-line: #e4d9c8;

  max-width: 820px;
  margin: 0 auto;
  padding: 28px 28px 32px;
  color: var(--cg-ink);
  font-family: 'Mulish', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 19px;
  line-height: 1.85;
  background: var(--cg-surface);
  border: 1px solid var(--cg-line);
  border-radius: 20px;
  box-shadow: 0 18px 40px -24px rgba(34, 28, 23, 0.55);
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
}

.single-blog .flexible_content.cg-article *,
.cg-tuinfeest * {
  box-sizing: border-box;
}

/* ---- Eyebrow / lede (tuinfeest markup) ---- */
.cg-eyebrow {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 13px;
  font-weight: 600;
  color: var(--cg-glow-deep);
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.cg-eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--cg-glow);
  box-shadow: 0 0 10px 1px rgba(217, 147, 33, 0.6);
}

.single-blog .flexible_content.cg-article h1,
.cg-tuinfeest h1 {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: clamp(30px, 5.4vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 22px;
  color: var(--cg-ink);
}

.cg-lede {
  font-size: 21px;
  line-height: 1.75;
  color: var(--cg-soft);
  margin: 0 0 18px;
}

.single-blog .flexible_content.cg-article p,
.cg-tuinfeest p {
  margin: 0 0 22px;
  color: var(--cg-ink);
}

/* ---- Headings ---- */
.single-blog .flexible_content.cg-article h2,
.cg-tuinfeest h2,
.single-blog .flexible_content.cg-article .contentinfo h2 {
  font-family: 'Oswald', sans-serif !important;
  font-weight: 500;
  font-size: clamp(23px, 3.6vw, 30px) !important;
  line-height: 1.2;
  color: var(--cg-ink) !important;
  margin: 48px 0 16px;
  position: relative;
  padding-bottom: 12px;
  border-bottom: none !important;
  width: auto;
  max-width: 100%;
  letter-spacing: 0;
  text-transform: none;
}

.single-blog .flexible_content.cg-article h2::after,
.cg-tuinfeest h2::after,
.single-blog .flexible_content.cg-article .contentinfo h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--cg-glow), rgba(217, 147, 33, 0));
  box-shadow: 0 0 12px 1px rgba(217, 147, 33, 0.55);
}

.single-blog .flexible_content.cg-article h3,
.cg-tuinfeest h3,
.single-blog .flexible_content.cg-article .contentinfo h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.35rem;
  margin-top: 28px;
  margin-bottom: 10px;
  color: var(--cg-ink);
}

/* ---- Links ---- */
.single-blog .flexible_content.cg-article a,
.cg-tuinfeest a {
  color: var(--cg-glow-deep);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1.5px solid rgba(217, 147, 33, 0.35);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.single-blog .flexible_content.cg-article a:hover,
.cg-tuinfeest a:hover {
  color: var(--cg-ink);
  border-bottom-color: var(--cg-glow);
}

/* ---- Images ---- */
.cg-figure {
  margin: 6px 0 32px;
}

.single-blog .flexible_content.cg-article img,
.cg-tuinfeest img,
.cg-figure img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  box-shadow: 0 18px 40px -18px rgba(34, 28, 23, 0.45);
}

.cg-figure img {
  width: 100%;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.cg-figure img:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 50px -18px rgba(34, 28, 23, 0.55);
}

/* ---- Quote ---- */
.cg-quote {
  margin: 0 0 22px;
  padding: 4px 0 4px 22px;
  border-left: 3px solid var(--cg-glow);
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  font-size: 22px;
  line-height: 1.4;
  color: var(--cg-soft);
}

/* ---- Checklist card (tuinfeest markup) ---- */
.cg-check {
  margin: 30px 0 8px;
  padding: 34px 34px 28px;
  border-radius: 18px;
  background: var(--cg-paper);
  border: 1px solid var(--cg-line);
  box-shadow: 0 14px 34px -22px rgba(34, 28, 23, 0.4);
}

.cg-check-title {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 14px;
  font-weight: 600;
  color: var(--cg-glow-deep);
  margin: 0 0 18px;
}

.cg-check ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 26px;
}

.cg-check li {
  position: relative;
  padding: 8px 0 8px 34px;
  font-size: 18px;
  line-height: 1.5;
  border-bottom: 1px dashed rgba(184, 121, 26, 0.22);
}

.cg-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 19px;
  height: 19px;
  border-radius: 5px;
  border: 2px solid var(--cg-glow);
  background: var(--cg-surface);
}

.cg-check li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 16px;
  width: 6px;
  height: 10px;
  border-right: 2.5px solid var(--cg-glow-deep);
  border-bottom: 2.5px solid var(--cg-glow-deep);
  transform: rotate(42deg);
  opacity: 0.85;
}

/* ---- CTA ---- */
.cg-cta {
  position: relative;
  overflow: hidden;
  margin: 50px 0 6px;
  padding: 44px 38px 40px;
  border-radius: 20px;
  background:
    radial-gradient(120% 90% at 50% -10%, rgba(217, 147, 33, 0.28), rgba(217, 147, 33, 0) 60%),
    linear-gradient(160deg, #31251d, var(--cg-ember));
  color: #f3e9dc;
  text-align: center;
  box-shadow: 0 24px 55px -22px rgba(34, 20, 10, 0.7);
}

.single-blog .flexible_content.cg-article .cg-cta h2,
.cg-tuinfeest .cg-cta h2,
.cg-cta h2 {
  color: #fff !important;
  margin: 0 0 18px;
  padding-bottom: 14px;
}

.cg-cta h2::after {
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
}

.single-blog .flexible_content.cg-article .cg-cta p,
.cg-tuinfeest .cg-cta p,
.cg-cta p {
  color: #f3e9dc !important;
  margin: 0 auto 24px;
  max-width: 660px;
}

.single-blog .flexible_content.cg-article .cg-cta a:not(.cg-btn),
.cg-tuinfeest .cg-cta a:not(.cg-btn),
.cg-cta a:not(.cg-btn) {
  color: #f0bd63 !important;
  border-bottom-color: rgba(240, 189, 99, 0.4);
}

.single-blog .flexible_content.cg-article .cg-cta a:not(.cg-btn):hover,
.cg-tuinfeest .cg-cta a:not(.cg-btn):hover,
.cg-cta a:not(.cg-btn):hover {
  color: #fff !important;
  border-bottom-color: #f0bd63;
}

.cg-btn {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #221c17 !important;
  background: linear-gradient(180deg, #e7a63a, var(--cg-glow));
  padding: 15px 34px;
  border-radius: 999px;
  border-bottom: none !important;
  box-shadow: 0 12px 26px -10px rgba(217, 147, 33, 0.75);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cg-btn:hover {
  color: #221c17 !important;
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -10px rgba(217, 147, 33, 0.9);
}

.cg-btn.is-ghost {
  background: transparent;
  color: #f0bd63 !important;
  border: 2px solid rgba(240, 189, 99, 0.55) !important;
  box-shadow: none;
}

.cg-btn.is-ghost:hover {
  color: #fff !important;
  border-color: #f0bd63 !important;
}

.cg-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* ---- Bridge: old ACF .contentinfo / .wy_list ---- */
.single-blog .flexible_content.cg-article .contentinfo {
  background: transparent !important;
  background-color: transparent !important;
  padding: 0;
  margin: 0;
}

.single-blog .flexible_content.cg-article .contentinfo .maxwidth {
  max-width: none;
  width: 100%;
  padding: 0.35rem 0;
  margin: 0;
  gap: 0.5rem;
}

.single-blog .flexible_content.cg-article .contentinfo p,
.single-blog .flexible_content.cg-article .wy_list p {
  font-size: 1.12rem !important;
  color: var(--cg-ink) !important;
  line-height: 1.75;
}

.single-blog .flexible_content.cg-article .wy_list ul,
.single-blog .flexible_content.cg-article .contentinfo ul {
  list-style: none;
  margin: 22px 0;
  padding: 26px 28px 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 26px;
  border-radius: 18px;
  background: var(--cg-paper);
  border: 1px solid var(--cg-line);
  box-shadow: 0 14px 34px -22px rgba(34, 28, 23, 0.35);
}

.single-blog .flexible_content.cg-article .wy_list ul li,
.single-blog .flexible_content.cg-article .contentinfo ul li {
  position: relative;
  display: block;
  align-items: unset;
  margin-bottom: 0;
  padding: 8px 0 8px 34px;
  font-size: 17px !important;
  line-height: 1.5;
  color: var(--cg-ink);
  border-bottom: 1px dashed rgba(184, 121, 26, 0.22);
}

.single-blog .flexible_content.cg-article .wy_list ul li::before,
.single-blog .flexible_content.cg-article .contentinfo ul li::before {
  content: "" !important;
  position: absolute;
  left: 0;
  top: 12px;
  width: 19px;
  height: 19px;
  margin: 0;
  padding: 0;
  border-radius: 5px;
  border: 2px solid var(--cg-glow);
  background: var(--cg-surface);
  color: transparent;
  display: block;
  flex-shrink: 0;
}

.single-blog .flexible_content.cg-article .wy_list ul li::after,
.single-blog .flexible_content.cg-article .contentinfo ul li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 16px;
  width: 6px;
  height: 10px;
  border-right: 2.5px solid var(--cg-glow-deep);
  border-bottom: 2.5px solid var(--cg-glow-deep);
  transform: rotate(42deg);
  opacity: 0.85;
}

.single-blog .flexible_content.cg-article .vw_item {
  margin: 0;
}

.single-blog .flexible_content.cg-article .contentinfo h2:empty,
.single-blog .flexible_content.cg-article h2:empty {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.single-blog .flexible_content.cg-article .contentinfo h2:empty::after,
.single-blog .flexible_content.cg-article h2:empty::after {
  display: none;
}

/* Phone/center noise in old intro blocks */
.single-blog .flexible_content.cg-article .contentinfo p[style*="text-align: center"] {
  text-align: left !important;
}

/* TOC above article stays orange theme; don't force paper on it */

/* ---- Product / button blocks inside article ---- */
.single-blog .flexible_content.cg-article .buttons a,
.single-blog .flexible_content.cg-article .wp-block-button__link {
  border-bottom: none;
}

.single-blog .flexible_content.cg-article .content-afbeelding-grid {
  overflow: visible;
}

.single-blog .flexible_content.cg-article .content-afbeelding .btn,
.single-blog .flexible_content.cg-article .bl_buttons-grid a {
  display: inline-block;
  color: #221c17 !important;
  background: linear-gradient(180deg, #e7a63a, var(--cg-glow));
  border: none !important;
  border-bottom: none !important;
  border-radius: 999px;
  box-shadow: 0 12px 26px -10px rgba(217, 147, 33, 0.75);
  padding: 14px 28px !important;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.single-blog .flexible_content.cg-article .content-afbeelding .btn:hover,
.single-blog .flexible_content.cg-article .bl_buttons-grid a:hover {
  color: #221c17 !important;
  border-bottom: none !important;
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -10px rgba(217, 147, 33, 0.9);
}

.single-blog .flexible_content.cg-article .content-afbeelding .btn:focus-visible,
.single-blog .flexible_content.cg-article .bl_buttons-grid a:focus-visible {
  outline: 2px solid #221c17;
  outline-offset: 3px;
}

.single-blog .blog-suggestions {
  background: #fff;
  border-radius: 20px;
  padding: 8px 8px 28px;
}

.single-blog .blog-suggestions h2 {
  color: #221c17;
}

.single-blog .blog-suggestions .inner li {
  background: #fff;
}

.single-blog .blog-suggestions .inner a img {
  width: 100%;
  height: auto !important;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 12px;
}

/* ---- Mobile ---- */
@media (max-width: 900px) {
  .single-blog .flexible_content.cg-article,
  .cg-tuinfeest {
    padding: 22px 18px 26px;
    border-radius: 16px;
  }
}

@media (max-width: 700px) {
  .cg-check ul,
  .single-blog .flexible_content.cg-article .wy_list ul,
  .single-blog .flexible_content.cg-article .contentinfo ul {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .single-blog .flexible_content.cg-article,
  .cg-tuinfeest {
    font-size: 17px;
    padding: 18px 14px 22px;
  }

  .cg-lede {
    font-size: 18px;
  }

  .cg-quote {
    font-size: 19px;
  }

  .cg-check {
    padding: 26px 22px 20px;
  }

  .cg-cta {
    padding: 34px 22px 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cg-figure img,
  .cg-btn {
    transition: none;
  }

  .cg-figure img:hover,
  .cg-btn:hover {
    transform: none;
  }
}
