/* University of Sydney Centre in China — English version */
/* Layout: PC main content 1086 centered; Banner/Services per reference grid; rest per PSD */

@font-face {
  font-family: "Source Sans 3";
  src: url("../font/Source_Sans_3/SourceSans3-VariableFont_wght.ttf")
    format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../font/Source_Sans_3/SourceSans3-Italic-VariableFont_wght.ttf")
    format("truetype");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --color-orange: #c63a1e;
  --color-orange-deep: #b93318;
  --hero-orange: #e64626;
  --peach: #fcede2;
  --text-muted: #555;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  background: #f0f0f0;
  font-family:
    "Source Sans 3", Arial, "Helvetica Neue", Helvetica, "Microsoft YaHei",
    sans-serif;
}

.page {
  width: 100%;

  margin: 0 auto;
  overflow: hidden;
  background: #fff;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
ul {
  list-style: none;
}

/* ========== Header ========== */

.site-header {
  position: relative;
  display: flex;
  align-items: center;
  height: 134px;
  padding: 0 20px;
}

.header-home {
  margin-left: 404px;
  display: flex;
  align-items: center;
}
.header-logo {
  display: flex;
  align-items: center;
}
.header-logo img {
  width: 282px;
}

.header-brand {
  margin: 0 0 0 38px;
  display: flex;
  align-items: center;
  color: var(--color-orange);
  font-size: 28.9px;
  line-height: 34px;
  white-space: nowrap;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

.header-search {
  position: absolute;
  top: 50%;
  left: 1380px;
  transform: translateY(-50%);
}
.header-search img {
  width: 26px;
  height: 25px;
}

.header-search-panel {
  position: absolute;
  top: 50%;
  right: 180px;
  z-index: 20;
  display: none;
  align-items: center;
  width: 270px;
  height: 42px;
  transform: translateY(-50%);
  background: #fff;
  border: 1px solid var(--color-orange);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.12);
}
.header-search-panel.is-open {
  display: flex;
}
.header-search-panel input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  padding: 0 14px;
  outline: 0;
  background: transparent;
  color: #222;
  font-size: 14px;
}
.header-search-panel button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 100%;
  flex-shrink: 0;
  background: var(--color-orange);
}
.header-search-panel button img {
  width: 18px;
  height: 18px;
}

.lang-switch {
  position: absolute;
  top: 50%;
  left: 1420px;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 47px;
  background: #c63a1e;
  background-size: 100% 100%;
  color: #fff;
  font-size: 14px;
  border-radius: 4px;
}

/* ========== Primary nav ========== */

.main-nav {
  position: relative;
  z-index: 10;
  height: 73px;
  background: #000;
}

.nav-inner {
  display: flex;
  /* align-items: stretch; */
  /* gap: 70px; */
  height: 73px;
  margin-left: 432px;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 20px;
  color: rgba(216, 216, 216, 1);
  font-size: 16px;
  line-height: 17px;
  white-space: nowrap;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s var(--ease);
  flex: 1;
  justify-content: center;
}

.nav-item:nth-child(1) {
  color: #fff;
}

.nav-item:hover,
.nav-item.is-active {
  background: #fff;
  color: #141414;
  font-weight: bold;
}

/* ========== Hero: left orange block text + right image, 50/50 (reference) ========== */

.hero {
  position: relative;
  max-width: 1920px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: clamp(480px, 44vw, 728px);
  background: var(--hero-orange);
  overflow: hidden;
}

.hero-wrap {
  width: 100%;
  background: #e64626;
}

.hero-slider {
  position: relative;
  grid-column: 1 / -1;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "content media";
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.75s ease,
    visibility 0s linear 0.75s;
}
.hero-slide.is-active {
  z-index: 1;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.75s ease;
}

.hero__content {
  grid-area: content;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 10% 0% 4% 0;
  color: #000;
  align-items: flex-end;
}
.vvvvt {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 500px;
  margin-right: 24px;
}

