/* Privacy Policy Link Styling */
.privacy-policy-link {
  font-family: 'Jost', sans-serif !important;
  font-size: 12pt !important;
  font-weight: 600 !important;
  color: #3b5857 !important;
  text-decoration: none !important;
  letter-spacing: 1px !important;
  line-height: 1.6 !important;
  margin-top: 0 !important;
  display: inline-block;
  transition: color 0.3s ease;
  text-align: center;
  /* Center the link in the footer widget */
  width: 100%;
}

.privacy-policy-link:hover {
  color: #f1dec0 !important;
  text-decoration: none !important;
}

/* Popup Overlay */
.privacy-popup {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(5px);
  background-color: rgba(0, 0, 0, 0.3);
  text-align: center; /* Center content in the popup */
}

/* Popup Box */
.privacy-popup-content {
  background-color: #f1dec0;
  margin: 5% auto;
  padding: 2rem;
  border-radius: 8px;
  width: 90%;
  max-width: 800px;
  position: relative;
  font-family: 'Jost', sans-serif;
  color: #3b5857;
  overflow-y: auto;
  max-height: 80vh;
}

/* Close Button */
.close-btn {
  position: fixed; /* Change from absolute to fixed */
  top: 20px; /* Position it above the popup */
  right: 20px; /* Move it to the right side */
  font-size: 24px;
  cursor: pointer;
  color: #3b5857;
  background-color: #f1dec0;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  z-index: 10000; /* Ensure it appears above everything */
}

/* Text Styling */
.privacy-text h2, .privacy-text h3 {
  margin-top: 1.2rem;
  font-weight: 600;
}
.privacy-text p, .privacy-text ul {
  margin-bottom: 1rem;
  font-size: 14pt;
  line-height: 1.6;
}

/* Center Footer Widgets */
.footer-widget-privacy {
  text-align: center !important; /* Ensures everything is centered in the footer */
}

/* Mobile Adjustment for Footer Link */
@media (max-width: 768px) {
  .privacy-policy-link {
    text-align: center; /* Ensures it stays centered on mobile */
    display: inline-block;
    width: 100%;
  }
}









/* ===========================
   Modern Times — Age Gate Styling
   =========================== */

/* Dropdown styling (Month / Day / Year) */
.age-gate .age-gate__select,
.age-gate .age-gate-select {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;

  background-color: #f1dec0 !important; /* MT black background */
  color: #1d1f23 !important;           /* Deep green text */
  border: 1px solid rgba(0,0,0,0.2) !important;
  border-radius: 10px !important;

  padding: 12px 14px !important;
  padding-right: 40px !important; /* space for arrow */

  font-family: "Jost", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif !important;
  font-size: 16px !important;
  line-height: 1.2 !important;

  box-shadow: none !important;

  background-image:
    linear-gradient(to bottom, transparent 0%, transparent 100%),
    url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%233b5857' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 12px center !important;
  background-size: 18px 18px !important;
}

/* Hover / focus states */
.age-gate .age-gate__select:hover,
.age-gate .age-gate-select:hover {
  border-color: rgba(0,0,0,0.3) !important;
}

.age-gate .age-gate__select:focus,
.age-gate .age-gate-select:focus {
  outline: none !important;
  border-color: #c39750 !important; /* MT bronze accent */
  box-shadow: 0 0 0 3px rgba(195,151,80,0.25) !important;
}

/* Placeholder option text */
.age-gate .age-gate__select option[disabled],
.age-gate .age-gate-select option[disabled] {
  color: rgba(0,0,0,0.5);
}


/* 1) Remove any gap between header rows */
.site-header,
.fl-page-header,
.fl-page-header-primary,
.main-header-bar,
.ast-primary-header-bar {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  border-bottom: 0 !important;
}

/* 2) Remove any top gap on the content area under the header */
.site-content,
#content,
.fl-page-content {
  margin-top: 0 !important;
  padding-top: 0 !important;
  border-top: 0 !important;
}

/* 3) If a stubborn 1px line still shows, gently overlap by 1px */
.site-header,
.fl-page-header {
  margin-bottom: -1px !important;
}



