.solutions-hero {
  background: linear-gradient(135deg, #32353a 0%, #e84545 100%);
  color: #fff;
  padding: 110px 0 60px;
}
.solutions-hero h1 {
  color: #fff;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.solutions-hero p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 680px;
}

.solutions-hero .breadcrumb-nav {
  background: transparent;
  padding: 0 0 16px;
  font-size: 0.85rem;
}
.solutions-hero .breadcrumb-nav a {
  color: rgba(255,255,255,0.75);
}
.solutions-hero .breadcrumb-nav a:hover {
  color: #fff;
}
.solutions-hero .breadcrumb-nav .sep {
  margin: 0 8px;
  color: rgba(255,255,255,0.5);
}
.solutions-hero .breadcrumb-nav .current {
  color: #fff;
  font-weight: 500;
}
.solutions-hero #heroTitle {
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.3;
}

.solutions-filter-bar {
  background: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
  padding: 16px 0;
  position: sticky;
  top: 90px;
  z-index: 900;
}
.solutions-filter-bar .filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.filter-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid #dee2e6;
  background: #fff;
  color: #495057;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s;
}
.filter-chip:hover {
  border-color: #e84545;
  color: #e84545;
}
.filter-chip.active {
  background: #e84545;
  border-color: #e84545;
  color: #fff;
}

.solution-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.solution-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}
.solution-card .cover {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: #f1f3f5;
}
.solution-card .body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.solution-card .cat-badge {
  display: inline-block;
  vertical-align: middle;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 10px;
  background: #e84545;
  color: #fff;
  margin-left: 6px;
  line-height: 1.4;
  transform: translateY(-2px);
}
.solution-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.4;
}
.solution-card h3 a {
  color: #212529;
  display: inline;
}
.solution-card h3 a:hover {
  color: #e84545;
}
.solution-card .summary {
  color: #6c757d;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 12px;
  flex: 1;
}
.solution-card .meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #eef0f3;
}
.solution-card .meta .date {
  font-size: 0.78rem;
  color: #adb5bd;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.solution-card .meta .read-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #e84545;
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(232,69,69,0.08);
  transition: all 0.2s;
}
.solution-card .meta .read-more:hover {
  background: #e84545;
  color: #fff;
  transform: translateX(2px);
}
.solution-card .meta .read-more .arrow {
  transition: transform 0.2s;
}
.solution-card .meta .read-more:hover .arrow {
  transform: translateX(3px);
}
.solution-card .tags {
  margin-top: 12px;
}
.solution-card .tag {
  display: inline-block;
  font-size: 0.72rem;
  padding: 3px 9px;
  margin: 0 5px 5px 0;
  background: #f1f3f5;
  color: #6c757d;
  border-radius: 12px;
}
.solution-card .card-admin-row {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed #e9ecef;
}

.solution-detail {
  padding: 40px 0 80px;
}
.solutions-hero .hero-cat {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: 16px;
  background: rgba(255,255,255,0.2);
  color: #fff;
  backdrop-filter: blur(4px);
}
.solution-detail .article-meta-bar {
  color: #868e96;
  font-size: 0.88rem;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  padding: 14px 0;
  border-bottom: 1px solid #eef0f3;
  margin-bottom: 30px;
}
.solution-detail .article-cover {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 40px;
}
.solution-detail .article-content {
  font-size: 1.05rem;
  line-height: 1.9;
  color: #343a40;
}
.solution-detail .article-content h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 36px 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f1f3f5;
}
.solution-detail .article-content h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 28px 0 14px;
}
.solution-detail .article-content p {
  margin-bottom: 18px;
}
.solution-detail .article-content ul,
.solution-detail .article-content ol {
  padding-left: 1.5rem;
  margin-bottom: 18px;
}
.solution-detail .article-content li {
  margin-bottom: 8px;
}
.solution-detail .article-content blockquote {
  border-left: 4px solid #e84545;
  padding: 12px 20px;
  background: #f8f9fa;
  color: #495057;
  margin: 20px 0;
  border-radius: 0 8px 8px 0;
}
.solution-detail .article-content code {
  background: #f1f3f5;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
  color: #e84545;
}
.solution-detail .article-content pre {
  background: #212529;
  color: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  overflow-x: auto;
  margin: 20px 0;
}
.solution-detail .article-content pre code {
  background: transparent;
  color: inherit;
  padding: 0;
}
.solution-detail .article-content img {
  max-width: 100%;
  border-radius: 8px;
  margin: 20px 0;
}
.solution-detail .article-tags {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid #e9ecef;
}
.solution-detail .article-tags .tag {
  display: inline-block;
  font-size: 0.8rem;
  padding: 4px 12px;
  margin: 0 6px 6px 0;
  background: #f1f3f5;
  color: #495057;
  border-radius: 20px;
}
.solution-detail .article-tags .tag:hover {
  background: #e84545;
  color: #fff;
}

