/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
/* ===== Tapestry – The Events Calendar (Month View) ===== */

/* ===== Tapestry – The Events Calendar (Month View) v2 ===== */

/* ===== Tapestry – The Events Calendar (Month View) v2 ===== */
.tribe-common,
.tribe-events {
  --tec-color-accent-primary: #6B2C5F;
  --tec-color-accent-primary-hover: #B4492F;
  --tec-color-text-primary: #1F1B3A;
  --tec-color-text-secondary: #5A5566;
  --tec-color-border-default: #E3DCD3;
  --tec-color-border-secondary: #E3DCD3;
  --tec-color-background: #FFFFFF;            /* dropdown ke liye opaque */
  --tec-color-background-secondary: #EFEAE3;
  --tec-color-day-marker-month: #1F1B3A;
  --tec-font-family-sans-serif: "DM Sans", sans-serif;
  font-family: "DM Sans", sans-serif;
}
/* Page wrapper transparent (cream dikhe), dropdown white rahe */
.tribe-events .tribe-events-l-container,
.tribe-events-view,
.tribe-common.tribe-events {
  background: transparent !important;
}

/* 1. Kit ka global button style reset */
.tribe-common button,
.tribe-common button:hover,
.tribe-common button:focus,
.tribe-common button:active {
  background: transparent !important;
  color: inherit !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0;
  font: inherit;
}

