/* ========================================
   News Theme Overrides - Transform to News Site
   Replaces pink (#fa0f56) → news blue (#1976d2)
   ======================================== */

/* ===========================
   1. Root Variables & Base
   =========================== */
:root {
  --news-primary: #1976d2;
  --news-primary-dark: #1565c0;
  --news-primary-light: #42a5f5;
  --news-accent: #d32f2f;
  --news-bg-dark: #0f1525;
  --news-bg-card: rgba(255, 255, 255, 0.05);
  --news-text-primary: #e2e8f0;
  --news-text-secondary: #94a3b8;
  --news-text-muted: #64748b;
  --news-border: rgba(255, 255, 255, 0.08);
  --news-border-light: rgba(255, 255, 255, 0.12);
  --news-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

/* ===========================
   2. Color Overrides - Replace Pink
   =========================== */

/* Section buttons & links */
.witr_btn,
.btn2,
.witr_btn_style .witr_btn,
.arnika_btn,
button.btn-primary,
.title_btn a {
  background: linear-gradient(135deg, #1976d2, #42a5f5) !important;
  border-color: transparent !important;
}

.witr_btn:hover,
.btn2:hover,
.arnika_btn:hover,
button.btn-primary:hover,
.title_btn a:hover {
  background: linear-gradient(135deg, #1565c0, #1e88e5) !important;
}

/* Active / current state */
.active,
.current_menu_item,
.filter_menu .current_menu_item {
  color: #1976d2 !important;
}

.filter_menu .current_menu_item {
  border-color: #1976d2 !important;
}

/* Text highlights */
.witr_section_title_inner h3,
.witr_section_title h2,
.witr_section_title h3 {
  color: #e2e8f0;
}

.witr_section_title h2 {
  color: #42a5f5;
}

/* Section description */
.witr_section_title_inner p {
  color: #94a3b8;
}

/* Form focus */
input:focus,
textarea:focus,
select:focus {
  border-color: #1976d2 !important;
  box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.15) !important;
}

/* ===========================
   3. Navigation Overhaul
   =========================== */

.trp_nav_area {
  background: #0b2545 !important;
  transition: all 0.4s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
}

.logo a,
.logo a:hover {
  color: #ffffff !important;
}

.trp_nav_area.scrolled {
  background: rgba(10, 16, 36, 0.97) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
}

.arnika_menu > ul > li > a {
  color: #cbd5e1 !important;
  font-weight: 500;
  font-size: 0.9rem;
  margin: 16px 14px;
  transition: color 0.25s ease;
}

.arnika_menu > ul > li > a:hover,
.arnika_menu > ul > li > a.active {
  color: #42a5f5 !important;
}

.arnika_menu > ul > li.nav-brand {
  margin-right: auto;
}

.arnika_menu > ul > li.nav-brand > a {
  color: #ffffff !important;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.3px;
}

.arnika_menu > ul > li.nav-brand > a:hover {
  color: #ffffff !important;
}

/* User Menu Dropdown */
.user-menu-wrapper {
  display: inline-flex;
  align-items: center;
  margin-left: 10px;
}

.nav-auth-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.25s ease;
  cursor: pointer;
  line-height: 1.5;
}

.nav-login-btn {
  color: #1976d2 !important;
  border: 1.5px solid rgba(25, 118, 210, 0.4);
  background: transparent;
}

.nav-login-btn:hover {
  background: rgba(25, 118, 210, 0.1);
  border-color: #1976d2;
}

/* Logged-in user dropdown is styled via .user-dropdown below */

.nav-register-btn {
  color: #fff !important;
  background: #1976d2;
  border: 1.5px solid #1976d2;
}

.nav-register-btn:hover {
  background: #1565c0;
  border-color: #1565c0;
}

/* User Dropdown */
.user-dropdown {
  position: relative;
  display: inline-block;
}

.user-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
  background: transparent;
  border: none;
  color: #cbd5e1;
}

.user-dropdown-toggle:hover {
  background: rgba(255, 255, 255, 0.06);
}

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1976d2, #42a5f5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.user-dropdown-name {
  font-size: 0.82rem;
  font-weight: 500;
  color: #e2e8f0;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-dropdown-arrow {
  font-size: 0.6rem;
  color: #94a3b8;
  transition: transform 0.25s ease;
}

