@charset "utf-8";
/* ============================================================
   Theme: ronghai 榕海协作 | Z-BlogPHP 1.7.5
   100% local assets: no CDN, no web fonts, no external imports
   ============================================================ */

:root {
  --rh-primary: #0b63c5;
  --rh-blue: #25ade8;
  --rh-blue-lite: #7cd3f2;
  --rh-dark: #001d69;
  --rh-navy: #0a2f6b;
  --rh-text: #243447;
  --rh-muted: #6c7f92;
  --rh-light: #eef7ff;
  --rh-bg: #f6fafd;
  --rh-border: #e2ecf5;
  --rh-shadow: 0 12px 32px rgba(6, 48, 105, .10);
  --rh-shadow-hover: 0 20px 44px rgba(6, 48, 105, .18);
  --rh-radius: 12px;
  --rh-max: 1200px;
  --rh-font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; padding: 0; background: #fff; color: var(--rh-text);
  font-family: var(--rh-font); font-size: 15px; line-height: 1.75;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; border: 0; vertical-align: middle; }
a { color: inherit; text-decoration: none; transition: color .25s ease; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, p { margin: 0; }
button, input, textarea, select { font-family: inherit; font-size: inherit; }
button { cursor: pointer; }
.rh-container { width: 100%; max-width: var(--rh-max); margin: 0 auto; padding: 0 24px; }
.rh-icon { width: 1.05em; height: 1.05em; flex: none; vertical-align: -.15em; }

/* ---------- Buttons ---------- */
.rh-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 26px; border: 1px solid transparent; border-radius: 999px;
  font-size: 15px; font-weight: 600; letter-spacing: .3px; white-space: nowrap;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}
