/* News Section Styles */
.ev-news-section {
  max-width: 1200px;
  margin: 40px auto 0 auto;
  background: #fff;
  padding: 0 0 40px 0;
  margin-top: 65px;
}
.ev-news-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
}
.ev-news-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.ev-news-heading-ja {
  color: #1F272F;
  font-size: 32px;
  font-weight: 700;
}
.ev-news-heading-en {
  color: #23282d;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.1;
}
.ev-news-tabs {
  display: flex;
  align-items: flex-end;
  margin-right: 40px;
  border-bottom: 1px solid #bbb;
  justify-content: center;
}
.ev-news-tab {
  position: relative;
  background: #fff;
  color: #23282d;
  font-size: 20px;
  font-weight: 700;
  padding: 0 24px;
  border: 1px solid #bbb;
  border-bottom: none;
  margin-right: -1px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  z-index: 1;
  height: 48px;
  width: 200px;
  min-width: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}
.ev-news-tab.active {
  background: #23282d;
  color: #fff;
  z-index: 2;
}
.ev-news-tab-arrow {
  display: block;
  position: absolute;
  left: 50%;
  bottom: -12px;
  transform: translateX(-50%);
  width: 24px;
  height: 12px;
  background: none;
}
.ev-news-tab.active .ev-news-tab-arrow {
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 12px solid #23282d;
  background: none;
}
.ev-news-list-wrapper {
  margin: 0 40px;
}
.ev-news-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ev-news-list-row {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #eee;
  padding: 16px 0;
  font-size: 18px;
  cursor: pointer;
}

.ev-news-date {
  min-width: 120px;
  color: #23282d;
  font-size: 16px;
  margin-right: 24px;
}
.ev-news-pill {
  display: inline-block;
  font-size: 17px;
  font-weight: 700;
  border-radius: 999px;
  padding: 6px 32px;
  margin-right: 24px;
  vertical-align: middle;
  background: #90a4ae;
  color: #fff;
  letter-spacing: 0.08em;
}
.ev-news-pill--notice {
  background: #d7003a;
  color: #fff;
}
.ev-news-pill--new {
  background: #90a4ae;
  color: #fff;
}
.ev-news-title {
  color: #23282d;
  font-size: 18px;
  font-weight: 500;
  flex: 1;
}
.ev-news-arrow {
  margin-left: 16px;
  font-size: 14px;
  color: #23282d;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.ev-news-list-row.is-active .ev-news-arrow {
  transform: rotate(180deg);
}
.ev-news-list-row.is-active {
  background-color: #f5f5f5;
}
.ev-news-list-row:hover {
  background-color: #fafafa;
}
.ev-news-footer {
  display: flex;
  justify-content: flex-end;
  margin: 32px 40px 0 0;
}
.ev-news-list-btn {
  display: inline-flex;
  align-items: center;
  border: 2px solid #23282d;
  border-radius: 32px;
  background: #fff;
  color: #23282d;
  font-size: 18px;
  font-weight: 700;
  padding: 10px 32px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.ev-news-list-btn:hover {
  background: #23282d;
  color: #fff;
}
.ev-news-list-desc {
  max-width: 100%;
  padding-left: 144px;
  box-sizing: border-box;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.ev-news-desc-content {
  max-width: 100%;
  color: #23282d;
  font-size: 16px;
  line-height: 1.7;
  background: none;
  padding: 8px 0 16px 0;
  white-space: normal;
  word-break: break-all;
  overflow-wrap: break-word;
}

.ev-news-desc-content p {
  margin: 0 0 8px 0;
}

.ev-news-desc-content p:last-child {
  margin-bottom: 0;
}

.ev-news-desc-content p:empty {
  display: none;
}

.ev-news-desc-content br {
  display: none;
}

@media (max-width: 1250px) {
  .ev-news-section {
    max-width: 100vw;
    padding: 0 30px 32px 30px;
    background: #fff;
    border-radius: 0;
  }
}
@media (max-width: 900px) {
  .ev-news-section { max-width: 100vw; }
  .ev-news-header-row, .ev-news-list-wrapper, .ev-news-footer { margin-left: 8px; margin-right: 8px; }
  .ev-news-heading-en { font-size: 12px; }
  .ev-news-heading-ja { font-size: 18px; }
  .ev-news-tab { font-size: 16px; padding: 12px 16px 8px 16px; }
  .ev-news-list-row { 
    font-size: 15px; 
    padding: 12px 0;
  }
  .ev-news-title { font-size: 15px; }
  .ev-news-list-btn { font-size: 15px; padding: 8px 16px; }
  .ev-news-list-desc {
    padding-left: 20px;
  }


}
@media (max-width: 900px) {
  .ev-news-section {
    max-width: 100vw;
    padding: 0 20px 32px 20px;
    background: #fff;
    border-radius: 0;
  }
  .ev-news-header-row, .ev-news-list-wrapper, .ev-news-footer {
    margin-left: 0;
    margin-right: 0;
  }
  .ev-news-header-row {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 16px;
  }
  .ev-news-heading {
    margin-bottom: 8px;
  }
  .ev-news-heading-en {
    font-size: 12px;
  }
  .ev-news-heading-ja {
    font-size: 18px;
  }
  .ev-news-tabs {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    border-bottom: 1px solid #bbb;
    margin: 0 0 16px 0;
    gap: 0;
  }
  .ev-news-tab {
    width: 100%;
    min-width: 0;
    flex: 1 1 0;
    font-size: 11px;
    padding: 12px 0 12px 0;
    border-radius: 0;
    border: 1px solid #bbb;
    border-bottom: none;
    margin-right: 0;
    text-align: center;
    box-sizing: border-box;
    height: 48px;
  }
  .ev-news-tab:not(:last-child) {
    border-right: none;
  }
  .ev-news-tab.active {
    border-bottom: none;
    background: #23282d;
    color: #fff;
    position: relative;
    z-index: 2;
  }
  .ev-news-tab-arrow {
    position: absolute;
    left: 50%;
    bottom: -12px;
    transform: translateX(-50%);
    z-index: 3;
  }
  .ev-news-list-row {
    flex-direction: row;
    align-items: center;
    font-size: 15px;
    padding: 12px 0 0 0;
  }
  .ev-news-date {
    min-width: 80px;
    font-size: 13px;
    margin-right: 8px;
  }
  .ev-news-pill {
    font-size: 13px;
    padding: 4px 18px;
    margin-right: 8px;
  }
  .ev-news-title {
    font-size: 15px;
  }
  .ev-news-list-desc {
    padding-left: 0;
    font-size: 14px;
  }
  .ev-news-desc-content {
    font-size: 14px;
    padding: 0px 0 12px 0;
  }
  .ev-news-footer {
    margin: 24px 0 0 0;
    justify-content: center;
  }
  .ev-news-list-btn {
    width: 100%;
    border-radius: 999px;
    background: #d7003a;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    height: 44px;
    padding: 0;
    margin: 0 0 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    box-shadow: none;
    transition: background 0.2s, color 0.2s;
  }
  .ev-news-list-btn:hover {
    background: #b8002f;
    color: #fff;
  }
  .ev-news-list-btn-chevron svg {
    stroke: #fff;
  }
}

.ev-news-bg {
  background: #fff;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 0;
  box-sizing: border-box;
  overflow: hidden;
} 


@media (max-width: 600px) {
  .ev-news-list-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 8px;
  }
  .ev-news-date {
    justify-self: start;
  }
  .ev-news-pill {
    justify-self: end;
    text-align: center;
    width: 150px;
  }
  .ev-news-title {
    grid-column: 1 / -1;
    margin-bottom: 8px;
  }
  
}