.user-dropdown:hover .user-dropdown-arrow {
  transform: rotate(180deg);
}

.user-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 200px;
  background: #1a1f35;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all 0.2s ease;
  z-index: 2000;
  overflow: hidden;
}

.user-dropdown:hover .user-dropdown-menu,
.user-dropdown.open .user-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.user-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  color: #cbd5e1 !important;
  font-size: 0.85rem;
  text-decoration: none !important;
  transition: all 0.2s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.user-dropdown-menu a:last-child {
  border-bottom: none;
}

.user-dropdown-menu a:hover {
  background: rgba(25, 118, 210, 0.1);
  color: #fff !important;
}

.user-dropdown-menu a i {
  width: 18px;
  text-align: center;
  color: #1976d2;
}

.user-dropdown-menu .dropdown-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin: 4px 0;
}

.user-dropdown-menu .logout-link {
  color: #ef4444 !important;
}

.user-dropdown-menu .logout-link i {
  color: #ef4444 !important;
}

/* ===========================
   4. Breadcrumb
   =========================== */

.breadcumb-area {
  background: linear-gradient(180deg, #0f1525 0%, #0a1024 100%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  padding: 210px 0 60px !important;
}

.brpt h2 {
  color: #e2e8f0 !important;
  font-size: 2.2rem;
  font-weight: 800;
}

.breadcumb-inner ul li a {
  color: #42a5f5 !important;
}

.breadcumb-inner ul li {
  color: #94a3b8 !important;
}

/* ===========================
   5. Section Title Styles
   =========================== */

.witr_section_title h2 {
  color: #e2e8f0 !important;
  font-size: 2rem;
  font-weight: 800;
}

.witr_section_title h3,
.witr_section_title p {
  color: #42a5f5 !important;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 8px;
  margin-bottom: 0;
}

.witr_section_title_inner h3 {
  color: #e2e8f0 !important;
}

/* ===========================
   6. Portfolio / Blog Area Background
   =========================== */

.wirr_portfolio_area {
  background: #0a1024 !important;
  padding: 10px 0 !important;
}

.arnika_blog_area {
  background: #0f1525 !important;
  padding: 10px 0 !important;
}

.arnika_blog2_area {
  background: #0a1024 !important;
  padding: 10px 0 !important;
}

/* ===========================
   7. Testimonial / Team Area
   =========================== */

.witr_testimonial_bg_area {
  background-color: #0f1525 !important;
  position: relative;
}

.witr_testimonial_bg_area::before {
  background: rgba(15, 21, 37, 0.92) !important;
}

.arnika_team_area {
  background: #0a1024 !important;
  padding: 10px 0 !important;
}

.all_color_testimonial {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 12px !important;
  box-shadow: none !important;
}

.test_q_icon i {
  color: #1976d2 !important;
}

.em_testi_title h2 {
  color: #e2e8f0 !important;
}

.em_testi_text p {
  color: #94a3b8 !important;
  line-height: 1.8 !important;
  font-style: italic;
}

/* ===========================
   8. Team Cards
   =========================== */

.all_color_team {
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 10px !important;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03) !important;
  transition: all 0.35s ease;
}

.all_color_team:hover {
  border-color: rgba(25, 118, 210, 0.3) !important;
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3) !important;
}

.all_content_bg_color {
  background: rgba(255, 255, 255, 0.03) !important;
  padding: 16px !important;
}

/* team 新闻卡片内的摘要：固定两行，超出省略 */
.team-card-summary {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #94a3b8;
  font-size: 0.85rem;
  line-height: 1.6;
  margin: 8px 0 0;
}

/* team 新闻卡片内的 meta 信息行 */
.team-card-meta {
  margin-top: 10px;
  justify-content: center;
  gap: 12px;
}

.team-card-meta span {
  color: #cbd5e1 !important;
}

.team-card-meta i {
  color: #60a5fa !important;
}

.team-card-meta .meta-author {
  color: #e2e8f0 !important;
}

.all_content_bg_color h5 a {
  color: #e2e8f0 !important;
}

/* ===========================
   文字型法务页面（Terms / Disclaimer）— 纯文字，无图标无图片
   =========================== */

.terms_page_area,
.disclaimer_page_area,
.about_page_area {
  padding: 60px 0 80px;
}

