

.eb-filter-form {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 1rem;
    margin-bottom: 1rem;
  }
  
  .eb-clear-filters {
    align-self: center;
  }
  
  .eb-events-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, 1fr);
  }
  
  @media (max-width: 768px) {

    .eb-events-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  @media (max-width: 480px) {

    .eb-events-grid {
      grid-template-columns: 1fr;
    }
  }
  
  .eb-event-card {
    display: flex;
    flex-direction: column;
  }
  
  .eb-event-image img {
    display: block;
    height: auto;
    object-fit: none;
    width: 100%;
  }
  
  .eb-event-details {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1rem 0;
  }

  .eb-event-row{
    display: flex;
  }

  .eb-event-date{
    display: flex;
    flex: 0 1 30%;
    flex-direction: column;
    gap: 8px;
  }

  .eb-event-date-month{
    color: #1a1a1a;
    font-size: 1em;
    text-transform: uppercase;
  }

  .eb-event-date-day{
    color: #000;
    font-size: 1.4em;
    font-weight: bold;
    line-height: 1em;
  }

  .eb-event-date p{
    margin-bottom: 0;
  }

  .eb-event-meta a{
    text-decoration: none !important;
  }

  .eb-event-meta a:hover{
    text-decoration: underline !important;
  }

  .eb-event-meta h3{
    margin-bottom: 0 !important;
  }
  
  .eb-event-footer {
    align-items: center;
    display: flex;
    flex: 1;
    gap: 16px;
    justify-content: flex-start;
    padding-top: 1rem;
  }
  
  /* Pagination centered below */

  .eb-pagination {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
  }
  
  .eb-pagination ul {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
  .eb-pagination a,
  .eb-pagination span {
    display: inline-block;
    padding: 0.5rem;
    text-decoration: none;
  }
  
  /*single event */

  body.event-template-default .event-title{
    margin-bottom: 32px;
    margin-top: 64px;
  }

  body.event-template-default .event-content{
    margin-top: 32px;
  }

  body.event-template-default .event-details p {
    margin-bottom: 0;
  }

  body.event-template-default .event-details{
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  body.event-template-default .event-details h2{
    margin-bottom: 16px;
  }

  body.event-template-default .related-events{
    margin: 32px 0;
  }

  body.event-template-default .event-checkout h2{
    margin-bottom: 16px;
    margin-top: 32px;
  }




.eb-event-title a{
	color: #000 !important;
}

.eb-event-button, .eb-filter-form button{
	background-color: #000;
    color: #fff;
    border: 1px solid #000;
    border-radius: 8px;
}

.eb-event-button:hover, .eb-filter-form:hover{
	background-color: #fff;
    color: #000;
    border-color: #000;
}

/* 1) Base: always-on padding-bottom hack */
.eb-event-image {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 66.6667%;  /* → 1 ÷ 1.5 = 66.6667% */
  overflow: hidden;
}
.eb-event-image img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  object-position: center;
}

/* 2) If aspect-ratio is supported, drop the hack and use the native property */
@supports (aspect-ratio: 1.5) {
  .eb-event-image {
    /* undo the padding-bottom‐hack */
    padding-bottom: 0;
    height: auto;
    aspect-ratio: 1.5;
  }
  .eb-event-image img {
    /* switch back to static layout */
    position: static;
    width: 100%;
    height: 100% !important;
  }
}



.eb-event-details{
  	flex: 1;
    justify-content: space-between;
  }