 /*
 Theme Name: Avada Child
 Theme URI: http://catz.co.nz
 Description: Child theme for Avada
 Author: Christian
 Template: Avada
 Version: 1.0
 */

 /* Import parent styles */
 @import url("../Avada/style.css");



 /* Child Styles */

.holiday-list {
  max-width: 900px;
  margin: 0 auto;
}

.holiday {
  padding: 10px 14px;   /* reduced from 16px */
  border-bottom: 1px solid #e5e5e5;
}

/* Alternating background rows */
.holiday:nth-child(even) {
  background-color: #f9f9f9;
}

.holiday-name {
  font-weight: 600;
  font-size: 16px;  /* slightly reduced */
}

.holiday-date {
  margin-top: 2px;
  color: #555;
  font-size: 14px;
}

.holiday-hours {
  margin-top: 4px;
  font-weight: 500;
  font-size: 14px;
}

.holiday.closed .holiday-name,
.holiday.closed .holiday-date,
.holiday.closed .holiday-hours {
  color: #cc0000;
}

@media (min-width: 768px) {
  .holiday {
    display: grid;
    grid-template-columns: 2fr 2fr 1fr;
    align-items: center;
  }

  .holiday-name,
  .holiday-date,
  .holiday-hours {
    margin: 0;
  }
}



/* Open Now CSS */

.today-hours-card, #open-now-widget {
  max-width: 600px;
  margin: 0 auto 20px auto;
  border: 1px solid #eee;
  border-radius: 6px;
  overflow: hidden;
  font-family: Arial, sans-serif;
}

.hours-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  padding: 12px 16px;
  align-items: center;
  border-bottom: 1px solid #eee;
  background-color: #fff;
}

.hours-row:nth-child(even) {
  background-color: #f9f9f9;
}

.hours-type {
  font-weight: 600;
  font-size: 16px;
}

.hours-time {
  text-align: right;
  font-size: 14px;
  color: #555;
}

.hours-row.closed .hours-type,
.hours-row.closed .hours-time {
  color: #cc0000;
}

.hours-row.open .hours-type {
  color: #007700;
}

@media (max-width: 768px) {
  .hours-row {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .hours-time {
    margin-top: 4px;
    text-align: left;
  }
}