.terms-content,
.disclaimer-content,
.about-content {
  background: #111c33;
  border: none;
  border-radius: 12px;
  padding: 36px 40px;
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.85;
}

.terms-intro,
.disclaimer-intro,
.about-intro {
  color: #e2e8f0;
  font-size: 1rem;
  margin: 0 0 28px;
}

.terms-section,
.disclaimer-section,
.about-section {
  margin-bottom: 28px;
  padding: 4px 0 20px;
}

.terms-section:last-child,
.disclaimer-section:last-child,
.about-section:last-child {
  margin-bottom: 0;
}

.terms-section h3,
.disclaimer-section h3,
.about-section h3 {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 10px;
}

.terms-section p,
.disclaimer-section p,
.about-section p {
  color: #cbd5e1;
  margin: 0 0 12px;
}

.terms-section p:last-child,
.disclaimer-section p:last-child,
.about-section p:last-child {
  margin-bottom: 0;
}

.terms-contact,
.disclaimer-contact,
.about-contact {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  color: #94a3b8;
}

.terms-contact li,
.disclaimer-contact li,
.about-contact li {
  margin-bottom: 6px;
}

/* About 页报道领域列表 */
.about-topics {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
}

.about-topics li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  color: #cbd5e1;
}

.about-topics li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #42a5f5;
}

@media (max-width: 767px) {
  .terms_page_area,
  .disclaimer_page_area,
  .about_page_area {
    padding: 40px 0 50px;
  }

  .terms-content,
  .disclaimer-content,
  .about-content {
    padding: 24px 20px;
    font-size: 0.9rem;
  }

  .terms-section h3,
  .disclaimer-section h3,
  .about-section h3 {
    font-size: 1rem;
  }
}

.all_content_bg_color span {
  color: #42a5f5 !important;
  font-size: 0.85rem;
}

.witr_team_section img {
  object-fit: cover !important;
}

/* ===========================
   9. Service Cards (Contact Page)
   =========================== */

.all_color_service {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 12px !important;
}

.text_box.all_icon_color i {
  color: #1976d2 !important;
}

.service-item .text_box h3 {
  color: #e2e8f0 !important;
}

/* 覆盖全局 a{color:#17161a}，使卡片标题链接呈浅色 */
.service-item .text_box h3 a {
  color: #e2e8f0 !important;
  transition: color 0.25s ease;
}

.service-item .text_box h3 a:hover {
  color: #42a5f5 !important;
}

.service-item .text_box p {
  color: #94a3b8 !important;
}

/* ===========================
   10. Form Elements
   =========================== */

.witr_apartment_form input,
.witr_apartment_form textarea,
.comment_forms_inner input,
.comment_forms_inner textarea,
.arnika_contact_area input,
.arnika_contact_area textarea {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #e2e8f0 !important;
  border-radius: 8px !important;
  transition: all 0.25s ease;
}

.witr_apartment_form input::placeholder,
.witr_apartment_form textarea::placeholder,
.comment_forms_inner input::placeholder,
.comment_forms_inner textarea::placeholder,
.arnika_contact_area input::placeholder,
.arnika_contact_area textarea::placeholder {
  color: #64748b !important;
}

.witr_apartment_form input:focus,
.witr_apartment_form textarea:focus,
.comment_forms_inner input:focus,
.comment_forms_inner textarea:focus,
.arnika_contact_area input:focus,
.arnika_contact_area textarea:focus {
  border-color: #1976d2 !important;
  background: rgba(25, 118, 210, 0.04) !important;
}

.comment_forms_inner label {
  color: #94a3b8 !important;
}

/* ===========================
   11. Blog Detail Page
   =========================== */

.single_blog.single_blog_grid.singles {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  border-radius: 12px !important;
  overflow: hidden;
}

.arnika-single-blog-title h1 {
  color: #e2e8f0 !important;
  font-weight: 800;
  line-height: 1.3;
}

.arnika-blog-meta-left span,
.arnika-blog-meta-left a {
  color: #94a3b8 !important;
}

.arnika-blog-meta-left i {
  color: #1976d2 !important;
}

.single-blog-content {
  color: #cbd5e1 !important;
  line-height: 1.9 !important;
  font-size: 1.05rem;
}

.single-blog-content p {
  margin-bottom: 1.2rem;
}

