/*
 Theme Name:   Twenty Twenty-One Child
 Theme URI:    https://example.com/twentytwentyone-child
 Description:  Child theme of Twenty Twenty-One
 Author:       Your Name
 Author URI:   https://example.com
 Template:     twentytwentyone
 Version:      1.0.0
*/


/* Base styles (your existing CSS) */
/* ... all your existing CSS goes here ... */

/* ----------------------------- */
/* Responsive Styles */
/* ----------------------------- */

/* Mobile: up to 767px */
@media only screen and (max-width: 767px) {

    /* Adjust event container spacing */
    .tribe-events-view {
        max-width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    /* Remove .tribe-common--breakpoint-medium — it doesn’t exist on small screens */
    .tribe-events .tribe-events-l-container {
        min-height: auto !important;
        padding-top: 50px !important;
        padding-bottom: 40px !important;
    }

    .tribe-events-header__events-bar.tribe-events-c-events-bar {
        padding: 3px !important;
    }

    .tribe-events .tribe-events-c-events-bar__search-container {
        width: 100% !important;
        margin-bottom: 10px !important;
    }

    button.tribe-common-c-btn.tribe-events-c-search__button {
        font-size: 16px !important;
        padding: 12px 20px !important;
    }

    .tribe-events .tribe-events-c-view-selector__list-item-text {
        font-size: 16px !important;
    }

    .tribe-events .tribe-events-c-view-selector--tabs .tribe-events-c-view-selector__list-item--active {
        padding: 0 16px !important;
        margin: 4px !important;
    }

    input[type="text"] {
        font-size: 14px !important;
        line-height: 20px !important;
    }

    .tribe-common .tribe-common-h--alt {
        font-size: 14px !important;
        line-height: 24px !important;
    }

    .tribe-common .tribe-common-b2 {
        font-size: 14px !important;
        line-height: 24px !important;
    }

    .tribe-common p {
        font-size: 14px !important;
        line-height: 22px !important;
    }

    .tribe-common .tribe-common-h4--min-medium {
        font-size: 20px !important;
        line-height: 26px !important;
    }

    .tribe-events .tribe-events-calendar-list__event-datetime,
    .tribe-events .tribe-events-calendar-list__event-date-tag-weekday {
        font-size: 12px !important;
        line-height: 16px !important;
    }

    .tribe-common-c-btn-border.tribe-events-c-subscribe-dropdown__button {
        font-size: 16px !important;
        padding: 12px 20px !important;
    }

    time.tribe-events-c-top-bar__datepicker-time {
        font-size: 18px !important;
    }

    span.tribe-events-c-nav__prev-label,
    span.tribe-events-c-nav__next-label {
        font-size: 16px !important;
    }

    .tribe-events .tribe-events-c-top-bar__datepicker-button-icon-svg {
        height: 8px !important;
        width: 14px !important;
    }

    .tribe-events .datepicker .day.active {
        width: 28px !important;
        height: 28px !important;
    }

    .tribe-event-date-start,
    .tribe-event-date-end {
        font-size: 14px !important;
    }

    .tribe-common .tribe-common-h6 {
        font-size: 18px !important;
    }

    .tribe-events .tribe-events-calendar-month__header-column-title {
        font-size: 18px !important;
    }

    .tribe-events .tribe-events-header {
        padding-bottom: 50px !important;
    }

    .tribe-events .tribe-events-calendar-month__day-date-daynum {
        font-size: 17px !important;
    }

    .tribe-common .tribe-common-l-container {
        padding-left: 0 !important;
        padding-right: 0 !important;
		overflow-x: hidden;
    }
}


/* Tablet: 768px to 1024px */
@media (min-width: 768px) and (max-width: 1024px) {
    .banner-title {
        padding-left: 15px;
        padding-right: 15px;
    }

    .tribe-events-view {
        max-width: 95% !important;
    }
    
	
  .tribe-common--breakpoint-medium.tribe-events .tribe-events-l-container {
    min-height: 700px;
    padding-top: 50px !important;
    padding-bottom: 50px !important;
   }

    
    button.tribe-common-c-btn.tribe-events-c-search__button {
        font-size: 17px !important;
        padding: 14px 24px !important;
    }

    .tribe-events .tribe-events-c-view-selector__list-item-text {
        font-size: 17px !important;
    }
}


li.tribe-common-g-row.tribe-events-calendar-list__event-row {
    max-width: 100%;
}


/* Base button setup */
.elementor-widget-button.btn-style .elementor-button {
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all 0.3s ease-in-out;
}

/* Hover overlay */
.elementor-widget-button.btn-style .elementor-button::after {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 0;
  height: 100%;
  background-color: var(--e-global-color-accentsecondary, #1E1E1E);
  transform: skew(30deg);
  transition: all 0.5s ease-in-out;
  z-index: -1;
}

/* Hover expand */
.elementor-widget-button.btn-style .elementor-button:hover::after {
  width: 200%;
  left: -20%;
  transform: skew(0deg);
}

/* Text color on hover */
.elementor-widget-button.btn-style .elementor-button:hover {
  color: #fff !important;
}
/* banner btn styleBase button setup */
.elementor-widget-button.banner-btn .elementor-button {
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all 0.3s ease-in-out;
}

/* Hover overlay */
.elementor-widget-button.banner-btn .elementor-button::after {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 0;
  height: 100%;
  background-color: var(--e-global-color-accentsecondary, #716F36);
  transform: skew(30deg);
  transition: all 0.5s ease-in-out;
  z-index: -1;
}

/* Hover expand */
.elementor-widget-button.banner-btn .elementor-button:hover::after {
  width: 200%;
  left: -20%;
  transform: skew(0deg);
}

/* Text color on hover */
.elementor-widget-button.banner-btn .elementor-button:hover {
  color: #fff !important;
}


/* EVENT PAGE STYLE */
.banner-title {
  padding-right: 20px;
	padding-left: 20px;
}

.tribe-common--breakpoint-medium.tribe-events .tribe-events-l-container {
    min-height: 700px;
    padding-bottom: 100px !important;
    padding-top: 100px !important;
}
.tribe-common--breakpoint-medium.tribe-common .tribe-common-l-container {
    padding-left: 20px !important;
    padding-right: 20px !important;
}
.tribe-events-view {
   max-width: 1340px !important;
}


.tribe-events-header__events-bar.tribe-events-c-events-bar.tribe-events-c-events-bar--border {
    border: 1px solid #716F3633;
    border-radius: 10px;
}

.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-events-bar__search-container {
   border-radius: 10px;
}
.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-view-selector--tabs .tribe-events-c-view-selector__content {
    border-radius: 10px;
}

button.tribe-common-c-btn.tribe-events-c-search__button {
    background-color: transparent !important;
    font-family: "Libre Franklin", Sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 22px;
    fill: #1E1E1EE5;
    color: #1E1E1EE5 !important;
    border-radius: 6px;
    padding: 16px 29px;
    border: 1.5px solid #716F3633;
}
button.tribe-common-c-btn.tribe-events-c-search__button:hover {
    background-color: #716F36 !important;
    font-family: "Libre Franklin", Sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 22px;
    fill: #FFFFFF;
    color:  #FFFFFF !important;
    border-radius: 6px;
    padding: 16px 29px;
   
}
button.tribe-common-c-btn.tribe-events-c-search__button:active {
    background-color: #716F36 !important;
    font-family: "Libre Franklin", Sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 22px;
    fill: #FFFFFF;
    color: #FFFFFF;
    border-radius: 6px 6px 6px 6px;
    padding: 16px 29px 16px 29px;
}
.tribe-events .tribe-events-c-search__button:focus, .tribe-events button.tribe-events-c-search__button:focus {
    outline: 0 solid transparent;
	background-color: #1E1E1E !important;
    font-family: "Libre Franklin", Sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 22px;
    fill: #FFFFFF !important;
    color: #FFFFFF !important;
    border-radius: 6px 6px 6px 6px;
    padding: 16px 29px 16px 29px;
}



.tribe-events .tribe-events-c-view-selector__list-item-text {
    font-family: "Montserrat", Sans-serif !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    line-height: 18px !important;
    color: #1E1E1E !important;
}
.tribe-events .tribe-events-c-view-selector__list-item--active .tribe-events-c-view-selector__list-item-text {
    font-family: "Libre Franklin", Sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 12px;
    fill: #FFFFFF;
    color: #FFFFFF !important;
}
.tribe-events .tribe-events-c-view-selector--tabs .tribe-events-c-view-selector__list-item--active {
    display: block;
    background-color: #716F36 !important;
    border-radius: 6px;
    padding: 0px 28px !important;
    margin: 8px;
}

.tribe-common--breakpoint-medium.tribe-events 
.tribe-events-c-view-selector--tabs .tribe-events-c-view-selector__list-item--active 
.tribe-events-c-view-selector__list-item-link:after {
   display: none !important;
}
 input[type="text"]::placeholder {
   
    font-family: "Montserrat", Sans-serif !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 26px !important;
    color: #1E1E1EE5 !important;
}
input[type="text"] {
    font-family: "Montserrat", Sans-serif !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 26px !important;
    color: #1E1E1EE5 !important;
}
.tribe-common--breakpoint-medium.tribe-common .tribe-common-c-btn-border-small, .tribe-common--breakpoint-medium.tribe-common a.tribe-common-c-btn-border-small {
    width: auto;
    background-color: #00000000;
    font-family: "Libre Franklin", Sans-serif;
    font-size: 18px;
    font-weight: 400;
    fill: #1E1E1EE5;
    color: #1E1E1EE5;
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-color: #FFFFFF;
    border-radius: 6px 6px 6px 6px;
    border: 1px solid #716F3633;
}
.tribe-common .tribe-common-h--alt {
    font-weight: var(--tec-font-weight-regular);
    color: #1E1E1E !important;
    font-family: "Montserrat", Sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 24px !important;
}
time.tribe-events-c-top-bar__datepicker-time {
    font-size: 22px !important;
}
.tribe-events .tribe-events-calendar-list__month-separator:after {
    background-color: #716F3633 !important;
}
.tribe-events .tribe-events-calendar-list__event-datetime {
   color: #1E1E1EE5 !important;
    font-family: "Montserrat", Sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 18px;
}
.tribe-events .tribe-events-calendar-list__event-date-tag-weekday {
    color: #1E1E1EE5 !important;
    font-family: "Montserrat", Sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 18px;
    
}
.tribe-common--breakpoint-medium.tribe-common .tribe-common-b2 {
   color: #1E1E1E;
    font-family: "Marcellus", Sans-serif !important;
    font-weight: 400;
    line-height: 30px;
	font-size: 16px !important;
}


.tribe-common p {
    font-weight: 400;
    text-rendering: optimizelegibility;
    color: #1E1E1EE5;
    font-family: "Montserrat", Sans-serif;
    font-size: 16px !important;
    font-weight: 400;
    line-height: 27px;
}
.tribe-common--breakpoint-medium.tribe-common .tribe-common-h4--min-medium {
    font-size: var(--tec-font-size-7);
    line-height: var(--tec-line-height-1);
    color: #1E1E1E;
    font-family: "Marcellus", Sans-serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 30px;
}
span.tribe-events-c-nav__prev-label {
    font-family: "Montserrat", Sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 24px;
}
span.tribe-events-c-nav__next-label {
	 font-family: "Montserrat", Sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 24px;
}
.tribe-common-c-btn-border.tribe-events-c-subscribe-dropdown__button {
    background-color: #716F36;
    font-family: "Libre Franklin", Sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 22px;
    fill: #FFFFFF;
    color: #FFFFFF;
    border-radius: 6px 6px 6px 6px;
    padding: 16px 29px 16px 29px;
    border: 1px solid transparent;
}
.tribe-common-c-btn-border.tribe-events-c-subscribe-dropdown__button:hover {
    background-color: #1E1E1E !important;
    font-family: "Libre Franklin", Sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 22px;
    fill: #FFFFFF;
    color: #FFFFFF;
    border-radius: 6px 6px 6px 6px;
    padding: 16px 29px 16px 29px;
    border: 1px solid transparent;
}

.tribe-common .tribe-common-form-control-text__input:focus {
    outline: none !important;
    border-bottom-color: transparent !important;
    box-shadow: none !important; 
}
.tribe-theme-twentytwentyone .tribe-events button.tribe-events-c-top-bar__datepicker-button:focus {
    outline: none !important;
     
}
.tribe-common .tribe-common-anchor-thin:hover {
    border-bottom: 1px solid transparent !important;
}
.tribe-common img {
    height: auto;
    border-radius: 10px;
	  object-fit: cover;
}
.tribe-common .tribe-common-c-btn-border:active {
    background: #1E1E1E !important;
    color: #ffff !important;
}
.tribe-common .tribe-common-c-btn-border:focus {
    background: #1E1E1E !important;
    color: #ffff !important;
	 
}
.tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button-text:focus, .tribe-events .tribe-events-c-subscribe-dropdown button.tribe-events-c-subscribe-dropdown__button-text:focus {
    outline: none !important;
}
.tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button:focus-within {
   background: #1E1E1E !important;
    color: #ffff;
}
.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-nav__prev-icon-svg, .tribe-common--breakpoint-medium.tribe-events .tribe-events-c-nav__next-icon-svg {
   
    filter: brightness(0) saturate(100%) invert(7%) sepia(40%) saturate(0%) hue-rotate(180deg) brightness(111%) contrast(90%);
}
.tribe-common .tribe-common-c-btn-icon--caret-left .tribe-common-c-btn-icon__icon-svg, .tribe-common .tribe-common-c-btn-icon--caret-right .tribe-common-c-btn-icon__icon-svg {
    
    filter: brightness(0) saturate(100%) invert(7%) sepia(40%) saturate(0%) hue-rotate(180deg) brightness(111%) contrast(90%);
}
.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-top-bar__datepicker-button-icon-svg {
    height: 10px !important;
    width: 17px !important;
}
.tribe-events .datepicker .day.active {
    background: #716F36 !important;
   
}
.tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button-icon {
    height: 8px !important;
    width: 15px !important;
    filter: brightness(0) saturate(100%) invert(100%) sepia(1%) saturate(0%) hue-rotate(209deg) brightness(102%) contrast(103%);
}
.tribe-events-c-messages__message.tribe-events-c-messages__message--notice {
    background: #FFFFFF !important;
}
.tribe-events .tribe-events-c-messages__message-list-item-link {
    color: #1E1E1E !important;
}
.tribe-common .tribe-common-anchor-thin-alt {
    border-bottom: 1px #1E1E1E !important;
   
}
.tribe-common--breakpoint-medium.tribe-common .tribe-common-b3 {
    
    font-family: "Montserrat", Sans-serif !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 18px !important;
    color: #1E1E1E !important;
}
.tribe-events .tribe-events-calendar-month__day-date-daynum {
    color: #1E1E1EE5 !important;
    margin-bottom: 15px;
    font-family: Montserrat;
    font-weight: 400;
    font-size: 20px !important;
    line-height: 26px;
    margin-top: 8px;
}


/* event single page styling */
.tribe-events-pg-template {
    margin: 150px auto 52px !important;
}
.tribe-events-back a, .tribe-events-back a:visited {
    text-decoration: none;
    font-family: "Montserrat", Sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 24px;
    color: #1E1E1E;
}
.tribe-events-single-event-title {
    text-transform: none;
    text-align: left;
    font-family: "Marcellus", Sans-serif;
    font-size: 48px !important;
    font-weight: 400;
    line-height: 58px !important;
    color: #1E1E1E;
}
.tribe-events-back {
        margin-bottom: 10px;
    }
.tribe-event-date-start, .tribe-event-date-end {
    color: #1E1E1EE5;
    font-family: "Montserrat", Sans-serif;
    font-size: 17px;
    font-weight: 500;
    line-height: 18px;
    margin-bottom: 15px;
}
.tribe-events-event-image img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 10px !important;
    object-fit: cover;
}
.tribe-events-content p {
   
    color: #1E1E1EE5;
    font-family: "Montserrat", Sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 27px;
}
.tribe-events-meta-group .tribe-events-single-section-title {
   
    font-family: "Montserrat", Sans-serif;
    color: #1E1E1E;
}
.tribe-events-event-meta dt {
    
    color: #1E1E1E;
    font-family: "Montserrat", Sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 27px;
}
.tribe-events-event-meta dd {
	color: #1E1E1E;
    font-family: "Montserrat", Sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 27px;
}
.tribe-events-meta-group a {
    text-decoration: none;
    color: #716F36 !important;
}
.tribe-events-meta-group {
    flex: 1 0 230px !important;
}
li.tribe-events-nav-next {
    font-family: "Montserrat", Sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 24px;
   
}
.tribe-events-single .tribe-events-sub-nav .tribe-events-nav-next a {
   color: #1E1E1E !important;
}
.tribe-common .tribe-common-c-svgicon {
    color: #716F36 !important;
}
.tribe-events-single .tribe-events-sub-nav .tribe-events-nav-next a:after {
    
    filter: brightness(0) saturate(100%) invert(7%) sepia(40%) saturate(0%) hue-rotate(180deg) brightness(111%) contrast(90%);
}

li.tribe-events-nav-previous {
    font-family: "Montserrat", Sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 24px;
   
}
.tribe-events-single .tribe-events-sub-nav .tribe-events-nav-previous a {
   color: #1E1E1E !important;
}

.tribe-events-single .tribe-events-sub-nav .tribe-events-nav-previous a:before {
       
        filter: brightness(0) saturate(100%) invert(7%) sepia(40%) saturate(0%) hue-rotate(180deg) brightness(111%) contrast(90%);
    }

.tribe-events-venue-map {
        width: 100%;
 }
.tribe-events-event-meta.primary, .tribe-events-event-meta.secondary {
        width: 100%;
 }










/* ===========================
   Yoga with Hilary – Single Event
   =========================== */
.ywh-event {
  max-width: 980px;
  margin: 0 auto;
  padding: 24px 20px 48px;
}

.ywh-event__image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
}

.ywh-event__header {
  margin-top: 24px;
}

.ywh-event__header .tribe-events-single-event-title {
  /* Theme fonts should already apply; keep sizes balanced */
  margin: 0 0 6px 0;
  line-height: 1.1;
}

.ywh-event__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 16px;
  margin-top: 6px;
  margin-bottom: 20px;
}

.ywh-event__schedule {
  font-weight: 600;
  letter-spacing: .2px;
}

.ywh-event__cost {
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 600;
  background: rgba(0,0,0,.06);
}

.ywh-event__content {
  margin-top: 18px;
  margin-bottom: 28px;
}

.ywh-event__content p {
  margin: 0 0 1.1em;
}

/* Gravity Form wrapper */
.ywh-event__form {
  margin-top: 16px;
  padding: 18px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,.04);
}

/* Optional: tighten GF spacing a touch */
.ywh-event__form .gform_wrapper {
  --gf-gap: 12px;
}
.ywh-event__form .gfield {
  margin-bottom: var(--gf-gap);
}

/* Venue/Organizer meta */
.ywh-event__extra {
  margin-top: 28px;
}

/* Mobile tweaks */
@media (max-width: 600px) {
  .ywh-event { padding: 18px 16px 40px; }
  .ywh-event__meta { gap: 10px; }
}