.breadcrumb-nav {
  background: #f8f9fa;
  padding: 14px 0;
  font-size: 0.9rem;
}
.breadcrumb-nav a {
  color: #6c757d;
}
.breadcrumb-nav a:hover {
  color: #e84545;
}
.breadcrumb-nav .sep {
  margin: 0 8px;
  color: #ced4da;
}
.breadcrumb-nav .current {
  color: #212529;
  font-weight: 500;
}

.editor-layout {
  padding: 40px 0;
}
.editor-layout .editor-header {
  margin-bottom: 30px;
}
.editor-layout .editor-header h1 {
  font-size: 1.8rem;
  font-weight: 700;
}
.editor-layout .card {
  border: none;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border-radius: 12px;
  margin-bottom: 24px;
}
.editor-layout .card-body {
  padding: 24px;
}
.editor-layout label {
  font-weight: 600;
  font-size: 0.9rem;
  color: #495057;
  margin-bottom: 6px;
}
.editor-layout .form-control,
.editor-layout .form-select {
  border-radius: 8px;
  padding: 10px 14px;
}
.editor-layout textarea.form-control {
  min-height: 100px;
}

.rte-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 10px;
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-bottom: none;
  border-radius: 8px 8px 0 0;
  position: sticky;
  top: 70px;
  z-index: 900;
}
.rte-toolbar .tb-group {
  display: flex;
  gap: 3px;
  padding-right: 6px;
  margin-right: 4px;
  border-right: 1px solid #dee2e6;
}
.rte-toolbar .tb-group:last-child { border-right: none; }
.rte-toolbar button,
.rte-toolbar select {
  border: 1px solid #dee2e6;
  background: #fff;
  padding: 5px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.82rem;
  color: #495057;
  transition: all 0.15s;
  line-height: 1.2;
}
.rte-toolbar button:hover,
.rte-toolbar select:hover {
  background: #e84545;
  border-color: #e84545;
  color: #fff;
}
.rte-toolbar button.active {
  background: #32353a;
  border-color: #32353a;
  color: #fff;
}
.rte-toolbar input[type="color"] {
  width: 32px;
  height: 30px;
  padding: 1px;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  cursor: pointer;
  background: #fff;
}
.rte-toolbar .tb-group .divider {
  width: 1px;
  height: 20px;
  background: #dee2e6;
  margin: 0 4px;
}
.rte-toolbar button[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
}
.rte-toolbar button[disabled]:hover {
  background: #fff;
  border-color: #dee2e6;
  color: #495057;
}
.rte-editor {
  min-height: 420px;
  max-height: 70vh;
  overflow-y: auto;
  border: 1px solid #dee2e6;
  border-radius: 0 0 8px 8px;
  padding: 20px;
  background: #fff;
  outline: none;
  font-size: 1rem;
  line-height: 1.8;
  overflow-wrap: break-word;
  word-break: break-word;
  box-sizing: border-box;
}
.rte-editor::-webkit-scrollbar {
  width: 8px;
}
.rte-editor::-webkit-scrollbar-thumb {
  background: #ced4da;
  border-radius: 4px;
}
.rte-editor::-webkit-scrollbar-thumb:hover {
  background: #adb5bd;
}
.rte-editor:focus {
  border-color: #e84545;
  box-shadow: 0 0 0 3px rgba(232, 69, 69, 0.15);
}
.rte-editor img {
  max-width: 100%;
  height: auto !important;
  border-radius: 6px;
  margin: 8px 0;
  cursor: pointer;
  transition: box-shadow 0.15s;
}
.rte-editor img:hover {
  box-shadow: 0 0 0 2px #e84545;
}
.rte-editor img.align-center {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.rte-editor img.align-right {
  float: right;
  margin-left: 16px;
  max-width: 50%;
}
.rte-editor img.align-left {
  float: left;
  margin-right: 16px;
  max-width: 50%;
}
.rte-editor img.img-selected {
  box-shadow: 0 0 0 3px #e84545, 0 0 0 6px rgba(232,69,69,0.2);
  outline: none;
}
.rte-editor img {
  max-width: 100%;
  height: auto !important;
}
.rte-editor table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 0.9rem;
}
.rte-editor table td,
.rte-editor table th {
  border: 1px solid #dee2e6;
  padding: 8px 12px;
  text-align: left;
}
.rte-editor table th {
  background: #f8f9fa;
  font-weight: 600;
}
.rte-editor h2 { font-size: 1.5rem; font-weight: 700; margin: 24px 0 12px; }
.rte-editor h3 { font-size: 1.25rem; font-weight: 600; margin: 20px 0 10px; }
.rte-editor h4 { font-size: 1.1rem; font-weight: 600; margin: 18px 0 8px; }
.rte-editor p { margin-bottom: 14px; }
.rte-editor blockquote {
  border-left: 4px solid #e84545;
  padding: 10px 16px;
  background: #f8f9fa;
  color: #495057;
  margin: 16px 0;
}
.rte-editor ul, .rte-editor ol { padding-left: 1.5rem; margin-bottom: 14px; }
.rte-editor li { margin-bottom: 4px; }
.rte-editor code { background: #f1f3f5; padding: 2px 6px; border-radius: 4px; color: #e84545; font-size: 0.88em; }
.rte-editor pre {
  background: #2d2d2d;
  color: #f8f8f2;
  padding: 14px 18px;
  border-radius: 8px;
  overflow-x: auto;
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 16px 0;
}
.rte-editor pre code {
  background: transparent;
  color: inherit;
  padding: 0;
}
.rte-editor hr {
  border: none;
  border-top: 1px solid #dee2e6;
  margin: 24px 0;
}
.rte-editor a {
  color: #e84545;
  text-decoration: underline;
}
.rte-editor iframe,
.rte-editor video {
  max-width: 100%;
  border-radius: 6px;
  margin: 12px 0;
}

.tag-input-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px;
  border: 1px solid #ced4da;
  border-radius: 8px;
  background: #fff;
  min-height: 44px;
}
.tag-input-wrap .tag-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: #e84545;
  color: #fff;
  border-radius: 14px;
  font-size: 0.85rem;
}
.tag-input-wrap .tag-item button {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 1rem;
  padding: 0;
  line-height: 1;
}
.tag-input-wrap input {
  flex: 1;
  min-width: 120px;
  border: none;
  outline: none;
  padding: 4px;
  font-size: 0.9rem;
}

