/* ============================================================
   映日信息技术 v9 - Professional Blue
   Clean corporate design with photo carousel
   ============================================================ */

/* ===== CSS Variables ===== */
:root {
  --yr-primary: #1e40af;
  --yr-primary-light: #3b82f6;
  --yr-primary-dark: #1e3a8a;
  --yr-accent: #ea580c;
  --yr-accent-light: #f97316;
  --yr-dark: #0f172a;
  --yr-dark-lighter: #1e293b;
  --yr-text: #1e293b;
  --yr-text-light: #64748b;
  --yr-text-lighter: #94a3b8;
  --yr-bg: #ffffff;
  --yr-bg-alt: #f0f4ff;
  --yr-bg-warm: #f8fafc;
  --yr-border: #e2e8f0;
  --yr-shadow: 0 1px 3px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04);
  --yr-shadow-lg: 0 4px 6px rgba(0,0,0,0.05), 0 10px 30px rgba(0,0,0,0.08);
  --yr-shadow-xl: 0 8px 16px rgba(0,0,0,0.06), 0 20px 50px rgba(0,0,0,0.1);
  --yr-radius: 12px;
  --yr-radius-sm: 8px;
  --yr-radius-lg: 16px;
  --yr-transition: 0.3s ease;
  --yr-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

/* ===== Base Reset ===== */
.entry-content { max-width: 100% !important; padding: 0 !important; margin: 0 !important; }
.ast-container { max-width: 100% !important; padding: 0 !important; }
article.post-5 { margin: 0 !important; padding: 0 !important; }
.entry-content > * { max-width: 100% !important; }
body { overflow-x: hidden; }
*, *::before, *::after { box-sizing: border-box; }

/* ===== Header - Clean White ===== */
.site-header, #masthead, .main-header-bar {
  background: rgba(255,255,255,0.95) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--yr-border) !important;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04) !important;
  transition: all 0.3s ease;
}

/* Header logo + site title */
.main-header-bar .ast-site-identity {
  padding-left: 24px !important;
}
.main-header-bar .site-logo-img img,
.main-header-bar .custom-logo {
  max-height: 40px !important;
  width: auto !important;
  border-radius: 8px;
}
.main-header-bar .ast-site-title-wrap .site-title a {
  font-size: 26px !important;
  font-weight: 800 !important;
  letter-spacing: 1.5px;
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #6366f1 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

.main-header-bar .main-header-bar-navigation .menu-item > a,
.main-header-bar .ast-masthead-custom-menu-items a {
  color: var(--yr-text) !important;
  font-weight: 500 !important;
  font-size: 15px !important;
  transition: color 0.2s ease !important;
}

.main-header-bar .main-header-bar-navigation .menu-item > a:hover,
.main-header-bar .main-header-bar-navigation .current-menu-item > a {
  color: var(--yr-primary) !important;
}

.main-header-bar .current-menu-item > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 2px;
  background: var(--yr-primary);
  border-radius: 1px;
}

/* ===== Hero Carousel ===== */
.yr-hero-carousel {
  position: relative;
  width: 100%;
  height: 80vh;
  min-height: 520px;
  max-height: 720px;
  overflow: hidden;
}

.yr-carousel-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.yr-carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
  z-index: 1;
}

.yr-carousel-slide.yr-slide-active {
  opacity: 1;
  z-index: 2;
}

.yr-slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(15,23,42,0.78) 0%, rgba(30,64,175,0.55) 50%, rgba(15,23,42,0.72) 100%);
}

/* Each slide has a slightly different overlay tint for variety */
.yr-carousel-slide:nth-child(2) .yr-slide-overlay {
  background: linear-gradient(160deg, rgba(15,23,42,0.75) 0%, rgba(37,99,235,0.5) 40%, rgba(15,23,42,0.7) 100%);
}

.yr-carousel-slide:nth-child(3) .yr-slide-overlay {
  background: linear-gradient(120deg, rgba(15,23,42,0.72) 0%, rgba(30,58,138,0.55) 50%, rgba(15,23,42,0.78) 100%);
}

.yr-slide-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  text-align: center;
  width: 90%;
  max-width: 860px;
  color: #fff;
}

.yr-slide-badge {
  display: inline-block;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 10px 28px;
  border-radius: 50px;
  font-size: 15px;
  letter-spacing: 2px;
  margin-bottom: 32px;
  backdrop-filter: blur(8px);
  text-transform: uppercase;
}

.yr-slide-badge i {
  color: var(--yr-accent-light);
  margin-right: 6px;
}

.yr-slide-content h1 {
  font-size: 68px !important;
  font-weight: 900 !important;
  line-height: 1.15 !important;
  margin: 0 0 28px 0 !important;
  color: #fff !important;
  letter-spacing: 2px;
  text-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

.yr-slide-content .yr-subtitle {
  font-size: 20px;
  line-height: 1.8;
  color: rgba(255,255,255,0.9);
  margin-bottom: 40px;
  font-weight: 400;
  letter-spacing: 1px;
}

.yr-slide-content .yr-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.yr-slide-content .yr-btn {
  padding: 16px 36px;
  font-size: 16px;
  letter-spacing: 0.5px;
}

/* Slide content animation */
.yr-carousel-slide .yr-slide-inner-content {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease 0.3s, transform 0.8s ease 0.3s;
}

.yr-carousel-slide.yr-slide-active .yr-slide-inner-content {
  opacity: 1;
  transform: translateY(0);
}

/* Carousel Progress Bar */
.yr-carousel-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--yr-primary-light);
  z-index: 10;
  transition: width 0.1s linear;
}

/* Carousel Navigation Dots */
.yr-carousel-dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.yr-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.yr-dot:hover {
  background: rgba(255,255,255,0.7);
}

.yr-dot.yr-dot-active {
  background: #fff;
  width: 28px;
  border-radius: 5px;
}

/* Carousel Arrows */
.yr-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}

.yr-carousel-arrow:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.4);
}

.yr-arrow-left { left: 24px; }
.yr-arrow-right { right: 24px; }

/* ===== Buttons ===== */
.yr-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--yr-radius-sm);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none !important;
  transition: all var(--yr-transition);
  cursor: pointer;
  border: none;
  line-height: 1.4;
}

.yr-btn i { font-size: 14px; }

.yr-btn-primary {
  background: var(--yr-primary) !important;
  color: #fff !important;
  box-shadow: 0 2px 8px rgba(30,64,175,0.3);
}

.yr-btn-primary:hover {
  background: var(--yr-primary-dark) !important;
  box-shadow: 0 4px 16px rgba(30,64,175,0.4);
  transform: translateY(-1px);
}

