/*  Nanasa Timetable -- style 01
/*--------------------------------------------------------- */
.timetable-title {
  margin-bottom: 25px;
}
.date-period-block {
  display: flex;
  gap: 20px;
  background: var(--wp--preset--color--gray);
  border-radius: 8px;
  align-items: center;
  font-weight: bold;
  margin-bottom: 25px;
}
.date-period-block > span {
  padding: 10px;
  display: block;
}
.date-period-block > div {
  display: flex;
  gap: 10px;
}
.timetable-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.timetable-wrapper .timetable-block {
  border-radius: 10px;
}
.timetable-wrapper .timetable-block .block-top {
  background-color: #231f20;
  border-radius: 10px 10px 0 0;
  padding: 0 25px 25px;
}
.timetable-wrapper .timetable-block .block-top .nanasa-logo {
  padding: 20px 40px;
}
.timetable-wrapper .timetable-block .block-top .nanasa-logo img {
  max-width: 100%;
}
.timetable-wrapper .timetable-block .block-top .education-level-row {
  display: flex;
}
.timetable-wrapper .timetable-block .block-top .education-level-row > div {
  flex: 0 0 50%;
  padding: 5px;
  font-weight: bold;
  text-align: center;
  font-size: 1.1em;
}
.timetable-wrapper .timetable-block .block-top .education-level-row > div.logo_title {
  background: #ec2027;
  color: #fff;
  border-radius: 5px 0 0 5px;
}
.timetable-wrapper .timetable-block .block-top .education-level-row > div.level {
  background: #fff;
  color: #ec2027;
  border-radius: 0 5px 5px 0;
}
.timetable-wrapper .timetable-block .block-bottom {
  border-radius: 10px;
  box-shadow: 0px 1px 1px 1px var(--wp--preset--color--text-body-color-lighter);
}
.timetable-wrapper .timetable-block .block-bottom .channel-row {
  display: flex;
  background: var(--wp--preset--color--gray);
}
.timetable-wrapper .timetable-block .block-bottom .channel-row > div {
  flex: 0 0 50%;
  color: #ec2027;
  padding: 8px;
  font-size: 0.8em;
  text-align: center;
  font-weight: 500;
  border-right: 1px solid #d1d1d1;
}
.timetable-wrapper .timetable-block .block-bottom .channel-row > div:last-child {
  border: 0;
}
.timetable-wrapper .timetable-block .block-bottom .button-row {
  display: flex;
}
.timetable-wrapper .timetable-block .block-bottom .button-row > div {
  flex: 0 0 50%;
  border-right: 1px solid #d1d1d1;
}
.timetable-wrapper .timetable-block .block-bottom .button-row > div a {
  position: relative;
  display: block;
  color: var(--wp--preset--color--text-body-color);
  text-decoration: none;
  padding: 10px;
  text-align: center;
  font-weight: bold;
  transition: 300ms;
}
.timetable-wrapper .timetable-block .block-bottom .button-row > div a:before {
  content: '';
  position: absolute;
  width: 0;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  z-index: -1;
  background: #ec2027;
  transition: all 0.3s ease;
}
.timetable-wrapper .timetable-block .block-bottom .button-row > div:first-child a {
  border-radius: 0 0 0 10px;
}
.timetable-wrapper .timetable-block .block-bottom .button-row > div:first-child a:before {
  border-radius: 0 0 0 10px;
  left: auto;
  right: 0;
}
.timetable-wrapper .timetable-block .block-bottom .button-row > div:last-child {
  border: 0;
}
.timetable-wrapper .timetable-block .block-bottom .button-row > div:last-child a {
  border-radius: 0 0 10px 0;
}
.timetable-wrapper .timetable-block .block-bottom .button-row > div:last-child a:before {
  border-radius: 0 0 10px 0;
}
.timetable-wrapper .timetable-block .block-bottom .button-row > div:hover {
  border-right: 0;
}
.timetable-wrapper .timetable-block .block-bottom .button-row > div:hover a {
  color: var(--wp--preset--color--base);
}
.timetable-wrapper .timetable-block .block-bottom .button-row > div:hover a:before {
  width: 100%;
}
