/* Ensure top menu items are white on default and hover */
#site-navigation a,
/* Make menu text white ONLY on the Home page */
body.home .sf-with-ul span {
  color: #ffffff !important;
}

/* Keep menu text white on hover ONLY on the Home page */
body.home .sf-with-ul:hover span,
body.home .sf-with-ul:focus span {
  color: #ffffff !important;
}

/* White three-dots icon ONLY on Home */
body.home .trx_addons_icon-ellipsis-vert {
  color: #ffffff !important;
}

body.home .trx_addons_icon-ellipsis-vert:hover {
  color: #ffffff !important;
}

/* Target the icon directly and its pseudo-elements */
a.trx_addons_icon-ellipsis-vert,
a.trx_addons_icon-ellipsis-vert::before,
a.trx_addons_icon-ellipsis-vert::after {
  color: #ffffff !important;
  fill: #ffffff !important;
}

/* Strong override to prevent menu collapse site-wide */
.sc_layouts_menu_nav,
.sc_layouts_menu {
  flex-wrap: nowrap !important;
  justify-content: space-between !important;
  max-width: 100% !important;
  overflow: visible !important;
  white-space: normal !important;
}

/* Prevent collapsing to 3 dots */
/*.sc_layouts_menu_nav .menu-collapse {
  display: none !important;
}/*

/* Ensure visibility across all states */
body:not(.elementor-editor-active) .sc_layouts_menu {
  overflow: visible !important;
  visibility: visible !important;
  max-height: none !important;
}

/* Force column widths on desktop */
@media (min-width: 1024px) {
  /* Logo column */
  section.elementor-top-section.sc_layouts_row .sc_layouts_column_align_left {
    width: 15% !important;
    flex: 0 0 15% !important;
    max-width: 15% !important;
}

  /* Menu column */
  section.elementor-top-section.sc_layouts_row .sc_layouts_column_align_center {
    width: 65% !important;
    flex: 0 0 65% !important;
    max-width: 65% !important;
}

  /* Donation column */
  section.elementor-top-section.sc_layouts_row .sc_layouts_column_align_right {
    width: 20% !important;
    flex: 0 0 20% !important;
    max-width: 20% !important;
}

/* Force all menu items, including Contact Us, to appear white on Home page */
body.home .sc_layouts_menu_nav a,
body.home .sc_layouts_menu_nav a span {
  color: #ffffff !important;
}

/* Keep hover/focus also white */
body.home .sc_layouts_menu_nav a:hover,
body.home .sc_layouts_menu_nav a:focus {
  color: #ffffff !important;
}

.clean-event-table {
  width: 100%;
	table-layout: fixed;
  border-collapse: collapse;
  border: none;
  font-family: inherit;
  font-size: 1rem;
  background-color: #ffffff;
  margin-top: 10px;
  border-top: 3px solid #2f1b11; /* thick dark top border like the theme */
  box-shadow: 0px -20px 0px #ffffff; /* simulate 20px top spacer */
}

.clean-event-table td {
  padding: 10px 12px;
  border-bottom: none;
  color: inherit;
  vertical-align: middle;
}

.clean-event-table td h6,
.clean-event-table td p {
  font-size: 1.2rem;
}

.clean-event-table tr:last-child td {
  border-bottom: none; /* optional: remove line under last row */
}

.clean-event-table tr,
.clean-event-table tbody tr,
.clean-event-table tr:nth-child(even),
.clean-event-table tr:nth-child(odd),
.clean-event-table tbody tr:nth-child(even),
.clean-event-table tbody tr:nth-child(odd) {
  background-color: #ffffff !important;
}

.clean-event-table td:nth-child(1) {
  width: 20%;
}

.clean-event-table td:nth-child(2) {
  width: 35%;
}

.clean-event-table td:nth-child(3) {
  width: 25%;
}

.clean-event-table td:nth-child(4) {
  width: 20%;
}

.tab-buttons {
  display: flex;
  gap: 24px; /* more spacing between tabs */
  margin-bottom: 10px;
  justify-content: flex-start;
}

.tab-btn {
  background: none;
  border: none;
  padding: 0;
  font-size: 18px; /* slightly bigger */
  font-weight: 400;
  color: gray; /* subtle dark text */
  cursor: pointer;
  transition: color 0.2s ease;
}

.tab-btn:hover {
  color: #b1762c; /* soft golden brown on hover */
}

.tab-btn.active {
  color: #d7a950; /* gold-like color for active tab */
  font-weight: 500;
}

.tab-content {
  display: none;
}
.tab-content.active {
  display: block;
}
	
@media screen and (max-width: 768px) {
  .clean-event-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    font-size: 0.95rem;
  }

  .clean-event-table tbody,
  .clean-event-table tr,
  .clean-event-table td {
    display: block;
    width: 100% !important;
    box-sizing: border-box;
  }

  .clean-event-table tr {
    margin-bottom: 1rem;
    border-bottom: 1px solid #eee;
    padding: 10px;
    background-color: #f9f9f9;
  }

  .clean-event-table td {
    text-align: left;
    position: relative;
    font-size: 0.9rem;
    padding: 6px 10px;
		word-break: normal;
  	white-space: normal;
  }

  .clean-event-table td::before {
    content: attr(data-label);
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
    color: #333;
  }
	
	.clean-event-table td:nth-child(1),
	.clean-event-table td:nth-child(3),
	.clean-event-table td:nth-child(4) {
		white-space: nowrap;
	}

  .tab-content { display: none !important; }
  .tab-content.active { display: block !important; }
  .tab-buttons {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 12px;
    margin-bottom: 10px;
  }
  .tab-btn {
    font-size: 16px;
    padding: 6px 12px;
    border-radius: 4px;
    background-color: #f6f6f6;
  }
}

