/* Reset */
:root {
  --color-primary: #006acb;
}
/* Base CSS dành riêng cho Content SEO - Chuẩn Responsive */
.ckeditor {
  font-size: 18px;
  line-height: 1.8;
  color: #333;
}

.ckeditor h1,
.ckeditor h2,
.ckeditor h3,
.ckeditor h4,
.ckeditor h5,
.ckeditor h6 {
  margin-bottom: 1rem;
}

.ckeditor h2 {
  font-size: 24px;
  font-family: 'Roboto', 'Open Sans', Arial, sans-serif;
}
.ckeditor h3 {
  font-size: 22px;
  font-family: 'Roboto', 'Open Sans', Arial, sans-serif;
}
.ckeditor h4 {
  font-size: 20px;
  font-family: 'Roboto', 'Open Sans', Arial, sans-serif;
}
.ckeditor h5 {
  font-size: 18px;
  font-family: 'Roboto', 'Open Sans', Arial, sans-serif;
}
.ckeditor h6 {
  font-size: 16px;
  font-family: 'Roboto', 'Open Sans', Arial, sans-serif;
}

.ckeditor p {
  margin-bottom: 18px;
  font-family: 'Roboto', 'Open Sans', Arial, sans-serif;
}

.ckeditor h2 span,
.ckeditor h3 span {
  font-family: 'Roboto', 'Open Sans', Arial, sans-serif;
}

.ckeditor h4 span,
.ckeditor h5 span,
.ckeditor h6 span,
.ckeditor p span,
.ckeditor li span,
.ckeditor a span {
  font-family: 'Roboto', 'Open Sans', Arial, sans-serif;
}


.ckeditor em {
  font-style: italic;
}

.ckeditor ul,
.ckeditor ol {
  list-style: unset;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  font-family: 'Roboto', 'Open Sans', Arial, sans-serif;
}

.ckeditor ul li,
.ckeditor ol li {
  margin-bottom: 0.5rem;
}

.ckeditor a {
  color: #007bff;
  text-decoration: underline;
  font-family: 'Roboto', 'Open Sans', Arial, sans-serif;
}

.ckeditor a:hover {
  color: #0056b3;
}

.ckeditor img {
  width: 800px;
  max-width: 100%;
  height: auto;
  display: inline-block;
}

.ckeditor table {
  width: 100%;
  overflow-x: auto;
  display: block;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
}

.ckeditor table th,
.ckeditor table td {
  border: 1px solid #ddd;
  padding: 0.75rem;
  text-align: left;
  font-size: 0.95rem;
}

.ckeditor .toc {
  background: #f8f9fa;
  border: 1px solid #ddd;
  padding: 1rem;
  margin-bottom: 2rem;
  border-radius: 0.25rem;
}

.ckeditor .toc ul {
  list-style: none;
  padding-left: 0;
}

.ckeditor .toc ul li {
  margin-bottom: 0.5rem;
}

.ckeditor .toc a {
  color: #212529;
  text-decoration: none;
}

.ckeditor .toc a:hover {
  color: #007bff;
}

.ckeditor hr {
  margin: 1rem 0;
  border: none;
  border-top: 1px solid #ccc;
}

