/*
 Theme Name: Kadence Child
 Template: kadence
*/

.rk-agenda-shortcode {
  font-family: inherit; /* Kadence fonts komen vanzelf mee */
}

.rk-agenda-list {
  display: grid;
  gap: 14px;
}

.rk-event-card {
  margin: 0;
}

.rk-event-card__link {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  align-items: center;

  text-decoration: none;
  color: inherit;
  border-radius: 8px;
  background: var(--global-palette8);

  
}
.pad { 
padding: 14px 16px;
}


/* Kalenderblokje links */
.rk-event-card__date {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  overflow: hidden;
  display: grid;
  grid-template-rows: 22px 1fr;
  text-align: center;

  border: 1px solid rgba(0,0,0,.10);
  background: #fff;
}

.rk-event-card__month {
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  line-height: 1;

  /* Kadence palette (werkt als je theme variabelen heeft) */
  background: var(--global-palette1, #1e73be);
  color: #fff;
}

.rk-event-card__day {
  display: grid;
  place-items: center;
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
  color: var(--global-palette3, #222);
}

/* Tekst rechts */
.rk-event-card__title {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 6px 0;
  font-family: var(--global-heading-font-family);
}

.rk-event-card__meta {
  font-size: 16px;
  line-height: 1.3;
  font-family: var(--global-body-font-family);
  opacity: .9;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

/* Categorie badge */
.rk-event-card__cat {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;

  background: var(--global-palette9, rgba(0,0,0,.06));
  border: 1px solid rgba(0,0,0,.10);
}

.rk-event-card__type {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;

  background: var(--global-palette9, rgba(0,0,0,.06));
  border: 1px solid rgba(0,0,0,.10);
}

/* Mobiel: iets compacter */
@media (max-width: 520px) {
  .rk-event-card__link {
    grid-template-columns: 56px 1fr;
    
    border-radius: 12px;
  }
  .pad { padding: 12px 12px; } 
  .rk-event-card__date {
    width: 56px;
    height: 56px;
    border-radius: 12px;
  }
  .rk-event-card__day { font-size: 22px; }
  .rk-event-card__title { font-size: 16px; }
}

/* ===== Single agenda item ===== */

.rk-event-single__top {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  align-items: center;
  margin-bottom: 10px;
}

/* kalenderblok */
.rk-event-single__date {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  overflow: hidden;
  display: grid;
  grid-template-rows: 24px 1fr;
  text-align: center;
  border: 1px solid rgba(0,0,0,.10);
  background: #fff;
}

.rk-event-single__month {
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  line-height: 1;
  background: var(--global-palette1, #1e73be);
  color: #fff;
}

.rk-event-single__day {
  display: grid;
  place-items: center;
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
  color: var(--global-palette3, #222);
}

/* meta regel */
.rk-event-single__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 6px;
  opacity: .92;
}

.rk-event-single__dot {
  opacity: .6;
}

.rk-event-single__type {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  background: var(--global-palette9, rgba(0,0,0,.06));
  border: 1px solid rgba(0,0,0,.10);
}

/* content spacing */
.rk-event-single__content {
  margin-top: 16px;
}

/* signup form container */
.rk-event-single__signup {
  margin-top: 18px;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.85);
}

/* back link */
.rk-event-single__back {
  margin-top: 18px;
}

/* mobiel */
@media (max-width: 520px) {
  .rk-event-single__top {
    grid-template-columns: 60px 1fr;
    gap: 12px;
  }
  .rk-event-single__date {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    grid-template-rows: 22px 1fr;
  }
  .rk-event-single__day { font-size: 24px; }
}

/* Maak content + sidebar echt 2 kolommen */
.rk-layout{
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px; /* content | sidebar */
  gap: 28px;
  align-items: start;
}

/* Zorg dat main niet “uitreikt” */
.rk-content{
  min-width: 0;
}

/* Responsive: op tablet/mobiel onder elkaar */
@media (max-width: 1024px){
  .rk-layout{
    grid-template-columns: 1fr;
  }
}