.tribe-events-header__title-text {
  display: none;
}
body.tribe-events-page-template .elementor-element-7bc4ab9 {
  display: none !important;
}

.details-row {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}

.details-text {
  margin: 0;
  font-size: 14px;
  color: #000;
}

.circle-arrow-link {
  display: inline-block;
  text-decoration: none;
}

.circle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1.5px solid #2f1b11;
  border-radius: 50%;
  transition: transform 0.2s ease;
}

.circle-icon i {
  color: #2f1b11;
  font-size: 14px;
}

.circle-arrow-link:hover .circle-icon {
  transform: scale(1.15);
}

	@media screen and (max-width: 768px) {
  .tab-content {
    display: none !important;
  }

  .tab-content.active {
    display: block !important;
  }

  .event-tabs .tab-buttons {
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
  }

  .event-tabs .tab-btn {
    flex-shrink: 0;
  }
}

/* Apply spacing only to Blogger Grid Style 8 items */
.sc_blogger_lay_portfolio_grid_grid_style_8 .sc_blogger_item {
  padding: 5px; /* optional inner padding */
}

/* Ensure grid layout allows spacing */
.sc_blogger_lay_portfolio_grid_grid_style_8 .sc_blogger_grid_wrap {
  display: grid;
  gap: 20px; /* horizontal and vertical gap */
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

/* Highlight mobile view day cells that contain events */
.tribe-events-calendar-month__day:has(.tribe-events-calendar-month__events article) 
  .tribe-events-calendar-month__day-cell--mobile {
  background-color: #dfbb72 !important;
  color: #000000 !important; /* Black text for contrast */
  border-radius: 4px;
}

/* Optional: hover effect */
.tribe-events-calendar-month__day:has(.tribe-events-calendar-month__events article) 
  .tribe-events-calendar-month__day-cell--mobile:hover {
  background-color: #caa55f !important;
}

/* Highlight desktop day cells */
.tribe-events-calendar-month__day:has(.tribe-events-calendar-month__events article) 
  .tribe-events-calendar-month__day-cell--desktop {
  background-color: #dfbb72 !important;
  color: #000000 !important;
  border-radius: 4px;
}

	/* Make event time text white */
.tribe-events-calendar-month__calendar-event-datetime {
  color: #ffffff !important;
}

.back-to-calendar-wrapper {
  display: flex;
  justify-content: flex-end;
  padding-right: 20px; /* adjust if needed */
  margin-top: -47px; /* keep or tweak if needed */
}

.back-to-calendar-btn {
  background-color: #9b6330;
  color: #fff;
  font-family: "Kumbh Sans", sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  text-decoration: none;
  padding: 12px 30px;
  transition: background-color 0.3s ease;
  display: inline-block;
  white-space: nowrap;
  border: none;
}

.back-to-calendar-btn:hover {
  background-color: #804f24;
  color: #fff;
}
