/* ============================================================
   ADI Solutions Blog Theme - blog-style.css
   Specific styles for the WordPress blog section
   Colors: Pink #e42d7e | Blue #1140a0 | Dark #111
   Fonts: Raleway (headings) | Open Sans / Poppins (body)
   ============================================================ */

/* ── Reset / Scope ──────────────────────────────────────────── */
*,
*::before,
*::after { box-sizing: border-box; }

/* Add top padding to body to compensate for fixed header + topbar */
body.blog,
body.single,
body.archive,
body.page,
body.error404 {
  padding-top: 110px;
}

/* ── Blog Hero ──────────────────────────────────────────────── */
.bl-hero {
  position: relative;
  background: url('../../../../assets/img/blog-banner.webp') center center / cover no-repeat;
  min-height: 280px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 40px;
}

.bl-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(17,64,160,0.82) 0%, rgba(228,45,126,0.72) 100%);
}

.bl-hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
}

.bl-hero-title {
  font-family: 'Raleway', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  margin: 0 0 8px;
  color: #fff;
}

.bl-hero-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.88);
  margin: 0 0 14px;
  max-width: 600px;
}

/* Breadcrumb in hero */
.bl-breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
  font-size: 13px;
}

.bl-breadcrumb .breadcrumb-item a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: color 0.2s;
}

.bl-breadcrumb .breadcrumb-item a:hover { color: #fff; }
.bl-breadcrumb .breadcrumb-item.active { color: rgba(255,255,255,0.6); }
.bl-breadcrumb .breadcrumb-item + .bl-breadcrumb .breadcrumb-item::before { color: rgba(255,255,255,0.5); }

/* ── Blog Listing Section ───────────────────────────────────── */
.bl-listing-sec {
  padding: 60px 0 80px;
  background: #f7f8fc;
}

/* 3-column grid */
.bl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

@media (max-width: 1199px) {
  .bl-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; }
}

@media (max-width: 991px) {
  .bl-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
}

@media (max-width: 575px) {
  .bl-grid { grid-template-columns: 1fr; gap: 22px; }
}

/* Blog Card */
.bl-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(17,64,160,0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.bl-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(228,45,126,0.13);
}

.bl-card-img-wrap {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.bl-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.bl-card:hover .bl-card-img { transform: scale(1.05); }

.bl-card-cat {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #e42d7e;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.bl-card-body {
  padding: 22px 22px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.bl-card-meta {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: #888;
  margin-bottom: 10px;
}

.bl-card-meta i { margin-right: 4px; color: #e42d7e; }

.bl-card-title {
  font-family: 'Raleway', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 10px;
  line-height: 1.45;
}

.bl-card-title a {
  color: #111;
  text-decoration: none;
  transition: color 0.2s;
}

.bl-card-title a:hover { color: #e42d7e; }

.bl-card-excerpt {
  font-size: 14px;
  color: #666;
  line-height: 1.65;
  margin: 0 0 16px;
  flex: 1;
}

.bl-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  color: #1140a0;
  text-decoration: none;
  transition: gap 0.2s, color 0.2s;
}

.bl-card-cta:hover { color: #e42d7e; gap: 10px; text-decoration: none; }

/* ── Pagination ─────────────────────────────────────────────── */
.bl-pagination { display: flex; justify-content: center; }

.bl-pagination .page-numbers {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 8px;
}

.bl-pagination .page-numbers li a,
.bl-pagination .page-numbers li span {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 14px;
  color: #444;
  text-decoration: none;
  transition: 0.2s;
}

.bl-pagination .page-numbers li a:hover,
.bl-pagination .page-numbers li span.current {
  background: #e42d7e;
  border-color: #e42d7e;
  color: #fff;
}

/* ── No Posts ───────────────────────────────────────────────── */
.bl-no-posts {
  text-align: center;
  padding: 70px 20px;
}

.bl-no-posts-icon {
  font-size: 4rem;
  color: #e42d7e;
  margin-bottom: 20px;
}

.bl-no-posts h3 {
  font-family: 'Raleway', sans-serif;
  font-size: 1.5rem;
  color: #111;
  margin-bottom: 12px;
}

.bl-no-posts p {
  color: #666;
  font-size: 15px;
  max-width: 480px;
  margin: 0 auto 28px;
}

/* ── Buttons ────────────────────────────────────────────────── */
.bl-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #e42d7e;
  color: #fff;
  padding: 12px 26px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  border: none;
  cursor: pointer;
}

.bl-btn-primary:hover { background: #c7206c; color: #fff; transform: translateY(-2px); text-decoration: none; }

.bl-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: #1140a0;
  padding: 12px 26px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid #1140a0;
  transition: 0.2s;
}

.bl-btn-outline:hover { background: #1140a0; color: #fff; text-decoration: none; }

/* ── Single Post Hero ───────────────────────────────────────── */
.bl-single-hero {
  position: relative;
  background: #1140a0 url('../../../../assets/img/blog-banner.webp') center center / cover no-repeat;
  min-height: 280px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 40px;
}
.bl-single-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(17,64,160,0.82) 0%, rgba(228,45,126,0.72) 100%);
  z-index: 1;
}

.bl-single-thumb {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.bl-single-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bl-single-thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(17,64,160,0.82) 0%, rgba(228,45,126,0.72) 100%);
}

.bl-single-hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding-bottom: 10px;
}