/* 2. Month title */
.tribe-events .tribe-events-c-top-bar__datepicker-button,
.tribe-events .tribe-events-c-top-bar__datepicker-time {
  font-family: "EB Garamond", serif !important;
  font-size: 24px !important;
  font-weight: 400 !important;
  color: #B4492F !important;
}
.tribe-events .tribe-events-c-top-bar__datepicker-button-icon-svg path { fill: #B4492F; }

/* 3. Month picker dropdown (overlap fix) */
.tribe-events .tribe-events-c-top-bar__datepicker { position: relative; }
.tribe-events .tribe-events-c-top-bar__datepicker-container { z-index: 50 !important; }
.tribe-events .datepicker {
  background: #FFFFFF !important;
  border: 1px solid #E3DCD3 !important;
  border-radius: 2px !important;
  box-shadow: 0 10px 30px rgba(31, 27, 58, .12) !important;
  padding: 12px !important;
  z-index: 50 !important;
}
.tribe-events .datepicker table { background: #FFFFFF; margin: 0; border: 0; }
.tribe-events .datepicker th,
.tribe-events .datepicker td { border: 0 !important; background: transparent; }
.tribe-events .datepicker .datepicker-switch {
  font-family: "EB Garamond", serif;
  font-size: 18px;
  font-weight: 400;
  color: #1F1B3A;
}
.tribe-events .datepicker .prev,
.tribe-events .datepicker .next { color: #B4492F; }
.tribe-events .datepicker .month,
.tribe-events .datepicker .year,
.tribe-events .datepicker .day {
  font-size: 14px;
  color: #1F1B3A;
  border-radius: 2px !important;
  background: transparent;
}
.tribe-events .datepicker .month:hover,
.tribe-events .datepicker .year:hover,
.tribe-events .datepicker .day:hover,
.tribe-events .datepicker .focused {
  background: #F8F4EE !important;
}
.tribe-events .datepicker .month.active,
.tribe-events .datepicker .year.active,
.tribe-events .datepicker .day.active,
.tribe-events .datepicker .month.current {
  background: #6B2C5F !important;
  color: #FFFFFF !important;
}

/* 4. Grid – ek outer border, cells ke right/bottom border */
.tribe-events .tribe-events-calendar-month {
  border-left: 1px solid #E3DCD3;
  border-top: 1px solid #E3DCD3;
  background: #FFFFFF;
}
.tribe-events .tribe-events-calendar-month__header {
  background: #EFEAE3 !important;
  border: 0 !important;
  border-right: 1px solid #E3DCD3 !important;
  border-bottom: 1px solid #E3DCD3 !important;
}
.tribe-events .tribe-events-calendar-month__body { border: 0 !important; }

/* Header letters – centered, koi line nahi */
.tribe-events .tribe-events-calendar-month__header-column {
  padding: 9px 0 !important;
  border: 0 !important;
  display: flex !important;
  justify-content: center;
  align-items: center;
}
.tribe-events .tribe-events-calendar-month__header-column-title,
.tribe-events .tribe-events-calendar-month__header-column-title * {
  width: 100%;
  text-align: center !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  color: #5A5566 !important;
  border: 0 !important;
  box-shadow: none !important;
  text-decoration: none !important;
}
.tribe-events .tribe-events-calendar-month__header-column::before,
.tribe-events .tribe-events-calendar-month__header-column::after,
.tribe-events .tribe-events-calendar-month__header-column-title::before,
.tribe-events .tribe-events-calendar-month__header-column-title::after { display: none !important; }
.tribe-events abbr,
.tribe-events abbr[title] { text-decoration: none !important; border: 0 !important; cursor: default; }

/* Day cells */
.tribe-events .tribe-events-calendar-month__day,
.tribe-events .tribe-events-calendar-month__day-cell--mobile {
  background: #FFFFFF !important;
  border: 0 !important;
  border-right: 1px solid #E3DCD3 !important;
  border-bottom: 1px solid #E3DCD3 !important;
  border-radius: 0 !important;
}
.tribe-events .tribe-events-calendar-month__day-cell--mobile {
  width: 100%;
  height: 100%;
  min-height: 48px;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
/* Mobile view mein day ke button ke andar double border na aaye */
.tribe-events .tribe-events-calendar-month__day:has(.tribe-events-calendar-month__day-cell--mobile) .tribe-events-calendar-month__day-cell--mobile {
  border: 0 !important;
}
.tribe-events .tribe-events-calendar-month__day-date,
.tribe-events .tribe-events-calendar-month__day-date-daynum {
  font-family: "DM Sans", sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  color: #1F1B3A !important;
}
/* Doosre mahine ki dates halki; beete hue din thode halke */
.tribe-events .tribe-events-calendar-month__day--other-month .tribe-events-calendar-month__day-date-daynum { color: #B9B3BE !important; }
.tribe-events .tribe-events-calendar-month__day--past:not(.tribe-events-calendar-month__day--other-month) .tribe-events-calendar-month__day-date-daynum { color: #8F8999 !important; }

.tribe-events .tribe-events-calendar-month__day--current .tribe-events-calendar-month__day-date-daynum {
  color: #B4492F !important;
  font-weight: 700 !important;
}
.tribe-events .tribe-events-calendar-month__day-cell--selected,
.tribe-events .tribe-events-calendar-month__day-cell--selected:hover,
.tribe-events .tribe-events-calendar-month__day-cell--selected:focus { background: #6B2C5F !important; }
.tribe-events .tribe-events-calendar-month__day-cell--selected .tribe-events-calendar-month__day-date-daynum {
  color: #FFFFFF !important;
  font-weight: 600 !important;
}
.tribe-events .tribe-events-calendar-month__day-cell--mobile:not(.tribe-events-calendar-month__day-cell--selected):hover { background: #F8F4EE !important; }

/* Event dot */
.tribe-events .tribe-events-calendar-month__mobile-events-icon { background-color: #B4492F !important; }

/* 5. No-events message */
.tribe-events .tribe-events-c-messages__message {
  background: #F7E4DA !important;
  color: #5A5566 !important;
  font-size: 13px !important;
  border-radius: 0 !important;
  border-left: 3px solid #B4492F;
}
.tribe-events .tribe-events-c-messages__message-icon-svg path { stroke: #B4492F; }

/* 6. Bottom nav */
.tribe-events .tribe-events-c-nav { border-top: 1px solid #E3DCD3 !important; }
.tribe-events .tribe-events-c-nav__prev,
.tribe-events .tribe-events-c-nav__next,
.tribe-events .tribe-events-c-nav__today {
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #B4492F !important;
}
.tribe-events .tribe-events-c-nav__prev-icon-svg path,
.tribe-events .tribe-events-c-nav__next-icon-svg path { fill: #B4492F; }
.tribe-events .tribe-events-c-nav__prev:hover,
.tribe-events .tribe-events-c-nav__next:hover,
.tribe-events .tribe-events-c-nav__today:hover { color: #6B2C5F !important; }

/* ===== Month title hover – no zoom / no flicker ===== */
.tribe-events .tribe-events-c-top-bar__datepicker-button,
.tribe-events .tribe-events-c-top-bar__datepicker-button:hover,
.tribe-events .tribe-events-c-top-bar__datepicker-button:focus,
.tribe-events .tribe-events-c-top-bar__datepicker-button:active {
  font-size: 24px !important;
  line-height: 1.2 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  transform: none !important;
  transition: none !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
}
.tribe-events .tribe-events-c-top-bar__datepicker-button *,
.tribe-events .tribe-events-c-top-bar__datepicker-button:hover * {
  font-size: inherit !important;
  line-height: inherit !important;
  font-family: inherit !important;
  font-weight: 400 !important;
  transform: none !important;
  transition: none !important;
  text-decoration: none !important;
}
.tribe-events .tribe-events-c-top-bar__datepicker-button-icon-svg {
  width: 10px !important;
  height: 6px !important;
}
/* Hover par sirf rang badle, size nahi */
.tribe-events .tribe-events-c-top-bar__datepicker-button:hover .tribe-events-c-top-bar__datepicker-time,
.tribe-events .tribe-events-c-top-bar__datepicker-button:hover {
  color: #6B2C5F !important;
}
.tribe-events .tribe-events-c-top-bar__datepicker-button:hover .tribe-events-c-top-bar__datepicker-button-icon-svg path {
  fill: #6B2C5F;
}
/* Top bar ki height fix */
.tribe-events .tribe-events-c-top-bar {
  min-height: 48px;
  align-items: center;
}

/* Scrollbar ki jagah hamesha reserved – layout shift band */
html { scrollbar-gutter: stable; }

/* ===== Compact date cells v2 (square lock hatao) ===== */
.tribe-events:not(.tribe-common--breakpoint-medium) .tribe-events-calendar-month__week {
  min-height: 0 !important;
}
.tribe-events:not(.tribe-common--breakpoint-medium) .tribe-events-calendar-month__day {
  aspect-ratio: auto !important;   /* square lock off */
  padding-top: 0 !important;       /* padding trick off */
  height: 36px !important;
  min-height: 36px !important;
  overflow: hidden;
}
.tribe-events:not(.tribe-common--breakpoint-medium) .tribe-events-calendar-month__day-cell--mobile {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  padding: 0 !important;
  justify-content: center !important;
}
.tribe-events .tribe-events-calendar-month__day-date {
  margin: 0 !important;
  line-height: 1 !important;
}
.tribe-events .tribe-events-calendar-month__day-date-daynum {
  font-size: 13px !important;
  line-height: 1 !important;
}
/* Event dot chhota taaki 36px cell mein fit ho */
.tribe-events .tribe-events-calendar-month__mobile-events-icon {
  width: 5px !important;
  height: 5px !important;
  margin-top: 3px !important;
}
.tribe-events .tribe-events-calendar-month__header-column {
  padding: 7px 0 !important;
}