/* Projects only: preserve the shared Hero, Header, Footer and homepage carousel. */
.projects-listing { padding: 150px 30px; -webkit-font-smoothing: antialiased; }
.projects-listing__inner { max-width: 1410px; margin-inline: auto; }
.projects-listing__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 70px; }
.projects-tile { min-width: 0; background: #fff; }
.projects-tile__media { position: relative; }
.projects-tile__image { display: block; overflow: hidden; }
.projects-tile__image img { width: 100%; height: auto; aspect-ratio: 768 / 436; object-fit: cover; transition: transform .5s ease; }
.projects-tile:hover .projects-tile__image img, .projects-tile:focus-within .projects-tile__image img { transform: scale(1.05); }
.projects-tile__category { position: absolute; bottom: 0; left: 0; padding: 8px 9px 8px 11px; background: #fff; color: #1f1f1f; font-size: 12px; font-weight: 600; line-height: 12px; letter-spacing: 1px; text-transform: uppercase; transition: background-color .3s ease; }
.projects-tile:hover .projects-tile__category, .projects-tile:focus-within .projects-tile__category { background: #ffbe2e; }
.projects-tile__caption { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 30px 20px; }
.projects-tile__caption h2 { display: -webkit-box; min-width: 0; margin: -15px 0 0; overflow: hidden; color: #1f1f1f; font-size: 24px; font-weight: 600; line-height: 1.2083333333; text-transform: uppercase; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.projects-tile__caption h2 a { background: linear-gradient(currentColor,currentColor) no-repeat 100% 100% / 0 1px, linear-gradient(currentColor,currentColor) no-repeat 0 100% / 0 1px; transition: background-size .5s ease; }
.projects-tile__caption h2 a:hover, .projects-tile__caption h2 a:focus-visible { background-size: 0 1px, 100% 1px; }
.projects-tile__arrow { display: grid; flex: 0 0 51px; width: 51px; height: 50px; place-items: center; background: #f9f9f9; color: #1f1f1f; transition: background-color .5s ease; }
.projects-tile__arrow span { margin-left: 3px; font: 18px / 18px "Tongzheng Icons"; transform: rotate(-45deg); transition: transform .5s ease; }
.projects-tile__arrow span::before, .projects-pagination__next span::before { content: "\e03c"; }
.projects-tile__arrow:hover, .projects-tile__arrow:focus-visible { background: #ffbe2e; }
.projects-tile__arrow:hover span, .projects-tile__arrow:focus-visible span { transform: rotate(0); }
.projects-pagination { margin-top: 70px; }
.projects-pagination ul { display: flex; justify-content: center; margin: 0; padding: 0; list-style: none; }
.projects-pagination li { margin-right: 10px; }
.projects-pagination li > a, .projects-pagination li > span { display: flex; align-items: center; justify-content: center; min-width: 50px; height: 50px; background: #fff; color: #1f1f1f; font-size: 16px; font-weight: 600; line-height: 1.75; transition: background-color .3s ease; }
.projects-pagination [aria-current], .projects-pagination li > a:hover, .projects-pagination li > a:focus-visible { background: #ffbe2e; }
.projects-pagination a span { font: 18px / 1 "Tongzheng Icons"; transition: transform .3s ease; }
.projects-pagination__next span { transform: rotate(-45deg); }
.projects-pagination__previous span { transform: rotate(45deg); }
.projects-pagination__previous span::before { content: "\e03b"; }
.projects-pagination a:hover span, .projects-pagination a:focus-visible span { transform: rotate(0); }
.projects-listing a:focus-visible { outline: 2px solid #1f1f1f; outline-offset: 3px; }
@media (max-width: 1200px) {
  .projects-listing { padding-block: 100px; }
  .projects-listing__grid { gap: 30px; }
}
@media (max-width: 1024px) {
  .projects-listing { padding-block: 80px; }
  .projects-tile__caption h2 { font-size: 20px; }
}
@media (max-width: 880px) { .projects-listing { padding-block: 60px; } }
@media (max-width: 768px) { .projects-tile__caption h2 { font-size: 18px; } }
@media (max-width: 767px) {
  .projects-listing { padding-inline: 15px; }
  .projects-listing__grid { grid-template-columns: minmax(0, 1fr); }
  .projects-tile__caption { gap: 15px; padding: 15px; }
  .projects-tile__caption h2 { margin: 0; line-height: 22px; }
  .projects-pagination { margin-top: 70px; }
}
@media (prefers-reduced-motion: reduce) {
  .projects-listing *, .projects-listing *::before { transition: none !important; }
}
