.kjg-block {
  box-sizing: border-box;
}

.kjg-container {
  margin-inline: auto;
  max-width: 72rem;
  padding-inline: 1.5rem;
}

.kjg-hero {
  position: relative;
  overflow: hidden;
  background: #fff;
  padding: 4.5rem 0 3rem;
}

.kjg-hero__inner {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.kjg-hero__badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border: 1px solid #e5e7eb;
  border-radius: 9999px;
  font-size: 0.875rem;
  color: #4b5563;
  margin-bottom: 1rem;
}

.kjg-hero__title {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.1;
  font-weight: 800;
  color: #111827;
}

.kjg-hero__subtitle {
  margin-top: 1rem;
  font-size: 1.125rem;
  color: #4b5563;
}

.kjg-hero__actions {
  margin-top: 1.75rem;
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.kjg-button {
  display: inline-block;
  text-decoration: none;
  border-radius: 0.625rem;
  padding: 0.625rem 0.9rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.kjg-button--primary {
  background: #00b6be;
  color: #fff;
}

.kjg-button--primary:hover,
.kjg-button--primary:focus-visible {
  background: #006d84;
}

.kjg-button--secondary {
  background: transparent;
  border-color: #d1d5db;
  color: #111827;
}

.kjg-button--secondary:hover,
.kjg-button--secondary:focus-visible {
  border-color: #111827;
}

.kjg-hero__image-wrap {
  margin: 2rem auto 0;
  max-width: 64rem;
  border-radius: 0.875rem;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
}

.kjg-hero__image {
  width: 100%;
  display: block;
}

.kjg-cta {
  margin: 2.5rem 0;
}

.kjg-cta__panel {
  border-radius: 1.5rem;
  background: linear-gradient(135deg, #006d84 0%, #00b6be 100%);
  color: #fff;
  padding: 2rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
}

.kjg-cta__title {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

.wp-block-kjg-cta-banner .kjg-cta__description {
  margin-top: 0.75rem;
  color: #e5e7eb;
}

.kjg-cta__image {
  width: 100%;
  border-radius: 0.75rem;
  display: block;
}

.kjg-latest-posts {
  padding: 2.5rem 0;
}

.kjg-latest-posts__intro {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto;
}

.kjg-latest-posts__grid {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1rem;
}

.kjg-post-card {
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 1rem;
  background: #fff;
}

.kjg-post-card__meta {
  font-size: 0.8rem;
  color: #6b7280;
}

.kjg-post-card__title {
  margin: 0.5rem 0;
  font-size: 1.05rem;
}

.kjg-post-card__title a {
  color: #111827;
  text-decoration: none;
}

.kjg-event-highlight {
  margin: 3rem 0;
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  padding: 3rem 1.5rem;
  color: #fff;
  background-color: #111827;
  background-size: cover;
  background-position: center;
}

.kjg-event-highlight--72-stunden {
  background-color: #77b800;
}

.kjg-event-highlight__inner {
  max-width: 44rem;
  margin: 0 auto;
  text-align: center;
}

.kjg-event-highlight__title {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.kjg-event-highlight__subtitle {
  display: block;
  margin-top: 0.35rem;
  font-size: 1.1rem;
  opacity: 0.95;
}

.kjg-event-highlight__description {
  margin: 1rem 0 0;
  color: #f3f4f6;
}

.kjg-stats {
  margin: 2.5rem 0;
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  background: #00b6be;
  color: #fff;
}

.kjg-stats--72-stunden {
  background: #77b800;
}

.kjg-stats__grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1.25rem;
}

.kjg-stats__value {
  display: block;
  font-size: 2rem;
  font-weight: 800;
}

.kjg-stats__label {
  display: block;
  opacity: 0.95;
}

.kjg-faq {
  margin: 2.5rem 0;
}

.kjg-faq__title {
  margin: 0 0 1rem;
  font-size: 1.75rem;
}

.kjg-faq__item {
  border-top: 1px solid #e5e7eb;
  padding: 0.85rem 0;
}

.kjg-faq__question {
  cursor: pointer;
  font-weight: 600;
}

.kjg-faq__answer {
  color: #4b5563;
  margin-top: 0.5rem;
}

.kjg-contact-cards {
  margin: 0;
}

.kjg-contact-cards__grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1rem;
}

.kjg-contact-card {
  background: #f9fafb;
  border: 0;
  border-radius: 1rem;
  padding: 2.5rem;
}

.kjg-sponsors {
  margin: 2.5rem 0;
}

.kjg-sponsors__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: center;
}

.kjg-sponsors__item {
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 0.75rem;
  background: #fff;
}

.kjg-sponsors__logo {
  width: 100%;
  max-height: 3rem;
  object-fit: contain;
}

.kjg-groups {
  margin: 2.5rem 0;
}

.kjg-groups__grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1rem;
}

.kjg-group-card {
  border: 1px solid #d1d5db;
  border-radius: 0.75rem;
  overflow: hidden;
  background: #fff;
}

.kjg-group-card__image {
  width: 100%;
  height: 13rem;
  object-fit: cover;
  display: block;
}

.kjg-group-card__body {
  padding: 1rem;
}

.kjg-group-card__title {
  margin: 0;
}

.kjg-group-card__meta {
  margin-top: 0.25rem;
  color: #6b7280;
  font-size: 0.9rem;
}

.kjg-group-card__leaders {
  margin-top: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.kjg-chip {
  display: inline-block;
  font-size: 0.8rem;
  background: #f3f4f6;
  border-radius: 9999px;
  padding: 0.2rem 0.5rem;
}

.kjg-archive-grid {
  margin: 2rem 0;
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1rem;
}

.kjg-archive-card {
  position: relative;
  min-height: 11rem;
  border-radius: 0.75rem;
  overflow: hidden;
  color: #fff;
  background: #111827;
}

.kjg-archive-card__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.72);
}

.kjg-archive-card__overlay {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding: 0.75rem;
}

.kjg-archive-card__badge {
  display: inline-block;
  margin-top: 0.4rem;
  padding: 0.2rem 0.5rem;
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 9999px;
}

@media (min-width: 768px) {
  .kjg-cta__panel {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    align-items: center;
  }

  .kjg-latest-posts__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .kjg-stats__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .kjg-contact-cards__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kjg-sponsors__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .kjg-groups__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kjg-archive-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.kjg-contact-cards[data-theme='kjg'] .kjg-contact-card__email {
  color: #00b6be;
}

.kjg-contact-cards[data-theme='72-stunden'] .kjg-contact-card__email {
  color: #77b800;
}
