/*
 * Original Design Specifications
 * Target: > 1800px
 * Test Resolution: 1920 x 1080
 */
:root {
  --single-event-info-box-padding: 1.8rem;
  --single-event-date-and-category-gap: 4rem;
  --single-event-border-radius: 3rem;
  --single-event-image-border-radius: 2.1rem;
  --single-event-content-margin-top: 0;
  --single-event-call-to-action-button-margin-top: var(--layout-gap-basis);
}

/*
 * 2XL Media Query (1536px)
 * Target: 1799px > 1536px
 * Test Resolution: 1536 x 864
 */
@media screen and (max-width: 1799px) {
  :root {
    --single-event-info-box-padding: 1.6rem;
    --single-event-date-and-category-gap: 3.5rem;
  }
}

/*
 * XL Media Query (1280px)
 * Target: 1535px > 1280px
 * Test Resolution: 1280 x 720
 */
@media screen and (max-width: 1535px) {
  :root {
    --single-event-info-box-padding: 1.4rem;
    --single-event-date-and-category-gap: 3rem;
  }
}

/*
 * L Media Query (1024px)
 * Target: 1279px > 1024px
 * Test Resolution: 1024 x 768
 */
@media screen and (max-width: 1279px) {
  :root {
    --single-event-info-box-padding: 1.2rem;
    --single-event-date-and-category-gap: 2rem;
    --single-event-border-radius: 1.4rem;
    --single-event-image-border-radius: 0.9rem;
  }
}

/*
 * S Media Query (640px)
 * Target: < 767px
 * Test Resolution: 390 x 844
 */
@media screen and (max-width: 767px) {
  :root {
    --single-event-info-box-padding: 1rem;
    --single-event-date-and-category-gap: 1.2rem;
    --single-event-border-radius: 1.4rem;
    --single-event-image-border-radius: 0.9rem;
    --single-event-content-margin-top: var(--layout-gap-basis);
    --single-event-call-to-action-button-margin-top: 2rem;
  }
}

.single-event-info-box {
  background-color: var(--theme-color-white);
  padding: var(--single-event-info-box-padding);
  border-radius: var(--single-event-border-radius);
}

.single-event-image {
  display: block;
  width: 100%;
  aspect-ratio: 2;
  border-radius: var(--single-event-image-border-radius);
  object-fit: cover;
}

.single-event-content {
  padding: var(--layout-gap-basis);
  margin-top: var(--single-event-content-margin-top);
}

.single-event-date-and-category {
  display: flex;
  justify-content: space-between;
  flex-direction: var(--single-event-date-and-category-flex-direction);
  gap: var(--single-event-date-and-category-gap);
}

.single-event-date,
.single-event-category {
  display: block;
}

.single-event-call-to-action-button:not(:first-child) {
  margin-top: var(--single-event-call-to-action-button-margin-top);
}