.bl-single-cat-badge {
  display: inline-block;
  background: #e42d7e;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}

.bl-single-title {
  display: block;
  font-family: 'Raleway', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 16px;
  line-height: 1.3;
  max-width: 860px;
}

.bl-single-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 13px;
  color: #666;
}

.bl-single-meta i {
  margin-right: 5px;
  color: #e42d7e;
}

@media (max-width: 767px) {
  .bl-single-title { font-size: 1.5rem; }
  .bl-single-hero { padding-bottom: 28px; }
}

/* ── Single Post Body Layout ────────────────────────────────── */
.bl-single-sec {
  padding: 50px 0 80px;
  background: #f7f8fc;
  overflow: visible; /* override global section{overflow:hidden} so position:sticky works */
}

.bl-single-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 36px;
  /* align-items: stretch (default) — sidebar spans full content height so sticky works */
}

@media (max-width: 1199px) {
  .bl-single-layout { grid-template-columns: 1fr 300px; gap: 28px; }
}

@media (max-width: 991px) {
  .bl-single-layout { grid-template-columns: 1fr; }
}

/* ── Table of Contents ──────────────────────────────────────── */
.bl-toc-wrap {
  background: #fff;
  border-radius: 8px;
  border-left: 4px solid #e42d7e;
  box-shadow: 0 2px 10px rgba(17,64,160,0.07);
  margin-bottom: 30px;
  overflow: hidden;
}

.bl-toc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  background: #fafafa;
  border-bottom: 1px solid #eee;
  font-weight: 700;
  font-size: 14px;
  color: #111;
}

.bl-toc-header i { margin-right: 6px; color: #e42d7e; }

.bl-toc-toggle {
  background: none;
  border: none;
  cursor: pointer;
  color: #888;
  padding: 0;
  font-size: 18px;
  transition: transform 0.2s;
}

.bl-toc-toggle.collapsed { transform: rotate(180deg); }

.bl-toc-nav { padding: 14px 18px; }

.bl-toc-nav ol,
.bl-toc-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: toc-section;
}

.bl-toc-nav li {
  counter-increment: toc-section;
  margin-bottom: 6px;
}

.bl-toc-nav > ol > li > a::before,
.bl-toc-nav > ul > li > a::before {
  content: counter(toc-section) ". ";
  color: #e42d7e;
  font-weight: 700;
}

.bl-toc-nav a {
  font-size: 13.5px;
  color: #444;
  text-decoration: none;
  transition: color 0.2s;
  display: block;
  line-height: 1.5;
}

