/* ============================================================
   Harbin International Communication Center — EN Home
   主题色 / 字体 / 全局重置
   ============================================================ */

:root {
  /* 颜色 */
  --color-bg:           #03254a;
  --color-bg-2:         #0d2350;
  --color-card:         #122a5e;
  --color-card-2:       #0f2755;
  --color-border:       #798b9f;
  --color-border-2:     rgba(255, 255, 255, 0.18);
  --color-text:         #ffffff;
  --color-text-soft:    #b8c4d8;
  --color-text-dim:     #8a98b5;
  --color-primary:      #4377ef;
  --color-primary-hov:  #42a5f5;

  /* 尺寸 */
  --container-w:        1200px;
  --header-h:           72px;
  --radius-sm:          6px;
  --radius-md:          10px;
  --radius-lg:          16px;

  /* 字体 */
  --font-sans:          'Poppins', 'Microsoft YaHei', 'PingFang SC', Arial, sans-serif;

  /* 动效 */
  --ease:               cubic-bezier(0.4, 0, 0.2, 1);
}

/* ----- Reset ----- */
*, *::before, *::after { box-sizing: border-box; }
html, html { scroll-padding-top: var(--header-h); }

body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--color-primary-hov); }
button {
  font-family: inherit; cursor: pointer; border: 0; background: transparent; color: inherit;
}
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; }

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}


/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;              /* absolute -> fixed: header vanished on scroll */
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background .25s var(--ease), box-shadow .25s var(--ease);
  background: rgba(10, 26, 58, .92);
}
.site-header.is-scrolled {
  background: rgba(10, 26, 58, .92);
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.header-inner {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}
.logo {
  width: 200px;
}
.logo-icon {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
}
.logo-icon svg { width: 100%; height: 100%; }
.logo-text {
  display: flex; flex-direction: column;
  line-height: 1.15;
  font-size: 9px;
  letter-spacing: 0.04em;
}
.logo-en { font-weight: 600; color: rgba(255,255,255,.95); }
.logo-cn { font-size: 11px; font-weight: 600; color: var(--color-primary); margin-top: 2px; }

.main-nav { flex: 1; }
.main-nav ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.main-nav a {
  display: inline-block;
  padding: 8px 14px;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,.88);
  border-bottom: 2px solid transparent;
  transition: all .2s var(--ease);
}
.main-nav a:hover { color: #fff; }
.main-nav a.active {
  color: #fff;
  border-bottom-color: var(--color-primary);
}

.header-right {
  margin-left: auto;            /* push to right edge of header */
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
/* 多语言下拉
   padding / font-size / letter-spacing 与 .main-nav a 保持一致 → 高度对齐 */
.lang-dropdown {
  position: relative;
  flex-shrink: 0;
}
.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;              /* = 导航项 padding */
  font-size: 13px;                /* = 导航项 font-size */
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.5;               /* = 导航项 line-height */
  color: rgba(255,255,255,.88);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.lang-btn:hover { color: #fff; }
.lang-globe { flex-shrink: 0; opacity: .9; }
.lang-caret {
  flex-shrink: 0;
  transition: transform .25s var(--ease);
}
.lang-dropdown.open .lang-btn {
  color: #fff;
  border-bottom-color: var(--color-primary);
}
.lang-dropdown.open .lang-caret { transform: rotate(180deg); }

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 156px;
  padding: 6px 0;
  background: var(--color-bg-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 28px rgba(0,0,0,.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s var(--ease);
  z-index: 200;
}
.lang-dropdown.open .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lang-menu a {
  display: block;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-soft);
  white-space: nowrap;
  transition: background .18s var(--ease), color .18s var(--ease);
}
.lang-menu a:hover {
  background: rgba(255,255,255,.07);
  color: #fff;
}
.lang-menu a.active { color: var(--color-primary); }


/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  margin-top: var(--header-h);
  /* height: 900px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center; */
}
.hero-bg {
  width: 100%;
}
.hero-overlay {
  position: absolute; inset: 0;
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: right;
  /* padding: 0 24px; */
}
.hero-title {
  font-size: 72px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.1;
  color: #fff;
  text-shadow: 0 4px 24px rgba(0,0,0,.3);
  margin: 0;
}


/* ============================================================
   FOCUS  标签 + 焦点图 + 文字新闻
   ============================================================ */
.focus-section {
  margin-top: -60px;
  position: relative;
  z-index: 3;
  padding-bottom: 60px;
}
.focus-panel {
  /* background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); */
  overflow: hidden;
}
.focus-tabs {
  display: flex;
  border-bottom: 1px solid var(--color-border);
  width: 60%;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px 12px 0 0;
}
.tab-btn {
  flex: 1;
  padding: 16px 12px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,.75);
  background: transparent;
  transition: all .2s var(--ease);
  border-bottom: 2px solid transparent;
  position: relative;
  top: 1px;
}
.tab-btn:first-child {
  border-start-start-radius: 12px;   /* 或 border-top-left-radius: 12px */
}
/* 如果末尾按钮是贴右边的，同理补右上角 */
.tab-btn:last-child {
  border-start-end-radius: 12px;     /* 或 border-top-right-radius: 12px */
}
.tab-btn:hover { color: #fff; }
.tab-btn.active {
  color: #fff;
  background: var(--color-primary);
}

.focus-body {
  background: rgba(255, 255, 255, 0);;
  border: 1px solid var(--color-border);
  border-radius: 0 0 12px 12px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0;
  min-height: 280px;
}
.focus-body .slider-nav {
  grid-column: 1 / -1;
  margin-top: 0;
  margin-bottom: 20px;
}
.focus-feature {
  position: relative;
  padding: 30px;
  overflow: hidden;
}
.feature-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 240px;
  overflow: hidden;
}
.carousel-item {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .5s var(--ease);
}
.carousel-item.active { opacity: 1; pointer-events: auto; }
.carousel-link {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  display: flex;
  align-items: center;
}
.carousel-caption {
  font-size: 18px;
  font-weight: 500;
}
.carousel-dots {
  position: absolute;
  bottom: 0;
  right: 16px;
  display: flex; gap: 6px;
  z-index: 10;
  align-items: center;
  padding: 10px 0;
}
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  cursor: pointer;
  transition: all .2s var(--ease);
}
.dot.active { background: #fff; transform: scale(1.2); }

.news-list {
  padding: 20px 24px;
  display: flex; flex-direction: column;
  overflow-y: auto;
  max-height: 100%;
}
.news-list li {
  border-bottom: 1px dashed var(--color-border-2);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.news-list li span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  flex-shrink: 0;
  text-align: right;
  margin-left: auto;
}

.news-list a {
  display: block;
  padding: 10px 0;
  font-size: 18px;
  font-weight: 400;
  color: var(--color-text);
  position: relative;
  transition: padding .2s var(--ease), color .2s var(--ease);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.news-list a:hover {
  color: var(--color-primary-hov);
}


/* ============================================================
   MEDIA  视频 / 图集
   ============================================================ */
.media-section {
  padding-bottom: 60px;
}
.media-tabs {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 0;
}
.media-tab {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 4px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,.65);
  letter-spacing: 0.05em;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all .2s var(--ease);
}
.media-tab:hover { color: #fff; }
.media-tab.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}
/* .media-tab svg { fill: currentColor; } */

.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.media-card {
  background: rgba(0,0,0,0);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.media-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,.35);
  border-color: var(--color-border-2);
}
.media-card a { display: block; }
.media-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background-size: cover;
  background-position: center;
  display: flex; align-items: center; justify-content: center;
}
.play-icon {
  transition: transform .2s var(--ease);
}
.media-card:hover .play-icon { transform: scale(1.1); }
.media-card h3 {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  padding: 14px 16px 6px;
  line-height: 1.4;
}
.media-loc {
  display: flex; align-items: center; gap: 4px;
  margin: 0;
  padding: 0 16px 14px;
  font-size: 12px;
  color: var(--color-text);
}
.media-loc svg { flex-shrink: 0; }