/* ===== Sugar Calendar single event pages (Beaver Builder Theme) ===== */
.single-sc_event .fl-post-meta,
.single-sc_event .fl-post-meta-bottom,
.single-sc_event .fl-post-author,
.single-sc_event .fl-post-date,
.single-sc_event .fl-post-taxonomy {
  display: none !important;
}

.single-sc_event .entry-meta,
.single-sc_event .post-meta,
.single-sc_event .byline,
.single-sc_event .posted-on,
.single-sc_event .author {
  display: none !important;
}


/* Page width / spacing */
.single-sc_event .fl-content {
  max-width: 980px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* Title styling */
.single-sc_event .fl-post-title,
.single-sc_event h1 {
  font-family: "Jost", system-ui, -apple-system, Segoe UI, sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 14px;
}

/* Event details block (Date / Time / Calendar / Add to calendar) */
.single-sc_event .sc-event-details,
.single-sc_event .sc-event-meta,
.single-sc_event .sc_event,
.single-sc_event .sc-event {
  font-family: "Jost", system-ui, -apple-system, Segoe UI, sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* Make the detail rows look like a neat list */
.single-sc_event .sc-event-details p,
.single-sc_event .sc-event-meta p,
.single-sc_event .sc-event-details li,
.single-sc_event .sc-event-meta li {
  margin: 8px 0;
}


/* Remove "Calendar: My Calendar" row on single event pages */
.single-sc_event .sc-event-calendar,
.single-sc_event .sc-event-calendar-name,
.single-sc_event a[href*="/calendar/"] {
  display: none !important;
}


.single-sc_event .sc-event-meta p:last-child,
.single-sc_event .sc-event-details p:last-child {
  display: none !important;
}

/* Background color for single Sugar Calendar events */
.single-sc_event body,
.single-sc_event .fl-page,
.single-sc_event .fl-content {
  background: #fde5b7;
}

.single-sc_event .fl-content {
  padding: 48px 24px;
}

.single-sc_event .site-main,
.single-sc_event .fl-post {
  background: #fde5b7;
}

.single-sc_event .sc-event-details p,
.single-sc_event .sc-event-meta p {
  margin: 6px 0;
}

/* Build custom date prefix */
.sc-events-list .sc-event-date {
  display: inline-block;
  min-width: 80px;
}

/* Force weekday + numeric date look */
.sc-events-list .sc-event-date time {
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: .06em;
}

.sc-events-list .sc-event-date::after {
  content: " –";
}


/* ===========================
   Modern Times — Age Gate Styling
   =========================== */

/* ===========================
   GLOBAL TYPOGRAPHY
   White text outside inputs
   =========================== */
.age-gate,
.age-gate *,
.agegate,
.agegate * {
  font-family: "Jost", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  color: #ffffff !important;
}

/* Main message text */
.age-gate p,
.agegate p {
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 500;
  line-height: 1.5;
}

/* Headline (if present) */
.age-gate h1,
.age-gate h2,
.agegate h1,
.agegate h2 {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 500;
  letter-spacing: 0.02em;
}
/* ===========================
   FORCE DROPDOWN OPTIONS TO BLACK
   (actual selectable items)
   =========================== */
.age-gate select option,
.age-gate .age-gate__select option,
.age-gate .age-gate-select option {
  color: #000000 !important;
  background-color: #ffffff !important;
}

/* ===========================
   DROPDOWN FIELDS (Month / Day / Year)
   White box, black text
   =========================== */
.age-gate select,
.age-gate .age-gate__select,
.age-gate .age-gate-select {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;

  background-color: #ffffff !important;
  color: #000000 !important;

  border: 1px solid rgba(0,0,0,0.25) !important;
  border-radius: 10px !important;

  padding: 12px 14px !important;
  padding-right: 40px !important;

  font-family: "Jost", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif !important;
  font-size: 16px !important;
  line-height: 1.2 !important;

  box-shadow: none !important;

  background-image:
    url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23000000' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 12px center !important;
  background-size: 18px 18px !important;
}

/* Disabled placeholder option */
.age-gate select option[disabled] {
  color: rgba(0,0,0,0.5) !important;
}

/* Hover / focus states */
.age-gate select:hover {
  border-color: rgba(0,0,0,0.4) !important;
}

.age-gate select:focus {
  outline: none !important;
  border-color: #c39750 !important;
  box-shadow: 0 0 0 3px rgba(195,151,80,0.25) !important;
}

/* ===========================
   SUBMIT BUTTON
   White button, black text
   =========================== */
.age-gate button,
.age-gate input[type="submit"] {
  background-color: #ffffff !important;
  color: #000000 !important;

  border: 1px solid rgba(0,0,0,0.25) !important;
  border-radius: 12px !important;

  font-family: "Jost", system-ui, sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;

  padding: 12px 16px !important;
  cursor: pointer;
}

/* Hover */
.age-gate button:hover,
.age-gate input[type="submit"]:hover {
  background-color: #ffffff !important;
}

/* Focus */
.age-gate button:focus,
.age-gate input[type="submit"]:focus {
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(195,151,80,0.35) !important;
}




/* FullCalendar theme variables (buttons) */
#ts-calendar .fc{
  --fc-button-bg-color: #fffdf7;
  --fc-button-border-color: rgba(0,0,0,0.14);
  --fc-button-text-color: #111;

  --fc-button-hover-bg-color: rgba(0,0,0,0.04);
  --fc-button-hover-border-color: rgba(0,0,0,0.14);
  --fc-button-active-bg-color: #fffdf7;
  --fc-button-active-border-color: rgba(0,0,0,0.35);
  --fc-button-active-text-color: #111;
}


/* ===== Timestead Calendar: FORCE LIGHT THEME ===== */

/* A) Set FullCalendar theme variables at the wrapper level */
.ts-cal-wrap{
  --fc-button-bg-color: #fffdf7 !important;
  --fc-button-border-color: rgba(0,0,0,0.14) !important;
  --fc-button-text-color: #111 !important;

  --fc-button-hover-bg-color: #fffdf7 !important;
  --fc-button-hover-border-color: rgba(0,0,0,0.14) !important;

  --fc-button-active-bg-color: #fffdf7 !important;
  --fc-button-active-border-color: rgba(0,0,0,0.35) !important;
  --fc-button-active-text-color: #111 !important;

  --fc-page-bg-color: #fffdf7 !important;
  --fc-neutral-bg-color: #fffdf7 !important;
}

/* B) Force all calendar “surfaces” to cream so no dark shows through */
.ts-cal-wrap #ts-calendar .fc,
.ts-cal-wrap #ts-calendar .fc-view-harness,
.ts-cal-wrap #ts-calendar .fc-scrollgrid,
.ts-cal-wrap #ts-calendar .fc-scrollgrid-section,
.ts-cal-wrap #ts-calendar .fc-scroller,
.ts-cal-wrap #ts-calendar .fc-col-header,
.ts-cal-wrap #ts-calendar .fc-daygrid-body,
.ts-cal-wrap #ts-calendar table,
.ts-cal-wrap #ts-calendar th,
.ts-cal-wrap #ts-calendar td{
  background: #fffdf7 !important;
  background-color: #fffdf7 !important;
}

/* C) Hard-force the toolbar buttons themselves (beats variable tricks) */
.ts-cal-wrap #ts-calendar .fc .fc-button,
.ts-cal-wrap #ts-calendar .fc .fc-button-primary,
.ts-cal-wrap #ts-calendar .fc .fc-button-primary:hover,
.ts-cal-wrap #ts-calendar .fc .fc-button-primary:active,
.ts-cal-wrap #ts-calendar .fc .fc-button-primary:focus,
.ts-cal-wrap #ts-calendar .fc .fc-button-primary:not(:disabled).fc-button-active{
  background: #fffdf7 !important;
  background-color: #fffdf7 !important;
  background-image: none !important;
  color: #111 !important;
  border-color: rgba(0,0,0,0.14) !important;
  box-shadow: none !important;
}

/* D) Remove any weird “pressed” gradient / highlight */
.ts-cal-wrap #ts-calendar .fc .fc-button:focus{
  outline: none !important;
  box-shadow: none !important;
}
