/* Wedding Date Styling - Elegant Card Style */

.wedding-date {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 40px auto;
  max-width: 600px;
  padding: 12px;
  color: var(--section-light-text-color);
}

.wedding-date-day,
.wedding-date-month {
  font-size: 1.6em;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  flex: 0 0 auto;
  text-align: center;
}

.wedding-date-day::before {
  content: '';
  position: absolute;
  top: 50%;
  width: 80px;
  height: 2px;
  background-color: currentColor;
  right: calc(100% + 15px);
}

.wedding-date-year::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 80px;
  height: 2px;
  background-color: currentColor;
  left: calc(100% + 15px);
}

.wedding-date-year {
  font-size: 1.2em;
  font-weight: 400;
  letter-spacing: 3px;
  text-align: center;
  position: relative;
}

.wedding-date-number {
  font-size: 4em;
  font-weight: 700;
  line-height: 1;
  margin: 0 20px;
}

/* For dark sections */
.post-holder.dark .wedding-date {
  color: var(--section-dark-text-color);
}

@media (max-width: 768px) {
  .wedding-date {
    gap: 10px;
    max-width: 90%;
    margin: 25px auto;
  }
  
  .wedding-date-day,
  .wedding-date-month {
    font-size: 1em;
    letter-spacing: 1px;
  }
  
  .wedding-date-number {
    font-size: 2.8em;
    margin: 0 8px;
  }
  
  .wedding-date-year {
    font-size: 1em;
    letter-spacing: 2px;
    margin: 0;
  }
  
  .wedding-date-day::before,
  .wedding-date-year::after {
    width: 35px;
  }
}

@media (max-width: 480px) {
  .wedding-date {
    gap: 6px;
    margin: 15px auto;
  }
  
  .wedding-date-day,
  .wedding-date-month {
    font-size: 0.8em;
  }
  
  .wedding-date-number {
    font-size: 2em;
    margin: 0 4px;
  }
  
  .wedding-date-year {
    font-size: 0.8em;
    letter-spacing: 1px;
  }
  
  .wedding-date-day::before,
  .wedding-date-year::after {
    width: 25px;
  }
}
