#holiday .banner {
  height: 550px;
}
/* Diagonal red overlay matching the design: covers 57% of the width at the top, 42% at the bottom */
#holiday .banner .bgBanner {
  width: 100%;
  height: 100%;
  border: 0;
  background: #c30e0ec2;
  clip-path: polygon(0 0, 57% 0, 41.7% 100%, 0 100%);
}
#holiday .banner .content {
  display: flex;
  align-items: center;
}
#holiday .banner .title {
  margin-top: 0;
  color: #f5f3f4;
  max-width: 577px;
  font-size: 48px;
  line-height: 1.2;
  text-transform: none;
}
#holiday .banner .description {
  max-width: 511px;
  color: #fff;
  font-size: 16px;
  line-height: 24px;
  margin: 24px 0 0;
}
#holiday .sectionBlock {
  padding: 40px 0;
}

/* Applicant alert */
#holiday .alertBox {
  display: flex;
  align-items: stretch;
  border: 1px solid #bfbfbf;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 4px 14.3px 0 rgba(0, 0, 0, 0.15);
}
#holiday .alertBox .alertDate {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 24px;
  background: #cf3e3e;
  text-align: center;
}
#holiday .alertBox .alertDate .label {
  color: #f3cfcf;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: 0.16px;
  white-space: nowrap;
}
#holiday .alertBox .alertDate .day {
  color: #fff;
  font-size: 36px;
  font-weight: 700;
  line-height: 40px;
  white-space: nowrap;
}
#holiday .alertBox .alertContent {
  flex: 1 1 auto;
  padding: 16px;
}
#holiday .alertBox .alertContent .label {
  color: #c30e0e;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  margin-bottom: 8px;
}
#holiday .alertBox .alertContent p {
  font-size: 16px;
  line-height: 24px;
  margin: 0;
}

/* Cards */
#holiday .card-holiday {
  border: 1px solid #bfbfbf;
  border-radius: 10px;
  overflow: hidden;
}
#holiday .card-holiday + .card-holiday {
  margin-top: 24px;
}
#holiday .card-holiday .cardTitle {
  padding: 24px;
  background: #cf3e3e;
  color: #fff;
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
}
#holiday .card-holiday .cardBody {
  padding: 24px;
}
#holiday .card-holiday .cardBody p {
  font-size: 14px;
  line-height: 21px;
}
#holiday .card-holiday .cardBody p:last-child {
  margin-bottom: 0;
}

/* Year dropdown */
#holiday .yearLabel {
  display: block;
  color: #9c0b0b;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  margin-bottom: 16px;
}
#holiday #holidayYear {
  width: 240px;
  max-width: 100%;
  height: auto;
  padding: 13px;
  background-color: #ededed;
  border: 0;
  border-radius: 8px;
  font-size: 16px;
  line-height: 24px;
}

/* Calendar table */
#holiday .holidayTable {
  width: 100%;
  margin-top: 8px;
}
#holiday .holidayTable th,
#holiday .holidayTable td {
  padding: 16px 24px 16px 0;
  border-bottom: 1px solid #c8c6c6;
  font-size: 16px;
  line-height: 24px;
  vertical-align: top;
}
/* Last column sits flush with the card edge; the others keep a gutter so
   the date and countdown text never run into each other as the table narrows. */
#holiday .holidayTable th:last-child,
#holiday .holidayTable td:last-child {
  padding-right: 0;
}
#holiday .holidayTable th {
  color: #9c0b0b;
  font-weight: 600;
}
#holiday .holidayTable td {
  color: #000;
  font-weight: 400;
}
#holiday .holidayTable tbody tr:last-child td {
  border-bottom: 0;
}
#holiday .holidayTable .colCountdown {
  width: 200px;
}

/* Fixed vs moving rows */
#holiday .noteRow {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}
#holiday .noteRow i {
  color: #c30e0e;
  font-size: 24px;
  line-height: 21px;
}
#holiday .noteRow .noteLabel {
  display: block;
  color: #c30e0e;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  margin-bottom: 8px;
}

/* Sidebar */
#holiday .helpCard {
  border: 1px solid #bfbfbf;
  border-radius: 10px;
  padding: 24px;
}
#holiday .helpCard .helpTitle {
  color: #c30e0e;
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
  margin-bottom: 16px;
}
#holiday .helpCard .helpItem {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid #d3d3d3;
  color: #000;
  font-size: 14px;
  line-height: 21px;
  text-decoration: none;
}
#holiday .helpCard .helpItem:last-child {
  border-bottom: 0;
}
#holiday .helpCard .helpItem img {
  width: 20px;
  height: 20px;
}
#holiday .btnApplyHoliday {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 16px;
  padding: 16px 24px;
  background: #c30e0e;
  border-radius: 10px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: 0.16px;
  text-decoration: none;
}
#holiday .btnApplyHoliday img {
  width: 24px;
  height: 24px;
}

/* Mobile hero. */
#holiday .bannerMobile {
  display: none;
}
#holiday .bannerMobile .bgText {
  background-color: #c30e0ec2;
  color: #fff;
  padding: 24px 12.5%;
  margin-top: -10px;
}
#holiday .bannerMobile h1 {
  font-size: 35px;
  font-style: normal;
  font-weight: 700;
}
#holiday .bannerMobile p {
  font-size: 14px;
  line-height: 21px;
  margin-bottom: 0;
}

@media (max-width: 991.98px) {
  #holiday .banner {
    height: 250px;
  }
  #holiday .banner .bgBanner,
  #holiday .banner .content {
    display: none;
  }
  #holiday .bannerMobile {
    display: block;
  }
  #holiday .alertBox {
    display: block;
  }
  #holiday .card-holiday .cardTitle {
    font-size: 20px;
    line-height: 28px;
  }
  #holiday .holidayTable th,
  #holiday .holidayTable td {
    padding-right: 16px;
    font-size: 14px;
    line-height: 21px;
  }
  /* Drop the fixed 200px so the countdown only claims the width it needs */
  #holiday .holidayTable .colCountdown {
    width: auto;
    white-space: nowrap;
  }
  #holiday .sidebarCol {
    margin-top: 24px;
  }
}