.bl-toc-nav a:hover,
.bl-toc-nav a.bl-toc-active { color: #e42d7e; }

/* Nested TOC (H3) */
.bl-toc-nav li ul { padding-left: 16px; margin-top: 4px; }
.bl-toc-nav li ul li::before { content: none; }
.bl-toc-nav li ul li a { font-size: 12.5px; color: #666; }
.bl-toc-nav li ul li a::before { content: none; }

/* Sidebar TOC — sticky */
.bl-toc-sidebar {
  position: sticky;
  top: 110px;
  max-height: calc(100vh - 130px);
  overflow-y: auto;
}

/* Inline TOC — always visible (sidebar TOC removed) */
.bl-toc-inline { display: block; }

/* ── Featured Image in Content ──────────────────────────────── */
.bl-post-featured {
  margin: -36px -36px 0;
  overflow: hidden;
  border-radius: 10px 10px 0 0;
}

.bl-post-featured-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

@media (max-width: 767px) {
  .bl-post-featured { margin: -22px -18px 0; }
  .bl-post-featured-img { height: 220px; }
}

/* ── Post Entry Header (category + H1 + meta) ───────────────── */
.bl-post-entry-header {
  padding: 28px 0 20px;
  border-bottom: 2px solid #f0f0f0;
  margin-bottom: 28px;
}

.bl-post-cat-badge {
  display: inline-block;
  background: #fce8f5;
  color: #e42d7e;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  margin-bottom: 14px;
  transition: background 0.2s, color 0.2s;
}

.bl-post-cat-badge:hover {
  background: #e42d7e;
  color: #fff;
  text-decoration: none;
}

.bl-post-title {
  font-family: 'Raleway', sans-serif;
  font-size: 1.9rem;
  font-weight: 800;
  color: #111;
  line-height: 1.35;
  margin: 0 0 16px;
}

@media (max-width: 767px) {
  .bl-post-title { font-size: 1.4rem; }
}

/* ── Post Content Typography ────────────────────────────────── */
.bl-single-main {
  background: #fff;
  border-radius: 10px;
  padding: 36px;
  box-shadow: 0 2px 12px rgba(17,64,160,0.06);
}

@media (max-width: 575px) {
  .bl-single-main { padding: 22px 18px; }
}

/* ── Post Content Base ──────────────────────────────────────── */
.bl-post-content {
  font-family: 'Poppins', sans-serif;
}

.bl-post-content h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  color: #111;
  margin: 30px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid #f0f0f0;
  position: relative;
}

.bl-post-content h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 50px;
  height: 2px;
  background: #e42d7e;
}

.bl-post-content h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #1140a0;
  margin: 24px 0 10px;
}

.bl-post-content h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #333;
  margin: 20px 0 8px;
}

.bl-post-content p {
  font-size: 15.5px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 16px;
}

.bl-post-content ul,
.bl-post-content ol {
  padding-left: 22px;
  margin-bottom: 18px;
}

.bl-post-content li {
  font-size: 15px;
  line-height: 1.75;
  color: #444;
  margin-bottom: 6px;
}

