
.ak-cal-wrap { padding: 24px 0 60px; background:#red}

.ak-cal-hero {
  background:#0b78b6;
  color:#fff;
  border-radius:10px 10px 10px 10px;
  padding:72px 18px;
  text-align:center;
}
.ak-cal-hero h1 { margin:0; font-size:32px; font-weight:700; }
.ak-cal-sub { opacity:.85; margin-top:6px; font-size:16px; }

.ak-cal-grid {
  display:grid;
  grid-template-columns: 1.4fr .9fr;
  gap:20px;
  margin-top:18px;
}
@media (max-width: 992px){
  .ak-cal-grid { grid-template-columns: 1fr; }
}

.ak-cal-left {
  background:#fff;
  border:0px solid #e7eef5;
  border-radius:10px;
  padding:14px;
  box-shadow:0 6px 20px rgba(0,0,0,.15);
}

.ak-cal-right {
  background:#fff;
  border-radius:10px;
}

.ak-cal-monthbar {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:6px 6px 6px;
  border:solid 0px #e7eef5;
  border-radius:10px;
  margin-bottom:20px;
  box-shadow: 0 0 5px rgba(11,120,182,.15);
}
.ak-cal-month { font-weight:700; }

.ak-cal-nav {
  width:36px;
  height:36px;
  display:grid;
  place-items:center;
  border-radius:8px;
  border:0px solid #e7eef5;
  text-decoration:none;
  font-size:25px;
  
}
.ak-cal-nav:hover { background:#f3f8fc; }


.ak-cal-weekhead {
  display:grid;
  grid-template-columns: repeat(7,1fr);
  gap:8px;
  margin-bottom:8px;
  font-size:14px;
  font-weight:700;
  color:#2b6f93;
}
.ak-cal-weekhead > div {
  text-align:center;
  padding:6px 0;
}

.ak-cal-days {
  display:grid;
  grid-template-columns: repeat(7,1fr);
  gap:12px;
}

.ak-cal-day {
  border:0px solid #e7eef5;
  border-radius:10px;
  padding:8px;
  min-height:90px;
  text-decoration:none;
  color:#111;
  position:relative;
  background:#fff;
  box-shadow:0 0px 3px rgba(0,0,0,.35);
}
.ak-cal-day.out { opacity:.45; }
.ak-cal-day .num { font-weight:700; font-size:13px; }

.ak-cal-day .dots {
  position:absolute;
  left:8px;
  bottom:8px;
  display:flex;
  gap:5px;
}
.ak-cal-day .dot {
  width:7px;
  height:7px;
  border-radius:50%;
  display:inline-block;
}

.ak-cal-day:hover { background:#f3f8fc; }
.ak-cal-day.today { outline: 2px solid rgba(11,120,182,.25); }
.ak-cal-day.active {
  border-color:#0b78b6;
  box-shadow: 0 0 0 2px rgba(11,120,182,.15) inset;
}

.ak-cal-panel-title {
  font-weight:800;
  font-size:17px;
  letter-spacing:.04em;
  color:#0b78b6;
  text-transform:uppercase;
  margin:0px 0 20px;
  text-align:center;
  box-shadow:0 2px 20px rgba(0,0,0,.15);
  padding:20px;
  border-radius:15px

}

.ak-cal-empty {
  box-shadow: 0 0 5px rgba(11,120,182,.15);
  border-radius:10px;
  padding:14px;
  color:#2b6f93;
  text-align:center
}

/* =============== Events list =============== */
.ak-cal-events {
  display:flex;
  flex-direction:column;
  gap:10px;
  margin-bottom:14px;
}

/* =============== Event card (FIXED) =============== */
.ak-cal-card{
  --ak-type: #0b78b6;

  background:#ffffff;

  /* cleaner, stronger border */
  border: 1px solid var(--ak-type);;
  border-left: 6px solid var(--ak-type);

  border-radius: 16px;
  padding: 16px;

  /* subtle premium shadow */
  box-shadow:0 8px 24px rgba(0,0,0,.05);
}

.ak-cal-card-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}

.ak-cal-card-title{
  font-weight:800;
  font-size:15px;
  display:flex;
  align-items:flex-start;
  gap:12px;
}

/* Icon box: background + border from type */
.ak-cal-iconbox{
  width:56px;
  height:56px;
  border-radius: 12px;
  display:grid;
  place-items:center;

  background: rgba(11,120,182,.10);
  border: 2px solid rgba(11,120,182,.12);

  flex: 0 0 auto;
}

/* override with type color using CSS var */
.ak-cal-card{
  /* nothing here; var exists */
}
.ak-cal-card .ak-cal-iconbox{
  background: color-mix(in srgb, var(--ak-type) 100%, white);
  border-color: color-mix(in srgb, var(--ak-type) 0%, white);
}

.ak-cal-iconbox .dashicons{
  font-size: 24px;
  line-height: 1;
  color: #fff
}

/* Meta row */
.ak-cal-meta{
  display:flex;
  flex-wrap:wrap;
  gap:16px;
  margin-top:10px;
  font-size:13px;
  color:#3b4b57;
}

.ak-cal-meta-item{
  display:inline-flex;
  align-items:center;
  gap:8px;
}
.ak-cal-meta-item .dashicons{
  font-size:18px;
  color:#9aa7b2;
}

/* Description */
.ak-cal-desc{
  margin-top:10px;
  font-size:13px;
  color:#6b7a86;
}

/* Bottom area */
.ak-cal-card-bottom{
  margin-top:12px;
  display:flex;
  flex-direction:column;
  gap:12px;
  align-items:flex-start;
}

/* Type pill (FIXED: full bg + border, not overridable) */
.ak-cal-card .ak-cal-typepill{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  padding:8px 16px;
  border-radius:999px;

  background-color: var(--ak-type) !important;
  color:#ffffff !important;

  border: 2px solid var(--ak-type) !important;

  font-weight:800;
  font-size:12px;
  text-transform: uppercase;
  letter-spacing:.05em;
  line-height:1;
}

/* Button uses type color */
.ak-cal-btn{
  display:inline-block;
  text-decoration:none;
  border:2px solid var(--ak-type);
  color: var(--ak-type);
  padding:10px 18px;
  border-radius: 999px;
  font-weight:800;
  font-size:13px;
}
.ak-cal-btn:hover{
  background: var(--ak-type);
  color:#fff;
}

.ak-cal-legend { border-top:0px solid #e7eef5; padding-top:12px; margin-top:22px;
              box-shadow:0 2px 20px rgba(0,0,0,.15);
               padding:20px;
               border-radius:15px}
.ak-cal-legend-title { font-weight:800; font-size:16px; color:#000; margin-bottom:8px; }

.ak-cal-legend-item {
  display:flex;
  align-items:center;
  gap:12px;
  padding:10px 0;
  font-size:15px;
  color:#3b4b57;
}

.ak-cal-legend-item .dot {
  width:10px;
  height:10px;
  border-radius:50%;
  display:inline-block;
}

.ak-cal-legend-icon {
  font-size: 22px;
  line-height: 1;
  color: #6b7280;
  margin-left: 2px;
}

.ak-cal-legend-text { color:#3b4b57; }