.yr-btn-outline {
  background: transparent !important;
  color: #fff !important;
  border: 1.5px solid rgba(255,255,255,0.5) !important;
}

.yr-btn-outline:hover {
  background: rgba(255,255,255,0.1) !important;
  border-color: #fff !important;
}

.yr-btn-blue {
  background: var(--yr-primary) !important;
  color: #fff !important;
  box-shadow: 0 2px 8px rgba(30,64,175,0.25);
}

.yr-btn-blue:hover {
  background: var(--yr-primary-dark) !important;
  transform: translateY(-1px);
}

/* ===== Stats Section ===== */
.yr-stats-wrapper {
  background: var(--yr-bg-alt);
  padding: 48px 0;
}

.yr-stats {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 0 24px;
}

.yr-stat-item {
  background: var(--yr-bg);
  border-radius: var(--yr-radius);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--yr-shadow);
  border: 1px solid var(--yr-border);
  transition: all var(--yr-transition);
}

.yr-stat-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--yr-shadow-lg);
  border-color: var(--yr-primary-light);
}

.yr-stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--yr-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 20px;
  color: var(--yr-primary);
}

.yr-stat-num {
  font-size: 36px !important;
  font-weight: 800 !important;
  color: var(--yr-text) !important;
  margin-bottom: 4px;
  line-height: 1.2;
}

.yr-stat-label {
  font-size: 14px;
  color: var(--yr-text-light);
  font-weight: 500;
}

/* ===== Section Layout ===== */
.yr-section {
  padding: 80px 24px;
  max-width: 100%;
  background: var(--yr-bg);
}

.yr-section-deep {
  padding: 80px 24px;
  background: var(--yr-bg-alt);
}

.yr-section-dark {
  padding: 80px 24px;
  background: var(--yr-dark);
  color: #fff;
}

.yr-section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.yr-section-title {
  font-size: 32px !important;
  font-weight: 700 !important;
  text-align: center;
  margin: 0 0 12px 0 !important;
  color: var(--yr-text);
  line-height: 1.3;
}

.yr-section-dark .yr-section-title {
  color: #fff;
}

.yr-section-desc {
  font-size: 16px;
  color: var(--yr-text-light);
  text-align: center;
  margin: 0 0 48px 0;
  line-height: 1.6;
}

.yr-section-dark .yr-section-desc {
  color: var(--yr-text-lighter);
}

/* ===== Grid System ===== */
.yr-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 24px;
}

.yr-grid-4 { grid-template-columns: repeat(4, 1fr); }
.yr-grid-3 { grid-template-columns: repeat(3, 1fr); }
.yr-grid-2 { grid-template-columns: repeat(2, 1fr); }

/* ===== Cards ===== */
.yr-card {
  background: var(--yr-bg);
  border-radius: var(--yr-radius);
  border: 1px solid var(--yr-border);
  transition: all var(--yr-transition);
  overflow: hidden;
}

.yr-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--yr-shadow-xl);
  border-color: transparent;
}

/* Card with top image */
.yr-card-img-top .yr-card-thumb {
  height: 180px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.yr-card-img-top .yr-card-thumb::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: linear-gradient(transparent, var(--yr-bg));
}

.yr-card-body-inner {
  padding: 20px 24px 24px;
}

.yr-card-icon-v2 {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 14px;
}

.yr-card-blue .yr-card-icon-v2,
.yr-icon-blue {
  background: #eff6ff;
  color: #2563eb;
}

.yr-card-purple .yr-card-icon-v2,
.yr-icon-purple {
  background: #f5f3ff;
  color: #7c3aed;
}

.yr-card-cyan .yr-card-icon-v2,
.yr-icon-cyan {
  background: #ecfeff;
  color: #0891b2;
}

.yr-card-orange .yr-card-icon-v2,
.yr-icon-orange {
  background: #fff7ed;
  color: #ea580c;
}

.yr-icon-green {
  background: #f0fdf4;
  color: #16a34a;
}

.yr-card h3 {
  font-size: 18px !important;
  font-weight: 600 !important;
  color: var(--yr-text) !important;
  margin: 0 0 8px 0 !important;
  line-height: 1.4;
}

.yr-card p {
  font-size: 14px;
  color: var(--yr-text-light);
  line-height: 1.65;
  margin: 0 0 16px 0;
}

.yr-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--yr-primary) !important;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none !important;
  transition: gap 0.2s ease;
}

.yr-card-link:hover {
  gap: 10px;
  color: var(--yr-primary-dark) !important;
}

.yr-card-link i {
  font-size: 12px;
}

/* ===== Solution Cards (with image) ===== */
.yr-solution-with-img {
  display: grid;
  grid-template-columns: 200px 1fr;
  overflow: hidden;
  border: 1px solid var(--yr-border);
}

.yr-solution-img {
  background-size: cover;
  background-position: center;
  min-height: 100%;
}

.yr-solution-content {
  padding: 24px;
}

.yr-solution-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.yr-solution-header .yr-card-icon-v2 {
  margin-bottom: 0;
  flex-shrink: 0;
}

.yr-solution-header h3 {
  margin: 0 !important;
}

.yr-features {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
}

.yr-features li {
  font-size: 14px;
  color: var(--yr-text-light);
  padding: 5px 0;
  line-height: 1.5;
}

.yr-features li::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--yr-primary-light);
  margin-right: 10px;
  vertical-align: middle;
}

/* Dark section card override */
.yr-section-dark .yr-card {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.08);
}

.yr-section-dark .yr-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
}

.yr-section-dark .yr-card h3 {
  color: #fff !important;
}

.yr-section-dark .yr-card p {
  color: var(--yr-text-lighter);
}

/* ===== Case Cards ===== */
.yr-case-with-img {
  border-radius: var(--yr-radius);
  overflow: hidden;
}

.yr-case-img {
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.yr-case-img::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(transparent, var(--yr-bg));
}

.yr-case-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--yr-primary);
  color: #fff;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  z-index: 2;
}

.yr-case-tag i { margin-right: 4px; }

.yr-case-body {
  padding: 20px 24px 24px;
}

.yr-case-body h3 {
  font-size: 17px !important;
  font-weight: 600 !important;
  color: var(--yr-text) !important;
  margin: 0 0 8px 0 !important;
}

.yr-case-body p {
  font-size: 14px;
  color: var(--yr-text-light);
  line-height: 1.65;
  margin: 0 0 14px 0;
}

