﻿/* Unified homepage article lists. Loaded last to normalize CMS-generated markup. */
.news-zone .work-body {
  display: block;
}

.news-zone .cms-work-image {
  width: 100%;
  height: auto;
  margin: 0 0 10px;
  overflow: hidden;
  background: #eaf2f8;
}

.news-zone .cms-work-image > ul,
.news-zone .cms-work-image > ul > li,
.news-zone .cms-work-image > a {
  width: 100%;
  height: auto;
}

.news-zone .cms-work-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.55s ease;
}

.news-zone .news-feature:hover .cms-work-image img {
  transform: scale(1.025);
}

.cms-work-list,
#n_n02 .news_list,
.info-module .compact-list {
  width: 100%;
}

.news-zone .cms-work-list.news_list ul,
#n_n02 .news_list ul,
.info-zone .info-module:nth-child(n) .compact-list ul {
  display: block;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: homepage-article;
}

.news-zone .cms-work-list.news_list li,
#n_n02 .news_list li,
.info-zone .info-module:nth-child(n) .compact-list li {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 92px;
  align-items: center;
  min-height: 52px;
  margin: 0;
  padding: 0;
  border: 0;
  border-bottom: 1px solid #e4ebf1;
  background: transparent;
  box-shadow: none;
  counter-increment: homepage-article;
  transition: background-color 0.25s ease, padding-left 0.25s ease;
}

.news-zone .cms-work-list.news_list li::before,
#n_n02 .news_list li::before,
.info-zone .info-module:nth-child(n) .compact-list li::before {
  content: counter(homepage-article, decimal-leading-zero);
  position: static;
  inset: auto;
  display: block;
  grid-column: 1;
  grid-row: 1;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #0c78bf;
  font: 600 12px/1 Arial, sans-serif;
  letter-spacing: 0;
  transform: none;
}

.news-zone .cms-work-list.news_list li::after,
#n_n02 .news_list li::after,
.info-zone .info-module:nth-child(n) .compact-list li::after {
  content: none;
}

.news-zone .cms-work-list.news_list li > a,
#n_n02 .news_list li > a,
.info-zone .info-module:nth-child(n) .compact-list li > a {
  grid-column: 2;
  min-width: 0;
  overflow: hidden;
  color: #172b3f !important;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-zone .cms-work-list.news_list li > span,
.news-zone .cms-work-list.news_list li > time,
#n_n02 .news_list li > span,
#n_n02 .news_list li > time,
.info-zone .info-module:nth-child(n) .compact-list li > span,
.info-zone .info-module:nth-child(n) .compact-list li > time {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  margin: 0;
  width: 88px;
  padding: 7px 0;
  border: 0;
  background: transparent;
  color: #8796a5;
  font-size: 13px;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  transition: color 0.25s ease, background-color 0.25s ease;
}

.news-zone .cms-work-list.news_list li:hover > span,
.news-zone .cms-work-list.news_list li:hover > time,
#n_n02 .news_list li:hover > span,
#n_n02 .news_list li:hover > time,
.info-zone .info-module:nth-child(n) .compact-list li:hover > span,
.info-zone .info-module:nth-child(n) .compact-list li:hover > time {
  border: 0;
  border-radius: 2px;
  background: var(--module-accent, #0878cf) !important;
  color: #fff !important;
  text-align: center;
}

.news-zone .cms-work-list.news_list li:hover > span,
.news-zone .cms-work-list.news_list li:hover > time {
  background: #0878cf !important;
}

#n_n02 .news_list li:hover > span,
#n_n02 .news_list li:hover > time {
  background: #a56d34 !important;
}

/* Webplus tpltype=0 fallback: normalize table-based title lists. */
#n_n02 .news_list table {
  width: 100% !important;
  margin: 0 !important;
  border: 0 !important;
  border-collapse: collapse !important;
  table-layout: fixed;
  counter-reset: notice-table-row;
}

#n_n02 .news_list tbody,
#n_n02 .news_list tr {
  width: 100%;
}

#n_n02 .news_list tr {
  counter-increment: notice-table-row;
  transition: background-color 0.25s ease;
}

#n_n02 .news_list td {
  height: 52px !important;
  padding: 0 !important;
  border: 0 !important;
  border-bottom: 1px solid #e4ebf1 !important;
  background: transparent !important;
  color: #8796a5 !important;
  font-size: 13px !important;
  vertical-align: middle !important;
}

#n_n02 .news_list td:first-child {
  position: relative;
  padding-left: 42px !important;
}

#n_n02 .news_list td:first-child::before {
  content: counter(notice-table-row, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 50%;
  width: 32px;
  color: #0c78bf;
  font: 600 12px/1 Arial, sans-serif;
  text-align: left;
  transform: translateY(-50%);
}

#n_n02 .news_list td:last-child:not(:first-child) {
  width: 92px !important;
  text-align: right !important;
  white-space: nowrap;
}

#n_n02 .news_list td a {
  display: block !important;
  overflow: hidden;
  color: #172b3f !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.45 !important;
  text-decoration: none !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#n_n02 .news_list tr:hover {
  background: #f4f9fc;
}

#n_n02 .news_list tr:hover td:last-child:not(:first-child) {
  background: #a56d34 !important;
  color: #fff !important;
  text-align: center !important;
}

#n_n02 .news_list tr:hover td a {
  color: #006fba !important;
}

.news-zone .cms-work-list.news_list li:first-child > a,
.info-zone .info-module:nth-child(n) .compact-list li > a {
  min-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45;
  transform: none;
}

.news-zone .cms-work-list.news_list li:first-child {
  min-height: 52px;
  padding-top: 0;
  padding-bottom: 0;
}

/* Readability adjustments for a teacher-facing service portal. */
.main-nav .menu > li > a,
.nav-item {
  font-size: 18px;
}

.map-heading > p,
.map-caption,
.map-scenes button {
  font-size: 15px;
}

.map-stations h3 {
  font-size: 18px;
}

.map-stations p,
.map-destinations a,
.service-links-panel a {
  font-size: 14px;
}

.contact-row strong {
  font-size: 16px;
}

.contact-row p {
  font-size: 14px;
}

.news-zone .cms-work-list.news_list li:hover,
#n_n02 .news_list li:hover,
.info-zone .info-module:nth-child(n) .compact-list li:hover {
  padding-left: 0 !important;
  background: #f4f9fc;
}

.news-zone .cms-work-list.news_list li:hover > a,
#n_n02 .news_list li:hover > a,
.info-zone .info-module:nth-child(n) .compact-list li:hover > a {
  color: #006fba !important;
  transform: none !important;
}

@media (max-width: 767px) {
  .news-zone .cms-work-list.news_list li,
  #n_n02 .news_list li,
  .info-zone .info-module:nth-child(n) .compact-list li {
    grid-template-columns: 34px minmax(0, 1fr) 82px;
    min-height: 50px;
  }

  .news-zone .cms-work-list.news_list li:first-child {
    min-height: 50px;
  }

  .news-zone .cms-work-list.news_list li > a,
  #n_n02 .news_list li > a,
  .info-zone .info-module:nth-child(n) .compact-list li > a {
    font-size: 15px;
  }

  .news-zone .cms-work-list.news_list li > span,
  .news-zone .cms-work-list.news_list li > time,
  #n_n02 .news_list li > span,
  #n_n02 .news_list li > time,
  .info-zone .info-module:nth-child(n) .compact-list li > span,
  .info-zone .info-module:nth-child(n) .compact-list li > time {
    font-size: 12px;
    width: 78px;
  }
}