@font-face {
    font-family: "satoshibold";
    src: url("../fonts/satoshi-bold-webfont.woff2") format("woff2"),
      url("../fonts/satoshi-bold-webfont.woff") format("woff");
    font-weight: normal;
    font-style: normal;
  }
  
  :root{
    --bold-font: "satoshibold";
  }

.agenda-forum {
  padding: 32px 0 0;
}

.agenda-forum .container {

}

.agenda-forum__header {
  margin-bottom: 28px;
}


.agenda-forum__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 28px;
  align-items: stretch;
  background: #f1f3f2;
  border-radius: 28px;
  padding: 0;
  overflow: hidden;
}

.agenda-forum__calendar-wrap {
  padding: 50px 30px;
}

.agenda-forum__sidebar {
  padding: 44px 44px 44px 0;
}

.agenda-forum__sidebar-inner {
    height: 100%;
    min-height: 680px;
    border: 1px solid #d7dddb;
    border-radius: 28px;
    background: #f5f6f5;
    padding: 0;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: stretch;
  }
  .agenda-forum__empty,
.agenda-forum__events {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}



.agenda-forum__empty[hidden],
.agenda-forum__events[hidden] {
  display: none !important;
}

.agenda-calendar__months {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  align-items: start;
}

.agenda-calendar__month {
  padding-right: 20px;
}

.agenda-calendar__month:first-child {
  border-right: 1px solid #cfd8d5;
}

.agenda-calendar__month-head {
  margin-bottom: 24px;
}

.agenda-calendar__month-head h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.1;
  font-family: "satoshibold";
  color: #17363F;
}

.agenda-calendar__weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 14px;
  margin-bottom: 16px;
}

.agenda-calendar__weekdays span {
  text-align: center;
  font-size: 14px;
  line-height: 1.2;
  color: #728890;
}

.agenda-calendar__days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
}

.agenda-calendar__day {
    width: 46px;
    height: 40px;
    border: 0;
    border-radius: 20px;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    line-height: 1;
    color: #17363F;
    cursor: default;
    margin: 0 auto;
    transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease;
  }
  
  .agenda-calendar__day.has-event {
    cursor: pointer;
  }
  
  .agenda-calendar__day.has-event:hover,.agenda-calendar__day.is-selected,   .agenda-calendar__day.has-event.is-selected {
    background: #F5B400;
    color: #ffffff;
    transform: translateY(-1px);
  }
  
  
  .agenda-calendar__day.has-event{
    background: #269BE3;
    color: #ffffff;
  }

.agenda-calendar__day--muted {
  color: #afbbbf;
}

.agenda-forum__empty {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.agenda-forum__empty h3 {
  margin: 0 0 20px;
  font-size: 18px;
  line-height: 1.15;
  font-family: "satoshibold";
  color: #17363F;
}

.agenda-forum__empty p {
  margin: 0 auto;
  max-width: 330px;
  font-size: 16px;
  line-height: 1.45;
}

.agenda-forum__icon {
  margin-top: 38px;
}

.agenda-forum__events-head {
  margin-bottom: 18px;
}

.agenda-forum__events-head h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.15;
  font-weight: 700;
  color: #173847;
  display: none;
}

.agenda-forum__events-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.agenda-forum__event-card {
  padding: 20px 20px 18px;
  border: 1px solid #d7dddb;
  border-radius: 18px;
  background: #ffffff;
}

.agenda-forum__event-card h4 {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 700;
  color: #173847;
}

.agenda-forum__event-meta {
  margin-bottom: 10px;
  font-size: 15px;
  line-height: 1.4;
  color: #728890;
}

.agenda-forum__event-card p {
  margin: 0 0 14px;
  font-size: 17px;
  line-height: 1.55;
  color: #58707a;
}

.agenda-forum__event-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #3196dc;
  text-decoration: none;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 600;
}

.agenda-forum__event-link:hover {
  opacity: 0.82;
}

.agenda-forum__no-events p {
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
  color: #58707a;
}

@media (max-width: 1400px) {
  .agenda-forum__layout {
    grid-template-columns: 1fr;
  }

  .agenda-forum__sidebar {
    padding: 0 44px 44px;
  }

  .agenda-forum__empty {
    min-height: 320px;
  }
}

