/* ========== BASE TYPOGRAPHY ========== */
.nc-blog-2025 {
  font-family: 'Poppins', sans-serif;
  color: #002d6e;
  line-height: 1.6;
}

.nc-blog-2025 h1,
.nc-blog-2025 h2,
.nc-blog-2025 h3,
.nc-blog-2025 h4,
.nc-blog-2025 h5 {
  font-family: 'Poppins', sans-serif !important;
  font-weight: 500;
  color: #181A2A;
  margin-bottom: 0.75rem;
}

.nc-blog-2025 h1 {
  font-size: 34px;
}

.nc-blog-2025 h2 {
  font-size: 30px;
}

.nc-blog-2025 h3 {
  font-size: 26px;
}

.nc-blog-2025 h4 {
  font-size: 22px;
}

.nc-blog-2025 h5 {
  font-size: 18px;
}

@media (max-width: 767px) {
  .nc-blog-2025 h1 {
    font-size: 24px;
  }

  .nc-blog-2025 h2 {
    font-size: 18px;
  }

  .nc-blog-2025 h3 {
    font-size: 18px;
  }

  .nc-blog-2025 h4 {
    font-size: 18px;
  }

  .nc-blog-2025 h5 {
    font-size: 16px;
  }
}

/* Paragraphs & Lists */
.nc-blog-2025 p {
  margin-bottom: 2rem;
  color: #536179;
  font-size: 13pt;
  line-height: 1.75;
}

.nc-blog-2025 ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin-bottom: 1.25rem;
}

.nc-blog-2025 ul li {
  margin-bottom: 1.25rem;
  color: #002d6e;
}

/* Links */
.nc-blog-2025 a {
  color: #13A9F9;
  text-decoration: none;
  transition: color 0.2s;
}

.nc-blog-2025 a:hover,
.nc-blog-2025 a:focus {
  color: #0f8dd0;
  text-decoration: underline;
}

/* Buttons */
.nc-blog-2025 a.button,
.nc-blog-2025 button,
.nc-blog-2025 .btn {
  background-color: #13A9F9;
  color: #fff;
  border: 0;
  border-radius: 6px;
  padding: 12px 24px;
  font-weight: 600;
  font-size: 1rem;
  display: inline-block;
  text-decoration: none;
  transition: background-color 0.2s;
}

.nc-blog-2025 a.button:hover,
.nc-blog-2025 button:hover,
.nc-blog-2025 .btn:hover {
  background-color: #0f8dd0;
  color: #fff;
}

/* Section Titles */
.nc-blog-2025 .section-title {
  font-family: 'Helvetica Neue', sans-serif !important;
  font-size: 1.75rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid #007bff;
  display: inline-block;
}