.yr-case-results {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.yr-result-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #eff6ff;
  color: var(--yr-primary);
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
}

.yr-result-badge i { font-size: 12px; }

/* ===== Tech Tags ===== */
.yr-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

.yr-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--yr-radius-sm);
  font-size: 14px;
  font-weight: 500;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.1);
  transition: all var(--yr-transition);
}

.yr-tag:hover {
  background: rgba(59,130,246,0.15);
  border-color: rgba(59,130,246,0.3);
  color: #fff;
}

.yr-tag i { font-size: 16px; }

/* Tech Showcase */
.yr-tech-showcase {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.yr-tech-img {
  height: 340px;
  background-size: cover;
  background-position: center;
  border-radius: var(--yr-radius-lg);
  overflow: hidden;
}

.yr-tech-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.yr-tech-cards .yr-card {
  padding: 20px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.yr-tech-cards .yr-card .yr-card-icon-v2 {
  margin-bottom: 0;
  flex-shrink: 0;
}

.yr-tech-cards .yr-card h3 {
  margin-bottom: 4px !important;
  font-size: 16px !important;
}

.yr-tech-cards .yr-card p {
  margin: 0;
  font-size: 13px;
}

/* ===== CTA Section ===== */
.yr-cta {
  padding: 80px 24px;
  text-align: center;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 40%, #0c4a6e 70%, #164e63 100%);
  position: relative;
  overflow: hidden;
}

.yr-cta::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 80%, rgba(56,189,248,0.15) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 20%, rgba(99,102,241,0.12) 0%, transparent 50%);
}

.yr-cta::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 24px 24px;
}

.yr-cta-overlay { display: none; }

.yr-cta-inner {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
}

.yr-cta-icon {
  font-size: 32px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 20px;
}

.yr-cta h2,
body:not(.page-id-5) .entry-content .yr-cta h2 {
  font-size: 30px !important;
  font-weight: 700 !important;
  color: #fff !important;
  margin: 0 0 12px 0 !important;
}

.yr-cta p,
body:not(.page-id-5) .entry-content .yr-cta p {
  font-size: 16px;
  color: rgba(255,255,255,0.75) !important;
  margin-bottom: 28px;
}

.yr-cta .yr-btn-primary {
  background: linear-gradient(135deg, #38bdf8, #6366f1) !important;
  color: #fff !important;
  border: none !important;
  box-shadow: 0 4px 20px rgba(99,102,241,0.4);
}

.yr-cta .yr-btn-primary:hover {
  background: linear-gradient(135deg, #7dd3fc, #818cf8) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(99,102,241,0.5);
}

/* ===== Scroll Progress ===== */
.yr-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--yr-primary);
  z-index: 99999;
  width: 0;
  transition: width 0.1s linear;
}

/* ===== Scroll Animations ===== */
.yr-animate {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.yr-animate-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.yr-animate-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.yr-animate-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.yr-visible {
  opacity: 1 !important;
  transform: translateY(0) translateX(0) scale(1) !important;
}

/* ===== Page Banner (sub-pages) ===== */
.yr-hero {
  background-image: url('/wp-content/uploads/yr-assets/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  padding: 80px 24px 64px !important;
  min-height: auto !important;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Dark overlay with gradient */
.yr-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(10,22,40,0.92) 0%, rgba(18,34,68,0.88) 40%, rgba(30,64,175,0.82) 100%);
  z-index: 1;
}

/* Decorative geometric lines + glow */
.yr-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 75% 20%, rgba(59,130,246,0.2) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(96,165,250,0.1) 0%, transparent 40%),
    linear-gradient(90deg, transparent 49.5%, rgba(255,255,255,0.03) 49.5%, rgba(255,255,255,0.03) 50.5%, transparent 50.5%),
    linear-gradient(0deg, transparent 49.5%, rgba(255,255,255,0.03) 49.5%, rgba(255,255,255,0.03) 50.5%, transparent 50.5%);
  background-size: 100% 100%, 100% 100%, 80px 80px, 80px 80px;
  z-index: 1;
}

.yr-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

/* Breadcrumb navigation - hidden */
.yr-breadcrumb {
  display: none;
}

.yr-hero h1 {
  font-size: 40px !important;
  font-weight: 800 !important;
  color: #fff !important;
  margin: 0 0 16px 0 !important;
  letter-spacing: 3px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.3);
  line-height: 1.3 !important;
}

.yr-hero p,
.yr-hero .yr-subtitle {
  font-size: 16px;
  color: rgba(255,255,255,0.65);
  margin: 0 0 24px 0;
  line-height: 1.7;
  letter-spacing: 0.5px;
}

/* Bottom accent line with glow */
.yr-hero-content::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6, #60a5fa);
  margin: 0 auto;
  border-radius: 2px;
  box-shadow: 0 0 12px rgba(59,130,246,0.4);
}

/* Bottom wave separator */
.yr-hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  z-index: 3;
  line-height: 0;
}

.yr-hero-wave svg {
  display: block;
  width: 100%;
  height: 32px;
}

/* ===== Page Content Styling (sub-pages) ===== */
body:not(.page-id-5) .entry-content {
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

body:not(.page-id-5) .entry-content .yr-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 24px;
}

body:not(.page-id-5) .entry-content h2 {
  font-size: 26px !important;
  font-weight: 700 !important;
  color: var(--yr-text) !important;
  margin-top: 48px !important;
  margin-bottom: 16px !important;
}

body:not(.page-id-5) .entry-content h3 {
  font-size: 20px !important;
  font-weight: 600 !important;
  color: var(--yr-text) !important;
}