.hero__title {
  font-size: clamp(28px, 3vw, 46px);
  font-weight: 800;
  line-height: 1.15;
  color: #000;
  max-width: 95%;
}
.hero__title em {
  display: block;
  font-style: normal;
}

.hero__date {
  display: flex;
  align-items: center;
  margin-top: 22px;
  font-size: clamp(15px, 1.3vw, 20px);
  color: #000;
}

.hero__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 48px;
  padding: 18px 0;
  width: 130px;
  background: #000;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  /* width: fit-content; */
  border-radius: 4px;
  cursor: pointer;
  transition:
    background 0.2s var(--ease),
    transform 0.2s var(--ease);
}
.hero__cta:hover {
  background: #1a1a1a;
  transform: translateY(-2px);
}

.hero__media {
  grid-area: media;
  position: relative;
  overflow: hidden;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 6s var(--ease);
}
.hero__media:hover img {
  transform: scale(1.04);
}

.slider-arrow {
  position: absolute;
  z-index: 5;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 20px auto;
  opacity: 0.9;
  transition:
    opacity 0.2s var(--ease),
    transform 0.2s var(--ease);
}
.slider-arrow:hover {
  opacity: 1;
  transform: translateY(-50%) scale(1.05);
  background-color: rgba(0, 0, 0, 0.46);
}
.slider-arrow--prev {
  left: 24px;
  background-image: url("../images/arrow-prev.png");
}
.slider-arrow--next {
  right: 24px;
  background-image: url("../images/arrow-next.png");
}

.hero-bars {
  position: absolute;
  z-index: 5;
  bottom: 48px;
  left: calc(50% - 545px);
  display: flex;
  gap: 16px;
}
.hero-bars .bar {
  position: relative;
  width: 76px;
  height: 6px;
  padding: 0;
  background: #fff;
  overflow: hidden;
  cursor: pointer;
  transition: background 0.3s var(--ease);
}
.hero-bars .bar.is-active {
  background: #424242;
}
.hero-bars .bar i {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: block;
  background: #424242;
  transform: scaleX(0);
  transform-origin: left center;
}

/* ========== Services (reference: left image cover / right list) ========== */

.services {
  margin-top: 16px;
  background: var(--peach);
}

.services-inner {
  display: flex;
  justify-content: center;
  width: min(1920px, 100%);
  margin: 0 auto;
  min-height: 630px;
  position: relative;
}

.services-media-frame {
  width: min(1003px, 52%);
  height: 631px;
  position: absolute;
  top: 50px;
  left: 0;
  overflow: hidden;
}
.services-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 6s var(--ease);
}
.services-media-frame:hover .services-media {
  transform: scale(1.05);
}

.services-list {
  display: flex;
  justify-content: flex-end;
  width: 1086px;
  margin-top: 50px;
}

.rivt {
  display: flex;
  width: 500px;
  flex-direction: column;
  padding: 0 20px 0 50px;
  box-sizing: border-box;
}
.rivt h2 {
  margin-bottom: 0;
  font-size: 40px;
}

.services-list > h2 {
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 700;
  margin-bottom: clamp(24px, 3vw, 56px);
  color: #000;
}

.service-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: clamp(18px, 1.5vw, 30px) 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.18);
  cursor: pointer;
  transition:
    padding-left 0.3s var(--ease),
    border-color 0.2s var(--ease);
}
/* .service-row:first-of-type { border-top: 1px solid rgba(0, 0, 0, .18); } */
.service-row:hover {
  padding-left: 10px;
  border-bottom-color: var(--color-orange);
}

.service-text h3 {
  font-size: clamp(17px, 1.4vw, 20px);
  font-weight: 700;
  margin-bottom: 8px;
  color: #000;
  transition: color 0.2s var(--ease);
}
.service-row:hover h3 {
  color: var(--color-orange);
}

.service-text p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.55;
}