.wp-block-quote {
  border-left: 4px solid #1976d2 !important;
  background: rgba(25, 118, 210, 0.06) !important;
  padding: 24px !important;
  border-radius: 0 8px 8px 0 !important;
}

.wp-block-quote p {
  color: #94a3b8 !important;
  font-style: italic;
  font-size: 1.1rem;
}

/* 引擎注入式事件/活动横幅（裸 div 注入，无类名，挂在 .arnika-single-blog-content 下、与正文同级）
   默认黑字在深色背景不可见，统一为与正文一致的浅色 */
.arnika-single-blog-content > div:not(.wp-block-group),
.arnika-single-blog-content > div:not(.wp-block-group) div,
.arnika-single-blog-content > div:not(.wp-block-group) span {
  color: #e2e8f0 !important;
}

.arnika-single-blog-content > div:not(.wp-block-group) h4,
.arnika-single-blog-content > div:not(.wp-block-group) strong {
  color: #e2e8f0 !important;
}

.commment_title h3 {
  color: #e2e8f0 !important;
}

/* 社交分享图标 */
.arnika-single-icon-inner a {
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #cbd5e1 !important;
  background: rgba(255, 255, 255, 0.03) !important;
  transition: all 0.3s ease;
}

.arnika-single-icon-inner a:hover {
  background: #1976d2 !important;
  border-color: #1976d2 !important;
  color: #fff !important;
}

/* 评论区容器 */
.comments,
.comment-respond {
  background: #111c33 !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  box-shadow: none !important;
  border-radius: 12px !important;
}

/* 评论表单输入框 */
.comment_field .input-field input,
.comment_field .textarea-field textarea {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #e2e8f0 !important;
}

.comment_field .input-field input::placeholder,
.comment_field .textarea-field textarea::placeholder {
  color: #64748b !important;
}

.comment_field .input-field label,
.comment_field .textarea-field label {
  color: #94a3b8 !important;
}

/* 提交按钮 */
.arnika_btn {
  background: linear-gradient(135deg, #42a5f5, #1976d2) !important;
  color: #fff !important;
  border-radius: 8px !important;
  font-weight: 600;
}

.arnika_btn:hover {
  background: #1976d2 !important;
}

/* Detail 空数据状态 */
.single_blog.single_blog_grid.singles .empty-data-state {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.single_blog.single_blog_grid.singles .empty-data-icon {
  background: rgba(255, 255, 255, 0.05) !important;
}

.single_blog.single_blog_grid.singles .empty-data-icon i {
  color: #42a5f5 !important;
}

.single_blog.single_blog_grid.singles .empty-data-text h4 {
  color: #e2e8f0 !important;
}

.single_blog.single_blog_grid.singles .empty-data-text p {
  color: #94a3b8 !important;
}

/* Detail 侧边栏 widget 容器 */
.blog-left-side > div {
  background: #111c33 !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  box-shadow: none !important;
  border-radius: 12px !important;
}

/* ===========================
   Detail 评论表单（浅色配色）
   =========================== */

.blog-comment-form {
  background: #111c33;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 28px;
  margin-bottom: 30px;
}

.blog-comment-form h2 {
  color: #e2e8f0;
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 20px;
}

.comment-rating-label {
  color: #cbd5e1;
  font-size: 0.9rem;
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
}

/* 星级评分 */
.comment-rating {
  display: flex;
  gap: 6px;
  margin-bottom: 20px;
}

.comment-rating i {
  color: rgba(255, 255, 255, 0.25);
  font-size: 1.3rem;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
}

.comment-rating i:hover {
  transform: scale(1.12);
}

.comment-rating i.active {
  color: #fbbf24;
}

/* 评论输入框 */
.blog-comment-form textarea#commentContent {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 12px 14px;
  color: #e2e8f0;
  font-size: 0.95rem;
  line-height: 1.7;
  outline: none;
  resize: vertical;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.blog-comment-form textarea#commentContent::placeholder {
  color: #64748b;
}

.blog-comment-form textarea#commentContent:focus {
  border-color: #42a5f5;
  box-shadow: 0 0 0 3px rgba(66, 165, 245, 0.15);
}

/* 未登录提示 */
.comment-login-hint {
  margin-top: 14px;
  color: #94a3b8;
  font-size: 0.9rem;
}

.comment-login-hint a {
  color: #42a5f5;
  text-decoration: none;
}

.comment-login-hint a:hover {
  text-decoration: underline;
}