/* ===== Solutions Page Redesign ===== */
.yr-sol-section {
  padding: 64px 24px;
}
.yr-sol-white { background: #fff; }
.yr-sol-gray { background: #f4f7fc; }
.yr-sol-dark {
  background: linear-gradient(135deg, #0c1a30 0%, #152040 50%, #1a2d5a 100%);
  color: #fff;
}
.yr-sol-inner {
  max-width: 1060px;
  margin: 0 auto;
}

/* Solution header with icon */
.yr-sol-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}
.yr-sol-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.yr-sol-icon svg {
  width: 22px;
  height: 22px;
}
.yr-sol-icon-blue { background: linear-gradient(135deg, #1e40af, #3b82f6); color: #fff; }
.yr-sol-icon-purple { background: linear-gradient(135deg, #7c3aed, #a78bfa); color: #fff; }
.yr-sol-icon-green { background: linear-gradient(135deg, #059669, #34d399); color: #fff; }
.yr-sol-icon-orange { background: linear-gradient(135deg, #ea580c, #fb923c); color: #fff; }

.yr-sol-title {
  font-size: 26px !important;
  font-weight: 800 !important;
  margin: 0 0 8px 0 !important;
  letter-spacing: 0.5px;
}
/* Dark section text overrides - must beat body:not(.page-id-5) .entry-content h2/h3 specificity */
body:not(.page-id-5) .entry-content .yr-sol-dark h2,
body:not(.page-id-5) .entry-content .yr-sol-dark .yr-sol-title,
.yr-sol-header-light .yr-sol-title { color: #fff !important; }
body:not(.page-id-5) .entry-content .yr-sol-dark h3 { color: rgba(255,255,255,0.5) !important; }
body:not(.page-id-5) .entry-content .yr-sol-dark p { color: rgba(255,255,255,0.7) !important; }
body:not(.page-id-5) .entry-content .yr-sol-dark h4 { color: #fff !important; }
.yr-sol-desc {
  font-size: 15px;
  color: var(--yr-text-light);
  margin: 0;
  line-height: 1.6;
}
.yr-sol-header-light .yr-sol-desc,
.yr-sol-dark .yr-sol-desc { color: rgba(255,255,255,0.7) !important; }

/* Solution grid - 4 items */
.yr-sol-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.yr-sol-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.yr-sol-grid-1 {
  grid-template-columns: 1fr;
}

/* Image + text row layout */
.yr-sol-hero-row {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: stretch;
  margin-bottom: 24px;
}
.yr-sol-row-reverse {
  grid-template-columns: 340px 1fr;
}
.yr-sol-row-reverse .yr-sol-hero-img {
  order: -1;
}
.yr-sol-hero-img {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0,0,0,0.1);
}
.yr-sol-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.yr-sol-hero-img:hover img {
  transform: scale(1.05);
}

/* Solution items (list style with dot) */
.yr-sol-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #e8edf5;
  transition: all 0.3s ease;
}
.yr-sol-item:hover {
  border-color: #bfdbfe;
  box-shadow: 0 4px 16px rgba(30,64,175,0.06);
  transform: translateY(-2px);
}
.yr-sol-item-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yr-primary);
  flex-shrink: 0;
  margin-top: 7px;
}
.yr-sol-item h4 {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: var(--yr-dark) !important;
  margin: 0 0 4px 0 !important;
}
.yr-sol-item p {
  font-size: 13px;
  color: var(--yr-text-light);
  margin: 0;
  line-height: 1.5;
}

/* Solution card (for AI / Enterprise sections) */
.yr-sol-card {
  background: #fff;
  border-radius: 14px;
  padding: 28px 24px;
  border: 1px solid #e8edf5;
  transition: all 0.3s ease;
  text-align: center;
}
.yr-sol-gray .yr-sol-card {
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.yr-sol-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(30,64,175,0.1);
  border-color: #bfdbfe;
}
.yr-sol-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #eef2ff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--yr-primary);
}
.yr-sol-card h4 {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: var(--yr-dark) !important;
  margin: 0 0 8px 0 !important;
}
.yr-sol-card p {
  font-size: 13px;
  color: var(--yr-text-light);
  margin: 0;
  line-height: 1.6;
}

/* Value highlight bar */
.yr-sol-value {
  background: linear-gradient(90deg, #eef2ff, #e0e7ff);
  border-left: 4px solid var(--yr-primary);
  padding: 16px 20px;
  border-radius: 0 10px 10px 0;
  font-size: 14px;
  color: var(--yr-text);
  line-height: 1.6;
}
.yr-sol-value-label {
  display: inline-block;
  background: var(--yr-primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 4px;
  margin-right: 10px;
  letter-spacing: 0.5px;
}

/* Steps flow (dark section) */
.yr-sol-subtitle-light {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: rgba(255,255,255,0.5) !important;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0 0 24px 0 !important;
  text-align: center;
}
.yr-sol-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.yr-sol-step {
  text-align: center;
  padding: 20px 16px;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  min-width: 100px;
  transition: all 0.3s ease;
}
.yr-sol-step:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(59,130,246,0.3);
  transform: translateY(-2px);
}
.yr-sol-step-num {
  font-size: 24px;
  font-weight: 800;
  color: #3b82f6;
  margin-bottom: 8px;
  font-family: 'Inter', monospace;
}
.yr-sol-step-name {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  font-weight: 500;
}
.yr-sol-step-arrow {
  display: flex;
  align-items: center;
}

/* Tech tags (dark section) */
.yr-sol-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.yr-sol-tech-tags span {
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  background: rgba(59,130,246,0.12);
  color: #93bbf5;
  border: 1px solid rgba(59,130,246,0.2);
  transition: all 0.3s ease;
}
.yr-sol-tech-tags span:hover {
  background: rgba(59,130,246,0.22);
  color: #bdd4fa;
  border-color: rgba(59,130,246,0.4);
}

/* Solutions responsive */
@media (max-width: 768px) {
  .yr-sol-section { padding: 40px 16px; }
  .yr-sol-header { flex-direction: column; gap: 12px; }
  .yr-sol-grid { grid-template-columns: 1fr; }
  .yr-sol-grid-3 { grid-template-columns: 1fr; }
  .yr-sol-hero-row { grid-template-columns: 1fr; gap: 24px; }
  .yr-sol-row-reverse { grid-template-columns: 1fr; }
  .yr-sol-row-reverse .yr-sol-hero-img { order: 0; }
  .yr-sol-hero-img img { height: 200px; }
  .yr-sol-steps { gap: 6px; }
  .yr-sol-step { min-width: 70px; padding: 14px 10px; }
  .yr-sol-step-num { font-size: 18px; }
  .yr-sol-step-arrow { display: none; }
  .yr-sol-title { font-size: 22px !important; }
}

/* ===== Footer ===== */
.site-footer, footer.site-footer, .ast-footer-overlay {
  background: var(--yr-dark) !important;
  color: rgba(255,255,255,0.6) !important;
}

.site-footer a {
  color: rgba(255,255,255,0.7) !important;
}

.site-footer a:hover {
  color: #fff !important;
}

.ast-small-footer {
  border-top: 1px solid rgba(255,255,255,0.08) !important;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .yr-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .yr-solution-with-img { grid-template-columns: 160px 1fr; }
  .yr-tech-showcase { grid-template-columns: 1fr; }
  .yr-tech-img { height: 260px; }
}

@media (max-width: 768px) {
  .yr-hero-carousel {
    height: 75vh;
    min-height: 500px;
  }

  .yr-slide-content h1 {
    font-size: 36px !important;
    letter-spacing: 1px;
  }

  .yr-slide-content .yr-subtitle {
    font-size: 16px;
  }

  .yr-slide-content .yr-btn {
    padding: 13px 24px;
    font-size: 15px;
  }

  .yr-carousel-arrow { display: none; }

  .yr-hero {
    padding: 60px 16px 48px !important;
  }

  .yr-hero h1 {
    font-size: 28px !important;
    letter-spacing: 1px;
  }

  .yr-breadcrumb {
    font-size: 12px;
    margin-bottom: 16px;
  }

  .yr-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .yr-stat-num {
    font-size: 28px !important;
  }

  .yr-grid-4, .yr-grid-3, .yr-grid-2 {
    grid-template-columns: 1fr;
  }

  .yr-solution-with-img {
    grid-template-columns: 1fr;
  }

  .yr-solution-img {
    height: 180px;
  }

  .yr-section, .yr-section-deep, .yr-section-dark {
    padding: 56px 16px;
  }

  .yr-section-title {
    font-size: 26px !important;
  }

  .yr-section-desc {
    margin-bottom: 32px;
  }

  .yr-cta h2 {
    font-size: 24px !important;
  }

  .yr-tech-showcase {
    gap: 20px;
  }

  .yr-tech-img {
    height: 200px;
  }
}

@media (max-width: 480px) {
  .yr-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .yr-stat-item {
    padding: 20px 12px;
  }

  .yr-slide-content .yr-buttons {
    flex-direction: column;
    align-items: center;
  }
}

/* ===== Case Page Enhancements ===== */
.yr-case-tag-inline {
  display: inline-block;
  background: var(--yr-primary);
  color: #fff;
  padding: 4px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}
.yr-case-tag-inline i { margin-right: 4px; }

.yr-case-highlight {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border-left: 4px solid #f59e0b;
  padding: 16px 20px;
  border-radius: 0 10px 10px 0;
  font-size: 14px;
  color: #92400e;
  font-weight: 600;
  margin-bottom: 16px;
}
.yr-case-highlight-green {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  border-left-color: #10b981;
  color: #065f46;
}
.yr-case-highlight-blue {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border-left-color: #3b82f6;
  color: #1e40af;
}

.yr-case-metric {
  background: var(--yr-bg-light, #f8fafc);
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  margin-bottom: 12px;
}
.yr-case-metric-value {
  font-size: 28px;
  font-weight: 800;
  color: var(--yr-primary);
  margin-bottom: 4px;
}
.yr-case-metric-label {
  font-size: 13px;
  color: var(--yr-text-light);
}

/* ===== Education Page ===== */
.yr-edu-age {
  display: inline-block;
  background: linear-gradient(135deg, #dbeafe, #eff6ff);
  color: #1e40af;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}
.yr-edu-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 20px;
}
.yr-edu-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #f8fafc;
  border-radius: 10px;
  border: 1px solid #e8edf5;
  font-size: 14px;
  color: var(--yr-text);
  transition: all 0.3s ease;
}
.yr-edu-feature:hover {
  border-color: #bfdbfe;
  box-shadow: 0 2px 8px rgba(30,64,175,0.06);
  transform: translateY(-1px);
}
.yr-edu-feature-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
}

/* Education philosophy cards */
.yr-edu-philosophy {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1060px;
  margin: 0 auto;
}
.yr-edu-phil-card {
  text-align: center;
  padding: 40px 24px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e8edf5;
  transition: all 0.3s ease;
}
.yr-edu-phil-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(30,64,175,0.1);
  border-color: #bfdbfe;
}
.yr-edu-phil-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 28px;
}
.yr-edu-phil-card h4 {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: var(--yr-dark) !important;
  margin: 0 0 8px 0 !important;
}
.yr-edu-phil-card p {
  font-size: 14px;
  color: var(--yr-text-light);
  margin: 0;
  line-height: 1.6;
}

/* ===== Services Page Grid-4 ===== */
.yr-sol-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* Service card with gradient icon */
.yr-svc-card {
  background: #fff;
  border-radius: 14px;
  padding: 32px 20px;
  border: 1px solid #e8edf5;
  text-align: center;
  transition: all 0.3s ease;
}
.yr-svc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(30,64,175,0.1);
  border-color: #bfdbfe;
}
.yr-svc-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: #fff;
}
.yr-svc-card h4 {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: var(--yr-dark) !important;
  margin: 0 0 8px 0 !important;
}
.yr-svc-card p {
  font-size: 13px;
  color: var(--yr-text-light);
  margin: 0;
  line-height: 1.6;
}

/* Responsive additions */
@media (max-width: 1024px) {
  .yr-sol-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .yr-edu-philosophy { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .yr-sol-grid-4 { grid-template-columns: 1fr; }
  .yr-edu-features { grid-template-columns: 1fr; }
  .yr-edu-philosophy { grid-template-columns: 1fr; }
}

/* Fix: homepage dark section h3/p text visibility */
.page-id-5 .entry-content .yr-section-dark h3,
.page-id-5 .entry-content .yr-section-dark .yr-card h3,
.page-id-5 .yr-section-dark .yr-tech-cards h3 {
  color: #fff !important;
}
.page-id-5 .entry-content .yr-section-dark p,
.page-id-5 .entry-content .yr-section-dark .yr-card p,
.page-id-5 .yr-section-dark .yr-tech-cards p {
  color: rgba(255,255,255,0.7) !important;
}

/* Card link right align */
.yr-solution-content .yr-card-link,
.yr-card-body-inner .yr-card-link {
  text-align: right \!important;
  display: block \!important;
}



/* Professional footer styles */
.site-footer .ast-builder-grid-row {
  max-width: 1200px;
  margin: 0 auto;
}
.site-footer .widget-title,
.site-footer .wp-block-heading {
  color: #fff \!important;
  font-size: 18px \!important;
  font-weight: 700 \!important;
  margin-bottom: 20px \!important;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(255,255,255,0.15);
}
.yr-footer-desc {
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 16px;
}
.yr-footer-social {
  display: flex;
  gap: 12px;
}
.yr-footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff \!important;
  font-size: 16px;
  transition: all 0.3s;
  text-decoration: none \!important;
}
.yr-footer-social a:hover {
  background: var(--yr-blue);
  transform: translateY(-2px);
}
.yr-footer-links {
  list-style: none \!important;
  padding: 0 \!important;
  margin: 0 \!important;
}
.yr-footer-links li {
  margin-bottom: 10px \!important;
  padding: 0 \!important;
}
.yr-footer-links li::before { display: none \!important; }
.yr-footer-links a {
  color: rgba(255,255,255,0.75) \!important;
  text-decoration: none \!important;
  font-size: 14px;
  transition: all 0.3s;
  padding-left: 0 \!important;
}
.yr-footer-links a:hover {
  color: #fff \!important;
  padding-left: 4px \!important;
}
.yr-footer-contact {
  list-style: none \!important;
  padding: 0 \!important;
  margin: 0 \!important;
}
.yr-footer-contact li {
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  margin-bottom: 12px \!important;
  padding: 0 \!important;
  line-height: 1.6;
}
.yr-footer-contact li::before { display: none \!important; }
.yr-footer-contact i {
  color: var(--yr-blue);
  width: 20px;
  margin-right: 8px;
  text-align: center;
}


/* Footer bottom bar - centered copyright */
.site-below-footer-wrap {
  background: #0d1117 \!important;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.site-below-footer-wrap .ast-builder-grid-row {
  justify-content: center \!important;
  text-align: center \!important;
}
.site-below-footer-wrap .ast-footer-copyright {
  text-align: center \!important;
}
/* Hide Astra default social icons in footer (we use custom ones in widgets) */
.site-primary-footer-wrap .ast-builder-social-element,
.site-primary-footer-wrap .footer-social-inner-wrap {
  display: none \!important;
}


/* Footer container fix */
.site-primary-footer-wrap .ast-builder-grid-row {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.site-below-footer-wrap .ast-builder-grid-row {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.site-below-footer-wrap .ast-footer-copyright p {
  text-align: center \!important;
  width: 100%;
}

/* ============================================
   FOOTER v10 — 紧凑单行 (知网风格)
   ============================================ */

/* 主 footer 区域 */
.site-primary-footer-wrap {
  background: #1a2238 !important;
  padding: 0 !important;
}

/* 隐藏 widget-title（标题不需要显示） */
.site-primary-footer-wrap .widget-title {
  display: none !important;
}

/* 2列改为 左宽右窄 flex 布局 */
.site-primary-footer-wrap .ast-builder-grid-row-container {
  max-width: 100% !important;
  padding: 0 !important;
}
.site-primary-footer-wrap .ast-builder-grid-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  text-align: left !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 18px 32px !important;
  gap: 20px !important;
}
.site-primary-footer-wrap .site-footer-section-1 {
  flex: 1 1 auto !important;
  width: auto !important;
}
.site-primary-footer-wrap .site-footer-section-2 {
  flex: 0 0 auto !important;
  width: auto !important;
}
.site-primary-footer-wrap .footer-widget-area {
  padding: 0 !important;
  border: none !important;
  text-align: left !important;
}

/* ── 左侧内容布局 ── */
.yr-ft-left {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* 品牌行 */
.yr-ft-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.yr-ft-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  border-radius: 8px;
  color: #fff !important;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.5px;
  flex-shrink: 0;
}
.yr-ft-company {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  letter-spacing: 0.3px;
}

/* 导航链接行 */
.yr-ft-nav-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
}
.yr-ft-nav-row a {
  color: rgba(255,255,255,0.75) !important;
  font-size: 13px !important;
  text-decoration: none !important;
  padding: 0 14px !important;
  border-right: 1px solid rgba(255,255,255,0.18) !important;
  line-height: 1.2 !important;
  transition: color 0.2s !important;
}
.yr-ft-nav-row a:first-child {
  padding-left: 0 !important;
}
.yr-ft-nav-row a:last-child {
  border-right: none !important;
}
.yr-ft-nav-row a:hover {
  color: #fff !important;
}

/* 联系信息行 */
.yr-ft-contact-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}
.yr-ft-contact-row span {
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
  font-size: 12.5px !important;
  color: rgba(255,255,255,0.62) !important;
}
.yr-ft-ic {
  font-style: normal;
  font-size: 13px;
}
.yr-ft-contact-row a {
  color: rgba(255,255,255,0.75) !important;
  text-decoration: none !important;
  font-size: 12.5px !important;
}
.yr-ft-contact-row a:hover {
  color: #fff !important;
  text-decoration: underline !important;
}

/* ── 右侧二维码 ── */
.yr-ft-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}
.yr-ft-right img {
  width: 72px !important;
  height: 72px !important;
  border-radius: 8px !important;
  background: #fff !important;
  padding: 4px !important;
  display: block !important;
}
.yr-ft-qr-label {
  font-size: 11px !important;
  color: rgba(255,255,255,0.5) !important;
  margin: 0 !important;
  line-height: 1 !important;
}

/* ── 版权栏 ── */
.site-below-footer-wrap {
  background: #111827 !important;
  border-top: 1px solid rgba(255,255,255,0.07) !important;
  padding: 10px 0 !important;
}
.site-below-footer-wrap .ast-builder-grid-row {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 32px !important;
  justify-content: center !important;
  text-align: center !important;
}
.site-below-footer-wrap .ast-footer-copyright p {
  font-size: 12px !important;
  color: rgba(255,255,255,0.4) !important;
  text-align: center !important;
  margin: 0 !important;
}

/* ── 移动端 ── */
@media (max-width: 768px) {
  .site-primary-footer-wrap .ast-builder-grid-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 20px 20px !important;
    gap: 16px !important;
  }
  .yr-ft-right {
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px !important;
  }
  .yr-ft-nav-row a {
    padding: 0 10px !important;
  }
  .yr-ft-contact-row {
    gap: 12px !important;
  }
}

/* ICP 备案行 */
.site-below-footer-wrap .ast-footer-copyright {
  text-align: center !important;
  padding: 8px 0 !important;
}
.site-below-footer-wrap .ast-footer-copyright p {
  line-height: 1.8 !important;
}
small.yr-icp {
  display: block !important;
  font-size: 11px !important;
  color: rgba(255,255,255,0.32) !important;
  margin-top: 3px !important;
  letter-spacing: 0.2px !important;
}

/* =============================================
   映日信息技术 - AI 产业升级栏目
   Elementor 全局增强样式 v1.0
   适用页面：AI智能生产 / AI流程自动化 / AI数据决策 / AI创新教育
   ============================================= */

/* 1. 卡片 Hover 动效（通用） */
.elementor-icon-box-wrapper,
.elementor-image-box-wrapper {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 12px;
}
.elementor-icon-box-wrapper:hover,
.elementor-image-box-wrapper:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(59, 130, 246, 0.12);
}