.admin-toolbar {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  gap: 8px;
  z-index: 99;
}
.admin-toolbar .btn {
  border-radius: 24px;
  padding: 10px 20px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.empty-state {
  text-align: center;
  padding: 80px 20px;
  color: #868e96;
}
.empty-state i {
  font-size: 4rem;
  margin-bottom: 16px;
  display: block;
}
.empty-state h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
  color: #495057;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 40px;
}
.pagination button {
  padding: 8px 14px;
  border: 1px solid #dee2e6;
  background: #fff;
  border-radius: 6px;
  cursor: pointer;
}
.pagination button:hover:not(:disabled) {
  border-color: #e84545;
  color: #e84545;
}
.pagination button.active {
  background: #e84545;
  border-color: #e84545;
  color: #fff;
}
.pagination button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

@media (max-width: 768px) {
  .solutions-hero { padding: 100px 0 40px; }
  .solutions-hero h1 { font-size: 1.8rem; }
  .solutions-hero #heroTitle { font-size: 1.6rem; }
  .solution-detail .article-header h1 { font-size: 1.6rem; }
  .solutions-filter-bar { top: 56px; }
  .solution-card .cover { height: 160px; }
  .solution-card .meta { flex-wrap: wrap; gap: 10px; }
}

.side-card{background:#fff;border-radius:12px;box-shadow:0 2px 12px rgba(0,0,0,.06);padding:22px 20px;margin-bottom:20px;border:1px solid #f0f0f0}
.side-card-title{font-size:1.05rem;font-weight:700;color:#222;margin:0 0 16px 0;padding-bottom:10px;border-bottom:2px solid #f0f0f0;display:flex;align-items:center;gap:8px}
.side-card-title i{color:#dc3545;font-size:1.1rem}
.side-list{list-style:none;margin:0;padding:0}
.side-list li{display:flex;align-items:center;justify-content:space-between;padding:9px 12px;margin-bottom:4px;border-radius:8px;transition:all .2s}
.side-list li:hover{background:#fdf0f2}
.side-list li a{color:#444;text-decoration:none;font-size:.92rem;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.side-list li:hover a{color:#dc3545}
.side-list li .count{font-size:.75rem;color:#999;background:#f5f5f5;padding:2px 8px;border-radius:10px;margin-left:8px;flex-shrink:0}
.side-list li.active{background:#dc3545}
.side-list li.active a{color:#fff}
.side-list li.active .count{background:rgba(255,255,255,.25);color:#fff}
.side-related-link{display:block;padding:9px 0;border-bottom:1px dashed #eee;font-size:.9rem;color:#444;text-decoration:none;line-height:1.5}
.side-related-link:last-child{border-bottom:none}
.side-related-link:hover{color:#dc3545}
.side-related-link .side-related-date{font-size:.75rem;color:#aaa;margin-top:2px;display:block}
.side-tags{display:flex;flex-wrap:wrap;gap:8px}
.side-tags .tag{display:inline-block;padding:4px 12px;background:#f5f5f5;color:#666;border-radius:16px;font-size:.8rem;text-decoration:none;transition:all .2s}
.side-tags .tag:hover{background:#dc3545;color:#fff}
@media (max-width:991.98px){aside.col-lg-4{order:-1}}