
/* === Calendar === */
.agc-cal{max-width:1100px;margin:0 auto;position:relative}
.agc-cal-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:10px 0 14px}
.agc-nav{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border:1px solid #e5e5e5;text-decoration:none;font-size:26px;line-height:1}
.agc-month{font-weight:800;font-size:22px;text-transform:capitalize}
.agc-empty-state{border:1px solid #e5e5e5;padding:18px}

/* Loading overlay + spinner */
.agc-loader{display:none;position:absolute;inset:0;z-index:5;align-items:center;justify-content:center;background:rgba(255,255,255,.65)}
.agc-cal.is-loading .agc-loader{display:flex}
.agc-spinner{width:38px;height:38px;border:3px solid rgba(75,65,128,.25);border-top-color:#4b4180;animation:agc-spin .75s linear infinite}
@keyframes agc-spin{to{transform:rotate(360deg)}}

/* Grid month view */
.agc-grid{border:1px solid #e5e5e5}
.agc-dow{display:grid;grid-template-columns:repeat(7,1fr);border-bottom:1px solid #e5e5e5}
.agc-dow-cell{padding:10px 8px;font-weight:700;text-transform:lowercase}
.agc-grid-cells{display:grid;grid-template-columns:repeat(7,1fr)}
.agc-cell{min-height:86px;border-right:1px solid #e5e5e5;border-bottom:1px solid #e5e5e5;padding:10px 8px;position:relative}
.agc-grid-cells .agc-cell:nth-child(7n){border-right:0}
.agc-daynum{font-weight:800}
.agc-count{position:absolute;right:8px;top:8px;border:1px solid #e5e5e5;padding:2px 6px;font-size:12px}
.agc-empty{background:transparent}

/* Cards view */
.agc-cards{display:grid;gap:18px}
.agc-cols-1{grid-template-columns:1fr}
.agc-cols-2{grid-template-columns:repeat(2,1fr)}
.agc-cols-3{grid-template-columns:repeat(3,1fr)}
.agc-cols-4{grid-template-columns:repeat(4,1fr)}
@media (max-width:989px){.agc-cols-3,.agc-cols-4{grid-template-columns:repeat(2,1fr)}}
@media (max-width:640px){.agc-cols-2,.agc-cols-3,.agc-cols-4{grid-template-columns:1fr}}

.agc-card{display:grid;grid-template-columns:78px 1fr;align-items:start;border:0;background:#fbf6dc;position:relative;padding-bottom:46px}
.agc-date{padding:16px 12px}
.agc-date-day{font-size:44px;line-height:1;font-weight:800;color:#80c8c5}
.agc-date-mon{font-size:22px;line-height:1.2;color:#80c8c5;text-transform:lowercase}
.agc-titlewrap{padding:16px 16px;display:flex;flex-direction:column;gap:8px}
.agc-title{font-weight:700;color:#4b4180;text-decoration:none;display:block;line-height:1.25}
.agc-range{font-size:14px;color:#4b4180;opacity:.85}
.agc-go{position:absolute;right:0;bottom:0;width:30px;height:30px;display:flex;align-items:center;justify-content:center;padding:0;background:#4b4180;color:#ffdd14;text-decoration:none;font-size:22px;line-height:1;text-align:center}
.agc-go:hover{opacity:.95}

/* No rounded corners anywhere */
.agc-cal *, .agc-single-wrap *{border-radius:0 !important}

/* === Single agenda === */
.agc-hero{height:340px;background-size:cover;background-position:center center;width:100vw;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw)}
@media (max-width:768px){.agc-hero{height:240px}}

.agc-single-inner{display:grid;grid-template-columns:2fr 1fr;gap:38px;margin:28px 0 10px}
@media (max-width:989px){.agc-single-inner{grid-template-columns:1fr;gap:18px}}

.agc-single-title{margin:0 0 18px 0;font-weight:800;color:#4b4180;letter-spacing:0}
.agc-content{color:#4b4180}

.agc-side-box{border:1px solid #e5e5e5;padding:18px}
.agc-side-title{font-weight:800;margin-bottom:10px;color:#4b4180}
.agc-side-date{margin-bottom:14px;color:#4b4180}
.agc-ical{display:inline-flex;align-items:center;gap:10px;color:#f18a2d;text-decoration:none;font-weight:700}
.agc-ical-ico{width:18px;height:18px;display:inline-flex;align-items:center;justify-content:center}
.agc-ical-ico:before{content:"\f316";font-family:dashicons;font-size:18px;line-height:1;color:#f18a2d}

/* === Upcoming list shortcode === */
.agc-upcoming{max-width:1100px;margin:0 auto}
.agc-upcoming-list{list-style:none;margin:0;padding:0;border-top:1px solid #e5e5e5}
.agc-upcoming-item{padding:14px 0;border-bottom:1px solid #e5e5e5}
.agc-upcoming-title{display:inline-block;font-weight:800;color:#4b4180;text-decoration:none;line-height:1.25}
.agc-upcoming-meta{margin-top:6px;color:#4b4180;opacity:.85;font-size:14px}
.agc-upcoming-excerpt{margin-top:8px;color:#4b4180;opacity:.9}
.agc-upcoming-empty{border:1px solid #e5e5e5;padding:18px}

/* Upcoming lijst – design (zoals screenshot) */
.agc-upcoming-vk{
  background:#ffdc14;
  padding:48px 40px;
  border-radius:0;
}

.agc-upcoming-vk-head{
  font-size:56px;
  line-height:1.05;
  font-weight:900;
  color:#4b3f72;
  margin:0 0 34px 0;
}

.agc-upcoming-vk-list{
  display:flex;
  flex-direction:column;
  gap:34px;
}

.agc-upcoming-vk .agc-u-row{
  display:grid;
  grid-template-columns: 120px 1fr;
  gap:26px;
  align-items:start;
  text-decoration:none;
}

.agc-upcoming-vk .agc-u-date{
  color:#4b3f72;
}

.agc-upcoming-vk .agc-u-day{
  font-size:64px;
  line-height:0.9;
  font-weight:900;
}

.agc-upcoming-vk .agc-u-mon{
  margin-top:6px;
  font-size:34px;
  line-height:1;
  font-weight:700;
  text-transform:lowercase;
}

.agc-upcoming-vk .agc-u-title{
  color:#4b3f72;
  font-size:28px;
  line-height:1.25;
  font-weight:800;
}

.agc-upcoming-vk .agc-u-meta{
  margin-top:10px;
  color:#4b3f72;
  font-size:22px;
  line-height:1.25;
  font-weight:800;
}

.agc-upcoming-vk .agc-u-excerpt{
  margin-top:10px;
  color:#4b3f72;
  font-size:18px;
  line-height:1.45;
  font-weight:600;
  opacity:.95;
}

/* Responsive */
@media (max-width: 767px){
  .agc-upcoming-vk{ padding:34px 22px; }
  .agc-upcoming-vk-head{ font-size:42px; margin-bottom:26px; }
  .agc-upcoming-vk .agc-u-row{ grid-template-columns: 90px 1fr; gap:18px; }
  .agc-upcoming-vk .agc-u-day{ font-size:52px; }
  .agc-upcoming-vk .agc-u-mon{ font-size:28px; }
  .agc-upcoming-vk .agc-u-title{ font-size:22px; }
  .agc-upcoming-vk .agc-u-meta{ font-size:18px; }
}
