
/* Campus life experience */
.n-life-section {
  position: relative;
  overflow: hidden;
  height: 100vh;
  min-height: 100vh;
  box-sizing: border-box;
  color: var(--color-white);
}
/*life-ppsu-gallery*/
.life-ppsu-gallery { background: linear-gradient(150deg, var(--color-secondary) 0%, var(--color-secondary-container) 100%);  color: var(--color-white);}
.life-ppsu-gallery__heading { text-align: center; max-width: 800px; margin: 0 auto 2rem;}
.life-ppsu-gallery__title {	color: var(--color-white);}
.life-ppsu-gallery__title span { color: var(--color-primary);}
.n-life-section::before,
.n-life-section::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.n-life-section::before {
  background: none;
}

.n-life-section .container {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.n-life-head {
  margin-bottom: 42px;
  text-align: center;
}

.n-life-head h2 {
  margin: 0 0 8px;
  color: var(--color-white);
  font-size: clamp(1.75rem, 3.2vw, 2.05rem);
  font-weight: 400;
  line-height: 1.18;
}

.n-life-head h2 strong {
  font-weight: 700;
}

.n-life-head p {
  margin: 0;
  color: rgba(255,255,255,0.94);
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.4;
}

.n-life-grid {
  align-items: center;
}

.n-life-copy {
  position: relative;
  padding-left: 42px;
}


.n-life-active {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.n-life-active > div {
  overflow: hidden;
}

.n-life-active span {
  position: relative;
  width: 1px;
  height: 260px;
  display: block;
  background: rgba(255,255,255,0.28);
}

.n-life-active span::before,
.n-life-active span::after {
  content: '';
  position: absolute;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.76);
  transform: translateX(-50%);
}

.n-life-active span::before {
  top: 26px;
}

.n-life-active span::after {
  bottom: -2px;
  opacity: 0.32;
}

.n-life-active h3 {
  margin: 12px 0 16px;
  color: var(--color-white);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 700;
  line-height: 1.12;
  transition: opacity 0.28s ease;
}

.n-life-active p {
  max-width: 520px;
  margin: 0;
  color: rgba(255,255,255,0.88);
  font-size: 1.02rem;
  line-height: 1.35;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.n-life-section.is-changing .n-life-active h3,
.n-life-section.is-changing .n-life-active p {
  opacity: 0;
  transform: translateY(8px);
}

.n-life-section.is-changing .n-life-gallery article {
  opacity: 0.28;
  transform: translateY(20px) scale(0.92);
}

.n-life-list {
  display: grid;
  gap: 16px;
  margin: 24px 0 28px 0;
  padding: 0;
  list-style: none;
  color: rgba(255,255,255,0.18);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-weight: 700;
  line-height: 1.15;
}

.n-life-list li::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 18px;
  flex-shrink: 0;
  background: rgba(255,255,255,0.24);
}

.n-life-list li {
  display: flex;
  align-items: center;
}

.n-life-list button {
  border: 0;
  padding: 0;
  background: transparent;
  color: rgba(255,255,255,0.24);
  font: inherit;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-weight: 700;
  line-height: 1.15;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease;
}

.n-life-list button:hover,
.n-life-list button.active {
  color: rgba(255,255,255,0.78);
}


.n-life-bottom {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 34px;
  align-items: center;
}

.n-life-bottom a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(255,255,255,0.82);
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
}

.n-life-bottom p {
  margin: 0;
  color: rgba(255,255,255,0.9);
  font-size: 0.82rem;
  line-height: 1.25;
}

.n-life-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(190px, 1fr));
  justify-content: start;
  gap: 12px;
  align-items: end;
  min-height: 430px;
  width: 100%;
  max-width: 840px;
}

.n-life-gallery article {
  position: relative;
  height: 350px;
  overflow: hidden;
  border-radius: 12px;
  background: #efe8df;
  box-shadow: 0 16px 28px rgba(0,0,0,0.18);
  opacity: 0.78;
  transform: translateY(18px) scale(0.94);
  transform-origin: bottom center;
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.n-life-gallery article.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  box-shadow: 0 24px 36px rgba(0,0,0,0.26);
}

.n-life-gallery article:hover {
  opacity: 1;
  transform: translateY(2px) scale(0.96);
  box-shadow: 0 26px 38px rgba(0,0,0,0.26);
}

.n-life-gallery article.active:hover {
  transform: translateY(-16px) scale(1.02);
}

.n-life-gallery article:nth-child(2) {
  height: 430px;
}

.n-life-gallery article:nth-child(3) {
  height: 350px;
}

.n-life-gallery span,
.n-life-gallery strong {
  position: absolute;
  left: 12px;
  z-index: 2;
  transition: color 0.22s ease;
}

.n-life-gallery span {
  top: 8px;
  color: #ce2130;
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1;
}

.n-life-gallery strong {
  top: 66px;
  max-width: 130px;
  color: #ce2130;
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.08;
}

.n-life-gallery article:nth-child(2) strong,
.n-life-gallery article:nth-child(3) strong {
  color: var(--color-white);
}

.n-life-gallery article:hover span,
.n-life-gallery article:hover strong {
  color: var(--color-white);
}

.n-life-gallery article:nth-child(2):hover strong,
.n-life-gallery article:nth-child(3):hover strong {
  color: #ce2130;
}

