.elementor-kit-6{--e-global-color-primary:#135491;--e-global-color-secondary:#FFFBF5;--e-global-color-text:#222222;--e-global-color-accent:#F29F05;--e-global-color-3d7e38e:#91130C;--e-global-color-f42a256:#0D3C67;--e-global-color-f483a94:#FFFFFF;--e-global-typography-primary-font-family:"DM Serif Display";--e-global-typography-primary-font-size:22px;--e-global-typography-primary-font-weight:500;--e-global-typography-secondary-font-family:"Poppins";--e-global-typography-secondary-font-size:20px;--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"Source Sans Pro";--e-global-typography-text-font-size:18px;--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Montserrat";--e-global-typography-accent-font-weight:500;color:#000000;font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-size:var( --e-global-typography-text-font-size );font-weight:var( --e-global-typography-text-font-weight );}.elementor-kit-6 button,.elementor-kit-6 input[type="button"],.elementor-kit-6 input[type="submit"],.elementor-kit-6 .elementor-button{background-color:var( --e-global-color-primary );font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-size:var( --e-global-typography-secondary-font-size );font-weight:var( --e-global-typography-secondary-font-weight );color:var( --e-global-color-secondary );border-style:solid;border-width:2px 2px 2px 2px;border-color:var( --e-global-color-accent );border-radius:50px 50px 50px 50px;}.elementor-kit-6 button:hover,.elementor-kit-6 button:focus,.elementor-kit-6 input[type="button"]:hover,.elementor-kit-6 input[type="button"]:focus,.elementor-kit-6 input[type="submit"]:hover,.elementor-kit-6 input[type="submit"]:focus,.elementor-kit-6 .elementor-button:hover,.elementor-kit-6 .elementor-button:focus{background-color:var( --e-global-color-f42a256 );color:var( --e-global-color-secondary );border-style:solid;border-color:var( --e-global-color-accent );border-radius:50px 50px 50px 50px;}.elementor-kit-6 e-page-transition{background-color:#FFBC7D;}.elementor-kit-6 p{margin-block-end:0px;}.elementor-kit-6 a{color:var( --e-global-color-text );font-family:"PT Sans", Sans-serif;font-size:16px;font-weight:700;}.elementor-kit-6 a:hover{color:var( --e-global-color-accent );}.elementor-kit-6 h1{color:var( --e-global-color-text );font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-size:var( --e-global-typography-primary-font-size );font-weight:var( --e-global-typography-primary-font-weight );}.elementor-kit-6 h2{color:#000000;font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-size:var( --e-global-typography-primary-font-size );font-weight:var( --e-global-typography-primary-font-weight );}.elementor-kit-6 h3{color:var( --e-global-color-text );font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-size:var( --e-global-typography-primary-font-size );font-weight:var( --e-global-typography-primary-font-weight );}.elementor-kit-6 h4{color:var( --e-global-color-text );font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-size:var( --e-global-typography-primary-font-size );font-weight:var( --e-global-typography-primary-font-weight );}.elementor-kit-6 h5{color:var( --e-global-color-text );font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-size:var( --e-global-typography-primary-font-size );font-weight:var( --e-global-typography-primary-font-weight );}.elementor-kit-6 h6{color:var( --e-global-color-text );font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-size:var( --e-global-typography-primary-font-size );font-weight:var( --e-global-typography-primary-font-weight );}.elementor-kit-6 label{font-family:"Hind", Sans-serif;}.elementor-kit-6 input:not([type="button"]):not([type="submit"]),.elementor-kit-6 textarea,.elementor-kit-6 .elementor-field-textual{font-family:"Hind", Sans-serif;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1280px;}.e-con{--container-max-width:1280px;}.elementor-widget:not(:last-child){margin-block-end:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}.site-header .site-branding{flex-direction:column;align-items:stretch;}.site-header{padding-inline-end:0px;padding-inline-start:0px;}.site-header .site-navigation .menu li{font-family:"Hind", Sans-serif;font-weight:700;}.site-footer .site-branding{flex-direction:column;align-items:stretch;}footer .footer-inner .site-navigation a{font-family:"Hind", Sans-serif;font-weight:700;}@media(max-width:1024px){.elementor-kit-6{font-size:var( --e-global-typography-text-font-size );}.elementor-kit-6 h1{font-size:var( --e-global-typography-primary-font-size );}.elementor-kit-6 h2{font-size:var( --e-global-typography-primary-font-size );}.elementor-kit-6 h3{font-size:var( --e-global-typography-primary-font-size );}.elementor-kit-6 h4{font-size:var( --e-global-typography-primary-font-size );}.elementor-kit-6 h5{font-size:var( --e-global-typography-primary-font-size );}.elementor-kit-6 h6{font-size:var( --e-global-typography-primary-font-size );}.elementor-kit-6 button,.elementor-kit-6 input[type="button"],.elementor-kit-6 input[type="submit"],.elementor-kit-6 .elementor-button{font-size:var( --e-global-typography-secondary-font-size );}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-kit-6{font-size:var( --e-global-typography-text-font-size );}.elementor-kit-6 h1{font-size:var( --e-global-typography-primary-font-size );}.elementor-kit-6 h2{font-size:var( --e-global-typography-primary-font-size );}.elementor-kit-6 h3{font-size:var( --e-global-typography-primary-font-size );}.elementor-kit-6 h4{font-size:var( --e-global-typography-primary-font-size );}.elementor-kit-6 h5{font-size:var( --e-global-typography-primary-font-size );}.elementor-kit-6 h6{font-size:var( --e-global-typography-primary-font-size );}.elementor-kit-6 button,.elementor-kit-6 input[type="button"],.elementor-kit-6 input[type="submit"],.elementor-kit-6 .elementor-button{font-size:var( --e-global-typography-secondary-font-size );}.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}/* Start custom CSS */.council-meeting-grid-item {
  display: block;
  padding: 15px;
  border: 1px solid #eee;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  margin-bottom: 5px;
  text-decoration: none !important;
  color: #000 !important;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.council-meeting-grid-item:hover {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.council-meeting-grid-item .meeting-date {
  color: #F29F05;
  font-weight: bold;
  font-family: 'Poppins', sans-serif; 
  font-size: 14px;
  margin-bottom: 6px;
}

