/* Compact banners are shared by list templates, independently of the homepage. */
body.list-page .page-title {
  display: flex;
  align-items: center;
  min-height: 184px !important;
  padding: 18px 0 !important;
  box-sizing: border-box;
  background-size: cover !important;
  background-position: center !important
}

body.list-page .page-title .wrap {
  display: block !important
}

body.list-page .page-title-copy {
  max-width: 960px
}

body.list-page .page-title :is(.breadcrumb-line, .crumb) {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px !important;
  line-height: 1.5;
  margin: 0
}

body.list-page .page-title :is(.breadcrumb-line, .crumb) a {
  font-size: inherit
}

body.list-page .page-title .breadcrumb-line strong {
  font-weight: 700
}

body.list-page .page-title .kicker {
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: .08em;
  margin: 6px 0 4px
}

body.list-page .page-title h1 {
  font-size: 34px !important;
  line-height: 1.2;
  margin: 0
}

body.list-page .page-title p:not(.kicker) {
  max-width: none;
  font-size: 16px;
  line-height: 1.65;
  font-weight: 700;
  margin: 8px 0 0
}

/* Campus preview: clear photography and a separate brand-color text area. */
body.list-page .page-title {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: #a71022 !important;
  background-image: url('preview/campus-courtyard.webp') !important;
  background-size: 58% auto !important;
  background-position: right 58% !important;
  background-repeat: no-repeat;
  filter: none;
  border-bottom: 0
}

body.list-page .page-title:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #a71022 0%, #ad1426 44%, rgba(173, 20, 38, .96) 49%, rgba(173, 20, 38, .15) 62%, transparent 69%);
  pointer-events: none
}

body.list-page .page-title .page-title-copy {
  max-width: 52%
}

body.list-page .page-title :is(h1, p, .kicker, .breadcrumb-line, .breadcrumb-line a, .breadcrumb-line strong, .crumb, .crumb a) {
  color: #fff !important;
  opacity: 1;
  text-shadow: none
}

body.list-page .page-title .breadcrumb-line>span {
  color: #fff
}

body.list-page .page-title .kicker {
  color: #ffd7db !important;
  letter-spacing: .12em
}

@media(min-width:761px) and (max-width:1100px) {
  body.list-page .page-title .page-title-copy {
    max-width: 57%
  }

  body.list-page .page-title:before {
    background: linear-gradient(90deg, #a71022 0%, #ad1426 51%, rgba(173, 20, 38, .9) 57%, transparent 76%)
  }
}

@media(max-width:760px) {
  body.list-page .page-title {
    background-size: auto 100% !important;
    background-position: right center !important
  }

  body.list-page .page-title:before {
    background: linear-gradient(0deg, #a71022 0%, rgba(167, 16, 34, .98) 30%, rgba(167, 16, 34, .15) 100%), linear-gradient(90deg, #a71022 0%, rgba(167, 16, 34, .97) 30%, rgba(167, 16, 34, .08) 100%)
  }

  body.list-page .page-title .page-title-copy {
    max-width: 100%
  }
}

body.video-list-page .video-categories {
  top: var(--list-header-height, 72px);
  background: #fff;
  border-bottom: 1px solid #e6e9ed;
  z-index: 50
}

body.video-list-page .video-categories .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  overflow-x: auto;
  padding: 4px 0;
  scrollbar-width: none
}

body.video-list-page .video-category-button {
  flex: 0 0 auto;
  min-height: 48px;
  margin: 0;
  padding: 10px 2px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  color: #41464d;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: color .18s ease
}

body.video-list-page .video-category-button:is(:hover, :focus-visible, .active) {
  color: #d61319;
  background: transparent
}

body.video-list-page .video-category-button:focus-visible {
  outline: 2px solid #d61319;
  outline-offset: -2px;
  border-radius: 3px
}

body.video-list-page .feed-page {
  padding: 28px 0 48px
}

body.video-list-page .feed {
  --video-columns: 4;
  columns: 4;
  column-gap: 20px
}

body.video-list-page .feed.is-sparse {
  display: grid;
  grid-template-columns: repeat(var(--video-columns, 4), minmax(0, 1fr));
  align-items: start;
  row-gap: 0
}

body.video-list-page .note {
  display: inline-block;
  vertical-align: top;
  width: 100%;
  margin: 0 0 24px;
  break-inside: avoid;
  text-decoration: none
}

body.video-list-page .note[hidden] {
  display: none !important
}

body.video-list-page .note .cover {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  overflow: hidden;
  border-radius: 8px;
  background: #25303b;
  isolation: isolate
}

body.video-list-page .cover.wide {
  aspect-ratio: 16/9
}

body.video-list-page .cover.tall {
  aspect-ratio: 9/16
}

body.video-list-page .cover.portrait {
  aspect-ratio: 3/4
}

body.video-list-page .note .cover:before {
  content: none !important
}

body.video-list-page .note .cover:after {
  content: "";
  position: absolute;
  inset: 55% 0 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, .66));
  pointer-events: none;
  z-index: 1
}