.service-arrow {
  width: 12px;
  height: 14px;
  transition: transform 0.3s var(--ease);
  margin-left: 9px;
}
.service-row:hover .service-arrow {
  transform: translateX(6px);
}

.service-divider {
  display: none;
}
.services .section-more {
  margin-top: 36px;
  align-self: flex-end;
}
.services .section-more span {
  font-size: 16px;
  text-align: right;
}

/* ========== News ========== */

.news {
  height: 731px;
  margin-top: 120px;
}

.section-inner {
  width: min(1067px, 92%);
  margin: 0 auto;
}

.news h2,
.events h2 {
  color: #000;
  font-size: 40px;
  line-height: 28px;
}

.news-grid {
  display: flex;
  gap: 39px;
  margin-top: 28px;
}

.news-card {
  width: 329px;
  cursor: pointer;
}
.news-img-frame {
  width: 329px;
  height: 397px;
  overflow: hidden;
}
.news-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 350ms ease-in-out;
}

.news-card h3 {
  position: relative;
  margin-top: 24px;
  color: #000;
  font-size: 21px;
  line-height: 1.5;
  font-weight: 700;
  transition: color 0.25s ease;
}
.news-card h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -14px;
  width: 0;
  height: 2px;
  background: #c63a1e;
  transition: width 150ms;
}

.news-card time {
  display: block;
  margin-top: 26px;
  color: #424242;
  font-size: 14px;
  line-height: 12px;
}

.section-more {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: 35px;
  color: #424242;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
}

.service-arrow svg,
.more-arrow svg {
  display: block;
  width: 12px;
  height: auto;
  margin-top: 1px;
}
.more-arrow svg {
  margin-top: 2px;
}
.more-arrow {
  width: 12px;
  height: 14px;
  margin-left: 9px;
}

/* ========== Events ========== */

.events {
  height: 100%;
  margin-top: 44px;
}

.events .section-inner {
  width: min(1069px, 92%);
}

.event-grid {
  display: flex;
  gap: 43px;
  margin-top: 29px;
  align-items: flex-start;
}

.event-card {
  position: relative;
  width: 325px;
  cursor: pointer;
}
.event-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  right: -2px;
  bottom: -32px;
  background: #f1f1f1;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.event-card:hover::before {
  opacity: 1;
}

.event-img-frame {
  width: 325px;
  height: 241px;
  overflow: hidden;
}
.event-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 350ms ease-in-out;
}

.event-text {
  margin: 36px 0 0 0;
  transition: all 0.3s ease;
}
.event-card:nth-child(3) .event-text {
}

.event-tag {
  position: relative;
  display: inline-block;
  color: #c63a1e;
  line-height: 18px;

  font-weight: bold;
  font-size: 24px;
}
.event-card h6 {
  margin: 26px 0 0 0;
  color: #424242;
  font-size: 14px;
  line-height: 16px;
  font-weight: 400;
}
.event-tag::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -14px;
  width: 0;
  height: 2px;
  background: #c63a1e;
  transition: width 150ms;
}
.event-card:nth-child(3) .event-tag {
  line-height: 22px;
}

.event-card h3 {
  position: relative;
  margin-top: 27px;
  color: #000;
  font-size: 21px;
  line-height: 27px;
  font-weight: 700;
  transition: color 0.25s ease;
}
.event-card h3::after {
}

.events .section-more {
  margin-top: 32px;
}

/* ========== Follow / QR ========== */

.connect {
  /* height: 263px; */
  padding-bottom: 65px;
  margin-top: 44px;
  background: #e64626;
}

.home-page .connect {
  background: #f1f1f1;
}

.connect-inner {
  margin-left: 419px;
  padding-top: 65px;
}
.connect-follow {
  color: #000;
  font-size: 18px;
  line-height: 14px;
  font-weight: bold;
}