@media (max-width: 1024px) {
  .agenda-forum__header h2 {
    font-size: 42px;
  }

  .agenda-forum__header p {
    font-size: 20px;
  }

  .agenda-forum__calendar-wrap {
    padding: 28px;
  }

  .agenda-forum__sidebar {
    padding: 0 28px 28px;
  }

  .agenda-forum__sidebar-inner {
    padding: 24px;
  }

  .agenda-calendar__months {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .agenda-calendar__month {
    padding-right: 0;
  }

  .agenda-calendar__month:first-child {
    border-right: 0;
    border-bottom: 1px solid #cfd8d5;
    padding-bottom: 28px;
  }
}

@media (max-width: 767px) {
  .agenda-forum {
    padding: 24px 0 40px;
  }

  .agenda-forum .container {
    padding: 0 16px;
  }

  .agenda-forum__header {
    margin-bottom: 20px;
  }

  .agenda-forum__header h2 {
    font-size: 34px;
    margin-bottom: 12px;
  }

  .agenda-forum__header p {
    font-size: 18px;
  }

  .agenda-forum__layout {
    border-radius: 20px;
  }

  .agenda-forum__calendar-wrap {
    padding: 20px 16px;
  }

  .agenda-forum__sidebar {
    padding: 0 16px 16px;
  }

  .agenda-forum__sidebar-inner {
    border-radius: 20px;
    padding: 20px 16px;
  }

  .agenda-calendar__month-head h3 {
    font-size: 18px;
    font-weight: 700;
  }

  .agenda-calendar__weekdays {
    gap: 10px;
  }

  .agenda-calendar__weekdays span {
    font-size: 15px;
  }

  .agenda-calendar__days {
    gap: 10px;
  }

  .agenda-calendar__day {
    width: 42px;
    height: 42px;
    font-size: 18px;
  }

  .agenda-forum__empty h3 {
    font-size: 28px;
  }

  .agenda-forum__empty p {
    font-size: 18px;
  }

  .agenda-forum__icon svg {
    width: 120px;
    height: auto;
  }

  .agenda-forum__events-head h3 {
    font-size: 24px;
  }

  .agenda-forum__event-card h4 {
    font-size: 20px;
  }
}

.agenda-forum__sidebar {
    padding: 44px 44px 44px 0;
    min-width: 0;
  }
  
  .agenda-forum__sidebar-inner {
    height: 100%;
    min-height: 100%;
    border: 1px solid #d7dddb;
    border-radius: 28px;
    background: #f5f6f5;
    padding: 30px;
    overflow: hidden;
    position: relative;
  }
  
  .agenda-forum__empty,
  .agenda-forum__events {
    width: 100%;
    max-width: 100%;
  }
  
  .agenda-forum__events {
    display: block;
  }
  
  .agenda-forum__events-head {
    margin-bottom: 18px;
  }
  
  .agenda-forum__events-head h3 {
    margin: 0;
    font-size: 18px;
    line-height: 1.15;
    font-weight: 700;
    color: #173847;
    word-break: break-word;
  }
  
  .agenda-forum__events-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 100%;
  }
  
  .agenda-forum__event-card {
    padding: 20px 20px 18px;
    border: 1px solid #d7dddb;
    border-radius: 18px;
    background: #ffffff;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  .agenda-forum__event-card h4,
  .agenda-forum__event-card p,
  .agenda-forum__event-meta,
  .agenda-forum__event-link {
    word-break: break-word;
  }
  
  .agenda-forum__empty[hidden],
  .agenda-forum__events[hidden] {
    display: none !important;
  }

  .agenda-forum__events {
    width: 100%;
  }
  
  .agenda-forum__events-list {
    width: 100%;
  }
  
  .agenda-forum__featured-card {
    width: 100%;
    min-height: 100%;
    box-sizing: border-box;
  }
  
  .agenda-forum__featured-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 10px;
  }
  
  .agenda-forum__featured-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 24px;
    width: 72px;
    padding-inline: 12px;
    border-radius: 999px;
    background: #FFE9AD;
    color: #F5B400;
    font-size: 12px;
    line-height: 1;
    font-family: var(--bold-font);
  }
  
  .agenda-forum__featured-date-wrap {
    text-align: right;
  }
  
  .agenda-forum__featured-date {
    font-size: 14px;
    line-height: 1.1;
    font-family: var(--bold-font);
    color: #269BE3;
  }
  
  .agenda-forum__featured-time {
    margin-top: 10px;
    font-size: 12px;
    line-height: 1.2;
    color: #51696F;
  }
  
  .agenda-forum__featured-title {
    margin: 0 0 28px;
    font-size: 16px;
    line-height: 1.32;
    font-family: var(--bold-font);
    color: #173847;
    word-break: break-word;
  }
  
  .agenda-forum__featured-location {
    display: grid;
    grid-template-columns: 30px 1fr;
    gap: 10px;
    align-items: start;
    margin-bottom: 28px;
  }
  
  .agenda-forum__featured-location-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
  }
  
  .agenda-forum__featured-location span:last-child {
    font-size: 14px;
    line-height: 1.45;
    color: #58707a;
    word-break: break-word;
  }
  
  .agenda-forum__featured-button {
    width: 100%;
    padding: 10px 28px;
    border-radius: 999px;
    background: #269BE3;
    color: #ffffff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    font-size: 14px;
    line-height: 1.2;
    font-family: var(--bold-font);
    transition: transform 0.22s ease, box-shadow 0.22s ease, opacity 0.22s ease;
    box-sizing: border-box;
  }
  
  .agenda-forum__featured-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(49, 150, 220, 0.22);
  }
  
  .agenda-forum__featured-button svg {
    flex-shrink: 0;
  }

  @media (max-width: 767px) {
    .agenda-forum__events {
      padding: 16px;
    }
  
    .agenda-forum__featured-top {
      flex-direction: column;
      align-items: flex-start;
      margin-bottom: 18px;
    }
  
    .agenda-forum__featured-date-wrap {
      text-align: left;
    }

  
    .agenda-forum__featured-date {
      font-size: 24px;
    }
  
    .agenda-forum__featured-time {
      font-size: 18px;
      margin-top: 6px;
    }
  
    .agenda-forum__featured-title {
      font-size: 28px;
      margin-bottom: 20px;
    }
  
    .agenda-forum__featured-location {
      grid-template-columns: 42px 1fr;
      gap: 10px;
      margin-bottom: 20px;
    }
  

  
    .agenda-forum__featured-location-icon svg {
      width: 28px;
      height: 28px;
    }

  }