@charset "utf-8";

/* Hero */
.hero { position: relative; isolation: isolate; width: 100%; height: 100dvh; min-height: 700rem; overflow: hidden; color: #fff; }
.hero__swiper { position: relative; z-index: 1; width: 100%; height: 100%; }
.hero .swiper-wrapper { height: 100%; }
.hero__slide { position: relative; width: 100%; height: 100%; overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__image { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero__container { position: relative; z-index: 1; display: flex; align-items: center; height: 100%; padding-top: var(--header-height); }
.hero__content { width: 100%; }
.hero__title { font-size: var(--font-size-70); font-weight: 700; line-height: 1.42; letter-spacing: -0.035em; color: #fff; }
.hero__line { display: block; width: 100rem; height: 4rem; margin-top: 24rem; background: #ddd; }
.hero__description { margin-top: 24rem; font-size: var(--font-size-24); font-weight: 400; line-height: 1.8; letter-spacing: -0.025em; color: #fff; }
.hero__cta { display: inline-flex; align-items: center; justify-content: space-between; gap: 30rem; min-width: 180rem; height: 46rem; margin-top: 44rem; padding-inline: 24rem; border: 1px solid #ddd; border-radius: 24rem; font-size: var(--font-size-20); font-weight: 500; color: #fff; }
.hero__cta-icon { display: block; width: 18rem; height: auto; }

/* Hero Interface */
.hero__interface { position: absolute; inset: 0; z-index: 10; pointer-events: none; }
.hero__interface-container { position: relative; height: 100%; }
.hero__pagination { position: absolute; left: 50%; bottom: 24rem; display: flex; align-items: center; gap: 12rem; width: max-content; transform: translateX(-50%); pointer-events: initial; }
.hero__pagination-button { display: block; flex: 0 0 auto; width: 12rem; height: 12rem; padding: 0; background: transparent; border: 1px solid #fff; border-radius: 50%; }
.hero__pagination-button.is-current { background: #155cdd; border-color: transparent; }
.hero__controls { position: absolute; right: 0; bottom: 18rem; display: flex; align-items: center; gap: 16rem; pointer-events: initial; }
.hero__control { display: grid; place-items: center; width: 44rem; aspect-ratio: 1; border: 1px solid rgb(255 255 255 / 80%); border-radius: 50%; }
.hero__control > img { display: block; width: 20rem; height: 20rem; object-fit: contain; }
.hero__control-icon { grid-area: 1 / 1; }
.hero__control .hero__control-icon--play { display: none; }
.hero__autoplay.is-paused .hero__control-icon--pause { display: none; }
.hero__autoplay.is-paused .hero__control-icon--play { display: block; }
.hero.is-static .hero__interface { display: none; }

/* Latest News */
.latest-news { padding-block: 144rem 244rem; background: #f6f7f9; }
.latest-news__header { display: flex; align-items: center; justify-content: space-between; gap: 40rem; margin-bottom: 100rem; }
.latest-news__tabs { display: flex; align-items: center; gap: 36rem; min-width: 0; }
.latest-news__tab { position: relative; padding: 0 0 0 14rem; border: 0; background: transparent; font-size: var(--font-size-44); font-weight: 700; line-height: 1.3; letter-spacing: -0.035em; color: #9aa1aa; cursor: pointer; }
.latest-news__tab::before { position: absolute; top: 50%; left: 0; width: 3rem; height: 32rem; background: transparent; transform: translateY(-50%); content: ""; }
.latest-news__tab.is-current { color: #000; }
.latest-news__tab.is-current::before { background: #155cdd; }
.latest-news__tab + .latest-news__tab { padding-left: 38rem; }
.latest-news__tab + .latest-news__tab::before { left: 24rem; }
.latest-news__tab + .latest-news__tab::after { position: absolute; top: 50%; left: 0; width: 1px; height: 30rem; background: #d8dde4; transform: translateY(-50%); content: ""; }
.latest-news__more-list { flex-shrink: 0; }
.latest-news__more { display: none; align-items: center; gap: 16rem; font-size: var(--font-size-24); font-weight: 600; color: #000; }
.latest-news__more-icon { display: block; width: 28rem; height: auto; }
.latest-news__header:has(#latest-news-tab-institution[aria-selected="true"]) [data-news-more="institution"] { display: inline-flex; }
.latest-news__header:has(#latest-news-tab-research[aria-selected="true"]) [data-news-more="research"] { display: inline-flex; }
.latest-news__panel { width: 100%; }
.latest-news__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 44rem; }
.latest-news__item { display: flex; min-width: 0; }

/* News Card */
.news-card { display: flex; width: 100%; height: 100%; min-width: 0; overflow: hidden; background: #fff; border: 1px solid #eee; border-radius: 10rem; box-shadow: 0 8px 24px rgb(149 157 165 / 12%); }
.news-card__content { display: flex; flex-direction: column; width: 100%; height: auto; padding: 24rem; }
.news-card__category { align-self: flex-start; flex-shrink: 0; padding: 8rem 16rem; background: #155cdd; border-radius: 24rem; font-size: 16rem; font-weight: 500; line-height: 1; color: #fff; }
.news-card__title { margin-top: 24rem; font-size: var(--font-size-24); font-weight: 700; line-height: 1.45; letter-spacing: -0.035em; color: #000; word-break: break-all; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.news-card__description { margin-top: 12rem; font-size: 18rem; font-weight: 400; line-height: 1.44; color: #666; }
.news-card__bottom { display: flex; align-items: center; justify-content: space-between; gap: 10rem; margin-top: auto; padding-top: 44rem; }
.news-card__date { font-size: 16rem; font-weight: 500; color: #999; }
.news-card__link { display: grid; place-items: center; flex-shrink: 0; width: 32rem; aspect-ratio: 1; border: 1px solid #155cdd; border-radius: 50%; }
.news-card__link img { display: block; width: 18rem; height: 18rem; object-fit: contain; }
.news-card__media { min-width: 0; height: 100%; overflow: hidden; }
.news-card__image { display: block; width: 100%; height: 100%; object-fit: cover; }
html[lang="en"] .news-card__category { font-size: var(--font-size-14); }
html[lang="en"] .news-card__title { font-size: var(--font-size-20); line-height: 1.4; letter-spacing: -0.02em; }
html[lang="en"] .news-card__description { font-size: var(--font-size-16); line-height: 1.5; }
html[lang="en"] .news-card__date { font-size: var(--font-size-14); }

/* Interaction */
@media (any-hover: hover) {
  .hero__cta:hover { background-color: #155cdd; border-color: transparent; transform: translateY(-3rem); }
  .hero__cta:hover .hero__cta-icon { transform: translateX(5rem); }
  .latest-news__tab:not(.is-current):hover { color: #555e68; }
  .latest-news__more:hover { color: #155cdd; }
  .latest-news__more:hover .latest-news__more-icon { transform: rotate(90deg); }
  .news-card:hover { border-color: #d9dee7; box-shadow: 0 10px 28px rgb(50 60 80 / 10%); }
  .news-card:hover .news-card__title { color: #155cdd; }
  .news-card:hover .news-card__image { filter: brightness(0.94); }
  .news-card:hover .news-card__link { background: #155cdd; }
  .news-card:hover .news-card__link img { filter: brightness(0) invert(1); }
}
@media (prefers-reduced-motion: no-preference) {
  .hero__cta { transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease; }
  .hero__cta-icon { transition: transform 0.3s ease; }
  .latest-news__tab { transition: color 0.2s ease; }
  .latest-news__more { transition: color 0.25s ease; }
  .latest-news__more-icon { transition: transform 0.3s ease; }
  .news-card { transition: border-color 0.25s ease, box-shadow 0.25s ease; }
  .news-card__title { transition: color 0.25s ease; }
  .news-card__link { transition: background-color 0.25s ease, border-color 0.25s ease; }
  .news-card__link img { transition: filter 0.25s ease; }
  .news-card__image { transition: filter 0.3s ease; }
}

/* Tablet */
@media (width < 1280px) {
  .hero { min-height: 600rem; }
  .latest-news__tabs { gap: 24rem; }
  .latest-news__tab { font-size: var(--font-size-35); }
  .latest-news__tab + .latest-news__tab { padding-left: 30rem; }
  .latest-news__tab + .latest-news__tab::before { left: 18rem; }
  .latest-news__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Mobile */
@media (width < 768px) {
  .hero { min-height: 640rem; }
  .hero__line { width: 26rem; margin-top: 18rem; }
  .hero__pagination { left: 15%; bottom: 38rem; gap: 10rem; }
  .hero__pagination-button { width: 10rem; height: 10rem; }
  .hero__controls { bottom: 28rem; gap: 10rem; }
  .hero__control { width: 34rem; }
  .hero__control > img { width: 16rem; height: 16rem; }
  .latest-news { padding-block: 64rem; }
  .latest-news__header { align-items: flex-end; gap: 20rem; margin-bottom: 44rem; }
  .latest-news__tabs { gap: 20rem; min-width: 0; }
  .latest-news__tab { padding-left: 10rem; font-size: var(--font-size-20); white-space: nowrap; }
  .latest-news__tab::before { width: 2rem; height: 22rem; }
  .latest-news__tab + .latest-news__tab { padding-left: 20rem; }
  .latest-news__tab + .latest-news__tab::before { left: 12rem; }
  .latest-news__tab + .latest-news__tab::after { height: 20rem; }
  .latest-news__more { gap: 8rem; font-size: var(--font-size-14); }
  .latest-news__more-icon { width: 20rem; }
  .latest-news__list { grid-template-columns: 1fr; }
  .news-card { grid-template-columns: 1fr; height: auto; min-height: 180rem; }
  .news-card__content { padding: 16rem; }
  .news-card__bottom { padding-top: 24rem; }
}