.qr-row {
  display: flex;
  gap: 97px;
  margin-top: 20px;
}
.qr-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
}
.qr-item:hover {
  transform: translateY(-5px);
}
.qr-img {
  display: block;
}
.qr-student {
  width: 97px;
  height: 97px;
  border-radius: 4px;
}
.qr-official {
  width: 97px;
  height: 97px;
  border-radius: 4px;
  overflow: hidden;
}
.qr-alumni {
  width: 97px;
  height: 97px;
  border-radius: 4px;
}
.qr-item figcaption {
  margin-top: 14px;
  font-weight: bold;
  color: #000;
  font-size: 14px;
  line-height: 15px;
  text-align: center;
}
.qr-item:nth-child(2) figcaption {
  font-size: 14px;
  line-height: 12px;
}

/* ========== Footer ========== */

.site-footer {
  height: 459px;
  margin-top: 0;
  background: #000;
  color: #fff;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  padding-top: 65px;
  margin-left: 423px;
  justify-content: space-between;
}

.footer-logo {
  width: 304px;
}
.footer-socials {
  display: flex;
  align-items: center;
  gap: 57px;
  margin-top: 32px;
}
.footer-socials img:nth-child(1) {
  width: 30px;
  height: 24px;
}
.footer-socials img:nth-child(2) {
  width: 34px;
  height: 33px;
}
.footer-socials img:nth-child(3) {
  width: 32px;
  height: 32px;
}
.footer-socials img:nth-child(4) {
  width: 32px;
  height: 32px;
}

.footer-contact {
  margin-left: 136px;
}
.footer-contact h2 {
  font-size: 24px;
  line-height: 18px;
}
.footer-contact address {
  width: 405px;
  margin-top: 28px;
  font-style: normal;
  font-size: 16px;
  line-height: 1.44;
}

.footer-quick {
  margin-top: -2px;
}
.footer-quick h2 {
  font-size: 24px;
  line-height: 24px;
}
.footer-quick p {
  margin-top: 22px;
  font-size: 16px;
  line-height: 1.5;
}

/* .footer-quick h2的下一个p元素 */
.footer-quick h2 ~ p {
  display: flex;
  flex-direction: column;
}

.footer-legal {
  width: 918px;
  margin: 65px auto 0;
  font-size: 14px;
  line-height: 19px;
  text-align: center;
  color: #fff;
  background: #000;
}

/* ========== Interactions & transitions ========== */

.skip-link {
  position: fixed;
  z-index: 120;
  top: -60px;
  left: 16px;
  padding: 10px 16px;
  color: #fff;
  background: var(--color-orange);
  font-size: 14px;
  transition: top 0.25s ease;
}
.skip-link:focus {
  top: 12px;
}

.scroll-progress {
  position: fixed;
  z-index: 110;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(0, 0, 0, 0.08);
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--color-orange), #f0762f);
  transform: scaleX(0);
  transform-origin: 0 50%;
}

.back-to-top {
  position: fixed;
  z-index: 100;
  right: 24px;
  bottom: 24px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: var(--color-orange);
  font-size: 20px;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    background 0.25s ease;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
}
.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--color-orange-deep);
}