/* 2. 架构分层模块 - 左侧蓝色边线 */
.yr-arch-layer {
  border-left: 3px solid #3b82f6;
  padding-left: 16px;
  margin-bottom: 8px;
}

/* 3. 架构层之间的方向箭头 */
.yr-arch-arrow {
  text-align: center;
  color: #3b82f6;
  font-size: 20px;
  margin: 4px 0;
}

/* 4. 实施路径步骤横向连接线容器 */
.yr-step-wrap {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

/* 5. 步骤之间的渐变连接线 */
.yr-step-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, #3b82f6, #93c5fd);
  margin-top: 16px;
}

/* 6. 底部 CTA 渐变背景 */
.yr-cta-section {
  background: linear-gradient(135deg, #1d4ed8 0%, #7c3aed 100%) !important;
}

/* 7. Banner 小标签样式 */
.yr-banner-tag {
  display: inline-block;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid #3b82f6;
  border-radius: 20px;
  padding: 6px 16px;
  color: #3b82f6;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 16px;
}

/* 8. 移动端步骤连接线隐藏 */
@media (max-width: 767px) {
  .yr-step-line {
    display: none;
  }
  .yr-step-wrap {
    flex-direction: column;
  }
}

/* AI方案页通用样式 */
.yr-ai-page {
  font-family: inherit;
}
.yr-section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
.yr-section-header {
  text-align: center;
  margin-bottom: 48px;
}
.yr-section-header h2 {
  font-size: 30px;
  font-weight: 600;
  color: #1a2238;
  margin: 0 0 12px;
  line-height: 1.35;
}
.yr-section-header p {
  font-size: 16px;
  color: #64748b;
  margin: 0 auto;
  max-width: 700px;
  line-height: 1.7;
}
.yr-section-header.white h2 { color: #fff; }
.yr-section-header.white p { color: rgba(255,255,255,0.65); }

/* Banner区 */
.yr-banner-section {
  background: linear-gradient(135deg, #0f172a 0%, #1a2238 100%);
  padding: 100px 0;
  text-align: center;
}
.yr-banner-section h1 {
  color: #fff;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.3;
  max-width: 750px;
  margin: 16px auto 20px;
}
.yr-banner-section p.yr-banner-desc {
  color: rgba(255,255,255,0.75);
  font-size: 16px;
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto 32px;
}
.yr-btn-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.yr-btn-primary {
  display: inline-block;
  background: #3b82f6;
  color: #fff !important;
  padding: 12px 28px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none !important;
  transition: background 0.2s;
}
.yr-btn-primary:hover { background: #2563eb; }
.yr-btn-outline {
  display: inline-block;
  background: transparent;
  color: #fff !important;
  border: 1px solid #fff;
  padding: 12px 28px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none !important;
  transition: background 0.2s;
}
.yr-btn-outline:hover { background: rgba(255,255,255,0.1); }
.yr-btn-white {
  display: inline-block;
  background: #fff;
  color: #1d4ed8 !important;
  padding: 12px 28px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none !important;
}

/* 痛点卡片区 */
.yr-cards-grid {
  display: grid;
  gap: 20px;
}
.yr-cards-5 { grid-template-columns: repeat(5, 1fr); }
.yr-cards-3 { grid-template-columns: repeat(3, 1fr); }
.yr-cards-2 { grid-template-columns: repeat(2, 1fr); }
.yr-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.yr-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(59,130,246,0.12);
}
.yr-card-icon {
  font-size: 28px;
  margin-bottom: 12px;
}
.yr-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: #1a2238;
  margin: 0 0 8px;
}
.yr-card p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}
.yr-card .yr-card-num {
  width: 32px; height: 32px;
  background: #3b82f6;
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
  margin-bottom: 12px;
}

/* 方案概述 2列 */
.yr-overview-wrap {
  display: flex;
  gap: 60px;
  align-items: center;
}
.yr-overview-text { flex: 55; }
.yr-overview-img { flex: 45; }
.yr-overview-text h2 {
  font-size: 30px; font-weight: 600; color: #1a2238; margin: 0 0 12px;
}
.yr-overview-text h3 {
  font-size: 18px; font-weight: 500; color: #3b82f6; margin: 0 0 16px;
}
.yr-overview-text p {
  font-size: 16px; color: #334155; line-height: 1.7; margin: 0 0 20px;
}
.yr-checklist { list-style: none; padding: 0; margin: 0; }
.yr-checklist li {
  font-size: 15px; color: #334155; padding: 5px 0;
  padding-left: 22px; position: relative;
}
.yr-checklist li::before {
  content: '✓';
  position: absolute; left: 0;
  color: #3b82f6; font-weight: 700;
}
.yr-overview-img img {
  width: 100%; border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.10);
}
.yr-overview-img .yr-img-placeholder {
  width: 100%; border-radius: 12px;
  background: linear-gradient(135deg, #e0e7ff, #dbeafe);
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  color: #3b82f6; font-size: 48px;
}

/* 架构区 */
.yr-arch-section {
  background: #1a2238;
  padding: 64px 0;
}
.yr-arch-layers { display: flex; flex-direction: column; gap: 0; }
.yr-arch-item {
  display: flex;
  align-items: stretch;
  border-left: 3px solid #3b82f6;
  background: rgba(255,255,255,0.04);
  border-radius: 0 8px 8px 0;
  margin-bottom: 4px;
  overflow: hidden;
}
.yr-arch-label {
  min-width: 140px;
  background: #3b82f6;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px 10px;
}
.yr-arch-content {
  flex: 1;
  padding: 16px 20px;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
  display: flex;
  align-items: center;
}
.yr-arch-arrow-row {
  text-align: center;
  color: #3b82f6;
  font-size: 18px;
  padding: 2px 0;
}
.yr-arch-item:nth-child(2) .yr-arch-label { background: #2563eb; }
.yr-arch-item:nth-child(3) .yr-arch-label { background: #1d4ed8; }
.yr-arch-item:nth-child(4) .yr-arch-label { background: #1e40af; }
.yr-arch-item:nth-child(5) .yr-arch-label { background: #1e3a8a; }

/* 步骤区 */
.yr-steps-wrap {
  display: flex;
  gap: 0;
  align-items: flex-start;
}
.yr-step-item {
  flex: 1;
  text-align: center;
  position: relative;
}
.yr-step-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 16px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #3b82f6, #93c5fd);
}
.yr-step-num {
  width: 36px; height: 36px;
  background: #3b82f6;
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700;
  margin: 0 auto 10px;
  position: relative; z-index: 1;
}
.yr-step-item h4 {
  font-size: 13px; font-weight: 600; color: #1a2238; margin: 0 0 6px;
}
.yr-step-item p {
  font-size: 12px; color: #64748b; margin: 0; line-height: 1.5;
}

/* 价值区（深色背景） */
.yr-value-section {
  background: #1a2238;
  padding: 64px 0;
}
.yr-value-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  text-align: center;
}
.yr-value-item .yr-val-icon {
  font-size: 36px;
  margin-bottom: 12px;
}
.yr-value-item h4 {
  font-size: 15px; font-weight: 700; color: #fff; margin: 0 0 8px;
}
.yr-value-item p {
  font-size: 13px; color: rgba(255,255,255,0.65); margin: 0; line-height: 1.5;
}

/* CTA区 */
.yr-cta-wrap {
  padding: 80px 0 80px;
  text-align: center;
}
.yr-cta-wrap h2 {
  font-size: 30px; font-weight: 700; color: #fff;
  margin: 0 0 16px;
}
.yr-cta-wrap p {
  font-size: 16px; color: rgba(255,255,255,0.85);
  max-width: 650px; margin: 0 auto 32px;
  line-height: 1.7;
}

/* 响应式 */
@media (max-width: 1024px) {
  .yr-cards-5 { grid-template-columns: repeat(3, 1fr); }
  .yr-value-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767px) {
  .yr-banner-section { padding: 60px 0; }
  .yr-banner-section h1 { font-size: 26px; }
  .yr-cards-5, .yr-cards-3, .yr-cards-2 { grid-template-columns: 1fr; }
  .yr-value-grid { grid-template-columns: repeat(2, 1fr); }
  .yr-overview-wrap { flex-direction: column; gap: 32px; }
  .yr-steps-wrap { flex-direction: column; gap: 16px; }
  .yr-step-item::after { display: none; }
  .yr-section-inner { padding: 0 16px; }
}

/* AI产业页 - 方案链接按钮 */
.yr-sol-more-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 11px 22px;
  background: #3b82f6;
  color: #fff !important;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none !important;
  transition: background 0.2s, transform 0.2s;
}
.yr-sol-more-link:hover {
  background: #2563eb;
  transform: translateX(3px);
}
.yr-sol-more-link.yr-sol-more-purple { background: #7c3aed; }
.yr-sol-more-link.yr-sol-more-purple:hover { background: #6d28d9; }
.yr-sol-more-link.yr-sol-more-cyan { background: #0891b2; }
.yr-sol-more-link.yr-sol-more-cyan:hover { background: #0e7490; }
.yr-sol-more-link.yr-sol-more-green { background: #059669; }
.yr-sol-more-link.yr-sol-more-green:hover { background: #047857; }
.yr-sol-more-link svg { flex-shrink: 0; transition: transform 0.2s; }
.yr-sol-more-link:hover svg { transform: translateX(3px); }

/* ===== AI产业页 布局修复 ===== */

/* Stats 数据条 - 强制横向 flex */
.yr-stats-bar {
  background: #fff;
  padding: 40px 0 20px;
}
.yr-stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex !important;
  flex-direction: row !important;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  padding: 0 20px;
}
.yr-stat-item { text-align: center; }
.yr-stat-num {
  font-size: 36px;
  font-weight: 800;
  color: var(--yr-blue, #3b82f6);
}
.yr-stat-label {
  font-size: 14px;
  color: #64748b;
  margin-top: 4px;
}

/* 标题行：图标 + 标题右侧放「查看方案」按钮 */
.yr-sol-title-block {
  flex: 1;
  min-width: 0;
}
.yr-sol-title-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.yr-sol-title-row .yr-sol-title {
  margin: 0 !important;
  flex: 1;
  min-width: 0;
}

/* 查看完整方案 按钮 */
.yr-sol-detail-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  padding: 7px 16px;
  border: 1.5px solid #3b82f6;
  border-radius: 6px;
  color: #3b82f6 !important;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  background: transparent;
}
.yr-sol-detail-btn:hover {
  background: #3b82f6;
  color: #fff !important;
  transform: translateX(2px);
}
.yr-sol-detail-btn .yr-arrow {
  transition: transform 0.2s;
  display: inline-block;
}
.yr-sol-detail-btn:hover .yr-arrow { transform: translateX(3px); }

/* 颜色变体 */
.yr-detail-purple { border-color: #7c3aed; color: #7c3aed !important; }
.yr-detail-purple:hover { background: #7c3aed; color: #fff !important; }
.yr-detail-cyan { border-color: #0891b2; color: #0891b2 !important; }
.yr-detail-cyan:hover { background: #0891b2; color: #fff !important; }
.yr-detail-green { border-color: #059669; color: #059669 !important; }
.yr-detail-green:hover { background: #059669; color: #fff !important; }

/* 删除旧的独立按钮样式（保留选择器防冲突） */
.yr-sol-more-link { display: none !important; }

/* AI应用场景 网格 */
.yr-scene-header { text-align: center; margin-bottom: 40px; }
.yr-scene-sub { color: #64748b; font-size: 16px; margin: 8px 0 0; }
.yr-scene-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 24px;
}
.yr-scene-card {
  background: #fff;
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}
.yr-scene-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.yr-scene-icon {
  width: 56px; height: 56px;
  border-radius: 12px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.yr-scene-card h4 {
  font-size: 16px; font-weight: 700;
  color: #1e293b; margin: 0 0 8px;
}
.yr-scene-card p { font-size: 13px; color: #64748b; line-height: 1.6; margin: 0; }

/* CTA 深色区 */
.yr-cta-dark {
  background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 100%) !important;
  text-align: center;
  padding: 80px 20px !important;
}
.yr-cta-icon { font-size: 48px; margin-bottom: 16px; }
.yr-cta-title {
  color: #fff !important;
  font-size: 28px; font-weight: 700; margin-bottom: 12px;
}
.yr-cta-desc {
  color: rgba(255,255,255,0.7) !important;
  font-size: 16px; margin-bottom: 32px;
}

/* AI教育占位图 */
.yr-edu-placeholder {
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
  border-radius: 16px;
  aspect-ratio: 4/3;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 80px;
}

/* 响应式 */
@media (max-width: 1024px) {
  .yr-scene-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 767px) {
  .yr-stats-inner { gap: 32px; }
  .yr-scene-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .yr-sol-title-row { flex-wrap: wrap; gap: 10px; }
  .yr-sol-detail-btn { font-size: 12px; padding: 5px 12px; }
}
@media (max-width: 480px) {
  .yr-scene-grid { grid-template-columns: 1fr !important; }
}
