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

:root {
  /* 颜色 */
  --color-bg:           #fff;
  --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:         #000;
  --color-text-soft:    #303030;
  --color-text-dim:     #8a98b5;
  --color-primary:      #4278f2;
  --color-primary-hov:  #4476f1;

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

  /* 字体 */
  --font-sans:          'Noto 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(67, 119, 237, .92);
}
.site-header.is-scrolled {
  background: rgba(67, 119, 237, .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: 5px;
}
.main-nav a {
  display: inline-block;
  padding: 8px 14px;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.02em;
  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: #fff;
}

.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);
  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);
  white-space: nowrap;
  transition: background .18s var(--ease), color .18s var(--ease);
}
.lang-menu a:hover {
  background: rgba(255,255,255,.07);
  color: var(--color-primary-hov);
}
.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: -5px;
  position: relative;
  z-index: 3;
  padding-bottom: 24px;
}
.focus-panel {
  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;
  border: 1px solid var(--color-primary);
}
.tab-btn {
  flex: 1;
  padding: 16px 12px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,.75);
  background: var(--color-primary);
  transition: all .2s var(--ease);
  border-bottom: 2px solid transparent;
  position: relative;
}
.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: var(--color-primary);
  background: rgba(240,240,240,.75);
}

.focus-body {
  background: rgba(255, 255, 255, 0);
  border: 1px solid var(--color-primary);
  border-radius: 0 0 12px 12px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0;
  min-height: 280px;
}
.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);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.news-list li span {
  font-size: 14px;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.6);
  flex-shrink: 0;
  text-align: right;
  margin-left: auto;
}

.news-list a {
  display: block;
  padding: 12px 0 8px;
  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  视频 / 图集
   ============================================================ */
.video-section {
  padding: 30px 0 24px;
  color: var(--color-text-on-blue);
}
.section-title {
  font-size: 32px;
  font-weight: 500;
  color: var(--color-primary);
  margin-bottom: 20px;
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.video-card {
  display: block;
  color: var(--color-text-on-blue);
  transition: transform .25s var(--ease);
}
.video-card:hover p { color: var(--color-primary); }
.video-thumb {
  position: relative;
  width: 100%;
  padding-top: 60%;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.video-thumb::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 45%;
  background: linear-gradient(to top, rgba(0,0,0,.7) 0%, transparent 100%);
  pointer-events: none;
}
.play-icon {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 50px; height: 50px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.85);
  color: var(--color-primary-2);
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(0,0,0,.3);
  transition: transform .2s var(--ease);
}
.video-card:hover .play-icon { transform: translate(-50%, -50%) scale(1.1); }
.video-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 5px 10px;
  font-size: 16px;
  color: #fff;
  z-index: 2;
  pointer-events: none;
  background: rgba(0,0,0,.3);
  margin: 0;
}

.section-divider {
  text-align: center;
  margin-top: 28px;
  color: var(--color-primary);
  opacity: .7;
}

.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: #42a5f5; }

/* ============================================
   PHOTO (4 cards)
   ============================================ */
.photo-section {
  padding: 40px 0 120px;
  color: var(--color-text-on-blue);
}
.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-radius: 16px;
  overflow: hidden;
}
.photo-card {
  display: block;
  overflow: hidden;
  transition: transform .25s var(--ease);
}
.photo-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.photo-card:hover p { color: var(--color-primary); }
.photo-caption {
  font-size: 13px;
  color: #fff;
  margin-top: 6px;
}

/* ============================================================
   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(3, auto);
  gap: 12px 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: var(--color-text-soft);
  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: #42a5f5;
  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;
}