/* Cookie consent bar: rendered by BaseLayout on every page, must ship with styles-en.css */
.fixedCookie {
  position: fixed;
  bottom: 0;
  left: 0;
  height: 72px;
  background: #f1f1f1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 60;
}
.fixedCookie .ndiv {
  display: flex;
  justify-content: center;
  padding: 0 20px;
  align-items: center;
}
.fixedCookie p {
  color: #333;
  font-size: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.fixedCookie .btn-accept {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 32px;
  background: #c63a1e;
  background-size: 100% 100%;
  color: #fff;
  font-size: 16px;
  border-radius: 4px;
  transition: all 0.2s ease;
  margin-left: 60px;
  flex-shrink: 0;
  cursor: pointer;
}
.fixedCookie .btn-accept:hover {
  background: #af2b11;
}
.fixedCookie p a {
  color: #c63a1e;
  text-decoration: underline;
}
.fixedCookie .btn-reject {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 16px;
  background: #fff;
  color: #c63a1e;
  font-size: 16px;
  border: 1px solid #c63a1e;
  border-radius: 4px;
  transition: all 0.2s ease;
  margin-left: 12px;
  flex-shrink: 0;
  cursor: pointer;
}
.fixedCookie .btn-reject:hover {
  background: #fbe9e5;
}

.havecookie {
  margin-bottom: 72px;
}
.back-to-top {
  bottom: 136px !important;
}

@media screen and (max-width: 767px) {
  .fixedCookie {
    height: auto;
    min-height: 130px;
    padding: 10px 0;
  }
  .fixedCookie .ndiv {
    flex-wrap: wrap;
    gap: 10px 0;
  }
  .fixedCookie .btn-accept {
    margin-left: 20px;
  }
  .fixedCookie .btn-reject {
    margin-left: 12px;
  }
  .havecookie {
    margin-bottom: 130px;
  }
}

.lang-switch {
  transition: all 0.25s ease;
}
.lang-switch:hover {
  background: #af2b11;
}

html.motion-ready .reveal {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 0.6s ease,
    transform 0.75s cubic-bezier(0.22, 0.61, 0.36, 1);
}
html.motion-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroIn {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

html.motion-ready .hero-slide .hero__title,
html.motion-ready .hero-slide .hero__date,
html.motion-ready .hero-slide .hero__cta {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.55s ease,
    transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}
html.motion-ready .hero-slide.is-active .hero__title,
html.motion-ready .hero-slide.is-active .hero__date,
html.motion-ready .hero-slide.is-active .hero__cta {
  opacity: 1;
  transform: none;
}
html.motion-ready .hero-slide.is-active .hero__date {
  transition-delay: 0.12s;
}
html.motion-ready .hero-slide.is-active .hero__cta {
  transition-delay: 0.24s;
}

.news-card:hover .news-img,
.event-card:hover .event-img {
  transform: scale(1.1);
}

.news-card:hover h3 {
  color: #c63a1e;
}
.news-card:hover h3::after {
  width: 47px;
}
.event-card:hover h3 {
  color: #c63a1e;
}
.event-card:hover h3::after {
  width: 47px;
}
.event-card:hover .event-tag::after,
.event-tag:hover::after {
  width: 100%;
}

.section-more span,
.section-more i {
  transition:
    color 0.25s ease,
    transform 0.25s ease;
}
.section-more:hover {
  color: var(--color-orange);
}
.section-more:hover i {
  transform: translateX(4px);
}

.footer-socials img {
  cursor: pointer;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}
.footer-socials img:hover {
  transform: translateY(-3px);
  opacity: 0.85;
}

/* Footer social icon QR hover tooltip (homepage does not load pages.css, keep this in the global stylesheet) */
.footer-socials--qr .footer-social {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 32px;
  height: 33px;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.footer-socials--qr .footer-social:nth-child(1) {
  width: 30px;
}
.footer-socials--qr .footer-social:nth-child(2) {
  width: 34px;
}
.footer-socials--qr .footer-social > img {
  width: 32px;
  height: 32px;
  margin-left: 0;
}
.footer-socials--qr .footer-social:nth-child(1) > img {
  width: 30px;
  height: 24px;
}
.footer-socials--qr .footer-social:nth-child(2) > img {
  width: 34px;
  height: 33px;
}
.footer-socials--qr .footer-social__tooltip {
  position: absolute;
  z-index: 20;
  bottom: calc(100% + 12px);
  left: 50%;
  width: 120px;
  padding: 10px;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
  transform: translateX(-50%);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}
.footer-socials--qr .footer-social__tooltip::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 12px;
}
.footer-socials--qr .footer-social__tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  border: 8px solid transparent;
  border-top-color: #fff;
  transform: translateX(-50%);
}
.footer-socials--qr .footer-social__tooltip > img {
  width: 100%;
  height: auto;
  margin: 0;
  background: #fff;
  transform: none;
  opacity: 1;
  transition: none;
}
.footer-socials--qr .footer-social:hover .footer-social__tooltip,
.footer-socials--qr .footer-social:focus-visible .footer-social__tooltip {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.footer-socials--qr .footer-social:first-child .footer-social__tooltip {
  left: 0;
  transform: none;
}
.footer-socials--qr .footer-social:first-child .footer-social__tooltip::after {
  left: 15px;
}
.footer-socials--qr .footer-social:last-child .footer-social__tooltip {
  left: auto;
  right: 0;
  transform: none;
}
.footer-socials--qr .footer-social:last-child .footer-social__tooltip::after {
  left: auto;
  right: 8px;
  transform: none;
}
@media (max-width: 767px) {
  .footer-socials--qr .footer-social__tooltip {
    top: calc(100% + 12px);
    bottom: auto;
  }
  .footer-socials--qr .footer-social__tooltip::before {
    top: auto;
    bottom: 100%;
  }
  .footer-socials--qr .footer-social__tooltip::after {
    top: auto;
    bottom: 100%;
    border-top-color: transparent;
    border-bottom-color: #fff;
  }
}

.header-search img {
  transition: transform 0.25s ease;
}
.header-search:hover img {
  transform: scale(1.12);
}

@media (prefers-reduced-motion: reduce) {
  html.motion-ready .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html.motion-ready .hero-slide .hero__title,
  html.motion-ready .hero-slide .hero__date,
  html.motion-ready .hero-slide .hero__cta {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .news-img,
  .event-img,
  .qr-item,
  .footer-socials img {
    transition: none;
  }
}

/* ========== Footer quick links ========== */

.footer-quick a {
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.25s ease;
}
.footer-quick a:hover {
  opacity: 0.75;
}

/* ========== 1:1 calibration ========== */

.nav-inner {
  width: 1086px;
}
/* .nav-item:nth-child(1) { margin-left: 30px; }
.nav-item:nth-child(2) { margin-left: 30px; }
.nav-item:nth-child(3) { margin-left: 28px; }
.nav-item:nth-child(4) { margin-left: 29px; }
.nav-item:nth-child(5) { margin-left: 30px; }
.nav-item:nth-child(6) { margin-left: 30px; } */

/* .event-card:nth-child(2) .event-text { margin-left: 24px; }
.event-card:nth-child(3) .event-text { margin-left: 20px; } */
.event-card:hover .event-text {
  margin-left: 23px;
}
/* .news-card:nth-child(2) time { margin-top: 14px; } */

.qr-item:nth-child(2) {
  margin-left: 2px;
}
.qr-item:nth-child(3) {
  margin-left: -2px;
}

.footer-socials img:nth-child(2) {
  margin-left: 1px;
}
.footer-socials img:nth-child(4) {
  margin-left: 1px;
}

/* ========== Desktop: main content unified at 1086px centered ========== */

@media screen and (min-width: 1200px) {
  .site-header {
  }
  .header-home {
    margin-left: 0px;
  }
  .header-search {
    left: auto;
    right: 144px;
  }
  .lang-switch {
    left: auto;
    right: 20px;
  }
  .nav-inner {
    max-width: 1086px;
    margin: 0 auto;
  }
  .footer-inner {
    width: min(1069px, 92%);
    margin: 0 auto;
  }
  .connect-inner {
    width: min(1069px, 92%);
    margin: 0 auto;
  }
}

/* ========== Responsive: mobile re-layout below 1200px ========== */

@media screen and (max-width: 1199px) {
  .site-header {
    height: auto;
    min-height: 84px;
    padding: 16px 20px;
    align-items: center;
  }
  .header-home {
    margin-left: 0;
  }
  .header-logo img {
    width: 190px;
    height: auto;
  }
  .header-brand {
    margin: 0 0 0 12px;
    font-size: 19px;
    line-height: 24px;
  }
  .header-search {
    top: 50%;
    left: auto;
    right: 104px;
    transform: translateY(-50%);
  }
  .header-search-panel {
    top: 50%;
    right: 154px;
    width: 240px;
  }
  .lang-switch {
    top: 50%;
    left: auto;
    right: 0;
    transform: translateY(-50%);
    width: 76px;
    height: 42px;
    font-size: 12px;
  }

  .main-nav {
    overflow-x: auto;
    background-size: auto 100%;
  }
  .nav-inner {
    width: max-content;
    margin-left: 20px;
    padding-right: 20px;
  }
  .nav-item {
    padding: 0 12px;
    width: auto !important;
  }
  .nav-item + .nav-item {
    margin-left: 12px !important;
  }

  /* Mobile hero: image (56%) on top, color block (44%) below */
  .hero {
    height: clamp(560px, 70vw, 760px);
  }
  .hero-slide {
    grid-template-columns: 1fr;
    grid-template-rows: 56% 44%;
    grid-template-areas: "media" "content";
  }
  .hero__media {
    min-height: 0;
  }
  .hero__content {
    grid-area: content;
    background: var(--hero-orange);
    padding: 8% 6%;
    justify-content: flex-start;
    align-items: stretch;
  }
  .vvvvt {
    width: auto;
  }
  .hero__title {
    font-size: clamp(20px, 2.6vw, 40px);
  }
  .hero__date {
    font-size: clamp(13px, 1.3vw, 20px);
  }
  .hero__cta {
    margin-top: 14px;
    padding: 8px 12px;
  }
  .hero-bars {
    left: 50%;
    transform: translateX(-50%);
    bottom: 20px;
  }
  .hero-bars .bar {
    width: 48px;
  }
  .slider-arrow {
    top: 28%;
  }
  .slider-arrow--prev {
    left: 12px;
  }
  .slider-arrow--next {
    right: 12px;
  }

  .services,
  .news,
  .events,
  .connect,
  .site-footer {
    height: auto;
    margin-top: 0;
  }
  .connect {
    background-size: 100% 100%;
  }
  .site-footer {
    background-size: 100% 100%;
    padding-bottom: 32px;
  }

  .services-inner {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 0;
  }
  .services-media-frame {
    position: static;
    width: 100%;
    height: 360px;
    min-height: 240px;
    top: 0;
  }
  .services-list {
    width: 100%;
    justify-content: flex-start;
    margin-top: 0;
    padding: 28px 20px 40px;
  }
  .rivt {
    width: 100%;
    padding: 0;
  }

  .news,
  .events {
    padding: 48px 0 8px;
  }
  .news-grid,
  .event-grid {
    display: grid;
    gap: 32px 24px;
    margin-top: 32px;
  }
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .event-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .news-card,
  .event-card {
    width: auto;
  }
  .news-img-frame {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    max-height: 340px;
  }
  .event-img-frame {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    max-height: 320px;
  }
  .event-card .event-text {
    margin-left: 0 !important;
  }
  .event-text {
    margin-top: 24px;
  }
  .events .section-more {
    margin: 25px 0;
  }

  .connect-inner {
    margin-left: 0;
    padding: 32px 20px;
  }
  .connect-follow {
    width: auto;
    text-align: left;
  }
  .qr-row {
    gap: 32px;
  }
  .qr-item:nth-child(3) {
    margin-left: 0;
  }

  .footer-inner {
    flex-direction: column;
    gap: 32px;
    margin-left: 0;
    padding: 40px 20px 0;
    align-items: center;
  }
  .footer-contact,
  .footer-quick {
    margin-left: 0;
    width: 303px;
  }
  .footer-contact address,
  .footer-quick p {
    margin-top: 16px;
  }
  .footer-contact address {
    width: auto;
  }
  .footer-socials {
    gap: 40px;
    justify-content: center;
  }
  .footer-socials img {
    margin-left: 0 !important;
  }
  .footer-legal {
    width: 92%;
    margin-top: 40px;
    text-align: center;
  }

  /* Mobile font floors */
  .section-more,
  .services .section-more span {
    font-size: 16px;
  }
  .news-card time {
    font-size: 14px;
    line-height: 15px;
  }
  .qr-item:nth-child(2) figcaption {
    font-size: 14px;
    line-height: 15px;
  }
}

/* Tablet: nav single row */
@media screen and (min-width: 768px) and (max-width: 1199px) {
  .main-nav {
    overflow-x: visible;
  }
  .nav-inner {
    width: auto;
    margin-left: 16px;
    padding-right: 16px;
  }
  .nav-item {
    padding: 0 10px;
    font-size: 13px;
  }
  .nav-item + .nav-item {
    margin-left: 4px !important;
  }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
  .nav-item {
    padding: 0 6px;
    font-size: 11.5px;
  }
  .nav-item + .nav-item {
    margin-left: 1px !important;
  }
}

/* Hamburger button (visible <768px only) */
.nav-tools {
  display: none;
}
.nav-toggle {
  display: none;
  position: absolute;
  top: 50%;
  right: 132px;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #333;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media screen and (max-width: 767px) {
  .page {
    padding-top: 84px;
  }
  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 120;
    background: #fff;
  }
  .header-brand {
    display: block;
    margin: 0 0 0 10px;
    font-size: 15px;
    line-height: 20px;
  }
  .header-logo img {
    width: 120px;
  }
  .site-header .header-search,
  .site-header .lang-switch,
  .site-header .header-search-panel {
    display: none !important;
  }
  .nav-toggle {
    display: flex;
    position: static;
    transform: none;
    margin-left: auto;
    flex-shrink: 0;
  }

  .main-nav {
    position: fixed;
    top: 84px;
    left: 0;
    right: 0;
    display: none;
    height: auto;
    overflow: visible;
    background-size: 100% 100%;
    z-index: 90;
  }
  .main-nav.is-open {
    display: block;
    background: #000;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  }
  .nav-tools {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
  }
  .nav-search {
    display: flex;
    flex: 1;
    min-width: 0;
    height: 40px;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
  }
  .nav-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    padding: 0 14px;
    background: transparent;
    font-size: 14px;
    outline: none;
  }
  .nav-search button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    flex-shrink: 0;
  }
  .nav-search button img {
    width: 18px;
    height: 18px;
  }
  .nav-tools .lang-switch {
    position: static;
    transform: none;
    width: 76px;
    height: 42px;
    font-size: 12px;
    flex-shrink: 0;
  }
  .nav-inner {
    flex-direction: column;
    align-items: stretch;
    width: auto;
    height: auto;
    margin-left: 0;
    padding: 8px 0;
  }
  .nav-item {
    width: 100% !important;
    height: 48px;
    padding: 0 20px;
    margin-left: 0 !important;
    font-size: 15px;
    flex: auto;
  }

  .services-media-frame {
    height: 240px;
  }
  .news-img-frame {
    aspect-ratio: 16 / 10;
    max-height: none;
  }
  .event-img-frame {
    max-height: none;
  }

  .news-grid,
  .event-grid {
    grid-template-columns: 1fr;
  }
  .qr-row {
    gap: 20px;
  }
  .qr-item {
    flex: 1;
  }
  .qr-item figcaption {
    line-height: 16px;
  }
}

/* Nav items fixed block width (desktop only) */
@media screen and (min-width: 1200px) {
  .nav-item:nth-child(1) {
    width: 80px;
  }
  .nav-item:nth-child(2) {
    width: 134px;
  }
  .nav-item:nth-child(3) {
    width: 164px;
  }
  .nav-item:nth-child(4) {
    width: 201px;
  }
  .nav-item:nth-child(5) {
    width: 231px;
  }
  .nav-item:nth-child(6) {
    width: 101px;
  }
}

.section-more a {
  display: flex;
  align-items: center;
}