.council-meeting-grid-item .meeting-title {
  font-size: 20px !important;
  font-weight: 600;
  color: #135491 !important;
  font-family: 'Poppins', sans-serif;
}

.council-meeting-grid-item:hover .meeting-title,
.council-meeting-grid-item:hover .meeting-date {
  color: #0D3C67 !important;
}

/* === Past Events: 3-2-1 Grid (RESTORED) === */
.em-events-list-grouped {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 20px 0;
}

@media (max-width: 1024px) {
  .em-events-list-grouped {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .em-events-list-grouped {
    grid-template-columns: 1fr;
  }
}

/* === Budget Meetings: 1 Column Grid (RESTORED) === */
.single-column-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin: 10px 0px 15px 0px;
}

.single-column-grid .events-list-grouped,
.single-column-grid .em-events-list-grouped {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 20px;
}

/*
  This targets the grid container ONLY when it is inside your
  <div class="meeting-events"> wrapper. This higher specificity
  should override any other conflicting styles.
*/
.meeting-events .events-list-grouped,
.meeting-events .em-events-list-grouped {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 20px 0;
}

@media (max-width: 1024px) {
  .meeting-events .events-list-grouped,
  .meeting-events .em-events-list-grouped {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .meeting-events .events-list-grouped,
  .meeting-events .em-events-list-grouped {
    grid-template-columns: 1fr;
  }
}

/* === Budget Meetings: Force 1 Column Grid === */
.budget-meeting .events-list-grouped,
.budget-meeting .em-events-list-grouped {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 15px; /* You can adjust the gap */
}

/* === Make Budget Items Look Like Council Items === */

/* Add .budget-meeting-grid-item to the main .elementor-kit-6 */
.council-meeting-grid-item,
.budget-meeting-grid-item {
  display: block;
  padding: 15px;
  border: 1px solid #eee;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  margin-bottom: 5px; /* Reduced from gap for single column */
  text-decoration: none !important;
  color: #000 !important;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

/* Add it to the hover .elementor-kit-6 */
.council-meeting-grid-item:hover,
.budget-meeting-grid-item:hover {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

/* Add .budget-meeting-date */
.council-meeting-grid-item .meeting-date,
.budget-meeting-grid-item .budget-meeting-date {
  color: #0D3C67;
  font-weight: bold;
  font-size: 14px;
  margin-bottom: 6px;
}

/* Since your budget item only has one line, this rule might not be needed, but it's good practice */
.council-meeting-grid-item .meeting-title {
  font-size: 18px !important;
  font-weight: 600;
  color: #19381D;
}

/* Add the new classes to the hover color change rules */
.council-meeting-grid-item:hover .meeting-title,
.council-meeting-grid-item:hover .meeting-date,
.budget-meeting-grid-item:hover .budget-meeting-date {
  color: #F29F05 !important;
}

/* === HEADING Custom Event Listing Styles (REVISED) === */

/* The main container for each event item */
.custom-event-listing {
  border: 1px solid #F29F05;
  border-radius: 6px;
  padding: 15px;
  background: transparent;
  box-shadow: none;
  transition: box-shadow 0.2s ease, transform 0.2s ease; 
}

.custom-event-listing:hover {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

/* Use Flexbox for the image-left, content-right layout */
.event-item {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Container for the image, prevents it from shrinking */
.event-image {
  flex-shrink: 0;
}

.event-image img {
  border-radius: 5px;
  display: block;
}

/* If the main event image link is empty, hide it */
.event-image a:first-child:empty {
    display: none;
}

/* If the main event image link is NOT empty, hide the fallback image that follows it */
.event-image a:first-child:not(:empty) + .fallback-category-image {
    display: none;
}


/* Container for the text content, allows it to grow */
.event-content {
  flex-grow: 1;
}

/* Event Title Styling */
.single-column-grid .event-title-text a {
  font-size: 18px;
  font-weight: 600;
  color: #FFFFFF !important; 
  text-decoration: none;
  transition: color 0.2s ease;
}

.single-column-grid .custom-event-listing .event-item .event-date-text {
  font-size: 14px;
  color: #F29F05 !important; 
  margin: 4px 0 10px;
  transition: color 0.2s ease;
}

.single-column-grid .custom-event-listing .event-item .event-read-more {
  font-size: 13px;
  font-weight: bold;
  color: #FFFFFF !important;
  text-decoration: none;
  transition: color 0.2s ease;
}

.single-column-grid .custom-event-listing:hover .event-title-text a,
.single-column-grid .custom-event-listing:hover .event-read-more {
  color: #F29F05 !important;
}

/* Recycling and Trash display */

.council-meeting-grid-item {
  display: block;
  padding: 15px;
  border: 1px solid #eee;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  margin-bottom: 5px;
  text-decoration: none !important;
  color: #000 !important;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.council-meeting-grid-item:hover {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
  color: #000 !important;
}

.council-meeting-grid-item:hover .meeting-title {
  color: #000 !important;
}

.gen-event-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.gen-event-image {
  flex-shrink: 0;
}

.gen-event-image a {
  display: block;
  width: 75px;
  height: 75px;
}

.gen-event-image img {
  width: 75px;
  height: 75px;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

.gen-event-text {
  flex: 1;
}

.gen-event-text .meeting-date {
  font-weight: bold;
  color: #C99B72;
  font-size: 14px;
  margin-bottom: 6px;
}

.gen-event-text .meeting-title {
  font-size: 15px;
  font-weight: 600;
  color: #000 !important;
}


/*Trash and Recycling / Events display */

.gen-event-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.gen-event-image {
  flex-shrink: 0;
}

.gen-event-image a {
  display: block;
  width: 75px;
  height: 75px;
}

.gen-event-image img {
  width: 75px;
  height: 75px;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

.gen-event-text {
  flex: 1;
}

.gen-event-text .meeting-date {
  font-weight: bold;
  color: #C99B72;
  font-size: 14px;
  margin-bottom: 6px;
}

.gen-event-text .meeting-title {
  font-size: 15px;
  font-weight: 600;
  color: #000 !important;
}

/* Events page display */
.gen-events-page .em-events-list-grouped {
    display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 20px 0;
}

.gen-meeting-grid-item{
 display: block;
  padding: 15px;
  border: 1px solid #eee;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  margin-bottom: 5px;
  text-decoration: none !important;
  color: #000 !important;
  transition: box-shadow 0.2s ease, transform 0.2s ease
}

.gen-events-title{
    font-size: 17px !important;
  font-weight: 600;
  color: #222222 !important;
  font-family: 'Poppins', sans-serif;
}

.gen-event-text .gen-even-date{
    color: #F29F05;
  font-weight: bold;
  font-family: 'Poppins', sans-serif; 
  font-size: 14px;
  margin-bottom: 6px;
}

.gen-events-title:hover, .gen-even-date:hover{
  color: #135491 !important;
  
}/* End custom CSS */