/* ==========================================================
   EVENT SIDEBAR LAYOUT
========================================================== */

.ncc-event-sidebar {
  display: flex;
  flex-direction: column;
}

/* Push buttons to the bottom of the sidebar */

.ncc-event-sidebar > .ncc-event-buttons {
  margin-top: auto;
  padding-top: 40px;
}

/* Keep the calendar button beneath registration */

.ncc-event-sidebar > .ncc-single-event-calendar {
  margin-top: 20px;
}

/* Remove divider beneath Cost */

.ncc-event-sidebar > .ncc-single-event-cost {
  border-bottom: none;
}

/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 781px) {
  .ncc-event-sidebar > .ncc-event-buttons {
    margin-top: 30px;
    padding-top: 0;
  }
}

/* ==========================================================
   SINGLE EVENT SIDEBAR
========================================================== */

.ncc-single-event-details,
.ncc-single-event-venue,
.ncc-single-event-cost {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid #cce0e9;
}

/* ==========================================================
   ICON
========================================================== */

.ncc-single-event__icon {
  display: flex;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #d5ebf3;
  color: #135675;
  font-size: 19px;
}

/* ==========================================================
   CONTENT
========================================================== */

.ncc-single-event__body {
  flex: 1;
  min-width: 0;
}

.ncc-single-event__body .ncc-event-section-title {
  margin: 0 0 5px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
}

.ncc-single-event__body .ncc-event-detail {
  display: block;
  margin: 0 0 5px;
}

.ncc-single-event__body .ncc-event-detail__label {
  display: none;
}

.ncc-single-event__body .ncc-event-detail__value {
  display: block;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

.ncc-single-event__body .ncc-event-schedule__time {
	font-size: 14px;
}

/* ==========================================================
   DIRECTIONS LINK
========================================================== */

.ncc-single-event__body .ncc-event-directions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 5px;
  color: #135675;
  font-size: 16px;
  font-weight: 600;
}

/* ==========================================================
   EDITOR PLACEHOLDERS
========================================================== */

.ncc-editor-placeholder {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border: 1px dashed #9ab3c1;
  background: #f0f7fa;
  color: #19344a;
}

.ncc-editor-placeholder__title {
  font-size: 14px;
  font-weight: 700;
}

.ncc-editor-placeholder__description {
  font-size: 12px;
  color: #526879;
}

/* ==========================================================
   SIDEBAR BUTTONS
========================================================== */

.ncc-event-sidebar .wp-block-button,
.ncc-event-sidebar .wp-block-button__link,
.ncc-event-sidebar .ncc-single-event-calendar {
  width: 100%;
}

/* ==========================================================
   EVENT BUTTONS
========================================================== */

.ncc-event-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.ncc-event-buttons .wp-element-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-sizing: border-box;
  width: 100%;
  height: 48px;
  padding: 0 16px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
}

/* ==========================================================
   EVENT BUTTON ARROW
========================================================== */

.ncc-event-buttons .wp-element-button::after {
  content: "\f061";
  font-family: "Font Awesome 6 Pro";
  font-weight: 300;
  font-size: 15px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.ncc-event-buttons .wp-element-button:hover::after {
  transform: translateX(4px);
}

/* ==========================================================
   ADD TO CALENDAR BUTTON
========================================================== */

.ncc-single-event-calendar {
  width: 100%;
}

.ncc-single-event-calendar__menu {
  position: relative;
  width: 100%;
}

.ncc-single-event-calendar__menu summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-sizing: border-box;
  width: 100%;
  height: 48px;
  padding: 0 16px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
}

/* ==========================================================
   CALENDAR DROPDOWN ARROW
========================================================== */

.ncc-single-event-calendar__menu summary .fa-angle-down {
  transition: transform 0.2s ease;
}

.ncc-single-event-calendar__menu[open] summary .fa-angle-down {
  transform: rotate(180deg);
}

/* ==========================================================
   SINGLE EVENT CONTENT COLUMN
========================================================== */

.ncc-event-content-column {
  display: flex;
  flex-direction: column;
}

.ncc-event-content-column > .ncc-social-share {
  margin-top: auto;
  padding-top: 40px;
}