.slider-nav {
  display: flex; justify-content: center;
  margin-top: 20px;
}
.nav-arrow {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  transition: background .2s var(--ease);
}
.nav-arrow:hover { background: var(--color-primary-hov); }


/* ============================================================
   QUICK LINKS  6 宫格
   ============================================================ */
.quicklinks {
  padding-bottom: 60px;
}
.ql-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px 30px;
}
.ql-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 12px;
  color: var(--color-text);
}
.ql-thumb {
  width: 100px; height: 100px;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
}
.ql-text {
  flex: 1;
  padding: 20px 0 10px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color .2s var(--ease);
}
.ql-text .arrow {
  width: 26px; height: 26px;
  align-self: flex-end;
  display: inline-flex;
  align-items: center; justify-content: center;
  border-radius: 50%;
  font-size: 16px;
  line-height: 1;
  color: var(--color-text);
  transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.ql-item:hover .ql-text { border-color: var(--color-primary-hov); }
.ql-item:hover .ql-text .arrow {
  background: var(--color-primary-hov);
  color: #fff;
  transform: translateX(2px);
}


/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  padding-top: 60px;
  padding-bottom: 0;
  background: var(--color-bg);
  position: relative;
  overflow: hidden;
}
.footer-head { text-align: center; padding-bottom: 24px; }
.footer-welcome {
  font-size: 50px;
  font-weight: 500;
  color: var(--color-primary);
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.footer-sub {
  font-size: 18px;
  font-weight: 500;
  color: var(--color-text);
  margin: 0;
}
.footer-divider {
  border: 0;
  border-top: 1px solid var(--color-border);
  margin: 0 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: start;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 32px;
}
.fcol {
  display: flex; flex-direction: column;
  gap: 10px;
  min-width: 100px;
}
.fcol a {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-soft);
  letter-spacing: 0.04em;
}
.fcol a:hover { color: var(--color-primary-hov); }

.footer-social {
  display: flex; 
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.social-icons {
  display: flex; gap: 30px;
}
.sicon {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.85);
  border-radius: 50%;
  transition: all .2s var(--ease);
}
.sicon:hover {
  color: #fff;
  background: var(--color-primary);
}
.click-btn {
  display: inline-block;
  padding: 8px 36px;
  background: var(--color-primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  border-radius: 20px;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.click-btn:hover {
  background: var(--color-primary-hov);
  color: #fff;
}

.city-skyline {
  width: 100%;
  height: 100px;
  opacity: 0.55;
  pointer-events: none;
}
.city-skyline svg { width: 100%; height: 100%; display: block; }

/* ============================================
   Hamburger menu (mobile only) - 3 spans
   ============================================ */
.menu-toggle {
  display: none;                 /* hidden on desktop */
  width: 36px; height: 36px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  order: 10;                     /* push to far right (same as RU version) */
  flex-shrink: 0;
}
.menu-toggle span {
  display: block;
  width: 20px; height: 2px;
  background: #fff;
  border-radius: 1px;
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


#pagearea a {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 30px;
    height: 30px;
    background-color: #bbbbbb;
    color: white;
    font-size: 0.75rem !important;
    margin-right: 0.25rem !important;
    margin-left: 0.25rem !important;
}

#pagearea a:hover {
    background-color: #666666;
    color: white;
}

#pagearea .now {
    background-color: #666666;
    color: white;
}

#pagearea .disable {
    cursor: not-allowed;
}
