/*
Theme Name: Tuoke Clean
Theme URI: http://wptuokeprocn/
Author: Codex
Description: Clean local theme for migrated tuokepro.cn content.
Version: 1.0.0
Text Domain: tuoke-clean
*/

:root {
  --bg: #f5f7fb;
  --panel: #ffffff;
  --text: #18212f;
  --muted: #667085;
  --line: #e6eaf1;
  --brand: #0f7bdc;
  --brand-dark: #075faa;
  --accent: #18a058;
  --shadow: 0 12px 30px rgba(24, 33, 47, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Microsoft YaHei", "Segoe UI", Arial, sans-serif;
  line-height: 1.68;
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  color: var(--brand-dark);
}

img,
video {
  max-width: 100%;
  height: auto;
}

video {
  display: block;
  border-radius: 8px;
  background: #111827;
}

.site-header {
  height: 76px;
}

.site-bar,
.site-main,
.site-footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-bar {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.site-brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 150px;
}

.site-brand strong {
  color: #101828;
  font-size: 18px;
  line-height: 1.15;
}

.site-brand span {
  color: var(--muted);
  font-size: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  color: #344054;
  border-radius: 6px;
  font-size: 14px;
  white-space: nowrap;
}

.site-nav a:hover {
  color: var(--brand);
  background: #eef6ff;
}

.site-main {
  padding: 0 0 52px;
}

.content-shell {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.content-inner {
  padding: 28px;
}

.entry-title {
  margin: 0 0 20px;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.22;
  letter-spacing: 0;
}

.entry-meta {
  color: var(--muted);
  font-size: 14px;
  margin: -8px 0 22px;
}

.entry-content > :first-child,
.old-content > :first-child {
  margin-top: 0;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.text-secondary {
  color: var(--muted);
}

.text-info {
  color: var(--brand);
}

.bg-light {
  background: #f8fafc;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 16px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 600;
  line-height: 1.2;
}

.btn-lg {
  min-height: 46px;
  padding: 10px 18px;
}

.btn-info {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
}

.btn-info:hover {
  color: #fff;
  background: var(--brand-dark);
}

.btn-outline-info,
.btn-outline-secondary,
.btn-outline-light {
  color: var(--brand);
  background: #fff;
  border-color: #b9dfff;
}

/* Home layout is mainly provided by the migrated aoyun.css. */

.solution-card,
.tool-card,
.product-list-card,
.proof-item {
  display: block;
  height: 100%;
  color: var(--text);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(24, 33, 47, 0.05);
  overflow: hidden;
}

.solution-card {
  padding: 22px;
}

.solution-card h3,
.tool-card h3,
.proof-item h3,
.card-title {
  margin: 8px 0;
  font-size: 18px;
  line-height: 1.35;
}

.solution-card p,
.tool-card p,
.proof-item p,
.card-text {
  color: var(--muted);
  margin: 0;
  font-size: 14px;
}

.solution-icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--brand);
  background: #eef6ff;
}

.tool-card-img,
.card-img-150 {
  display: block;
  aspect-ratio: 16 / 10;
  background: #eef2f6;
  overflow: hidden;
}

.tool-card-img img,
.card-img-150 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tool-card-body,
.card-body {
  padding: 16px;
}

.tool-meta,
.product-list-meta,
.pd-attrs,
.pd-trust,
.pd-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.tool-link {
  display: inline-flex;
  margin-top: 12px;
  font-weight: 700;
}

.list-intro {
  margin: 0 0 24px;
  padding: 16px 18px;
  background: #eef6ff;
  border: 1px solid #cde8ff;
  border-radius: 8px;
}

.position {
  color: var(--muted);
  font-size: 13px;
}

#product-detail,
.pd-note {
  margin-top: 24px;
}

.pd-section-title {
  margin: 0 0 16px;
  font-size: 24px;
}

.pd-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
}

.site-footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  font-size: 14px;
}

@media (min-width: 768px) {
  .d-md-block { display: block; }
  .d-md-none { display: none; }
}

@media (max-width: 767px) {
  .content-inner {
    padding: 20px;
  }

  .site-footer-inner {
    display: block;
  }
}

.tuoke-navbar {
  min-height: 71px;
}

.tuoke-navbar .navbar-brand img,
.tuoke-navbar .logo-sm-height {
  width: auto !important;
  height: 50px !important;
  max-width: 150px;
  object-fit: contain;
}

.tuoke-navbar .navbar-nav {
  align-items: center;
}

.tuoke-navbar .nav-item {
  position: relative;
}

.tuoke-navbar .sub_nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 1000;
  min-width: 210px;
  padding: 8px 0;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  box-shadow: 0 12px 26px rgba(16, 24, 40, 0.12);
  transform: translateX(-50%);
}

.tuoke-navbar .has-sub-nav:hover .sub_nav {
  display: block;
}

.tuoke-navbar .sub_nav ul {
  margin: 0;
  padding: 0;
}

.tuoke-navbar .sub_nav li {
  white-space: nowrap;
}

.tuoke-navbar .sub_nav a {
  display: block;
  padding: 8px 14px;
  color: #344054;
  font-size: 14px;
}

.tuoke-navbar .sub_nav a:hover {
  color: #0f7bdc;
  background: #f5f9ff;
}

.home .site-main {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-bottom: 0;
}

.home .entry-content > .home-hero:first-child {
  margin-top: 0;
}

.home .entry-content > .home-hero,
.home .entry-content > .home-section,
.home .entry-content > .home-proof {
  width: 100%;
}

.tuoke-floatbar {
  position: fixed;
  right: 10px;
  top: 62%;
  z-index: 60;
  transform: translateY(-50%);
}

.tuoke-floatbar a {
  display: flex;
  width: 60px;
  min-height: 64px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: #fff;
  background: #20a7e8;
  border-bottom: 1px solid rgba(255,255,255,.35);
  font-size: 13px;
  line-height: 1.2;
}

.tuoke-floatbar a:hover {
  color: #fff;
  background: #0f7bdc;
}

.tuoke-floatbar i {
  font-size: 22px;
}

.contact-hero {
  background: #e9ecef url("/static/upload/image/20180412/1523501459462835.jpg") center/cover no-repeat;
  padding: 56px 0;
}

.contact-page {
  padding-bottom: 36px;
}

.contact-original {
  color: #333;
  line-height: 1.8;
}

.contact-original h3 {
  margin: 18px 0 10px;
  color: #666;
  font-size: 18px;
  font-weight: 500;
}

.contact-original p {
  margin-bottom: 10px;
}

.contact-original-input {
  width: 420px;
  max-width: 100%;
  padding: 10px 12px;
  border: 1px solid #d7d9e0;
  border-radius: 10px;
  color: #333;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .5px;
}

.contact-original-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 42px;
  align-items: center;
}

.contact-original-actions a,
.contact-original-download a {
  color: #f00;
  font-size: 16px;
  text-decoration: underline;
}

.contact-original ul {
  margin-top: 8px;
  padding-left: 18px;
}

.contact-original li {
  list-style: disc;
}

.contact-original li p {
  margin-bottom: 4px;
}

.contact-original-banner-wrap {
  margin: 10px 0 18px;
}

.contact-original-banner {
  display: block;
  width: 100%;
  max-width: 1000px;
  height: auto;
  border: 0;
  cursor: zoom-in;
}

.contact-original-download {
  margin-bottom: 10px;
}

@media (max-width: 767px) {
  .tuoke-floatbar {
    display: none;
  }

  .contact-original-actions {
    gap: 10px 20px;
  }
}