.rh-btn:hover { transform: translateY(-2px); }
.rh-btn .rh-icon { width: 16px; height: 16px; }
.rh-btn-primary { color: #fff; background: linear-gradient(120deg, var(--rh-primary), var(--rh-blue)); box-shadow: 0 8px 20px rgba(11, 99, 197, .30); }
.rh-btn-primary:hover { box-shadow: 0 12px 28px rgba(11, 99, 197, .42); color: #fff; }
.rh-btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .65); background: rgba(255, 255, 255, .08); backdrop-filter: blur(3px); }
.rh-btn-ghost:hover { background: rgba(255, 255, 255, .20); color: #fff; }
.rh-btn-light { color: var(--rh-primary); background: #fff; }
.rh-btn-outline { color: #fff; border-color: rgba(255, 255, 255, .7); }
.rh-btn-outline:hover { color: #fff; background: rgba(255, 255, 255, .12); }
.rh-btn-block { width: 100%; }

/* ---------- Top bar & header ---------- */
.rh-topbar { background: var(--rh-dark); color: rgba(255, 255, 255, .78); font-size: 13px; }
.rh-topbar-inner { display: flex; align-items: center; justify-content: space-between; min-height: 36px; }
.rh-topbar-contact { display: flex; align-items: center; gap: 12px; }
.rh-topbar-contact a:hover { color: #fff; }
.rh-topbar-contact i { display: inline-block; width: 1px; height: 12px; background: rgba(255, 255, 255, .35); }

.rh-header {
  position: sticky; top: 0; z-index: 200; background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--rh-border);
  transition: box-shadow .3s ease;
}
.rh-header.is-scrolled { box-shadow: 0 6px 22px rgba(6, 48, 105, .12); }
.rh-header-inner { display: flex; align-items: center; min-height: 76px; gap: 20px; }
.rh-logo { display: flex; align-items: center; gap: 10px; flex: none; }
.rh-logo img { width: 46px; height: 46px; object-fit: contain; }
.rh-logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.rh-logo-text strong { font-size: 20px; letter-spacing: 2.5px; color: var(--rh-primary); font-weight: 800; }
.rh-logo-text small { font-size: 11px; color: var(--rh-muted); letter-spacing: 1px; margin-top: 3px; }

.rh-nav-wrap { margin-left: auto; }
.rh-nav { display: flex; align-items: center; gap: 2px; }
.rh-nav-item { position: relative; }
.rh-nav-item > a {
  display: block; padding: 26px 17px; font-size: 15px; font-weight: 600; color: #2b3d52;
  white-space: nowrap; position: relative;
}
.rh-nav-item > a::after {
  content: ''; position: absolute; left: 17px; right: 17px; bottom: 18px; height: 2px;
  background: var(--rh-blue); transform: scaleX(0); transform-origin: center; transition: transform .25s ease;
}
.rh-nav-item:hover > a, .rh-nav-item.active > a { color: var(--rh-primary); }
.rh-nav-item:hover > a::after, .rh-nav-item.active > a::after { transform: scaleX(1); }
.rh-sub {
  position: absolute; top: 100%; left: 0; min-width: 210px; padding: 8px;
  background: #fff; border: 1px solid var(--rh-border); border-radius: 10px;
  box-shadow: var(--rh-shadow); opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
}
.rh-nav-item:hover .rh-sub, .rh-nav-item:focus-within .rh-sub { opacity: 1; visibility: visible; transform: translateY(0); }
.rh-sub li a { display: block; padding: 9px 12px; border-radius: 6px; font-size: 14px; color: var(--rh-text); }
.rh-sub li a:hover { background: var(--rh-light); color: var(--rh-primary); padding-left: 18px; }
.rh-nav-cta { margin-left: 10px; }
.rh-nav-cta > a {
  display: inline-block; padding: 10px 22px; border-radius: 999px; color: #fff; font-size: 14px; font-weight: 600;
  background: linear-gradient(120deg, var(--rh-primary), var(--rh-blue));
  box-shadow: 0 6px 16px rgba(11, 99, 197, .25);
}
.rh-nav-cta > a:hover { color: #fff; box-shadow: 0 10px 24px rgba(11, 99, 197, .38); }
.rh-header-search { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; color: var(--rh-primary); }
.rh-header-search:hover { background: var(--rh-light); }
.rh-header-search .rh-icon { width: 20px; height: 20px; }
.rh-menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--rh-border); border-radius: 8px; background: #fff; padding: 10px; }
.rh-menu-toggle span { display: block; height: 2px; background: var(--rh-primary); margin: 4px 0; border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }
.rh-menu-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.rh-menu-toggle.open span:nth-child(2) { opacity: 0; }
.rh-menu-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.rh-hero { position: relative; height: min(76vh, 740px); min-height: 540px; overflow: hidden; background: var(--rh-dark); }
.rh-hero-slides, .rh-hero-slide { position: absolute; inset: 0; }
.rh-hero-slide {
  background-size: cover; background-position: center; opacity: 0; transform: scale(1.06);
  transition: opacity 1s ease, transform 7s linear; z-index: 0;
}
.rh-hero-slide.active { opacity: 1; transform: scale(1); z-index: 1; }
.rh-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0, 20, 72, .90) 0%, rgba(0, 29, 105, .72) 40%, rgba(0, 62, 140, .22) 78%, rgba(0, 29, 105, .12) 100%);
}
.rh-hero-inner { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; color: #fff; max-width: var(--rh-max); }
.rh-hero-eyebrow { font-size: 13px; letter-spacing: 4px; color: var(--rh-blue-lite); font-weight: 600; text-transform: uppercase; margin-bottom: 20px; }
.rh-hero-title { font-size: clamp(32px, 4.2vw, 60px); line-height: 1.22; font-weight: 800; letter-spacing: 2px; text-shadow: 0 4px 24px rgba(0, 0, 0, .28); max-width: 900px; }
.rh-hero-desc { margin-top: 22px; font-size: clamp(15px, 1.4vw, 19px); color: rgba(255, 255, 255, .88); max-width: 700px; line-height: 1.8; }
.rh-hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 38px; }
.rh-hero-arrow {
  position: absolute; top: 50%; z-index: 3; transform: translateY(-50%);
  width: 46px; height: 66px; border: 0; color: #fff; font-size: 20px;
  background: rgba(255, 255, 255, .14); transition: background .25s ease;
}
.rh-hero-arrow:hover { background: rgba(37, 173, 232, .65); }
.rh-hero-prev { left: 0; border-radius: 0 8px 8px 0; }
.rh-hero-next { right: 0; border-radius: 8px 0 0 8px; }
.rh-hero-dots { position: absolute; z-index: 3; bottom: 34px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; }
.rh-hero-dot { width: 34px; height: 4px; padding: 0; border: 0; border-radius: 4px; background: rgba(255, 255, 255, .45); transition: width .3s ease, background .3s ease; }
.rh-hero-dot.active { width: 56px; background: var(--rh-blue-lite); }
.rh-hero-scroll { position: absolute; z-index: 3; bottom: 28px; right: 40px; width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .6); border-radius: 14px; }
.rh-hero-scroll span { display: block; width: 4px; height: 10px; margin: 7px auto 0; border-radius: 2px; background: #fff; animation: rhScroll 1.8s infinite; }
@keyframes rhScroll { 0% { opacity: 1; transform: translateY(0); } 70% { opacity: .2; transform: translateY(14px); } 100% { opacity: 0; } }

/* ---------- Quick bar ---------- */
.rh-quickbar { background: #fff; border-bottom: 1px solid var(--rh-border); }
.rh-quickbar ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.rh-quickbar li { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 22px 12px; font-size: 15px; font-weight: 600; color: var(--rh-navy); border-right: 1px solid var(--rh-border); }
.rh-quickbar li:last-child { border-right: 0; }
.rh-quickbar li .rh-icon { width: 26px; height: 26px; color: var(--rh-blue); }

/* ---------- Sections ---------- */
.rh-section { padding: 88px 0; }
.rh-section:nth-of-type(even) { background: var(--rh-bg); }
.rh-products, .rh-news, .rh-advantages { background: #fff; }
.rh-robot, .rh-cases, .rh-services, .rh-culture { background: var(--rh-bg); }
.rh-section-head { position: relative; text-align: center; margin-bottom: 52px; }
.rh-section-en { font-size: 13px; letter-spacing: 4px; color: var(--rh-blue); font-weight: 700; text-transform: uppercase; }
.rh-section-cn { margin-top: 8px; font-size: clamp(26px, 3vw, 38px); font-weight: 800; color: var(--rh-navy); letter-spacing: 2px; }
.rh-section-cn::after { content: ''; display: block; width: 58px; height: 4px; border-radius: 4px; margin: 16px auto 0; background: linear-gradient(90deg, var(--rh-primary), var(--rh-blue)); }
.rh-section-desc { margin-top: 16px; color: var(--rh-muted); font-size: 16px; }
.rh-section-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; color: var(--rh-primary); font-weight: 600; font-size: 14px; }
.rh-section-more:hover { color: var(--rh-blue); }
.rh-section-more .rh-icon { width: 15px; height: 15px; }

/* ---------- Grids & cards ---------- */
.rh-grid { display: grid; gap: 26px; }
.rh-grid-3 { grid-template-columns: repeat(3, 1fr); }
.rh-grid-4 { grid-template-columns: repeat(4, 1fr); }
.rh-card {
  display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--rh-border);
  border-radius: var(--rh-radius); box-shadow: 0 4px 16px rgba(6, 48, 105, .06);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.rh-card:hover { transform: translateY(-8px); box-shadow: var(--rh-shadow-hover); border-color: rgba(37, 173, 232, .55); }
.rh-card-media { height: 200px; overflow: hidden; background: linear-gradient(135deg, #e6f4ff, #cfe9fb); }
.rh-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.rh-card:hover .rh-card-media img { transform: scale(1.08); }
.rh-card-body { padding: 22px 22px 26px; display: flex; flex-direction: column; flex: 1; }
.rh-card-body h3 { font-size: 19px; font-weight: 700; color: var(--rh-navy); line-height: 1.45; }
.rh-card-body p { margin-top: 12px; color: var(--rh-muted); font-size: 14px; line-height: 1.8; flex: 1; }
.rh-card-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; color: var(--rh-primary); font-size: 14px; font-weight: 600; }
.rh-card-more .rh-icon { width: 15px; height: 15px; }
.rh-news-date { display: inline-block; color: var(--rh-blue); font-size: 13px; font-weight: 600; letter-spacing: .5px; margin-bottom: 8px; }
.rh-news-card .rh-card-body h3 { font-size: 17px; }

/* ---------- Robot ---------- */
.rh-robot-scenes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.rh-scene { text-align: center; padding: 34px 22px; background: #fff; border-radius: var(--rh-radius); border: 1px solid var(--rh-border); box-shadow: 0 4px 16px rgba(6, 48, 105, .05); transition: transform .3s ease, box-shadow .3s ease; }
.rh-scene:hover { transform: translateY(-6px); box-shadow: var(--rh-shadow); }
.rh-scene-icon { width: 86px; height: 86px; margin: 0 auto 18px; border-radius: 50%; background: linear-gradient(135deg, #79c6f0 0%, #2b8cd8 100%); box-shadow: 0 6px 16px rgba(11, 99, 197, .22); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.rh-scene-icon img { width: 68px; height: 68px; object-fit: contain; }
.rh-scene h3 { font-size: 18px; color: var(--rh-navy); font-weight: 700; }
.rh-scene p { margin-top: 10px; font-size: 14px; color: var(--rh-muted); }
.rh-robot-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 34px; padding: 26px 20px; border-radius: var(--rh-radius); background: linear-gradient(120deg, var(--rh-primary), var(--rh-blue)); color: #fff; }
.rh-stat { text-align: center; border-right: 1px solid rgba(255, 255, 255, .28); }
.rh-stat:last-child { border-right: 0; }
.rh-stat strong { display: block; font-size: 30px; font-weight: 800; letter-spacing: 1px; }
.rh-stat span { font-size: 14px; opacity: .9; }

/* ---------- Services ---------- */
.rh-service-card { display: block; text-align: center; padding: 44px 28px; background: #fff; border: 1px solid var(--rh-border); border-radius: var(--rh-radius); box-shadow: 0 4px 16px rgba(6, 48, 105, .05); transition: transform .3s ease, box-shadow .3s ease; }
.rh-service-card:hover { transform: translateY(-8px); box-shadow: var(--rh-shadow-hover); }
.rh-service-icon { width: 96px; height: 96px; margin: 0 auto 20px; border-radius: 50%; background: var(--rh-light); display: flex; align-items: center; justify-content: center; }
.rh-service-icon img { width: 62px; height: 62px; object-fit: contain; }
.rh-service-card h3 { font-size: 20px; color: var(--rh-navy); font-weight: 700; }
.rh-service-card p { margin-top: 12px; color: var(--rh-muted); font-size: 14px; min-height: 52px; }
.rh-service-card .rh-card-more { justify-content: center; }

/* ---------- Advantages ---------- */
.rh-adv-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; min-height: 340px; }
.rh-adv { position: relative; overflow: hidden; border-radius: var(--rh-radius); background: linear-gradient(160deg, rgba(37, 173, 232, .88), rgba(11, 99, 197, .92)); color: #fff; transition: flex .4s ease; }
.rh-adv-grid { display: flex; }
.rh-adv { flex: 1; min-width: 0; transition: flex .45s cubic-bezier(.2, .7, .2, 1); }
.rh-adv:hover { flex: 2.6; }
.rh-adv-front { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 20px; }
.rh-adv-icon { width: 84px; height: 84px; margin-bottom: 18px; }
.rh-adv-icon img { width: 100%; height: 100%; object-fit: contain; }
.rh-adv-en { font-size: 12px; letter-spacing: 2px; opacity: .78; text-transform: uppercase; }
.rh-adv-front h3 { font-size: 22px; font-weight: 700; letter-spacing: 2px; margin-top: 4px; }
.rh-adv-expand { position: absolute; inset: 0; display: flex; flex-direction: column; opacity: 0; transform: translateY(16px); transition: opacity .35s ease .1s, transform .35s ease .1s; background: #fff; }
.rh-adv:hover .rh-adv-expand { opacity: 1; transform: translateY(0); }
.rh-adv-img { height: 46%; overflow: hidden; }
.rh-adv-img img { width: 100%; height: 100%; object-fit: cover; }
.rh-adv-copy { flex: 1; padding: 18px; background: var(--rh-primary); color: #fff; display: flex; flex-direction: column; justify-content: center; }
.rh-adv-copy h4 { font-size: 17px; }
.rh-adv-copy p { margin-top: 8px; font-size: 13px; line-height: 1.7; opacity: .92; }

/* ---------- Culture ---------- */
.rh-culture-grid { gap: 20px; }
.rh-culture-card { min-height: 300px; padding: 32px 26px; border-radius: var(--rh-radius); background-size: cover; background-position: center; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; transition: transform .3s ease, box-shadow .3s ease; }
.rh-culture-card:hover { transform: translateY(-6px); box-shadow: var(--rh-shadow-hover); }
.rh-culture-en { font-size: 13px; letter-spacing: 3px; text-transform: uppercase; color: var(--rh-blue-lite); }
.rh-culture-card h3 { font-size: 30px; font-weight: 800; margin: 6px 0 12px; letter-spacing: 3px; }
.rh-culture-card p { font-size: 14px; line-height: 1.8; color: rgba(255, 255, 255, .9); }

/* ---------- CTA ---------- */
.rh-cta { padding: 60px 0; background: linear-gradient(120deg, var(--rh-dark), var(--rh-primary) 60%, var(--rh-blue)); color: #fff; }
.rh-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.rh-cta h2 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; letter-spacing: 1px; }
.rh-cta p { margin-top: 10px; color: rgba(255, 255, 255, .85); }
.rh-cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.rh-footer { background: #062450; color: rgba(255, 255, 255, .78); }
.rh-footer-main { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding: 66px 24px 46px; }
.rh-footer-logo, .rh-footer-partner { display: inline-block; vertical-align: middle; box-sizing: border-box; object-fit: contain; }
.rh-footer-logo { width: 104px; height: 104px; padding: 10px; background: #fff; border-radius: 12px; margin: 0 0 18px 0; }
/* Cisco 认证徽章：图片自带蓝色渐变底与圆角，不使用 padding，不与 RONGHAI logo 共用白底样式 */
.rh-footer-partner { width: 92px; height: 92px; margin: 0 0 ; border-radius: 10px; box-shadow: 0 6px 16px rgba(0, 15, 60, .35); }
.rh-footer-philosophy { font-size: 18px; color: #fff; font-weight: 600; padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, .22); }
.rh-footer-about p { font-size: 13.5px; line-height: 1.9; }
.rh-footer-col h3 { font-size: 17px; color: #fff; margin-bottom: 18px; font-weight: 700; }
.rh-footer-col ul li { border-bottom: 1px solid rgba(255, 255, 255, .09); }
.rh-footer-col ul li a { display: block; padding: 8px 0; font-size: 14px; }
.rh-footer-col ul li a:hover { color: var(--rh-blue-lite); padding-left: 6px; }
.rh-footer-contact p { font-size: 14px; margin-bottom: 10px; line-height: 1.7; }
.rh-footer-contact a:hover { color: var(--rh-blue-lite); }
.rh-footer-tel { font-size: 22px !important; font-weight: 700; color: #fff; }
.rh-footer-bottom { background: rgba(0, 12, 42, .55); }
.rh-footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; padding: 20px 24px; font-size: 13px; }
.rh-footer-bottom a:hover { color: var(--rh-blue-lite); }
.rh-backtop { position: fixed; right: 24px; bottom: 26px; z-index: 150; width: 46px; height: 46px; border: 0; border-radius: 50%; color: #fff; background: linear-gradient(120deg, var(--rh-primary), var(--rh-blue)); box-shadow: 0 8px 22px rgba(6, 48, 105, .3); opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .3s ease; }
.rh-backtop.show { opacity: 1; visibility: visible; transform: translateY(0); }
.rh-backtop .rh-icon { width: 22px; height: 22px; }

/* ---------- Inner page hero ---------- */
.rh-pagehero { position: relative; min-height: 320px; display: flex; align-items: center; overflow: hidden; background: var(--rh-dark); }
.rh-pagehero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .38; }
.rh-pagehero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 20, 72, .92), rgba(0, 55, 130, .55)); }
.rh-pagehero-inner { position: relative; z-index: 2; color: #fff; padding-top: 26px; padding-bottom: 26px; }
.rh-pagehero-en { font-size: 12px; letter-spacing: 3px; color: var(--rh-blue-lite); }
.rh-pagehero h1 { margin-top: 10px; font-size: clamp(28px, 3.4vw, 44px); font-weight: 800; letter-spacing: 2px; }
.rh-pagehero-sub { margin-top: 8px; font-size: 16px; color: rgba(255, 255, 255, .85); }
.rh-breadcrumb { display: flex; align-items: center; gap: 10px; margin-top: 24px; font-size: 13px; color: rgba(255, 255, 255, .75); }
.rh-breadcrumb a:hover { color: #fff; }

/* ---------- Layout / archive ---------- */
.rh-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 36px; padding-top: 60px; padding-bottom: 80px; align-items: start; }
.rh-main { min-width: 0; }
.rh-post-list { display: flex; flex-direction: column; gap: 24px; }
.rh-post-card { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 26px; padding: 20px; background: #fff; border: 1px solid var(--rh-border); border-radius: var(--rh-radius); box-shadow: 0 4px 16px rgba(6, 48, 105, .05); transition: transform .3s ease, box-shadow .3s ease; }
.rh-post-card:hover { transform: translateY(-4px); box-shadow: var(--rh-shadow); }
.rh-post-thumb { display: block; height: 168px; border-radius: 8px; overflow: hidden; background: var(--rh-light); }
.rh-post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.rh-post-card:hover .rh-post-thumb img { transform: scale(1.06); }
.rh-post-info { display: flex; flex-direction: column; }
.rh-post-meta { display: flex; flex-wrap: wrap; gap: 16px; color: var(--rh-muted); font-size: 13px; }
.rh-post-meta span { position: relative; }
.rh-post-meta span + span::before { content: '·'; position: absolute; left: -10px; color: var(--rh-blue); }
.rh-post-info h2 { margin-top: 10px; font-size: 21px; font-weight: 700; line-height: 1.45; }
.rh-post-info h2 a:hover { color: var(--rh-primary); }
.rh-post-info p { margin-top: 10px; color: var(--rh-muted); font-size: 14px; line-height: 1.8; flex: 1; }
.rh-post-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; color: var(--rh-primary); font-weight: 600; font-size: 14px; }
.rh-post-more .rh-icon { width: 15px; height: 15px; }
.rh-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 38px; }
.rh-pagination a, .rh-pagination .current { min-width: 40px; padding: 8px 14px; text-align: center; border: 1px solid var(--rh-border); border-radius: 8px; font-size: 14px; background: #fff; }
.rh-pagination a:hover { border-color: var(--rh-blue); color: var(--rh-primary); }
.rh-pagination .current { background: linear-gradient(120deg, var(--rh-primary), var(--rh-blue)); border-color: transparent; color: #fff; }
.rh-empty { padding: 60px 20px; text-align: center; background: var(--rh-bg); border-radius: var(--rh-radius); }
.rh-empty p { margin-bottom: 20px; color: var(--rh-muted); }

/* ---------- Sidebar ---------- */
.rh-sidebar { display: flex; flex-direction: column; gap: 22px; }
.rh-widget { padding: 24px; background: #fff; border: 1px solid var(--rh-border); border-radius: var(--rh-radius); box-shadow: 0 4px 16px rgba(6, 48, 105, .05); }
.rh-widget-title { position: relative; padding-bottom: 12px; margin-bottom: 14px; font-size: 17px; font-weight: 700; color: var(--rh-navy); border-bottom: 1px solid var(--rh-border); }
.rh-widget-title::after { content: ''; position: absolute; left: 0; bottom: -1px; width: 48px; height: 2px; background: var(--rh-blue); }
.rh-widget-list li a { display: block; padding: 9px 0; border-bottom: 1px dashed var(--rh-border); font-size: 14px; }
.rh-widget-list li a:hover { color: var(--rh-primary); padding-left: 6px; }
.rh-widget-contact { background: linear-gradient(160deg, #f0f8ff, #fff); }
.rh-widget-contact p { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; margin-bottom: 12px; }
.rh-widget-contact .rh-icon { color: var(--rh-blue); margin-top: 4px; }
.rh-widget-contact .rh-btn { margin-top: 10px; }

/* ---------- Article ---------- */
.rh-article { background: #fff; border: 1px solid var(--rh-border); border-radius: var(--rh-radius); padding: 40px; box-shadow: 0 4px 18px rgba(6, 48, 105, .05); }
.rh-article-head { padding-bottom: 22px; border-bottom: 1px solid var(--rh-border); }
.rh-article-head h1 { font-size: clamp(24px, 2.6vw, 34px); font-weight: 800; color: var(--rh-navy); line-height: 1.4; }
.rh-article-meta { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 14px; color: var(--rh-muted); font-size: 13px; }
.rh-article-content { padding: 26px 0 10px; font-size: 15.5px; line-height: 1.95; color: #2f3e50; word-wrap: break-word; overflow-wrap: break-word; }
.rh-article-content h2, .rh-article-content h3, .rh-article-content h4 { margin: 28px 0 14px; color: var(--rh-navy); font-weight: 700; line-height: 1.45; }
.rh-article-content h2 { font-size: 24px; border-left: 4px solid var(--rh-blue); padding-left: 12px; }
.rh-article-content h3 { font-size: 20px; }
.rh-article-content h4 { font-size: 17px; }
.rh-article-content p { margin: 0 0 16px; }
.rh-article-content img { max-width: 100%; height: auto; border-radius: 8px; margin: 8px 0; }
.rh-article-content a { color: var(--rh-primary); text-decoration: underline; }
.rh-article-content ul, .rh-article-content ol { margin: 0 0 18px 22px; }
.rh-article-content ul { list-style: disc; }
.rh-article-content ol { list-style: decimal; }
.rh-article-content li { margin-bottom: 6px; }
.rh-article-content table { width: 100%; border-collapse: collapse; margin: 18px 0; }
.rh-article-content td, .rh-article-content th { border: 1px solid var(--rh-border); padding: 8px 12px; }
.rh-article-content blockquote { margin: 18px 0; padding: 12px 20px; background: var(--rh-light); border-left: 4px solid var(--rh-blue); border-radius: 0 8px 8px 0; }
.rh-article-footer { border-top: 1px solid var(--rh-border); margin-top: 24px; padding-top: 20px; }
.rh-article-nav { display: flex; flex-direction: column; gap: 10px; }
.rh-article-nav a { display: flex; flex-direction: column; padding: 10px 14px; border-radius: 8px; background: var(--rh-bg); font-size: 14px; }
.rh-article-nav a:hover { color: var(--rh-primary); background: var(--rh-light); }
.rh-article-nav a span { font-size: 12px; color: var(--rh-muted); }

/* system fallback comment templates */
.rh-article #divCommentPost, .rh-article .commentpost, .rh-article #divComments { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--rh-border); }
.rh-article input[type=text], .rh-article input[type=password], .rh-article textarea, .rh-search-box input[type=text], .rh-search-box input[type=search] {
  max-width: 100%; padding: 9px 12px; border: 1px solid var(--rh-border); border-radius: 8px; background: #fff; color: var(--rh-text);
}
.rh-article textarea { width: 100%; min-height: 120px; }
.rh-article input[type=submit], .rh-article button, .rh-search-box button {
  padding: 10px 22px; border: 0; border-radius: 999px; color: #fff; background: linear-gradient(120deg, var(--rh-primary), var(--rh-blue));
}
.rh-article .comment, .rh-article .comment-body { padding: 14px; border-bottom: 1px dashed var(--rh-border); }
.rh-article h3, .rh-article h4 { margin-top: 20px; }

/* ---------- Search / 404 ---------- */
.rh-search-box { padding: 30px 24px 0; }
.rh-notfound { padding: 110px 0 130px; text-align: center; background: var(--rh-bg); }
.rh-notfound strong { display: block; font-size: 120px; line-height: 1; font-weight: 800; color: var(--rh-blue); opacity: .35; }
.rh-notfound h1 { font-size: 30px; color: var(--rh-navy); }
.rh-notfound p { margin: 14px 0 26px; color: var(--rh-muted); }

/* ---------- Content-not-found page (branded, self-contained) ---------- */
.rh-nf {
  position: relative;
  padding: 72px 0 96px;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(124, 211, 242, .22), transparent 42%),
    radial-gradient(circle at 88% 78%, rgba(11, 99, 197, .14), transparent 46%),
    var(--rh-bg);
}
.rh-nf::before, .rh-nf::after {
  content: ''; position: absolute; border-radius: 50%; pointer-events: none;
  border: 1px solid rgba(11, 99, 197, .10);
}
.rh-nf::before { width: 520px; height: 520px; top: -260px; left: -180px; }
.rh-nf::after { width: 380px; height: 380px; bottom: -230px; right: -120px; }
.rh-nf-card {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: center;
  padding: 56px 60px;
  background: #fff; border: 1px solid var(--rh-border); border-radius: 20px;
  box-shadow: var(--rh-shadow);
}
.rh-nf-art { text-align: center; }
.rh-nf-code {
  display: block; font-size: 168px; line-height: 1; font-weight: 800; letter-spacing: -8px;
  background: linear-gradient(135deg, var(--rh-primary), var(--rh-blue) 55%, var(--rh-blue-lite));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.rh-nf-art-caption { display: block; margin-top: 10px; font-size: 12px; letter-spacing: 4px; text-transform: uppercase; color: var(--rh-muted); }
.rh-nf-badge {
  display: inline-block; margin-bottom: 18px; padding: 6px 14px; border-radius: 999px;
  font-size: 12px; letter-spacing: 1px; color: var(--rh-primary);
  background: var(--rh-light); border: 1px solid rgba(37, 173, 232, .35);
}
.rh-nf-main h1 { margin: 0 0 14px; font-size: 30px; line-height: 1.4; color: var(--rh-navy); }
.rh-nf-desc { margin: 0 0 26px; font-size: 15px; line-height: 1.9; color: var(--rh-muted); }
.rh-nf-timer {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  padding: 18px 22px; margin-bottom: 26px;
  border: 1px solid var(--rh-border); border-radius: 14px;
  background: linear-gradient(120deg, #f4fbff, #fff);
}
.rh-nf-ring { position: relative; width: 62px; height: 62px; flex: 0 0 62px; }
.rh-nf-ring svg { display: block; width: 62px; height: 62px; transform: rotate(-90deg); }
.rh-nf-ring circle { fill: none; stroke-width: 5; }
.rh-nf-ring-bg { stroke: #dbeaf7; }
.rh-nf-ring-fg {
  stroke: var(--rh-blue); stroke-linecap: round;
  stroke-dasharray: 163.4; stroke-dashoffset: 0;
  transition: stroke-dashoffset 1s linear;
}
.rh-nf-num {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 700; color: var(--rh-primary);
}
.rh-nf-timer-text { flex: 1 1 180px; font-size: 13px; line-height: 1.75; color: var(--rh-muted); }
.rh-nf-timer-text strong { display: block; font-size: 16px; color: var(--rh-navy); }
.rh-nf-timer-text span { display: block; }
.rh-nf-cancel { border: 0; background: transparent; color: var(--rh-primary); font-size: 13px; padding: 6px 4px; text-decoration: underline; }
.rh-nf-cancel:hover { color: var(--rh-blue); }
.rh-nf-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.rh-nf-back { color: var(--rh-primary); border-color: rgba(11, 99, 197, .35); background: #fff; }
.rh-nf-back:hover { color: #fff; background: var(--rh-primary); }
.rh-nf-links {
  display: flex; align-items: center; gap: 10px 18px; flex-wrap: wrap;
  margin-top: 30px; padding-top: 22px; border-top: 1px dashed var(--rh-border);
  font-size: 13px; color: var(--rh-muted);
}
.rh-nf-links a { color: var(--rh-primary); font-weight: 600; text-decoration: none; }
.rh-nf-links a:hover { color: var(--rh-blue); text-decoration: underline; }
@media (max-width: 900px) {
  .rh-nf-card { grid-template-columns: 1fr; gap: 24px; padding: 40px 32px; text-align: center; }
  .rh-nf-code { font-size: 120px; }
  .rh-nf-timer { justify-content: center; text-align: left; }
  .rh-nf-actions, .rh-nf-links { justify-content: center; }
}
@media (max-width: 560px) {
  .rh-nf { padding: 40px 0 60px; }
  .rh-nf-card { padding: 28px 20px; border-radius: 16px; }
  .rh-nf-code { font-size: 92px; letter-spacing: -4px; }
  .rh-nf-main h1 { font-size: 22px; }
  .rh-nf-desc { font-size: 14px; }
  .rh-nf-timer { padding: 16px; gap: 12px; }
  .rh-nf-actions .rh-btn { width: 100%; }
}

/* ---------- Reveal animation (progressive enhancement) ---------- */
.rh-js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.rh-js .reveal.visible { opacity: 1; transform: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1200px) {
  .rh-nav-item > a { padding: 24px 12px; }
  .rh-nav-item > a::after { left: 12px; right: 12px; }
  .rh-footer-main { grid-template-columns: repeat(2, 1fr); }
  .rh-adv-grid { min-height: 300px; }
}

@media (max-width: 1024px) {
  .rh-section { padding: 68px 0; }
  .rh-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .rh-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .rh-robot-scenes { grid-template-columns: repeat(2, 1fr); }
  .rh-quickbar ul { grid-template-columns: repeat(2, 1fr); }
  .rh-quickbar li:nth-child(2) { border-right: 0; }
  .rh-quickbar li:nth-child(-n+2) { border-bottom: 1px solid var(--rh-border); }
  .rh-layout { grid-template-columns: minmax(0, 1fr) 260px; gap: 24px; }
  .rh-adv-grid { min-height: 260px; }
  .rh-adv-icon { width: 60px; height: 60px; }
  .rh-adv-front h3 { font-size: 18px; }
}

@media (max-width: 900px) {
  .rh-header-inner { min-height: 66px; }
  .rh-menu-toggle { display: block; margin-left: auto; order: 3; }
  .rh-header-search { order: 2; margin-left: auto; }
  .rh-nav-wrap {
    order: 4; position: absolute; top: 100%; left: 0; right: 0; width: 100%;
    background: #fff; border-bottom: 1px solid var(--rh-border); box-shadow: var(--rh-shadow);
    max-height: 0; overflow: hidden; transition: max-height .35s ease; padding: 0 20px;
  }
  .rh-nav-wrap.open { max-height: calc(100vh - 66px); overflow-y: auto; padding: 10px 20px 20px; }
  .rh-nav { flex-direction: column; align-items: stretch; gap: 0; }
  .rh-nav-item > a { padding: 14px 6px; border-bottom: 1px solid var(--rh-border); }
  .rh-nav-item > a::after { display: none; }
  .rh-sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 8px 14px; min-width: 0; }
  .rh-nav-cta { margin: 14px 0 0; }
  .rh-nav-cta > a { display: block; text-align: center; }
  .rh-hero { height: 68vh; min-height: 480px; }
  .rh-hero-arrow { width: 38px; height: 54px; }
  .rh-layout { grid-template-columns: 1fr; }
  .rh-sidebar { flex-direction: row; flex-wrap: wrap; }
  .rh-sidebar .rh-widget { flex: 1 1 260px; }
  .rh-adv-grid { flex-wrap: wrap; min-height: 0; }
  .rh-adv { flex: 1 1 30%; min-height: 200px; }
  .rh-adv:hover { flex: 1 1 30%; }
  .rh-adv-expand { opacity: 0; }
  .rh-adv:hover .rh-adv-expand { opacity: 1; }
}

@media (max-width: 768px) {
  .rh-container { padding: 0 18px; }
  .rh-topbar-slogan { display: none; }
  .rh-topbar-inner { justify-content: center; min-height: 32px; }
  .rh-hero { height: 62vh; min-height: 440px; }
  .rh-hero-title { font-size: 30px; letter-spacing: 1px; }
  .rh-hero-desc { font-size: 14px; margin-top: 14px; }
  .rh-hero-actions { margin-top: 26px; gap: 10px; }
  .rh-btn { min-height: 42px; padding: 0 20px; font-size: 14px; }
  .rh-hero-scroll, .rh-hero-arrow { display: none; }
  .rh-hero-dots { bottom: 22px; }
  .rh-section { padding: 56px 0; }
  .rh-section-head { margin-bottom: 36px; }
  .rh-section-desc { font-size: 14px; }
  .rh-grid-3, .rh-grid-4, .rh-robot-scenes, .rh-robot-stats { grid-template-columns: 1fr 1fr; gap: 16px; }
  .rh-card-media { height: 160px; }
  .rh-card-body { padding: 16px; }
  .rh-card-body h3 { font-size: 16px; }
  .rh-card-body p { font-size: 13px; }
  .rh-robot-stats { padding: 20px 10px; }
  .rh-stat strong { font-size: 24px; }
  .rh-stat:nth-child(2) { border-right: 0; }
  .rh-service-card { padding: 28px 16px; }
  .rh-footer-main { grid-template-columns: 1fr 1fr; gap: 28px; padding: 48px 18px 32px; }
  .rh-footer-bottom-inner { justify-content: center; text-align: center; }
  .rh-post-card { grid-template-columns: 160px minmax(0, 1fr); gap: 16px; padding: 14px; }
  .rh-post-thumb { height: 130px; }
  .rh-post-info h2 { font-size: 17px; }
  .rh-post-info p { font-size: 13px; }
  .rh-article { padding: 24px; }
  .rh-layout { padding-top: 40px; padding-bottom: 56px; }
  .rh-cta { padding: 44px 0; }
}

@media (max-width: 560px) {
  .rh-logo img { width: 40px; height: 40px; }
  .rh-logo-text strong { font-size: 17px; }
  .rh-logo-text small { display: none; }
  .rh-hero { height: 560px; min-height: 0; }
  .rh-hero-title { font-size: 26px; }
  .rh-hero-eyebrow { font-size: 11px; letter-spacing: 2px; }
  .rh-quickbar ul { grid-template-columns: 1fr; }
  .rh-quickbar li { border-right: 0; border-bottom: 1px solid var(--rh-border); padding: 14px; font-size: 14px; }
  .rh-quickbar li:last-child { border-bottom: 0; }
  .rh-grid-3, .rh-grid-4, .rh-robot-scenes, .rh-robot-stats, .rh-footer-main { grid-template-columns: 1fr; }
  .rh-robot-stats { gap: 0; }
  .rh-stat { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .25); padding: 12px 0; }
  .rh-stat:last-child { border-bottom: 0; }
  .rh-adv { flex: 1 1 100%; min-height: 180px; }
  .rh-adv:hover { flex: 1 1 100%; }
  .rh-adv-expand { flex-direction: row; }
  .rh-adv-img { height: 100%; width: 40%; }
  .rh-adv-copy { width: 60%; }
  .rh-culture-card { min-height: 220px; }
  .rh-cta-inner { flex-direction: column; align-items: flex-start; }
  .rh-post-card { grid-template-columns: 1fr; }
  .rh-post-thumb { height: 190px; }
  .rh-sidebar { flex-direction: column; }
  .rh-article { padding: 18px; }
  .rh-article-head h1 { font-size: 22px; }
  .rh-footer-col { text-align: left; }
  .rh-backtop { right: 14px; bottom: 16px; width: 42px; height: 42px; }
  .rh-pagehero { min-height: 250px; }
}

/* print */
@media print {
  .rh-topbar, .rh-header, .rh-footer, .rh-backtop, .rh-hero-arrow, .rh-hero-dots, .rh-cta { display: none !important; }
  .rh-article-content { color: #000; }
}