/* 搜索框 */
.defaultsearch {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 8px !important;
  overflow: hidden;
}

.defaultsearch input {
  background: transparent !important;
  color: #e2e8f0 !important;
}

.defaultsearch input::placeholder {
  color: #64748b !important;
}

.defaultsearch button {
  background: linear-gradient(135deg, #42a5f5, #1976d2) !important;
}

.defaultsearch button:hover {
  background: #1976d2 !important;
}

/* ===========================
   12. About / Privacy Pages
   =========================== */

.about-content-wrapper {
  background: #0a1024 !important;
  padding: 50px 0 !important;
}

.about-section {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  padding: 24px 28px !important;
}

.about-section h3 {
  color: #e2e8f0 !important;
  border-bottom-color: #1976d2 !important;
}

.about-points li {
  border-bottom-color: rgba(255, 255, 255, 0.04) !important;
}

.about-points li::before {
  color: #1976d2 !important;
}

.about-points li p {
  color: #94a3b8 !important;
}

/* ===========================
   13. Category Filter
   =========================== */

.filter_menu .tagBtn {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  color: #94a3b8 !important;
  border-radius: 6px !important;
  transition: all 0.25s ease;
}

.filter_menu .tagBtn:hover,
.filter_menu .current_menu_item {
  background: rgba(25, 118, 210, 0.15) !important;
  border-color: #1976d2 !important;
  color: #1976d2 !important;
}

/* ===========================
   14. Category Grid
   =========================== */

.waterfall-grid .grid-item {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.waterfall-grid .grid-item .portfolio-info {
  background: rgba(255, 255, 255, 0.03) !important;
}

.waterfall-grid .grid-item .portfolio-info h4 {
  color: #cbd5e1 !important;
}

.waterfall-grid .grid-item .prot_content {
  background: rgba(10, 16, 36, 0.85) !important;
}

/* ===========================
   15. Blog List Page
   =========================== */

.blog-part.all_blog_color {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  border-radius: 10px !important;
  overflow: hidden;
  transition: all 0.35s ease;
}

.blog-part.all_blog_color:hover {
  border-color: rgba(25, 118, 210, 0.3) !important;
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.blog_part_inner {
  background: transparent !important;
}

.wblog-content.all_blog_color {
  background: transparent !important;
}

.wblog-content span a,
.wblog-content span {
  color: #94a3b8 !important;
}

.wblog-content span i {
  color: #1976d2 !important;
}

.wblog-content h5 a {
  color: #e2e8f0 !important;
  transition: color 0.25s ease;
}

.wblog-content h5 a:hover {
  color: #1976d2 !important;
}

.wblog-content p {
  color: #94a3b8 !important;
}

/* ===========================
   16. Sidebar Widget
   =========================== */

.widget_recent_entries h4 {
  color: #e2e8f0 !important;
}

.widget_recent_entries h4::after {
  background: linear-gradient(135deg, #1976d2, #42a5f5) !important;
}

.widget_recent_entries ul li {
  border-color: rgba(255, 255, 255, 0.04) !important;
}

.recent_post_content h5 a {
  color: #cbd5e1 !important;
}

.recent_post_content h5 a:hover {
  color: #1976d2 !important;
}

.recent_post_date {
  color: #64748b !important;
}

.recent_post_date i {
  color: #1976d2 !important;
}

.widget_search .defaultsearch input {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #e2e8f0 !important;
  border-radius: 8px !important;
}

.widget_search .defaultsearch button {
  color: #1976d2 !important;
}

/* ===========================
   17. Footer
   =========================== */

.top-address-area {
  background: #080e1e !important;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding: 50px 0 30px !important;
}

.footer-bottom {
  background: #050a17 !important;
  padding: 20px 0 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.copy-right-text p {
  color: #64748b !important;
}

.footer-menu ul li a {
  color: #94a3b8 !important;
  transition: color 0.25s ease;
}

.footer-menu ul li a:hover {
  color: #1976d2 !important;
}

.top_address_content a {
  color: #94a3b8 !important;
}

/* ===========================
   18. Progress Bar (Team Page)
   =========================== */

.witr_progress-style2 .progress-bar {
  background: linear-gradient(135deg, #1976d2, #42a5f5) !important;
  border-radius: 4px !important;
}

.witr_progress-style2 {
  background: rgba(255, 255, 255, 0.06) !important;
  border-radius: 8px !important;
}

.witr_label {
  color: #cbd5e1 !important;
}

/* ===========================
   19. FAQ Accordion (Team Page)
   =========================== */

.accordion_area .card-2 {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  border-radius: 8px !important;
  margin-bottom: 8px;
}

.witr_ac_style {
  color: #cbd5e1 !important;
}

.card-2 .collapse p {
  color: #94a3b8 !important;
}

/* ===========================
   20. Team Page Special
   =========================== */

.team_area .text-editor p {
  color: #94a3b8 !important;
}

.team_area .text-editor span {
  color: #cbd5e1 !important;
}

.team_style2 {
  background: #0a1024 !important;
  padding: 60px 0 !important;
}

.arnika_faq_bg_area {
  background: #0f1525 !important;
  padding: 60px 0 !important;
}

/* ===========================
   21. Swiper / Carousel
   =========================== */

.swiper-container {
  background: #0a1024;
}

.witr_swiper_height {
  background-size: cover;
  background-position: center;
}

.witr_swiper_height::before {
  background: linear-gradient(90deg, rgba(10, 16, 36, 0.9) 0%, rgba(10, 16, 36, 0.5) 60%, rgba(10, 16, 36, 0.3) 100%);
}

.witr_swiper_content h2 {
  color: #fff !important;
  font-weight: 800;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.witr_swiper_content p {
  color: #cbd5e1 !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.swiper-button-next,
.swiper-button-prev {
  color: #1976d2 !important;
}

.swiper-pagination-bullet-active {
  background: #1976d2 !important;
}

/* ===========================
   22. Pagination
   =========================== */

.pagination-link {
  border-color: rgba(255, 255, 255, 0.1) !important;
  background: rgba(255, 255, 255, 0.04) !important;
  color: #94a3b8 !important;
}

.pagination-link:hover:not(.current):not(.disabled) {
  border-color: #1976d2 !important;
  background: rgba(25, 118, 210, 0.1) !important;
  color: #1976d2 !important;
}

.pagination-link.current {
  background: #1976d2 !important;
  border-color: #1976d2 !important;
  color: #fff !important;
}

/* ===========================
   23. Cookie Consent Banner
   =========================== */

.cookie-consent-banner {
  background: #1a1f35 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* ===========================
   24. Social Icons
   =========================== */

.arnika-single-icon-inner a {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  color: #94a3b8 !important;
  transition: all 0.25s ease;
}

.arnika-single-icon-inner a:hover {
  background: #1976d2 !important;
  border-color: #1976d2 !important;
  color: #fff !important;
}

/* ===========================
   25. Contact Page
   =========================== */

.arnika_contact_area {
  background: #0a1024 !important;
  padding: 60px 0 !important;
}

.contact_service.contact_top {
  padding-top: 30px;
}

/* ===========================
   26. Empty Data States
   =========================== */

.empty-data-state {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  border-radius: 12px !important;
}

.empty-data-icon i {
  color: #1976d2 !important;
}

.empty-data-text h4 {
  color: #e2e8f0 !important;
}

.empty-data-text p {
  color: #94a3b8 !important;
}

/* ===========================
   27. General Background
   =========================== */

body {
  background: #0a1024 !important;
  color: #cbd5e1 !important;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #0a1024;
}

::-webkit-scrollbar-thumb {
  background: #1976d2;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #1565c0;
}

/* ===========================
   28. Responsive Fixes
   =========================== */

@media (max-width: 767px) {
  .brpt h2 {
    font-size: 1.6rem;
  }

  .witr_section_title h3 {
    font-size: 1.5rem;
  }

  .user-dropdown-name {
    display: none;
  }

  .user-dropdown-toggle {
    padding: 4px 6px;
  }
}

/* ===========================
   29. Navigation Auth Alignment
   =========================== */

@media (min-width: 992px) {
  .arnika_menu {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .arnika_menu > ul {
    display: flex;
    justify-content: flex-end;
    width: 100%;
  }

  .top-nav-bar {
    order: -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 16px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
}

.user-menu-wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.top-nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.top-nav-links li a {
  color: #cbd5e1;
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.25s ease;
}

.top-nav-links li a:hover {
  color: #42a5f5;
}

/* ===========================
   30. Category Page Grid
   =========================== */

.waterfall-grid .grid-item {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  border-radius: 8px !important;
  overflow: hidden;
  transition: all 0.3s ease;
}

.waterfall-grid .grid-item:hover {
  border-color: rgba(25, 118, 210, 0.3) !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3);
}

.waterfall-grid .grid-item .prot_content_inner {
  background: rgba(10, 16, 36, 0.8) !important;
}

/* ===========================
   31. Blog Single Meta
   =========================== */

.blog-head-title h2 {
  color: #e2e8f0 !important;
}

.blog-info ul li {
  color: #94a3b8 !important;
}

.blog-info ul li a {
  color: #94a3b8 !important;
  transition: color 0.2s ease;
}

.blog-info ul li a:hover {
  color: #1976d2 !important;
}

.blog-info ul li i {
  color: #1976d2 !important;
}

/* ===========================
   32. Section Subtitle
   =========================== */

.witr_section_title_inner span {
  color: #42a5f5 !important;
}

/* ===========================
   33. Screen-Reader-Only Heading (SEO H1)
   =========================== */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===========================
   34. Top Nav Search Button
   =========================== */

.top-search-btn {
  background: transparent;
  border: 0;
  color: #cbd5e1;
  font-size: 15px;
  cursor: pointer;
  padding: 4px 8px;
  margin-left: 10px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  transition: color 0.25s ease;
}

.top-search-btn:hover {
  color: #42a5f5;
}

/* ===========================
   35. Full Screen Search Overlay
   =========================== */

.search-full {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: #0a1024;
  opacity: 0;
  visibility: hidden;
  z-index: 99999;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
}

.search-full.open {
  height: 100%;
  opacity: 1;
  visibility: visible;
}

.search-full .search-close {
  color: #42a5f5;
  font-size: 22px;
  position: absolute;
  top: 30px;
  right: 40px;
  background: transparent;
  border: 0;
  cursor: pointer;
  z-index: 9;
  transition: color 0.3s ease, transform 0.3s ease;
}

.search-full .search-close:hover {
  color: #fff;
  transform: rotate(90deg);
}

.search-full--inner {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 100%;
}

.main-search-form {
  width: 100%;
}

.main-search-form input {
  border: none;
  border-bottom: 2px solid #1976d2;
  background: transparent;
  width: 100%;
  padding: 0 10px 12px;
  color: #fff;
  height: 60px;
  font-size: 24px;
  outline: none;
}

.main-search-form input::-webkit-input-placeholder {
  color: rgba(255, 255, 255, 0.6);
  font-size: 24px;
}

.main-search-form input::-moz-placeholder {
  color: rgba(255, 255, 255, 0.6);
  font-size: 24px;
}

/* ===========================
   36. Hero Section
   =========================== */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 400px;
  /* 顶部留白避开固定导航，底部为 0 以保证内容在导航下方可见区域内垂直居中 */
  padding: 10px 0 0;
  background: linear-gradient(135deg, #0f1525 0%, #0a1024 55%, #101c33 100%);
  overflow: hidden;
}

/* 顶部光晕装饰 */
.hero::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(25, 118, 210, 0.28) 0%, transparent 65%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -45%;
  left: -8%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(66, 165, 245, 0.18) 0%, transparent 65%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-content {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.hero-content h1 {
  color: #ffffff;
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
  letter-spacing: 0.3px;
  white-space: nowrap;
  text-align: center;
}

.hero-content p {
  color: #94a3b8;
  font-size: 1rem;
  line-height: 1.8;
  margin: 12px 0 0;
  text-align: center;
}

.hero-content a {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, #1976d2, #42a5f5);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 6px 20px rgba(25, 118, 210, 0.35);
}

.hero-content a:hover {
  background: linear-gradient(135deg, #1565c0, #1e88e5);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(25, 118, 210, 0.45);
}

@media (max-width: 990px) {
  .hero {
    min-height: 300px;
    padding: 100px 0 0;
  }
}

@media (max-width: 767px) {
  .hero {
    min-height: 280px;
    padding: 100px 0 0;
  }

  .hero-content {
    text-align: center;
    margin: 0 auto;
  }

  .hero-content h1 {
    font-size: clamp(1rem, 4.5vw, 1.3rem);
    white-space: nowrap;
  }

  .hero-content p {
    font-size: 0.9rem;
  }
}
