/**
 * Right popup side panel — matches reference layout (intro, 2 events, farm map).
 * Builds on vendor .sidemenu-wrapper / .recent-post patterns.
 */

.fcf-side-menu .sidemenu-content {
  padding: 32px 36px 40px;
  max-width: min(450px, 100vw);
  /* Scrollable column: viewport-bound height so long content scrolls inside the panel */
  height: 100vh;
  height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
  box-sizing: border-box;
}

.fcf-side-menu .sidemenu-content::-webkit-scrollbar {
  width: 8px;
}

.fcf-side-menu .sidemenu-content::-webkit-scrollbar-thumb {
  background: rgba(52, 78, 65, 0.35);
  border-radius: 4px;
}

.fcf-side-menu .sidemenu-content::-webkit-scrollbar-thumb:hover {
  background: rgba(52, 78, 65, 0.5);
}

.fcf-side-menu .sidemenu-content::-webkit-scrollbar-track {
  background: #f0f0f0;
}

.fcf-side-menu__close.closeButton {
  width: 36px;
  height: 36px;
  min-width: 36px;
  line-height: 36px;
  font-size: 16px;
  top: 20px;
  right: 20px;
  background-color: var(--theme-color, #344e41);
  color: #fff;
}

.fcf-side-menu__close.closeButton:hover {
  background-color: var(--title-color, #1a1a1a);
  color: #fff;
}

.fcf-side-menu__logo-wrap {
  padding-right: 48px;
}

.fcf-side-menu__logo {
  max-height: 72px;
  width: auto;
  height: auto;
}

.fcf-side-menu__intro {
  color: #4a4a4a;
  font-size: 15px;
  line-height: 1.65;
  font-weight: 400;
  margin-bottom: 1.25rem;
}

.fcf-side-menu__social.social-links a {
  min-height: 38px;
  min-width: 38px;
  background-color: var(--theme-color, #344e41);
  color: #fff;
  font-size: 15px;
}

.fcf-side-menu__social.social-links a:hover {
  background-color: #2a3f35;
  color: #fff;
}

.fcf-side-menu__widget {
  margin-bottom: 28px;
}

.fcf-side-menu__widget--map {
  margin-bottom: 0;
}

.fcf-side-menu__event-list .recent-post {
  align-items: flex-start;
  margin-bottom: 22px;
}

.fcf-side-menu__event-list .recent-post:last-child {
  margin-bottom: 0;
}

.fcf-side-menu__event .media-img {
  width: 88px;
  min-width: 88px;
  border-radius: 12px;
  overflow: hidden;
  margin-right: 16px;
}

.fcf-side-menu__event .media-img img {
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.fcf-side-menu__event .post-title {
  font-size: 16px;
  line-height: 1.45;
  margin-bottom: 6px;
}

.fcf-side-menu__event .post-title a {
  color: #4a6741;
  text-decoration: none;
}

.fcf-side-menu__event .post-title a:hover {
  text-decoration: underline;
}

.fcf-side-menu__event-meta.recent-post-meta {
  text-transform: none;
  font-size: 14px;
  font-weight: 400;
  color: #6f6f6f;
  letter-spacing: 0;
  margin-bottom: 0;
}

.fcf-side-menu__event-meta.recent-post-meta i {
  color: #4a6741;
  margin-right: 8px;
  font-size: 13px;
}

.fcf-side-menu__map-heading.widget_title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #111;
  letter-spacing: -0.02em;
  border-bottom: 2px solid rgba(254, 224, 116, 0.85);
  padding: 0 0 14px 0;
  margin: 0 0 18px 0;
}

.fcf-side-menu__map {
  border-radius: 12px;
  overflow: hidden;
  line-height: 0;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.fcf-side-menu__map-iframe {
  display: block;
  width: 100%;
  height: 200px;
  border: 0;
  vertical-align: middle;
}

.fcf-side-menu__events-fallback-text {
  margin: 0;
  font-size: 15px;
}

.fcf-side-menu__events-fallback-text a {
  color: #4a6741;
  font-weight: 600;
}