body.video-list-page .note .cover>img {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  transition: transform .25s ease
}

body.video-list-page .note:hover .cover>img {
  transform: scale(1.025)
}

body.video-list-page .note .play-icon {
  left: auto;
  top: 10px;
  right: 10px;
  bottom: auto;
  translate: none;
  transform: none;
  width: 34px;
  height: 34px;
  z-index: 2;
  background: rgba(16, 24, 32, .6);
  border: 1px solid rgba(255, 255, 255, .65);
  box-shadow: none;
  color: #fff
}

body.video-list-page .note .play-icon:after {
  border-top-width: 6px;
  border-bottom-width: 6px;
  border-left-width: 10px
}

body.video-list-page :is(.video-duration, .video-likes) {
  position: absolute;
  bottom: 10px;
  z-index: 2;
  color: #fff;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 600;
  text-shadow: 0 1px 3px #000;
  font-variant-numeric: tabular-nums
}

body.video-list-page .video-duration {
  left: 10px
}

body.video-list-page .video-likes {
  right: 10px;
  display: flex;
  align-items: center;
  gap: 4px
}

body.video-list-page .video-likes svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round
}

body.video-list-page .note h3 {
  margin: 9px 0 0;
  font-size: 16px !important;
  line-height: 1.55 !important;
  color: #41464d;
  transition: color .18s ease
}

body.video-list-page .note:hover h3 {
  color: #d61319
}

@media(max-width:1000px) {
  body.video-list-page .feed {
    --video-columns: 3;
    columns: 3;
    column-gap: 16px
  }
}

@media(max-width:760px) {
  body.list-page .page-title {
    min-height: 184px !important;
    padding: 16px 0 !important
  }

  body.list-page .page-title h1 {
    font-size: 28px !important;
    line-height: 1.25
  }

  body.list-page .page-title :is(.breadcrumb-line, .crumb) {
    font-size: 16px !important
  }

  body.list-page .page-title p:not(.kicker) {
    font-size: 15px;
    line-height: 1.6;
    margin-top: 6px
  }

  body.list-page .page-title {
    background-position: 65% center !important
  }

  body.video-list-page .video-categories .wrap {
    gap: 22px;
    padding: 2px 0
  }

  body.video-list-page .video-category-button {
    font-size: 15px;
    min-height: 44px
  }

  body.video-list-page .feed-page {
    padding: 18px 0 28px
  }

  body.video-list-page .feed {
    --video-columns: 2;
    columns: 2;
    column-gap: 12px
  }

  body.video-list-page .note {
    margin-bottom: 18px
  }

  body.video-list-page .note .play-icon {
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px
  }

  body.video-list-page :is(.video-duration, .video-likes) {
    bottom: 8px;
    font-size: 12px
  }

  body.video-list-page .video-duration {
    left: 8px
  }

  body.video-list-page .video-likes {
    right: 8px
  }

  body.video-list-page .video-likes svg {
    width: 14px;
    height: 14px
  }
}

@media(prefers-reduced-motion:reduce) {
  body.video-list-page :is(.video-category-button, .note h3, .note .cover>img) {
    transition: none
  }

  body.video-list-page .note:hover .cover>img {
    transform: none
  }
}

body.list-page .list-mobile-phone {
  display: none
}

@media(max-width:760px) {
  body.list-page .topbar .wrap {
    gap: 10px
  }

  body.list-page .topbar .header-tel {
    display: none
  }

  body.list-page .topbar .list-mobile-phone {
    display: inline-flex;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-left: auto;
    border: 1px solid #f0d5d8;
    border-radius: 50%;
    background: #fff7f7;
    color: #d61319
  }

  body.list-page .list-mobile-phone svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round
  }

  body.list-page .list-mobile-phone:focus-visible {
    outline: 2px solid #d61319;
    outline-offset: 3px
  }

  body.list-page .topbar .menu {
    margin-left: 0;
    flex-shrink: 0
  }
}