/* ========== BLOG PAGE GENERAL ========== */
.nc-blog-2025 .btn.cta {
  background: linear-gradient(90deg, #0c77bd, #348ec9);
  text-transform: none;
  border-radius: 12pt;
  font-weight: 500;
  font-size: 13pt;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

/* Blog Card */
.nc-blog-2025 .blog-card {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  background: linear-gradient(45deg, #a3f4c3, #45c97a);
  border-radius: 24pt !important;
}

.nc-blog-2025 .blog-card.sticky-top {
  position: sticky;
}

.nc-blog-2025 .blog-card.blog-query-form {
  background: #ffe2e8;
}

.nc-blog-2025 .blog-card .text-danger {
  color: red;
}

.nc-blog-2025 .blog-card .text-content {
  position: relative;
  z-index: 1;
}

.nc-blog-2025 .blog-card .text-dark {
  font-size: 13pt;
}

.nc-blog-2025 .blog-card h4 {
  color: #3F3F3F;
  font-size: 2rem;
}

.nc-blog-2025 .blog-card .image-holder {
  min-height: 250px;
  height: 100%;
  position: absolute;
  z-index: 0;
  right: 1px;
  bottom: 0px;

}

@media screen and (max-width: 767px) {
  .nc-blog-2025 .blog-card .image-holder {
    display: none;
  }
}

.responsive-video {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 25px;
  margin-bottom: 30px;
}

.responsive-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 25px;
}


.nc-blog-2025 .blog-card .image-holder img {
  height: 100%;
}

/* Blog Card Form Inputs */
.nc-blog-2025 .blog-card form input[type="text"],
.nc-blog-2025 .blog-card form input[type="email"],
.nc-blog-2025 .blog-card form input[type="tel"] {
  padding-left: 10pt;
  height: 42px;
  border-radius: 8pt;
  border: 1px solid #ddd;
  font-size: 12pt;
}

.nc-blog-2025 .blog-card form input[type="tel"] {
  border-left: 0;
}

.nc-blog-2025 .blog-card form .input-group-text {
  padding: 0.375rem 0.75rem;
  background: white;
  border-radius: 8pt 0 0 8pt;
}

/* Blog Cards */
.nc-blog-2025 .card {
  transition: all 0.2s ease-in-out;
  border-radius: 25px !important;
}

.nc-blog-2025 .card.light-blue {
  background-color: #F1F8FE !important;
}

.nc-blog-2025 .card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

.nc-blog-2025 .card-title {
  font-size: 1rem;
  line-height: 1.4;
  max-height: 2.8em;
  overflow: hidden;
}

.nc-blog-2025 .card-text {
  font-size: 0.9rem;
  line-height: 1.4;
  max-height: 2.8em;
  overflow: hidden;
  color: #555;
}

.nc-blog-2025 .btn-sm {
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
}

/* Related Blogs */
.nc-blog-2025 .related-blogs .card-body {
  background-color: #F1F8FE !important;
}

.nc-blog-2025 .related-blogs .card {
  border: 1px solid #e2e4ea !important;
}

/* CTA Forms */
.nc-blog-2025 .cta-form input,
.nc-blog-2025 .cta-form select {
  margin-bottom: 0.75rem;
  border-radius: 0.3rem;
  border: 1px solid #ccc;
  padding: 0.5rem 0.75rem;
  width: 100%;
}

.nc-blog-2025 .cta-form button {
  background-color: #007bff;
  border: none;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0.3rem;
  font-weight: 600;
  width: 100%;
}

/* Popular Articles */
.nc-blog-2025 .list-group-item {
  background: #fff;
  border: none;
}

.nc-blog-2025 .list-group-item:hover {
  background-color: #f1f8fe;
  text-decoration: none;
}

.nc-blog-2025 .list-group-item .small {
  font-weight: 600;
  color: #333;
}

.nc-blog-2025 .list-group-item .text-muted {
  font-size: 0.75rem;
}

/* Search Bar */
.nc-blog-2025 form input[type="text"] {
  padding-left: 2.5rem;
  height: 40px;
  border-radius: 999px;
  border: 1px solid #ddd;
  font-size: 0.9rem;
}

/* Category Navigation */
.nc-blog-2025 .border-bottom a {
  font-size: 0.95rem;
  text-decoration: none;
}

.nc-blog-2025 .border-bottom a:hover {
  color: #0056b3;
}

/* Pagination */
.nc-blog-2025 .pagination {
  margin-top: 2rem;
}

.nc-blog-2025 .page-item.active .page-link {
  background-color: #007bff;
  border-color: #007bff;
}

.nc-blog-2025 .page-link {
  color: #007bff;
}

/* Table Styling */
.nc-blog-2025 table {
  border-radius: 12px;
}

/* Badge */
.nc-blog-2025 .badge-primary {
  background-color: #124368;
}

/* TOC */
.nc-toc {
  background-color: #e6f0fa;
  border-radius: 12px;
  padding: 1.5rem;
  font-size: 13pt;
}

.nc-toc h5 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #1a1a1a !important;
}

.nc-toc ul {
  list-style: none;
  margin: 0;
  padding-left: 0 !important;
}

.nc-toc li {
  margin-bottom: 0.75rem;
  list-style-type: none;
}

.nc-toc a {
  color: #343D4C !important;
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.2s;
  padding-right: 12px;
}

.nc-toc a:hover {
  color: #007bff !important;
}

.nc-toc a.active {
  color: #0D74BA !important;
  position: relative;
}

.nc-toc a.active::after {
  content: '';
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background-image: url('/wp-content/themes/understrap-child/blog-2025/assets/chevron-right.png');
  background-size: contain;
  background-repeat: no-repeat;
}

/* FAQ Section */
.nc-faq {
  margin-top: 2rem;
  border: 1px solid #E1E4EA;
  border-radius: 1.5rem;
  padding: 3rem;
}

.nc-faq h4 {
  font-size: 1.2rem;
  font-weight: 600;
}

.nc-blog-2025 .nc-faq h2 {
  font-weight: bold;
}

.nc-faq hr {
  border: none;
  border-top: 1px solid #84C9F5;
}

.nc-faq .faq-item {
  margin-bottom: 1rem;
}

.nc-faq .faq-question {
  font-weight: 600;
  cursor: pointer;
}

.nc-faq .faq-answer {
  font-size: 0.9rem;
  display: none;
  padding-top: 0.5rem;
}

.nc-faq .faq-content h4,
.nc-faq .faq-content h5 {
  font-size: 1.125rem;
  color: #1a1a1a;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.nc-faq .faq-content p {
  color: #555e6c;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

/* UTILITIES */
.force-two-lines {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Jagged Edges */
.jagged-bottom,
.jagged-top {
  position: relative;
  z-index: 1;
}

.jagged-bottom::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 10px;
  background: url('data:image/svg+xml;utf8,...') no-repeat;
  background-size: cover;
}

.jagged-top::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 10px;
  background: url('data:image/svg+xml;utf8,...') no-repeat;
  background-size: cover;
}