.content-main.ckeditor h2,.content-main.ckeditor h3,.content-main.ckeditor h4 {
  background: -webkit-linear-gradient(var(--color-primary), #00c0fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ckeditor blockquote {
  position: relative;
  font-style: italic;
  color: #444; /* màu chữ tối hơn chút */
  border-left: 4px solid var(--color-primary); /* viền trái */
  margin: 1em 0;
  padding: 1em 1.5em 1em 3em;
  background: linear-gradient(135deg, #fdfdfd, #f6f6f6); /* nền nhẹ với gradient */
  border-radius: 8px; /* bo góc mềm hơn */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); /* đổ bóng nhẹ */
  transition: all 0.3s ease; /* hiệu ứng hover */
  font-family: 'Roboto', 'Open Sans', Arial, sans-serif;
}

.ckeditor blockquote:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.ckeditor blockquote::before {
  content: "“";
  font-size: 5em;
  position: absolute;
  left: 10px;
  top: -25px;
  color: var(--color-primary); /* màu dấu quote */
  opacity: 0.2; /* mờ nhẹ để không quá nổi */
  font-family: Georgia, serif; /* font cổ điển cho quote */
}

.ckeditor blockquote a {
  color: var(--color-primary);
}

.ckeditor blockquote a:hover {
  color: darken(var(--color-primary), 10%);
  text-decoration: underline;
}

/* Responsive Typography */
@media (max-width: 768px) {
  .ckeditor h2 {
    font-size: 22px;
  }
  .ckeditor h3 {
    font-size: 20px;
  }
  .ckeditor h4 {
    font-size: 18px;
  }
  .ckeditor h5 {
    font-size: 16px;
  }
  .ckeditor h6 {
    font-size: 0.875rem;
  }

  .ckeditor table th,
  .ckeditor table td {
    font-size: 0.875rem;
    padding: 0.5rem;
  }
}

@media (max-width: 425px) {
  .ckeditor h2 {
    font-size: 1.25rem;
  }
  .ckeditor h3 {
    font-size: 1rem;
  }
  .ckeditor h4 {
    font-size: 0.875rem;
  }
  .ckeditor h5 {
    font-size: 0.75rem;
  }
  .ckeditor h6 {
    font-size: 0.875rem;
  }

  .ckeditor table th,
  .ckeditor table td {
    font-size: 0.875rem;
    padding: 0.5rem;
  }
}

.a2a_kit .a2a_svg {
  width: 30px;
  height: 30px;
  line-height: 30px;
}

.form-control,
.form-control-plaintext:not(textarea),
.custom-select {
  height: calc(1em + 1.25rem + 8px);
}

.quote-hidden:before,
.quote-hidden:after {
  content: unset;
}

.figcaption-hidden {
  overflow: hidden;
  width: 0;
  height: 0;
}

.hidden-seoh {
  overflow: hidden;
  visibility: hidden;
  height: 0;
  margin: 0;
}
/* Main */
.main-content {
  max-width: 100%;
  padding: 0px;
  margin: 0 auto;
}

.wrap-home {
  max-width: 100%;
  padding: 0;
}

.wrapper-content {
  --w: 1200px;
  width: min(100% - 20px, var(--w));
  margin: 0 auto;
}

.wrap-content {
  --w: 1200px;
  width: min(100% - 20px, var(--w));
  margin: 0 auto;
}

.rps-xl--visible[class*="rps-xl"][class*="--visible"],
.rps-lg--visible[class*="rps-lg"][class*="--visible"],
.rps-md--visible[class*="rps-md"][class*="--visible"],
.rps-sm--visible[class*="rps-sm"][class*="--visible"] {
  display: none !important;
}

.rps-xl--hidden[class*="rps-xl"][class*="--hidden"],
.rps-lg--hidden[class*="rps-lg"][class*="--hidden"],
.rps-md--hidden[class*="rps-md"][class*="--hidden"],
.rps-sm--hidden[class*="rps-sm"][class*="--hidden"] {
  display: block !important;
}

/* Grid Box */
/* Text Truncate */
[class*="text-split"] {
  overflow: hidden;
  display: -webkit-box;
  text-overflow: ellipsis;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: var(--line-clamp, 3);
}

.text-split-1 {
  --line-clamp: 1;
}

.text-split-2 {
  --line-clamp: 2;
}

.text-split-4 {
  --line-clamp: 4;
}

.text-split-5 {
  --line-clamp: 5;
}

.text-split-6 {
  --line-clamp: 6;
}

.text-split-7 {
  --line-clamp: 7;
}

.text-split-8 {
  --line-clamp: 8;
}

/* Transition All */
.transition {
  -webkit-transition: all 0.3s ease-out;
  -moz-transition: all 0.3s ease-out;
  -ms-transition: all 0.3s ease-out;
  -o-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}