/* ==========================================================================
   领译翻译 - 全站样式
   ========================================================================== */
:root {
  --primary: #16748C;
  --primary-dark: #0F4C5C;
  --primary-darker: #0A3A47;
  --accent: #E8A33D;
  --text: #333333;
  --text-light: #666666;
  --text-lighter: #999999;
  --bg: #F5F8FA;
  --white: #FFFFFF;
  --border: #E6ECF0;
  --radius: 8px;
  --shadow: 0 4px 16px rgba(15, 76, 92, 0.08);
  --shadow-hover: 0 8px 28px rgba(15, 76, 92, 0.16);
  --font: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: var(--white); font-size: 15px; line-height: 1.75; }
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent); }
img { max-width: 100%; display: block; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ---------- 顶部信息栏 ---------- */
.topbar { background: var(--primary-darker); color: #Cfe3e9; font-size: 13px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 36px; }
.topbar a { color: #Cfe3e9; margin-left: 16px; }
.topbar a:hover { color: #fff; }
.topbar .tb-right { display: flex; align-items: center; }

/* ---------- 页头 ---------- */
.header { background: var(--white); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 8px rgba(15,76,92,.05); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.logo { display: flex; align-items: center; }
.logo img { height: 46px; width: auto; margin-right: 12px; }
.logo .logo-text b { font-size: 22px; color: var(--primary-dark); display: block; line-height: 1.2; }
.logo .logo-text span { font-size: 12px; color: var(--text-lighter); letter-spacing: 2px; }
.nav { display: flex; }
.nav li a { display: block; padding: 26px 15px; color: var(--text); font-size: 15px; border-bottom: 3px solid transparent; }
.nav li a:hover, .nav li a.active { color: var(--primary); border-bottom-color: var(--primary); }
.nav-toggle { display: none; background: none; border: 0; font-size: 26px; color: var(--primary-dark); cursor: pointer; }

/* ---------- 页面横幅 ---------- */
.page-hero { background: linear-gradient(135deg, var(--primary-darker) 0%, var(--primary) 100%); color: #fff; padding: 48px 0 40px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: rgba(255,255,255,.06); }
.page-hero h1 { font-size: 32px; font-weight: 700; margin-bottom: 6px; }
.page-hero p { color: rgba(255,255,255,.85); max-width: 720px; }
.breadcrumb { margin-top: 14px; font-size: 13px; color: rgba(255,255,255,.75); }
.breadcrumb a { color: rgba(255,255,255,.85); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { margin: 0 8px; opacity: .6; }

/* ---------- 首页横幅轮播 ---------- */
.home-banner { position: relative; height: 480px; overflow: hidden; }
.home-banner .slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.home-banner .slide.active { opacity: 1; }
.home-banner .slide img { width: 100%; height: 100%; object-fit: cover; }
.home-banner .slide .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 0 50px; background: linear-gradient(transparent, rgba(10,58,71,.85)); color: #fff; }
.home-banner .slide .cap .container h2 { font-size: 34px; margin-bottom: 8px; }
.home-banner .slide .cap .container p { color: rgba(255,255,255,.92); max-width: 680px; font-size: 15px; }
.home-banner .dots { position: absolute; bottom: 18px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; z-index: 5; }
.home-banner .dots button { width: 12px; height: 12px; border-radius: 50%; border: 0; background: rgba(255,255,255,.5); cursor: pointer; transition: all .3s; }
.home-banner .dots button.active { background: var(--accent); width: 30px; border-radius: 6px; }

/* ---------- 首页板块 ---------- */
.section { padding: 64px 0; }
.section.gray { background: var(--bg); }
.section-head { text-align: center; margin-bottom: 40px; }
.section-head h2 { font-size: 28px; color: var(--primary-darker); position: relative; padding-bottom: 16px; }
.section-head h2::after { content: ""; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 56px; height: 3px; background: var(--accent); border-radius: 2px; }
.section-head p { color: var(--text-light); margin-top: 10px; }
.section-head .en { display: block; font-size: 12px; color: var(--text-lighter); letter-spacing: 3px; margin-top: 4px; text-transform: uppercase; }

/* ---------- 卡片网格 ---------- */
.grid { display: grid; gap: 24px; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.grid.cols-6 { grid-template-columns: repeat(6, 1fr); }

.card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: all .3s; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.card .card-img { height: 180px; overflow: hidden; background: var(--bg); }
.card .card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-img img { transform: scale(1.06); }
.card .card-body { padding: 20px; }
.card .card-body h3 { font-size: 17px; margin-bottom: 8px; color: var(--primary-dark); }
.card .card-body p { font-size: 13.5px; color: var(--text-light); line-height: 1.7; }
.card .card-body .more { display: inline-block; margin-top: 12px; font-size: 13px; color: var(--primary); font-weight: 600; }
.card .card-body .more:hover { color: var(--accent); }

/* 语言卡片 */
.lang-card { text-align: center; padding: 26px 16px; }
.lang-card .flag { width: 72px; height: 50px; border-radius: 6px; object-fit: cover; margin: 0 auto 14px; box-shadow: 0 3px 10px rgba(0,0,0,.15); }
.lang-card h3 { font-size: 16px; color: var(--primary-dark); }
.lang-card .en { font-size: 12px; color: var(--text-lighter); }
.lang-card .tag { display: inline-block; margin-top: 8px; font-size: 11px; color: var(--primary); background: #E8F3F6; padding: 2px 10px; border-radius: 20px; }

/* ---------- 首页服务列表 ---------- */
.svc-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.svc-item { display: flex; gap: 16px; align-items: flex-start; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; transition: all .3s; }
.svc-item:hover { box-shadow: var(--shadow-hover); border-color: var(--primary); }
.svc-item .svc-icon { width: 56px; height: 56px; border-radius: 12px; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.svc-item h3 { font-size: 16px; color: var(--primary-dark); margin-bottom: 4px; }
.svc-item p { font-size: 13px; color: var(--text-light); line-height: 1.65; }

/* ---------- 关于我们轮播（自动滚动大图） ---------- */
.about-slider { position: relative; height: 430px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about-slider .as-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.about-slider .as-slide.active { opacity: 1; }
.about-slider .as-slide img { width: 100%; height: 100%; object-fit: cover; }
.about-slider .as-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 46px 32px 36px; background: linear-gradient(transparent, rgba(10,58,71,.88)); color: #fff; }
.about-slider .as-cap h3 { font-size: 22px; margin-bottom: 6px; }
.about-slider .as-cap p { font-size: 14px; color: rgba(255,255,255,.92); max-width: 640px; }
.about-slider .as-dots { position: absolute; bottom: 14px; right: 24px; display: flex; gap: 7px; }
.about-slider .as-dots button { width: 11px; height: 11px; border-radius: 50%; border: 0; background: rgba(255,255,255,.55); cursor: pointer; }
.about-slider .as-dots button.active { background: var(--accent); }
.about-slider .as-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.25); color: #fff; font-size: 20px; cursor: pointer; z-index: 5; transition: background .3s; }
.about-slider .as-arrow:hover { background: var(--accent); }
.about-slider .as-arrow.prev { left: 16px; }
.about-slider .as-arrow.next { right: 16px; }

/* ---------- 图文块 ---------- */
.about-layout { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.text-block h3 { font-size: 22px; color: var(--primary-dark); margin-bottom: 14px; position: relative; padding-left: 14px; }
.text-block h3::before { content: ""; position: absolute; left: 0; top: 6px; width: 5px; height: 20px; background: var(--accent); border-radius: 3px; }
.text-block p { margin-bottom: 12px; color: var(--text); }
.icon-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 20px; }
.icon-item { background: var(--bg); border-radius: var(--radius); padding: 20px; border-left: 4px solid var(--primary); }
.icon-item h4 { color: var(--primary-dark); margin-bottom: 6px; font-size: 15px; }
.icon-item p { font-size: 13px; color: var(--text-light); }

/* ---------- 流程 ---------- */
.process-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step-card { text-align: center; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 18px; position: relative; transition: all .3s; }
.step-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.step-card .step-num { position: absolute; top: 12px; right: 16px; font-size: 40px; font-weight: 800; color: rgba(22,116,140,.12); }
.step-card .step-icon { width: 72px; height: 72px; margin: 0 auto 16px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 16px rgba(15,76,92,.25); }
.step-card h3 { font-size: 16px; color: var(--primary-dark); margin-bottom: 10px; }
.step-card p { font-size: 13px; color: var(--text-light); text-align: left; }
.step-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 34px; }
.step-detail .sd-item { background: var(--white); border: 1px solid var(--border); border-left: 4px solid var(--primary); border-radius: var(--radius); padding: 22px; }
.step-detail .sd-item h4 { color: var(--primary-dark); margin-bottom: 12px; font-size: 16px; }
.step-detail .sd-item h4 .n { color: var(--accent); margin-right: 8px; }
.step-detail .sd-item ul li { font-size: 13.5px; color: var(--text); margin-bottom: 7px; padding-left: 18px; position: relative; }
.step-detail .sd-item ul li::before { content: "•"; position: absolute; left: 4px; color: var(--primary); font-weight: 700; }
.step-detail .sd-notes { background: #FFF8EC; border-color: #F2D9A8; }
.step-detail .sd-notes h4 { color: #8A6A1F; }
.step-detail .sd-practice { background: #EFF7F9; border-color: #9BCBD8; }
.step-detail .sd-practice h4 { color: var(--primary); }

/* ---------- 资讯 ---------- */
.news-cats { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 30px; }
.news-cats button { padding: 8px 20px; border: 1px solid var(--border); background: var(--white); border-radius: 22px; cursor: pointer; font-size: 14px; color: var(--text); transition: all .3s; }
.news-cats button:hover, .news-cats button.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.news-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.news-item { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; transition: all .3s; }
.news-item:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.news-item .news-meta { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--text-lighter); margin-bottom: 8px; }
.news-item .news-cat { background: #E8F3F6; color: var(--primary); padding: 2px 10px; border-radius: 12px; font-size: 12px; }
.news-item h3 { font-size: 16px; color: var(--primary-dark); margin-bottom: 8px; line-height: 1.5; }
.news-item h3 a { color: inherit; }
.news-item h3 a:hover { color: var(--primary); }
.news-item p { font-size: 13px; color: var(--text-light); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- 联系页 ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.contact-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; text-align: center; box-shadow: var(--shadow); transition: all .3s; }
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.contact-card .cc-icon { width: 60px; height: 60px; margin: 0 auto 16px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); display: flex; align-items: center; justify-content: center; color: #fff; }
.contact-card h3 { font-size: 17px; color: var(--primary-dark); margin-bottom: 14px; }
.contact-card p { font-size: 14px; color: var(--text); margin-bottom: 6px; line-height: 1.8; }
.contact-card .sm { font-size: 12.5px; color: var(--text-light); }
.contact-tip { margin-top: 24px; background: #EFF7F9; border: 1px dashed var(--primary); color: var(--primary-dark); padding: 14px 20px; border-radius: var(--radius); font-size: 13.5px; }

/* ---------- 留言表单 ---------- */
.form-wrap { max-width: 860px; margin: 0 auto; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.form-item { display: flex; flex-direction: column; }
.form-item.full { grid-column: 1 / -1; }
.form-item label { font-size: 14px; margin-bottom: 6px; color: var(--text); }
.form-item label i { color: #D9534F; font-style: normal; }
.form-item input, .form-item select, .form-item textarea { padding: 11px 14px; border: 1px solid var(--border); border-radius: 6px; font-size: 14px; font-family: inherit; outline: none; transition: border .2s; background: #FAFCFD; }
.form-item input:focus, .form-item select:focus, .form-item textarea:focus { border-color: var(--primary); background: #fff; }
.form-item textarea { resize: vertical; min-height: 130px; }
.form-submit { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; margin-top: 6px; }
.btn { display: inline-block; padding: 12px 34px; border: 0; border-radius: 6px; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; font-size: 15px; cursor: pointer; font-family: inherit; transition: all .3s; }
.btn:hover { background: linear-gradient(135deg, var(--primary-dark), var(--primary-darker)); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(15,76,92,.3); }
.form-tip { font-size: 12.5px; color: var(--text-lighter); }
.form-msg { display: none; margin-top: 16px; padding: 12px 18px; border-radius: 6px; font-size: 14px; }
.form-msg.ok { display: block; background: #E8F7EE; color: #2E7D4F; border: 1px solid #B7E4C8; }
.form-msg.err { display: block; background: #FDECEC; color: #B3423F; border: 1px solid #F3C2C0; }

/* ---------- 详情页 ---------- */
.detail-layout { display: grid; grid-template-columns: 1fr 320px; gap: 32px; padding: 40px 0; }
.detail-main { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.detail-main h1 { font-size: 26px; color: var(--primary-darker); margin-bottom: 18px; padding-bottom: 16px; border-bottom: 2px solid var(--bg); }
.detail-main .lead { font-size: 15px; color: var(--text); margin-bottom: 24px; }
.detail-main h2 { font-size: 19px; color: var(--primary); margin: 26px 0 12px; padding-left: 12px; border-left: 4px solid var(--accent); }
.detail-main ul li { padding-left: 20px; position: relative; margin-bottom: 8px; color: var(--text); }
.detail-main ul li::before { content: "✓"; position: absolute; left: 0; color: var(--primary); font-weight: 700; }
.detail-main .hero-img { width: 100%; height: 260px; object-fit: cover; border-radius: var(--radius); margin-bottom: 24px; }
.sidebar { display: flex; flex-direction: column; gap: 24px; }
.side-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.side-card h3 { font-size: 16px; color: var(--primary-dark); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--bg); }
.side-card ul li { margin-bottom: 9px; font-size: 13.5px; }
.side-card ul li a { color: var(--text); }
.side-card ul li a:hover { color: var(--primary); }
.side-contact { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; border: 0; }
.side-contact h3 { color: #fff; border-bottom-color: rgba(255,255,255,.2); }
.side-contact p { font-size: 13.5px; margin-bottom: 8px; color: rgba(255,255,255,.95); }
.side-contact .btn { background: var(--accent); color: #fff; width: 100%; text-align: center; margin-top: 6px; }
.side-contact .btn:hover { background: #d18f27; }

/* ---------- 页脚 ---------- */
.footer { background: var(--primary-darker); color: #B9D4DC; padding: 52px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 36px; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.footer p { font-size: 13px; line-height: 1.9; color: #A9C8D1; }
.footer ul li { margin-bottom: 9px; font-size: 13px; }
.footer ul li a { color: #A9C8D1; }
.footer ul li a:hover { color: var(--accent); }
.footer .f-contact li { padding-left: 22px; position: relative; }
.footer .f-contact li::before { content: ""; position: absolute; left: 0; top: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 16px 0; text-align: center; font-size: 12.5px; color: #8FAFBA; }

/* 浮动客服 */
.float-bar { position: fixed; right: 18px; bottom: 90px; z-index: 99; display: flex; flex-direction: column; gap: 10px; }
.float-bar a {
  width: 66px; height: 66px; border-radius: 50%; background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center; flex-direction: column;
  text-align: center; font-size: 12px; line-height: 1.3; padding: 4px; box-sizing: border-box;
  overflow-wrap: break-word; word-break: break-word; text-decoration: none;
  box-shadow: 0 4px 14px rgba(15,76,92,.35); transition: all .3s;
}
.float-bar a:hover { background: var(--accent); transform: translateY(-3px); }
.float-bar a:nth-child(2) { background: var(--accent); }
.float-bar a:nth-child(2):hover { background: var(--primary); }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .grid.cols-6 { grid-template-columns: repeat(3, 1fr); }
  .process-flow { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-layout { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav { display: none; position: absolute; top: 78px; left: 0; right: 0; background: #fff; flex-direction: column; box-shadow: 0 8px 20px rgba(0,0,0,.08); }
  .nav.open { display: flex; }
  .nav li a { padding: 14px 20px; border-bottom: 1px solid var(--border); }
  .nav-toggle { display: block; }
  .grid.cols-2, .grid.cols-3, .news-list, .svc-row, .about-layout, .step-detail { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .home-banner { height: 340px; }
  .footer-grid { grid-template-columns: 1fr; }
  .topbar .tb-left { display: none; }
  .topbar .container { justify-content: flex-end; }
  .section { padding: 44px 0; }
  .page-hero h1 { font-size: 24px; }
  .about-slider { height: 300px; }
}

/* ========== 多语言切换 ========== */
.lang-switch { position: relative; }
.lang-btn {
  display: inline-block; border: 1px solid rgba(255,255,255,.45); background: rgba(255,255,255,.14);
  color: #fff; font-size: 12.5px; padding: 4px 12px; border-radius: 6px; cursor: pointer; white-space: nowrap;
  transition: background .2s;
}
.lang-btn:hover { background: rgba(255,255,255,.28); }
.lang-menu {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 999;
  background: #fff; border: 1px solid #dbe6ea; border-radius: 8px; box-shadow: 0 10px 30px rgba(12,60,75,.18);
  min-width: 168px; max-height: 70vh; overflow-y: auto; display: none; padding: 6px;
}
.lang-menu.open { display: block; }
.lang-item {
  display: block; width: 100%; padding: 9px 14px; border: none; background: none; cursor: pointer;
  font-size: 13.5px; color: #1a3a45; text-align: left; border-radius: 6px; white-space: nowrap;
}
.lang-item:hover { background: #EFF7F9; color: #0F4C5C; }
.lang-item.active { color: #0F4C5C; font-weight: 700; background: #E8F3F6; }

/* 长词换行保护，避免语言切换后版面凌乱 */
html, body { overflow-wrap: break-word; }
h1, h2, h3, h4, p, li, span, a, button, td, th, .lead { overflow-wrap: break-word; }
.page-hero h1 { line-height: 1.3; }

/* ========== RTL（阿拉伯语等从右向左语言） ========== */
html[dir="rtl"] body { font-family: "Segoe UI", Tahoma, Arial, "Noto Naskh Arabic", "Traditional Arabic", sans-serif; }
html[dir="rtl"] .topbar .container,
html[dir="rtl"] .header .container,
html[dir="rtl"] .footer .container,
html[dir="rtl"] .detail-layout,
html[dir="rtl"] .page-hero,
html[dir="rtl"] .page-hero .container,
html[dir="rtl"] .detail-main,
html[dir="rtl"] .sidebar,
html[dir="rtl"] .section-head,
html[dir="rtl"] .text-block,
html[dir="rtl"] .form-wrap,
html[dir="rtl"] .news-item,
html[dir="rtl"] .news-meta,
html[dir="rtl"] .card-body,
html[dir="rtl"] .step-card,
html[dir="rtl"] .step-detail,
html[dir="rtl"] .as-cap,
html[dir="rtl"] .cap,
html[dir="rtl"] .contact-tip { text-align: right; }
html[dir="rtl"] .breadcrumb .sep { display: inline-block; transform: scaleX(-1); }
html[dir="rtl"] .contact-grid,
html[dir="rtl"] .process-flow,
html[dir="rtl"] .icon-grid,
html[dir="rtl"] .about-layout { direction: rtl; }
html[dir="rtl"] .float-bar { right: auto; left: 18px; }
html[dir="rtl"] .lang-menu { right: auto; left: 0; }
html[dir="rtl"] .lang-item { text-align: right; }