.bl-post-content ul li::marker { color: #e42d7e; }

.bl-post-content a {
  color: #1140a0;
  text-decoration: underline;
  transition: color 0.2s;
}

.bl-post-content a:hover { color: #e42d7e; }

.bl-post-content strong { color: #111; }

.bl-post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 10px 0 20px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.bl-post-content blockquote {
  background: #f0f4ff;
  border-left: 4px solid #1140a0;
  padding: 18px 22px;
  border-radius: 0 8px 8px 0;
  margin: 24px 0;
  font-style: italic;
  color: #333;
  font-size: 15px;
}

/* ── Table ── */
.bl-post-content .bl-table-wrap {
  overflow-x: auto;
  margin: 20px 0;
}

/* !important needed — WP block stylesheet sets table-layout:fixed with higher specificity */
.bl-post-content table,
.bl-post-content figure.wp-block-table table,
.bl-post-content table.has-fixed-layout {
  width: 100% !important;
  border-collapse: collapse !important;
  table-layout: auto !important;
  font-size: 14.5px;
  background: #fff;
  border: 1px solid #dde3f0;
}

.bl-post-content table th,
.bl-post-content table tbody tr:first-child td {
  background: #1140a0;
  color: #fff;
  font-weight: 700;
  font-size: 13.5px;
  padding: 12px 16px;
  text-align: left;
  border: 1px solid #0d3490;
  white-space: nowrap;
}

/* strong inside header cells inherits white (overrides bl-post-content strong color:#111) */
.bl-post-content table th strong,
.bl-post-content table tbody tr:first-child td strong {
  color: #fff;
}

.bl-post-content table td {
  padding: 11px 16px;
  border: 1px solid #dde3f0;
  color: #444;
  vertical-align: top;
  line-height: 1.6;
}

/* First column — prevent wrapping on short labels */
.bl-post-content table td:first-child {
  white-space: nowrap;
  font-weight: 600;
}

.bl-post-content table tbody tr:nth-child(even) td { background: #f5f7fc; }
.bl-post-content table tbody tr:hover td { background: #eef1fa; }
.bl-post-content table tbody tr:first-child:hover td { background: #1140a0; }

.bl-post-content pre,
.bl-post-content code {
  background: #f5f5f5;
  border-radius: 5px;
  font-size: 13.5px;
  font-family: 'Courier New', Courier, monospace;
}

.bl-post-content pre {
  padding: 18px;
  overflow-x: auto;
  margin-bottom: 18px;
}

.bl-post-content code { padding: 2px 6px; }

/* ── Tags ───────────────────────────────────────────────────── */
.bl-tags-wrap {
  margin: 28px 0 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.bl-tags-label {
  font-size: 13px;
  font-weight: 600;
  color: #888;
}

.bl-tags-label i { margin-right: 4px; color: #e42d7e; }

.bl-tag {
  display: inline-block;
  background: #f0f4ff;
  color: #1140a0;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 20px;
  text-decoration: none;
  transition: 0.2s;
  font-weight: 500;
}

.bl-tag:hover { background: #e42d7e; color: #fff; text-decoration: none; }

/* ── Social Share ───────────────────────────────────────────── */
.bl-share-wrap {
  padding: 22px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  margin: 14px 0 28px;
}

.bl-share-label {
  font-size: 13px;
  font-weight: 600;
  color: #888;
  margin-bottom: 12px;
  display: block;
}

.bl-share-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bl-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
  border: none;
  cursor: pointer;
}

.bl-share-btn:hover { opacity: 0.85; transform: translateY(-2px); text-decoration: none; }

.bl-share-fb { background: #1877f2; color: #fff; }
.bl-share-tw { background: #000; color: #fff; }
.bl-share-li { background: #0077b5; color: #fff; }
.bl-share-wa { background: #25d366; color: #fff; }
.bl-share-cp { background: #f0f4ff; color: #1140a0; }
.bl-share-cp.copied { background: #e7fdf0; color: #1a8a43; }

/* ── Prev / Next Navigation ─────────────────────────────────── */
.bl-post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 28px;
}

@media (max-width: 575px) {
  .bl-post-nav { grid-template-columns: 1fr; }
}

.bl-post-nav-item {
  background: #f7f8fc;
  border-radius: 8px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: background 0.2s;
}

.bl-post-nav-item:hover { background: #eef2ff; }

.bl-post-nav-next { text-align: right; }

.bl-post-nav-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #e42d7e;
}

.bl-post-nav-title {
  font-size: 13.5px;
  font-weight: 600;
  color: #111;
  text-decoration: none;
  line-height: 1.4;
  transition: color 0.2s;
}

.bl-post-nav-title:hover { color: #1140a0; text-decoration: none; }

/* ── Sidebar Cards ──────────────────────────────────────────── */
.bl-single-sidebar { display: flex; flex-direction: column; gap: 24px; }

/* ── Sidebar Search ─────────────────────────────────────────── */
.bl-search-form { margin-top: 4px; }

.bl-search-wrap {
  display: flex;
  border: 2px solid #e8e8e8;
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.bl-search-wrap:focus-within { border-color: #e42d7e; }

.bl-search-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 10px 14px;
  font-size: 13.5px;
  font-family: 'Poppins', sans-serif;
  color: #333;
  background: #fff;
}

.bl-search-btn {
  background: #e42d7e;
  border: none;
  color: #fff;
  padding: 0 16px;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.bl-search-btn:hover { background: #c4246a; }

/* ── Sidebar Cards ──────────────────────────────────────────── */
.bl-sidebar-card {
  background: #fff;
  border-radius: 10px;
  padding: 24px;
  box-shadow: 0 2px 12px rgba(17,64,160,0.07);
}

.bl-sidebar-title {
  font-family: 'Raleway', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: #111;
  margin: 0 0 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f0f0f0;
  position: relative;
}

.bl-sidebar-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 36px;
  height: 2px;
  background: #e42d7e;
}

/* Recent Posts */
.bl-recent-list { list-style: none; padding: 0; margin: 0; }

.bl-recent-item {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}

.bl-recent-item:last-child { border-bottom: none; padding-bottom: 0; }

.bl-recent-img-wrap { flex-shrink: 0; }

.bl-recent-img {
  width: 68px;
  height: 52px;
  object-fit: cover;
  border-radius: 6px;
}

.bl-recent-info { flex: 1; min-width: 0; }

.bl-recent-title {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #111;
  text-decoration: none;
  line-height: 1.4;
  margin-bottom: 4px;
  transition: color 0.2s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bl-recent-title:hover { color: #e42d7e; text-decoration: none; }

.bl-recent-date { font-size: 11px; color: #888; }
.bl-recent-date i { margin-right: 3px; color: #e42d7e; }

/* Categories */
.bl-cat-list { list-style: none; padding: 0; margin: 0; }

.bl-cat-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #f5f5f5;
}

.bl-cat-item:last-child { border-bottom: none; }

.bl-cat-item a {
  font-size: 14px;
  color: #444;
  text-decoration: none;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 4px;
}

.bl-cat-item a i { color: #e42d7e; }
.bl-cat-item a:hover { color: #e42d7e; text-decoration: none; }

.bl-cat-count {
  background: #f0f4ff;
  color: #1140a0;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
}

/* Contact CTA Card */
.bl-sidebar-cta {
  background: linear-gradient(135deg, #1140a0 0%, #e42d7e 100%);
  color: #fff;
  text-align: center;
  position: sticky;
  top: 120px;
}

.bl-sidebar-cta-icon {
  font-size: 2.2rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 12px;
}

.bl-sidebar-cta-title {
  font-family: 'Raleway', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 10px;
  padding-bottom: 0;
  border: none;
}

.bl-sidebar-cta-title::after { display: none; }

.bl-sidebar-cta-text {
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
  margin-bottom: 16px;
}

.bl-sidebar-cta-info { margin-bottom: 16px; text-align: left; }

.bl-sidebar-cta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.9);
  margin-bottom: 6px;
}

.bl-sidebar-cta-row i { color: rgba(255,255,255,0.7); font-size: 15px; }
.bl-sidebar-cta-row a { color: rgba(255,255,255,0.9); text-decoration: none; transition: color 0.2s; }
.bl-sidebar-cta-row a:hover { color: #fff; text-decoration: underline; }

.bl-sidebar-cta-btn {
  display: inline-block;
  background: #fff;
  color: #e42d7e;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 6px;
  text-decoration: none;
  transition: 0.2s;
}

.bl-sidebar-cta-btn:hover { background: rgba(255,255,255,0.88); color: #e42d7e; text-decoration: none; }

/* ── Static Page / 404 ──────────────────────────────────────── */
.bl-page-sec {
  padding: 60px 0 80px;
  background: #f7f8fc;
}

.bl-page-content {
  background: #fff;
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 2px 12px rgba(17,64,160,0.06);
  max-width: 860px;
  margin: 0 auto;
}

.bl-404-wrap { padding: 60px 20px; }

.bl-404-code {
  font-family: 'Raleway', sans-serif;
  font-size: 7rem;
  font-weight: 800;
  color: #e42d7e;
  line-height: 1;
  margin-bottom: 16px;
}

.bl-404-title {
  font-family: 'Raleway', sans-serif;
  font-size: 1.5rem;
  color: #111;
  margin-bottom: 12px;
}

.bl-404-text {
  font-size: 15px;
  color: #666;
  max-width: 480px;
  margin: 0 auto 28px;
}

.bl-404-btns {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ── Get a Quote Button ──────────────────────────────────────── */
.appointment-btn {
  margin-left: 20px;
  background: transparent;
  color: #e72e7e;
  border: 2px solid #e72e7e;
  border-radius: 50px;
  padding: 8px 22px;
  white-space: nowrap;
  transition: 0.3s;
  font-size: 14px;
  font-weight: 600;
  display: inline-block;
  text-decoration: none;
}

.appointment-btn:hover {
  background: #e72e7e;
  color: #fff;
  text-decoration: none;
}

@media (max-width: 991px) {
  .appointment-btn { display: none; }
}

/* ── Mobile Nav (Blog theme adds its own since WP doesn't use ADI main.js) ── */
.adi-mob-nav {
  position: fixed;
  inset: 0;
  background: rgba(17,64,160,0.97);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: translateX(-100%);
  transition: transform 0.35s ease;
}

.adi-mob-nav.open { transform: translateX(0); }

.adi-mob-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
}

.adi-mob-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.adi-mob-nav ul li { margin: 14px 0; }

.adi-mob-nav ul li a {
  color: rgba(255,255,255,0.85);
  font-family: 'Raleway', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s;
}

.adi-mob-nav ul li.active a,
.adi-mob-nav ul li a:hover { color: #e42d7e; }

#adi-mob-toggle {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  display: none;
}

@media (max-width: 991px) {
  #adi-mob-toggle { display: inline-flex; align-items: center; }
}

/* ── Responsive tweaks ──────────────────────────────────────── */
@media (max-width: 767px) {
  .bl-hero-title { font-size: 1.6rem; }
  .bl-listing-sec { padding: 40px 0 60px; }
  .bl-single-sec { padding: 36px 0 60px; }
  .bl-404-code { font-size: 5rem; }
  .bl-page-content { padding: 24px 18px; }
}

@media (max-width: 575px) {
  body.blog,
  body.single,
  body.archive,
  body.page,
  body.error404 { padding-top: 80px; }
}