.n-life-gallery img {
  /* width: 100%; */
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center bottom;
  transition: opacity 0.32s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.n-life-gallery article.active img {
  transform: none;
}

.n-life-gallery article:hover img {
  transform: none;
}

.n-life-scroll {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  position: absolute;
  bottom: 28px;
  right: 0;
  color: rgba(255,255,255,0.9);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.n-life-scroll::before {
  content: '';
  width: 170px;
  height: 1px;
  display: inline-block;
  background: rgba(255,255,255,0.72);
}

.n-life-scroll:hover {
  color: var(--color-white);
}

.n-life-scroll:hover::before {
  background: var(--color-white);
}

@media (max-width: 767px) {
  .n-life-section {
    height: auto;
    min-height: 100svh;
    overflow-x: hidden;
  }

  .n-life-section .container {
    min-height: calc(100svh - 72px);
    justify-content: flex-start;
  }

  .n-life-head {
    margin-bottom: 24px;
    text-align: center;
  }

  .n-life-head h2 {
    font-size: clamp(1.55rem, 7vw, 2rem);
  }

  .n-life-head p {
    font-size: 0.92rem;
  }

  .n-life-copy {
    order: 2;
    padding-left: 0;
  }

  .n-life-grid {
    --bs-gutter-x: 0;
    margin-right: 0;
    margin-left: 0;
  }

  .n-life-grid > .col-12:not(.n-life-copy) {
    order: 1;
  }

  .n-life-active {
    grid-template-columns: 12px minmax(0, 1fr);
    gap: 12px;
  }

  .n-life-active span {
    height: 190px;
  }

  .n-life-active h3 {
    margin-top: 4px;
    font-size: clamp(1.62rem, 7.4vw, 2rem);
  }

  .n-life-active p {
    max-width: none;
    font-size: 0.9rem;
    line-height: 1.45;
  }

  .n-life-list {
    gap: 12px;
    margin: 18px 0 22px;
  }

  .n-life-list li::before {
    width: 7px;
    height: 7px;
    margin-right: 10px;
  }

  .n-life-list button {
    font-size: clamp(0.82rem, 3.4vw, 0.96rem);
    line-height: 1.15;
  }

  .n-life-bottom {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .n-life-bottom a {
    width: fit-content;
  }

  .n-life-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    min-height: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 2px 0 0;
    padding: 4px 0 10px;
    overflow-x: hidden;
    overflow-y: hidden;
  }

  .n-life-gallery article,
  .n-life-gallery article.active,
  .n-life-gallery article:nth-child(2),
  .n-life-gallery article:nth-child(3) {
    width: 100%;
    height: 160px;
    transform: translateY(0) scale(1);
  }

  .n-life-gallery article:nth-child(2) {
    height: 190px;
    transform: translateY(-10px) scale(1);
  }

  .n-life-gallery img {
    height: 100%;
    object-fit: contain;
  }

  .n-life-gallery span {
    font-size: 2rem;
  }

  .n-life-gallery strong {
    top: 54px;
    font-size: 1rem;
  }

  .n-life-scroll {
    position: static;
    margin-top: 10px;
    font-size: 0.68rem;
    letter-spacing: 1.4px;
  }

  .n-life-scroll::before {
    width: 64px;
  }
}

@media (max-width: 575px) {

  .n-life-head {
    margin-bottom: 20px;
  }

  .n-life-list {
    gap: 10px;
  }

  .n-life-gallery article,
  .n-life-gallery article.active,
  .n-life-gallery article:nth-child(2),
  .n-life-gallery article:nth-child(3) {
    width: 100%;
    height: 260px;
  }

  .n-life-gallery article:nth-child(2) {
    height: 310px;
    transform: translateY(-8px) scale(1);
  }

  .n-life-scroll {
    margin-top: 6px;
  }

  .n-life-scroll::before {
    width: 46px;
  }
}





/* Campus life responsive refinement */
.n-life-section {
  height: auto;
  min-height: clamp(720px, 88vh, 920px);
}

.n-life-section .container {
  height: auto;
  min-height: 0;
  justify-content: center;
}

.n-life-head {
  max-width: 900px;
  margin: 0 auto clamp(30px, 4vw, 48px);
}

.n-life-head h2 {
  font-size: clamp(2rem, 3vw, 3rem);
}

.n-life-head p {
  max-width: 820px;
  margin: 0 auto;
  font-size: clamp(0.94rem, 1.08vw, 1.08rem);
}

.n-life-grid {
  align-items: center;
}

.n-life-copy {
  padding-left: clamp(0px, 2.4vw, 34px);
}

.n-life-active span {
  height: clamp(190px, 24vw, 250px);
}

.n-life-active h3 {
  font-size: clamp(1.55rem, 2.15vw, 2.25rem);
}

.n-life-active p {
  max-width: 560px;
  font-size: clamp(0.9rem, 1vw, 1.02rem);
}

.n-life-list {
  gap: clamp(10px, 1.2vw, 16px);
}

.n-life-gallery {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 1.2vw, 16px);
  min-height: 0;
  max-width: 820px;
  margin-left: auto;
}

.n-life-gallery article,
.n-life-gallery article:nth-child(3) {
  height: clamp(310px, 30vw, 390px);
}

.n-life-gallery article:nth-child(2) {
  height: clamp(370px, 36vw, 480px);
}

.n-life-gallery img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.n-life-scroll {
  right: 12px;
  bottom: 18px;
}

@media (min-width: 1400px) {
  .n-life-section {
    min-height: 820px;
  }

  .n-life-gallery {
    max-width: 900px;
  }
}

@media (max-width: 1199px) {
  .n-life-bottom {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (max-width: 991px) {
  .n-life-section {
    min-height: 0;
  }



  .n-life-head {
    margin-bottom: 28px;
  }

  .n-life-head h2 {
    font-size: clamp(1.8rem, 5vw, 2.45rem);
  }

  .n-life-head p {
    font-size: 0.94rem;
  }

  .n-life-copy {
    order: 2;
    padding-left: 0;
  }

  .n-life-grid {
    --bs-gutter-x: 0;
    --bs-gutter-y: 28px;
    margin-right: 0;
    margin-left: 0;
  }

  .n-life-grid > .col-12:not(.n-life-copy) {
    order: 1;
  }

  .n-life-gallery {
    max-width: 760px;
    margin: 0 auto;
  }

  .n-life-gallery article,
  .n-life-gallery article.active,
  .n-life-gallery article:nth-child(3) {
    height: clamp(220px, 36vw, 330px);
    transform: translateY(0) scale(1);
  }

  .n-life-gallery article:nth-child(2) {
    height: clamp(260px, 42vw, 390px);
    transform: translateY(-8px) scale(1);
  }

  .n-life-active {
    grid-template-columns: 14px minmax(0, 1fr);
    gap: 14px;
    max-width: 760px;
    margin: 0 auto;
  }

  .n-life-active span {
    height: 190px;
  }

  .n-life-list,
  .n-life-bottom {
    max-width: 760px;
    margin-right: auto;
    margin-left: auto;
  }

  .n-life-list button {
    font-size: clamp(0.9rem, 2.6vw, 1rem);
  }

  .n-life-scroll {
    position: static;
    margin: 22px auto 0;
  }
}

@media (max-width: 575px) {



  .n-life-head {
    margin-bottom: 22px;
    text-align: left;
  }

  .n-life-head h2 {
    font-size: clamp(1.7rem, 8vw, 2.15rem);
  }

  .n-life-head p {
    font-size: 0.9rem;
  }

  .n-life-gallery {
    gap: 8px;
    align-items: end;
  }

  .n-life-gallery article,
  .n-life-gallery article.active,
  .n-life-gallery article:nth-child(3) {
    height: clamp(168px, 58vw, 240px);
    border-radius: 8px;
  }

  .n-life-gallery article:nth-child(2) {
    height: clamp(205px, 68vw, 290px);
    transform: translateY(-6px) scale(1);
  }

  .n-life-gallery span {
    left: 8px;
    font-size: clamp(1.45rem, 7vw, 2rem);
  }

  .n-life-gallery strong {
    top: 46px;
    left: 8px;
    font-size: clamp(0.76rem, 3.8vw, 0.95rem);
  }

  .n-life-active {
    grid-template-columns: 10px minmax(0, 1fr);
    gap: 12px;
  }

  .n-life-active span {
    height: 170px;
  }

  .n-life-active h3 {
    margin: 0 0 12px;
    font-size: clamp(1.35rem, 6.6vw, 1.75rem);
  }

  .n-life-active p {
    font-size: 0.86rem;
    line-height: 1.45;
  }

  .n-life-list {
    gap: 10px;
    margin-top: 18px;
    margin-bottom: 22px;
  }

  .n-life-list li::before {
    width: 7px;
    height: 7px;
    margin-right: 10px;
  }

  .n-life-list button {
    font-size: 0.88rem;
  }

  .n-life-bottom a {
    width: 100%;
    justify-content: center;
  }

  .n-life-scroll {
    margin-top: 18px;
    font-size: 0.68rem;
    letter-spacing: 1.2px;
  }

  .n-life-scroll::before {
    width: 54px;
  }
}

/* Campus life reference redesign */
.n-life-section {
  position: relative;
  min-height: 820px;
  overflow: hidden;
}

.n-life-section::before {
  background: none;
  opacity: 0;
}


.n-life-head {
  max-width: 1060px;
  margin: 0 auto 66px;
  text-align: center;
}

.n-life-head h2 {
  margin: 0 0 8px;
  color: var(--color-white);
  font-size: 2.35rem;
  font-weight: 300;
  line-height: 1.16;
}

.n-life-head h2 strong {
  font-weight: 700;
}

.n-life-head p {
  max-width: none;
  margin: 0;
  color: rgba(255,255,255,0.96);
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1.35;
}

.n-life-grid {
  display: grid;
  grid-template-columns: 37% 63%;
  gap: 6%;
  align-items: start;
  margin: 0;
}

.n-life-copy {
  position: static;
  min-width: 0;
  padding: 0 0 0 34px;
}

.n-life-copy::before {
  content: '';
  position: absolute;
  top: 162px;
  left: 26px;
  width: 1px;
  height: 452px;
  background: rgba(255,255,255,0.42);
}

.n-life-active {
  position: relative;
  display: block;
  padding-left: 30px;
}

.n-life-active span {
  position: absolute;
  top: 10px;
  left: -11px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-white);
}

.n-life-active span::before,
.n-life-active span::after {
  display: none;
}

.n-life-active h3 {
  margin: 0 0 18px;
  color: var(--color-white);
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.08;
}

.n-life-active p {
  max-width: 380px;
  margin: 0;
  color: rgba(255,255,255,0.95);
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.34;
}

.n-life-list {
  display: grid;
  gap: 20px;
  margin: 26px 0 0;
  padding: 0 0 0 24px;
  list-style: none;
}

.n-life-list li {
  display: flex;
  align-items: center;
  min-height: 30px;
}

.n-life-list li::before {
  content: '';
  width: 5px;
  height: 5px;
  margin-right: 24px;
  border-radius: 50%;
  background: rgba(255,255,255,0.24);
}

.n-life-list button {
  border: 0;
  padding: 0;
  background: transparent;
  color: rgba(255,255,255,0.18);
  font-size: 1.48rem;
  font-weight: 700;
  line-height: 1.05;
  text-align: left;
}


.n-life-visual {
  min-width: 0;
  padding-top: 56px;
}

.n-life-gallery {
  width: 100%;
  max-width: none;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
  gap: 0;
  margin: 0;
  padding: 0;
  overflow: visible;
}

.n-life-gallery article {
  position: relative;
  flex: 0 0 270px;
  height: 325px;
  overflow: hidden;
  border-radius: 16px;
  background: #efe8df;
  box-shadow: none;
  opacity: 1;
  transform: none;
  transform-origin: center bottom;
  transition:
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.n-life-gallery article:nth-child(1) {
  margin-left: 0;
}

.n-life-gallery article:nth-child(2) {
  flex-basis: 270px;
  height: 325px;
  margin-left: 10px;
  transform: none;
}

.n-life-gallery article:nth-child(3) {
  flex-basis: 270px;
  height: 325px;
  margin-left: 10px;
  transform: none;
}

.n-life-gallery article.active,
.n-life-gallery article:hover,
.n-life-gallery article.active:hover {
  opacity: 1;
  transform: translateY(-14px) scale(1.03);
  box-shadow: 0 22px 36px rgba(0,0,0,0.24);
}

.n-life-gallery img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.n-life-gallery article:hover img {
  transform: scale(1.08);
}

.n-life-gallery span,
.n-life-gallery strong {
  display: none;
}

.n-life-gallery span {
  top: 10px;
  left: 12px;
  color: #c23240;
  font-size: 2.5rem;
  font-weight: 300;
  line-height: 1;
}

.n-life-gallery strong {
  top: 18px;
  right: 14px;
  left: auto;
  max-width: 145px;
  color: #c23240;
  font-size: 1rem;
  font-weight: 700;
  line-height: 0.98;
  text-align: right;
  text-transform: uppercase;
}

.n-life-gallery article:nth-child(2) span,
.n-life-gallery article:nth-child(2) strong,
.n-life-gallery article:nth-child(3) span,
.n-life-gallery article:nth-child(3) strong {
  color: var(--color-white);
}

.n-life-gallery article:hover span,
.n-life-gallery article:hover strong,
.n-life-gallery article:nth-child(2):hover strong,
.n-life-gallery article:nth-child(3):hover strong {
  color: var(--color-white);
  transform: translateY(-2px);
}

.n-life-bottom {
  position: absolute;
  
  bottom: -5%;
  left: 34px;
  display: grid;
  grid-template-columns: 245px minmax(360px, 1fr);
  gap: 46px;
  align-items: center;
}

.n-life-bottom a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid rgba(255,255,255,0.86);
  color: var(--color-white);
  font-size: 1.32rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.n-life-bottom p {
  margin: 0;
  color: rgba(255,255,255,0.94);
  font-size: 1rem;
  line-height: 1.25;
}

.n-life-scroll {
  position: absolute;
  right: 10px;
  bottom: -5%;
  width: 230px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
  margin: 0;
  color: transparent;
  font-size: 0;
}

.n-life-scroll::before {
  content: '';
  width: 224px;
  height: 1px;
  display: block;
  background: rgba(255,255,255,0.86);
}

.n-life-scroll i {
  margin-left: -1px;
  color: var(--color-white);
  font-size: 1.18rem;
  line-height: 1;
}

.n-life-bottom-row {
  align-items: center;
  gap: 44px;
  padding: 22px 40px;
}

.n-life-bottom-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 28px;
  border: 2px solid var(--color-white);
  color: var(--color-white);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.28s ease, color 0.28s ease, box-shadow 0.28s ease, transform 0.28s ease;
}

.n-life-bottom-copy {
  color: var(--color-white);
  font-size: clamp(1.15rem, 1.7vw, 1.4rem);
  font-weight: 500;
  line-height: 1.35;
}

.n-life-bottom-arrow {
  color: var(--color-white);
  font-size: 2.625rem;
  line-height: 1;
  opacity: 0.9;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.n-life-bottom-cta:hover {
  background: var(--color-white);
  color: var(--crimson);
  box-shadow: 0 14px 34px rgba(0,0,0,0.24);
  transform: translateY(-3px);
}

@media (max-width: 767px) {
  .n-life-bottom-row {
    gap: 16px;
    padding: 20px 16px;
  }

  .n-life-bottom-cta {
    width: 100%;
    min-height: 50px;
    font-size: 1rem;
  }

  .n-life-bottom-copy {
    flex: 0 0 100%;
    font-size: 1rem;
    text-align: center;
  }

  .n-life-bottom-arrow {
    display: none;
  }
}



@media (min-width: 992px) and (max-width: 1199px) {
  .n-life-section {
    min-height: 760px;
  }

  .n-life-section .container {
    min-height: 650px;
  }

  .n-life-head {
    margin-bottom: 54px;
  }

  .n-life-head h2 {
    font-size: 2.05rem;
  }

  .n-life-head p {
    font-size: 0.96rem;
  }

  .n-life-grid {
    grid-template-columns: 34% 60%;
    gap: 6%;
  }

  .n-life-copy::before {
    top: 150px;
    height: 408px;
  }

  .n-life-active h3 {
    font-size: 1.48rem;
  }

  .n-life-active p {
    max-width: 320px;
    font-size: 0.76rem;
  }

  .n-life-list {
    gap: 16px;
  }

  .n-life-list button {
    font-size: 1.22rem;
  }

  .n-life-gallery {
    min-height: 330px;
  }

  .n-life-gallery article,
  .n-life-gallery article:nth-child(2),
  .n-life-gallery article:nth-child(3) {
    flex-basis: 220px;
    height: 268px;
  }

  .n-life-gallery article:nth-child(2) {
    margin-bottom: 42px;
  }

  .n-life-bottom {
    right: 310px;
    left: 34px;
    grid-template-columns: 210px minmax(260px, 1fr);
    gap: 28px;
  }

  .n-life-bottom a {
    min-height: 42px;
    font-size: 1.1rem;
  }

  .n-life-bottom p {
    font-size: 0.86rem;
  }
}

@media (max-width: 991px) {
  .n-life-section {
    min-height: 0;
  }

  .n-life-section .container {
    min-height: 0;
  }

  .n-life-head {
    margin-bottom: 32px;
  }

  .n-life-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .n-life-copy {
    order: 2;
    padding-left: 28px;
  }

  .n-life-visual {
    order: 1;
    padding-top: 0;
  }

  .n-life-copy::before {
    top: 126px;
    left: 7px;
    height: 275px;
  }

  .n-life-active {
    padding-left: 0;
  }

  .n-life-active span {
    left: -24px;
  }

  .n-life-active p {
    max-width: 520px;
    font-size: 0.72rem;
  }

  .n-life-list {
    max-width: none;
    margin-top: 20px;
    margin-right: 0;
    margin-left: 0;
    padding-left: 0;
  }

  .n-life-list button {
    font-size: 1.05rem;
  }

  .n-life-gallery {
    justify-content: center;
    min-height: 250px;
  }

  .n-life-gallery article,
  .n-life-gallery article:nth-child(2),
  .n-life-gallery article:nth-child(3) {
    flex-basis: min(30.5vw, 180px);
    height: min(36vw, 220px);
  }

  .n-life-gallery article:nth-child(2) {
    margin-bottom: 30px;
  }

  .n-life-bottom {
    position: static;
    grid-template-columns: 184px minmax(0, 1fr);
    max-width: none;
    margin-top: 26px;
  }

  .n-life-scroll {
    position: static;
    width: 172px;
    margin: 22px 0 0 auto;
  }
}

@media (max-width: 575px) {
  .n-life-section {
    min-height: 0;
  }

  .n-life-section .container {
    max-width: 100%;
  }

  .n-life-head {
    margin-bottom: 20px;
    text-align: center;
  }

  .n-life-head h2 {
    max-width: 310px;
    margin: 0 auto 8px;
    font-size: 1.48rem;
    line-height: 1.14;
  }

  .n-life-head p {
    max-width: 330px;
    margin: 0 auto;
    font-size: 0.78rem;
    line-height: 1.42;
  }

  .n-life-grid {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .n-life-visual {
    order: 1;
    width: 100%;
    padding: 0;
  }

  .n-life-copy {
    order: 2;
    padding: 14px 14px 0;
    border-left: 0;
    background: rgba(255,255,255,0.08);
    border-radius: 8px;
  }

  .n-life-copy::before {
    display: none;
  }

  .n-life-active {
    padding-left: 0;
  }

  .n-life-active span {
    display: none;
  }

  .n-life-active h3 {
    margin-bottom: 8px;
    font-size: 1.12rem;
  }

  .n-life-active p {
    max-width: none;
    font-size: 0.78rem;
    line-height: 1.45;
  }

  .n-life-list {
    width: 100%;
    max-width: calc(100vw - 52px);
    display: flex;
    gap: 8px;
    margin-top: 14px;
    padding: 0 0 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  .n-life-list::-webkit-scrollbar {
    height: 4px;
  }

  .n-life-list::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(255,255,255,0.45);
  }

  .n-life-list li {
    min-height: 0;
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .n-life-list li::before {
    display: none;
  }

  .n-life-list button {
    min-height: 34px;
    padding: 7px 10px;
    border: 1px solid rgba(255,255,255,0.32);
    border-radius: 999px;
    color: rgba(255,255,255,0.72);
    font-size: 0.72rem;
    line-height: 1;
    white-space: nowrap;
  }

  .n-life-list button.active {
    background: var(--color-white);
    color: var(--crimson);
  }

  .n-life-gallery {
    width: 100%;
    min-height: 170px;
    justify-content: center;
    align-items: flex-end;
    gap: 7px;
    overflow-x: hidden;
    overflow-y: visible;
    padding: 18px 0 8px;
  }

  .n-life-gallery article,
  .n-life-gallery article.active,
  .n-life-gallery article:nth-child(2),
  .n-life-gallery article:nth-child(3) {
    flex: 0 0 calc((100vw - 38px) / 3) !important;
    width: calc((100vw - 38px) / 3);
    height: clamp(132px, 39vw, 162px) !important;
    margin-left: 0;
    margin-bottom: 0;
    border-radius: 10px;
    transform: none;
    box-shadow: 0 10px 22px rgba(0,0,0,0.18);
  }

  .n-life-gallery article:nth-child(2) {
    margin-bottom: 0;
    transform: translateY(-14px) !important;
  }

  .n-life-gallery article.active:hover,
  .n-life-gallery article:hover {
    transform: none;
  }

  .n-life-gallery article:nth-child(2):hover {
    transform: translateY(-14px) !important;
  }

  .n-life-gallery span {
    top: 8px;
    left: 8px;
    font-size: 1.05rem;
  }

  .n-life-gallery strong {
    top: 9px;
    right: 7px;
    max-width: 66px;
    font-size: 0.52rem;
    line-height: 1;
  }

  .n-life-bottom {
    display: none;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 18px;
  }

  .n-life-bottom a {
    width: 100%;
  }

  .n-life-bottom p {
    text-align: center;
  }

  .n-life-scroll {
    display: none;
  }
}

/* Research innovation desktop panel */
@media (min-width: 992px) {
  .n-research-section {
    padding: 38px 0 46px;
    background:
      radial-gradient(circle at 8% 24%, rgba(120,1,9,0.045) 0 1px, transparent 2px),
      radial-gradient(circle at 76% 34%, rgba(120,1,9,0.04) 0 1px, transparent 2px),
      linear-gradient(90deg, #fffdf1 0%, #fffaf7 58%, #ffffff 100%);
  }

  .n-research-section::before {
    opacity: 0.18;
  }

  .n-research-title {
    font-size: clamp(1.45rem, 2.25vw, 2.02rem);
    font-weight: 700;
    line-height: 1.05;
  }

  .n-research-title span {
    color: #222;
    font-weight: 400;
  }

  .n-research-title strong {
    font-weight: 700;
  }

  .n-research-subtitle {
    margin: 6px 0 24px;
    color: #171717;
    font-size: 0.72rem;
    font-weight: 700;
  }

  .n-research-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    overflow: hidden;
    border: 1px solid rgba(17,17,17,0.08);
    border-radius: 4px;
    background: rgba(255,255,255,0.72);
    box-shadow: 0 10px 28px rgba(17,17,17,0.08);
  }

  .n-research-stat {
    min-height: 118px;
    align-items: center;
    padding: 22px 20px 20px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    text-align: center;
  }

  .n-research-stat + .n-research-stat {
    border-left: 1px solid rgba(17,17,17,0.08);
  }

  .n-research-stat strong {
    color: var(--crimson2);
    font-size: clamp(2rem, 3.8vw, 3.15rem);
    line-height: 0.9;
  }

  .n-research-stat span {
    max-width: 180px;
    margin-top: 10px;
    font-size: 0.68rem;
    line-height: 1.1;
  }
}

/* Campus life vertical accordion */
.n-life-head {
  display: block;
  max-width: 1180px;
  margin: 0 auto 48px;
  text-align: center;
}

.n-life-head h2 {
  margin: 0 0 14px;
  color: rgba(255,255,255,0.92);
  font-size: clamp(2rem, 3vw, 3.1rem);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: 0;
}

.n-life-head h2 strong {
  color: var(--color-white);
  font-weight: 700;
}

.n-life-head p {
  max-width: none;
  margin: 0;
  color: rgba(255,255,255,0.86);
  font-size: clamp(0.95rem, 1.4vw, 1.35rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0;
}

.n-life-copy {
  position: relative;
}

.n-life-active {
  display: none;
}

.n-life-copy::before {
  display: none;
}

.n-life-list {
  position: relative;
  gap: 22px;
  margin: 0;
  padding: 0 0 0 42px;
}

.n-life-list::before {
  display: none;
}

.n-life-list li {
  position: relative;
  display: block;
  min-height: 32px;
}

.n-life-list li.is-active::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: -39px;
  width: 1px;
  background: rgba(255,255,255,0.42);
  z-index: 0;
}

.n-life-list li::before {
  position: absolute;
  top: 13px;
  left: -42px;
  width: 8px;
  height: 8px;
  margin: 0;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.18);
  box-shadow: none;
  z-index: 1;
}

.n-life-list li.is-active::before {
  top: 11px;
  width: 10px;
  height: 10px;
  border-color: rgba(255,255,255,0.68);
  background: var(--color-white);
  box-shadow: 0 0 0 2px rgba(255,255,255,0.08);
}

.n-life-list button {
  width: 100%;
  font-family: inherit;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
}

.n-life-list button.active {
  display: none;
}

.n-life-inline-panel {
  max-width: 560px;
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.n-life-inline-panel h3 {
  margin: 0 0 16px;
  color: var(--color-white);
  font-size: clamp(1.25rem, 1.85vw, 1.65rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: 0;
}

.n-life-inline-panel p {
  max-width: 520px;
  margin: 0;
  color: rgba(255,255,255,0.9);
  font-size: clamp(0.78rem, 0.92vw, 0.9rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.n-life-list li.is-active {
  height: auto;
  min-height: 0;
  margin-top: 4%;
}

.n-life-list li.is-active + li {
  margin-top: 6px;
}

.n-life-list li:not(.is-active) button {
  color: rgba(255,255,255,0.3);
  font-size: clamp(1.08rem, 1.72vw, 1.56rem);
  line-height: 1.08;
}

.n-life-list li:not(.is-active) button:hover {
  color: rgba(255,255,255,0.5);
}

.n-life-gallery article {
  will-change: opacity, transform;
  transition:
    opacity 0.28s ease,
    transform 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.34s ease;
}

.n-life-gallery img {
  will-change: opacity, transform;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.28s ease;
}

.n-life-list li {
  transition: min-height 0.28s ease, margin 0.28s ease;
}

.n-life-list button {
  transition: color 0.24s ease, opacity 0.24s ease;
}

.n-life-list li::before,
.n-life-list li.is-active::after {
  transition: opacity 0.24s ease, background-color 0.24s ease, border-color 0.24s ease;
}

@media (min-width: 992px) {
  .n-life-section {
    min-height: 820px;
  }

  .n-life-section .container {
    min-height: 690px;
  }

  .n-life-grid {
    grid-template-columns: minmax(360px, 38%) minmax(0, 62%);
    gap: 34px;
    align-items: start;
  }

  .n-life-copy {
    align-self: start;
    min-height: 560px;
    padding-left: 44px;
  }

  .n-life-list {
    gap: 0px;
    min-height: 495px;
    padding-left: 64px;
  }

  .n-life-list::before {
    display: none;
  }

  .n-life-list li::before {
    top: 15px;
    left: -58px;
    width: 9px;
    height: 9px;
    border: 0;
    background: rgba(255,255,255,0.18);
  }

  .n-life-list li.is-active::after {
    display: block;
    left: -55px;
    background: rgba(255,255,255,0.42);
  }

  .n-life-list li.is-active::before {
    top: 10px;
    left: -59px;
    width: 10px;
    height: 10px;
    background: var(--color-white);
    box-shadow: 0 0 0 3px rgba(255,255,255,0.1);
  }

  .n-life-inline-panel {
    max-width: 520px;
  }

  .n-life-inline-panel h3 {
    margin-bottom: 14px;
    font-size: clamp(1.35rem, 1.75vw, 1.75rem);
    font-weight: 700;
    line-height: 1.08;
  }

  .n-life-inline-panel p {
    max-width: 500px;
    font-size: clamp(0.84rem, 0.94vw, 0.96rem);
    font-weight: 600;
    line-height: 1.32;
  }

  .n-life-list li:not(.is-active) button {
    color: rgba(255,255,255,0.3);
    font-size: clamp(1.45rem, 1.82vw, 1.95rem);
    font-weight: 700;
    line-height: 1.08;
  }

  .n-life-list li:not(.is-active) button:hover {
    color: rgba(255,255,255,0.5);
  }

  .n-life-list li.is-active {
    height: auto;
    min-height: 0;
  }

  .n-life-list li.is-active + li {
    margin-top: 30px;
  }

  .n-life-list li:not(.is-active) + li:not(.is-active) {
    margin-top: 28px;
  }

  .n-life-visual {
    padding-top: 54px;
    overflow: visible;
  }

  .n-life-gallery {
    min-height: 478px;
    justify-content: flex-start;
    gap: 12px;
    overflow: hidden;
  }

  .n-life-gallery article,
  .n-life-gallery article:nth-child(2),
  .n-life-gallery article:nth-child(3) {
    flex: 1 1 0;
    min-width: 0;
    height: clamp(335px, 24vw, 405px);
    margin-left: 0;
    border-radius: 14px;
  }

  .n-life-bottom {
    position: static;
    grid-template-columns: minmax(220px, 306px);
    gap: 14px;
    align-items: center;
    margin-top: 38px;
    transform: none;
  }

  .n-life-bottom a {
    min-height: 62px;
    justify-content: center;
    padding: 0 24px;
    border-color: rgba(255,255,255,0.92);
    font-size: 1.32rem;
  }

  .n-life-bottom p {
    max-width: 360px;
    color: var(--color-white);
    font-size: 0.98rem;
    font-weight: 500;
    line-height: 1.35;
  }

  .n-life-scroll {
    position: absolute;
    right: 0;
    bottom: 45px;
    width: 295px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin: 0;
    color: transparent;
    font-size: 0;
  }

  .n-life-scroll::before {
    width: 260px;
    height: 1px;
    background: rgba(255,255,255,0.9);
  }

  .n-life-scroll i {
    color: var(--color-white);
    font-size: 1.55rem;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .n-life-gallery {
    min-height: 340px;
  }

  .n-life-gallery article,
  .n-life-gallery article:nth-child(2),
  .n-life-gallery article:nth-child(3) {
    flex: 1 1 0;
    height: 310px;
  }

  .n-life-bottom {
    grid-template-columns: minmax(210px, 250px);
    gap: 12px;
    margin-top: 30px;
  }

  .n-life-bottom a {
    min-height: 54px;
    font-size: 1.06rem;
  }

  .n-life-bottom p {
    font-size: 0.94rem;
  }

  .n-life-scroll {
    width: 240px;
  }

  .n-life-scroll::before {
    width: 206px;
  }
}

.n-life-section.is-changing .n-life-inline-panel,
.n-life-section.is-changing .n-life-gallery article {
  opacity: 0.42;
  transform: translateY(10px) scale(0.985);
}

.n-life-section.is-changing .n-life-active h3,
.n-life-section.is-changing .n-life-active p {
  opacity: 0.42;
  transform: translateY(8px);
}

@media (max-width: 991px) {
  .n-life-head {
    max-width: 720px;
    margin-bottom: 30px;
    text-align: center;
  }

  .n-life-head h2 {
    max-width: none;
    font-size: clamp(1.7rem, 5.5vw, 2.3rem);
  }

  .n-life-head p {
    max-width: 680px;
    margin: 0 auto;
    font-size: 0.9rem;
  }

  .n-life-copy {
    padding-left: 34px;
  }

  .n-life-list {
    display: grid;
    max-width: none;
    gap: 18px;
    min-height: 390px;
    padding: 0 0 0 34px;
    overflow: visible;
  }

  .n-life-list::before {
    display: none;
    left: 3px;
  }

  .n-life-list li.is-active::after {
    left: -31px;
  }

  .n-life-list li::before {
    display: block;
    left: -34px;
  }

  .n-life-list button {
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    white-space: normal;
  }

  .n-life-list button.active {
    display: none;
    background: transparent;
    color: var(--color-white);
  }

  .n-life-inline-panel h3 {
    font-size: 1.34rem;
  }

  .n-life-inline-panel p {
    font-size: 0.76rem;
  }

  .n-life-list li.is-active {
    height: auto;
    min-height: 0;
  }
}

@media (max-width: 575px) {
  .n-life-head {
    margin-bottom: 22px;
  }

  .n-life-head h2 {
    font-size: 1.55rem;
  }

  .n-life-head p {
    max-width: 330px;
    font-size: 0.78rem;
  }

  .n-life-copy {
    padding: 4px 10px 0 28px;
    background: transparent;
  }

  .n-life-list {
    gap: 16px;
    max-width: none;
    min-height: 360px;
    padding-left: 28px;
    overflow: visible;
    scrollbar-width: none;
  }

  .n-life-list::-webkit-scrollbar {
    display: none;
  }

  .n-life-list li::before {
    left: -28px;
  }

  .n-life-list li.is-active::after {
    left: -25px;
  }

  .n-life-list li:not(.is-active) button {
    font-size: 0.92rem;
  }

  .n-life-inline-panel h3 {
    font-size: 1.08rem;
  }

  .n-life-inline-panel p {
    font-size: 0.7rem;
  }

  .n-life-list li.is-active {
    height: auto;
    min-height: 0;
  }
}

.n-life-gallery article {
  cursor: pointer;
  transition:
    margin-bottom 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.28s ease,
    transform 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.34s ease;
}

.n-life-gallery article,
.n-life-gallery article:nth-child(2),
.n-life-gallery article:nth-child(3) {
  margin-bottom: 0;
}

.n-life-gallery article.active {
  margin-bottom: 10%;
  transform: none;
}

.n-life-gallery article:hover {
  transform: none;
  box-shadow: none;
}

.n-life-gallery article.active:hover {
  transform: none;
  box-shadow: 0 22px 36px rgba(0,0,0,0.24);
}

.n-life-gallery article:hover img {
  transform: none;
}

@media (min-width: 992px) and (max-width: 1199px) {
  .n-life-gallery article.active {
    margin-bottom: 10%;
  }
}

@media (max-width: 991px) {
  .n-life-gallery article.active {
    margin-bottom: 30px;
  }
}

@media (max-width: 575px) {
  .n-life-gallery article,
  .n-life-gallery article.active,
  .n-life-gallery article:nth-child(2),
  .n-life-gallery article:nth-child(3),
  .n-life-gallery article:nth-child(2):hover {
    margin-bottom: 0;
    transform: none !important;
  }

  .n-life-gallery article.active,
  .n-life-gallery article.active:hover {
    transform: translateY(-14px) !important;
  }

  .n-life-gallery article:not(.active):hover {
    transform: translateY(-14px) !important;
  }
}

@media (max-width: 575px) {
  .n-life-section {
    min-height: 0;
  }


  .n-life-head {
    margin-bottom: 20px;
    text-align: center;
  }

  .n-life-head h2 {
    max-width: 310px;
    margin: 0 auto 8px;
    font-size: 1.48rem;
    line-height: 1.14;
  }

  .n-life-head p {
    max-width: 330px;
    margin: 0 auto;
    font-size: 0.78rem;
    line-height: 1.42;
  }

  .n-life-grid {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .n-life-visual {
    order: 1;
    width: 100%;
    padding: 0;
  }

  .n-life-copy {
    order: 2;
    padding: 14px 14px 0;
    border-left: 0;
    background: rgba(255,255,255,0.08);
    border-radius: 8px;
  }

  .n-life-copy::before,
  .n-life-list li::before,
  .n-life-list li.is-active::after,
  .n-life-inline-panel,
  .n-life-bottom,
  .n-life-bottom-row,
  .n-life-scroll {
    display: none;
  }

  .n-life-active {
    display: block;
    padding-left: 0;
  }

  .n-life-active span {
    display: none;
  }

  .n-life-active h3 {
    margin-bottom: 8px;
    font-size: 1.12rem;
  }

  .n-life-active p {
    max-width: none;
    font-size: 0.78rem;
    line-height: 1.45;
  }

  .n-life-list {
    width: 100%;
    max-width: calc(100vw - 52px);
    display: flex;
    gap: 8px;
    min-height: 0;
    margin-top: 14px;
    padding: 0 0 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  .n-life-list::-webkit-scrollbar {
    display: block;
    height: 4px;
  }

  .n-life-list::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(255,255,255,0.45);
  }

  .n-life-list li,
  .n-life-list li.is-active {
    min-height: 0;
    flex: 0 0 auto;
    display: flex;
    scroll-snap-align: start;
    margin-top: 0;
  }

  .n-life-list li.is-active + li {
    margin-top: 0;
  }

  .n-life-list button,
  .n-life-list li:not(.is-active) button,
  .n-life-list button.active {
    width: auto;
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    padding: 7px 10px;
    border: 1px solid rgba(255,255,255,0.32);
    border-radius: 999px;
    background: transparent;
    color: rgba(255,255,255,0.72);
    font-size: 0.72rem;
    line-height: 1;
    white-space: nowrap;
  }

  .n-life-list button.active {
    background: var(--color-white);
    color: #000;
  }

  .n-life-gallery {
    width: 100%;
    min-height: 170px;
    justify-content: center;
    align-items: flex-end;
    gap: 7px;
    overflow-x: hidden;
    overflow-y: visible;
    padding: 18px 0 8px;
  }

  .n-life-gallery article,
  .n-life-gallery article.active,
  .n-life-gallery article:nth-child(2),
  .n-life-gallery article:nth-child(3) {
    flex: 0 0 calc((100vw - 38px) / 3) !important;
    width: calc((100vw - 38px) / 3);
    height: clamp(132px, 39vw, 162px) !important;
    margin-left: 0;
    margin-bottom: 0;
    border-radius: 10px;
    transform: none !important;
    box-shadow: 0 10px 22px rgba(0,0,0,0.18);
  }

  .n-life-gallery article.active,
  .n-life-gallery article.active:hover {
    margin-bottom: 0;
    transform: translateY(-14px) !important;
  }

  .n-life-gallery article:not(.active):hover {
    transform: none !important;
  }

  .n-life-gallery span {
    top: 8px;
    left: 8px;
    font-size: 1.05rem;
  }

  .n-life-gallery strong {
    top: 9px;
    right: 7px;
    max-width: 66px;
    font-size: 0.52rem;
    line-height: 1;
  }
}