/* ═══════════════════════════════════════════════════════════════════
   BLOG REDESIGN — Standalone overrides (no build required)
   Loaded AFTER main.css to override Bootstrap + theme defaults
   ═══════════════════════════════════════════════════════════════════ */


/* ── BREADCRUMBS ─────────────────────────────────────────────────── */
.breadcrumbs {
  padding: 1rem 0;
  font-size: 0.875rem;
  color: #737373;
}

.breadcrumbs__list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.375rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcrumbs__item {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.breadcrumbs__item a {
  color: #737373;
  text-decoration: none;
  transition: color 0.15s;
}

.breadcrumbs__item a:hover {
  color: #109ad7;
}

.breadcrumbs__sep {
  color: #d6d6d6;
}

.breadcrumbs__current {
  color: #424242;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 320px;
}


/* ── BLOG ARCHIVE HEADER ────────────────────────────────────────── */
.page-header.page-header-blog {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
  background-image: none !important;
}

.page-header.page-header-blog .blog-header {
  padding: 2.5rem 0 2rem;
  text-align: center;
}

.page-header.page-header-blog .eyebrow {
  font-size: 0.875rem;
  font-weight: 600;
  color: #109ad7;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

.page-header.page-header-blog h1.blog-header__title,
.page-header.page-header-blog .blog-header__title.h1,
.page-header.page-header-blog h1.blog-header__title.header-title,
.page-header.page-header-blog .blog-header h1 {
  font-family: 'Aeonik Pro', sans-serif !important;
  font-size: 2.25rem !important;
  font-weight: 700 !important;
  color: #141414 !important;
  margin-bottom: 0.75rem !important;
  letter-spacing: -0.02em !important;
  line-height: 1.2 !important;
}

@media (min-width: 992px) {
  .page-header.page-header-blog h1.blog-header__title,
  .page-header.page-header-blog .blog-header__title.h1,
  .page-header.page-header-blog h1.blog-header__title.header-title,
  .page-header.page-header-blog .blog-header h1 {
    font-size: 3rem !important;
    line-height: 1.2 !important;
  }
}

.page-header.page-header-blog .blog-header__description,
.page-header.page-header-blog .blog-header__description p {
  font-family: 'Inter', sans-serif !important;
  font-size: 1.125rem !important;
  color: #737373 !important;
  max-width: 760px !important;
  margin: 0 auto !important;
  line-height: 1.7 !important;
}


/* ── HERO FEATURED CARD ─────────────────────────────────────────── */
.hero-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding: 1.5rem;
  background: #fafafa;
  border-radius: 1rem;
  border: 1px solid #f5f5f5;
  margin-bottom: 0;
}

@media (min-width: 992px) {
  .hero-card {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 2.5rem;
  }
}

.hero-card__image {
  border-radius: 0.75rem !important;
  overflow: hidden !important;
}

.hero-card__image a {
  display: block;
  border-radius: 0.75rem !important;
  overflow: hidden !important;
}

.hero-card__image a {
  display: block;
}

.hero-card__image img,
.hero-card__image img.img-fluid,
.hero-card__image img.wp-post-image {
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: unset !important;
  display: block !important;
  border-radius: 0.75rem !important;
}

.hero-card__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-card__content .badge-featured {
  align-self: flex-start;
  background: #e9f8ff;
  border-color: #9ce0ff;
  color: #0079ae;
  margin-bottom: 1rem;
}

.hero-card__title {
  font-family: 'Aeonik Pro', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #141414;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

@media (min-width: 992px) {
  .hero-card__title {
    font-size: 1.75rem;
  }
}

.hero-card__title a {
  color: inherit;
  text-decoration: none;
}

.hero-card__title a:hover {
  color: #109ad7;
}

.hero-card__excerpt,
.hero-card__content .hero-card__excerpt,
.hero-card .hero-card__excerpt {
  font-size: 1rem !important;
  color: #737373 !important;
  margin-bottom: 2.5rem !important;
  line-height: 1.7 !important;
}

.hero-card__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: #737373;
  flex-wrap: wrap;
}

.hero-card__meta-dot {
  color: #d6d6d6;
}

.hero-card__author-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, #9ce0ff, #0ba5ec);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card__author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.hero-card__author-avatar span {
  font-weight: 700;
  color: #fff;
  font-size: 0.75rem;
}

.hero-card__cta {
  align-self: flex-start;
  margin-top: 1.25rem;
}


/* ── FILTER BAR (dropdowns) ─────────────────────────────────────── */
.filter-bar-blog {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2.25rem;
  flex-wrap: wrap;
}

.filter-bar-blog__spacer {
  flex: 1;
}

.filter-bar-blog__search {
  display: flex;
}

.filter-search-input {
  padding: 0.625rem 1rem 0.625rem 2.5rem;
  border: 1px solid #e5e5e5;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-family: 'Inter', sans-serif;
  background: #fff;
  width: 240px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23a3a3a3' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 0.875rem center;
  outline: none;
  transition: border-color 0.15s;
}

.filter-search-input:focus {
  border-color: #0ba5ec;
}

.filter-dropdown {
  position: relative;
}

.filter-dropdown__btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid #e5e5e5;
  background: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  color: #424242;
  cursor: pointer;
  transition: all 0.15s;
  min-width: 160px;
  justify-content: space-between;
}

.filter-dropdown__btn:hover {
  border-color: #d6d6d6;
}

.filter-dropdown__btn.open {
  border-color: #0ba5ec;
  box-shadow: 0 0 0 3px rgba(11, 165, 236, 0.1);
}

.filter-dropdown__btn svg {
  transition: transform 0.2s;
  color: #a3a3a3;
}

.filter-dropdown__btn.open svg {
  transform: rotate(180deg);
}

.filter-dropdown__menu {
  position: absolute;
  top: calc(100% + 0.375rem);
  left: 0;
  min-width: 100%;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 0.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  z-index: 50;
  padding: 0.375rem;
  display: none;
  max-height: 280px;
  overflow-y: auto;
}

.filter-dropdown__menu.show {
  display: block;
}

.filter-dropdown__menu::-webkit-scrollbar {
  width: 4px;
}

.filter-dropdown__menu::-webkit-scrollbar-track {
  background: transparent;
}

.filter-dropdown__menu::-webkit-scrollbar-thumb {
  background: #e5e5e5;
  border-radius: 4px;
}

.filter-dropdown__item {
  display: block;
  width: 100%;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  color: #525252;
  text-decoration: none;
  transition: all 0.1s;
  white-space: nowrap;
}

.filter-dropdown__item:hover {
  background: #fafafa;
  color: #292929;
}

.filter-dropdown__item.active {
  background: #e9f8ff;
  color: #0079ae;
  font-weight: 600;
}


/* ── ARCHIVE CARDS ──────────────────────────────────────────────── */
.section-card-loop .row {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

@media (max-width: 991px) {
  .section-card-loop .row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .section-card-loop .row {
    grid-template-columns: 1fr;
  }
}

.section-card-loop .row > article,
.section-card-loop .row > .col-md-6,
.section-card-loop .row > [class*="col-"] {
  width: 100% !important;
  max-width: 100% !important;
  flex: none !important;
  padding: 0 !important;
}

.card-article {
  border: 1px solid #f5f5f5;
  border-radius: 0.75rem;
  overflow: hidden;
  background: #fff;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-article:hover {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.card-article__image-link {
  display: block;
  overflow: hidden;
}

.card-article__image-link img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: transform 0.3s;
  display: block;
}

.card-article__image-link:hover img {
  transform: scale(1.03);
}

.card-article__body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-article__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-bottom: 0.5rem;
}

.card-article__badges .badge {
  font-size: 0.6875rem;
  padding: 0.0625rem 0.5rem;
}

/* ── Colored category badges (override badge-gray base) ── */
.badge.badge-primary {
  color: #0079ae !important;
  background-color: #e9f8ff !important;
  border-color: #c2ecff !important;
}

.badge.badge-teal {
  color: #107569 !important;
  background-color: #f0fdf9 !important;
  border-color: #ccfbef !important;
}

.badge.badge-purple {
  color: #5925dc !important;
  background-color: #f4f3ff !important;
  border-color: #d9d6fe !important;
}

.badge.badge-indigo {
  color: #3538cd !important;
  background-color: #eef4ff !important;
  border-color: #c7d7fe !important;
}

.badge.badge-pink {
  color: #c11574 !important;
  background-color: #fdf2fa !important;
  border-color: #fcceee !important;
}

.badge.badge-gold {
  color: #93370d !important;
  background-color: #fef6ee !important;
  border-color: #fdead7 !important;
}

.card-article__meta-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: #737373;
  margin-bottom: 0.625rem;
}

.card-article__dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #d6d6d6;
  display: inline-block;
}

.card-article__title {
  font-family: 'Aeonik Pro', sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: #141414;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.card-article__title a {
  color: inherit;
  text-decoration: none;
}

.card-article__title a:hover {
  color: #109ad7;
}

.card-article__excerpt {
  font-size: 0.875rem;
  color: #737373;
  line-height: 1.6;
  margin-bottom: 1rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-article__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-top: 1px solid #f5f5f5;
  margin-top: auto;
}

.card-article__author {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.card-article__author-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, #9ce0ff, #0ba5ec);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card-article__author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.card-article__author-avatar span {
  font-weight: 700;
  color: #fff;
  font-size: 0.625rem;
}

.card-article__author-name {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #424242;
}

.card-article__read-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: #109ad7;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: color 0.15s;
}

.card-article__read-link:hover {
  color: #0079ae;
}

.card-article__read-link svg {
  transition: transform 0.15s;
}

.card-article__read-link:hover svg {
  transform: translateX(2px);
}


/* ── Section spacing fix ── */
.section-card-loop {
  padding-top: 2rem !important;
}

/* ── BLOG PAGINATION ────────────────────────────────────────────── */
.blog-pagination {
  margin-top: 2.5rem !important;
  margin-bottom: 3rem !important;
  border-top: none !important;
  padding-top: 0 !important;
}

.blog-pagination .facetwp-facet.facetwp-type-pager {
  border-top: none !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.blog-pagination .facetwp-pager {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 6px !important;
}

.blog-pagination a.facetwp-page {
  width: 40px !important;
  height: 40px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 8px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  color: #525252 !important;
  border: 1px solid #e5e5e5 !important;
  background: #fff !important;
  transition: all 0.15s !important;
  line-height: 1 !important;
  padding: 0 !important;
  margin: 0 !important;
  min-width: unset !important;
  max-width: unset !important;
  float: none !important;
}

.blog-pagination a.facetwp-page:hover {
  background: #fafafa !important;
  border-color: #d4d4d4 !important;
}

.blog-pagination a.facetwp-page.active {
  background: #0ba5ec !important;
  color: #fff !important;
  border-color: #0ba5ec !important;
}

.blog-pagination a.facetwp-page.dots {
  border: none !important;
  color: #a3a3a3 !important;
  background: transparent !important;
}

/* Prev/Next as arrow-only square buttons */
.blog-pagination a.facetwp-page.prev,
.blog-pagination a.facetwp-page.next {
  color: transparent !important;
  position: relative !important;
  width: 40px !important;
  min-width: unset !important;
  max-width: unset !important;
}

.blog-pagination a.facetwp-page.prev::before,
.blog-pagination a.facetwp-page.next::before {
  content: '' !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: 16px !important;
  height: 16px !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
}

.blog-pagination a.facetwp-page.prev::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23525252' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 12H5'/%3E%3Cpath d='M12 19l-7-7 7-7'/%3E%3C/svg%3E") !important;
}

.blog-pagination a.facetwp-page.next::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23525252' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='M12 5l7 7-7 7'/%3E%3C/svg%3E") !important;
}


/* ═══════════════════════════════════════════════════════════════════
   SEARCH RESULTS
   ═══════════════════════════════════════════════════════════════════ */

.page-header-search {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  background-image: none !important;
}

.search-header {
  padding-bottom: 2rem;
}

.search-header__title {
  font-family: 'Aeonik Pro', sans-serif !important;
  font-size: 2.25rem !important;
  font-weight: 700 !important;
  color: #171717 !important;
  margin-bottom: 0.5rem !important;
}

.search-header__title em {
  font-style: normal;
  color: #0ba5ec;
}

.search-header__count {
  font-family: 'Inter', sans-serif !important;
  font-size: 1rem !important;
  color: #737373 !important;
  margin-bottom: 0 !important;
}

.section-search-results {
  padding-top: 0 !important;
}

.search-results-list {
  margin: 0 auto;
}

.search-result-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid #e5e5e5;
}

.search-result-item:first-child {
  border-top: 1px solid #e5e5e5;
}

.search-result-item__image {
  flex-shrink: 0;
  width: 240px;
  border-radius: 8px;
  overflow: hidden;
}

.search-result-item__image img {
  width: 100% !important;
  height: auto !important;
  border-radius: 8px !important;
  display: block !important;
}

.search-result-item__content {
  flex: 1;
  min-width: 0;
}

.search-result-item__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.375rem;
}

.search-result-item__meta .badge {
  font-size: 0.6875rem !important;
  padding: 0.0625rem 0.5rem !important;
}

.search-result-item__meta time {
  font-size: 0.8125rem;
  color: #737373;
}

.search-result-item__title {
  font-family: 'Aeonik Pro', sans-serif !important;
  font-size: 1.125rem !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  margin-bottom: 0.375rem !important;
}

.search-result-item__title a {
  color: #171717 !important;
  text-decoration: none !important;
}

.search-result-item__title a:hover {
  color: #0ba5ec !important;
}

.search-result-item__excerpt,
.search-result-item__excerpt p {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.875rem !important;
  color: #525252 !important;
  line-height: 1.6 !important;
  margin-bottom: 0 !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.search-empty {
  text-align: center;
  padding: 3rem 0;
  max-width: 500px;
  margin: 0 auto;
}

.search-empty p {
  font-size: 1.125rem;
  color: #737373;
  margin-bottom: 1.5rem;
}

/* Search pagination (uses WP native markup, not FacetWP) */
.section-search-results .blog-pagination .nav-links {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 6px !important;
}

.section-search-results .blog-pagination .nav-links a,
.section-search-results .blog-pagination .nav-links span {
  width: 40px !important;
  height: 40px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 8px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  color: #525252 !important;
  border: 1px solid #e5e5e5 !important;
  background: #fff !important;
  transition: all 0.15s !important;
  padding: 0 !important;
}

.section-search-results .blog-pagination .nav-links a:hover {
  background: #fafafa !important;
}

.section-search-results .blog-pagination .nav-links span.current {
  background: #0ba5ec !important;
  color: #fff !important;
  border-color: #0ba5ec !important;
}

.section-search-results .blog-pagination .nav-links .dots {
  border: none !important;
  color: #a3a3a3 !important;
  background: transparent !important;
}

/* Responsive search */
@media (max-width: 575.98px) {
  .search-result-item__image {
    width: 120px;
  }

  .search-header__title {
    font-size: 1.5rem !important;
  }

  .search-result-item__title {
    font-size: 1rem !important;
  }
}


/* ═══════════════════════════════════════════════════════════════════
   SINGLE POST
   ═══════════════════════════════════════════════════════════════════ */

/* ── Key Takeaways box ─────────────────────────────────────────── */
.key-takeaways {
  background: #e9f8ff;
  border: 1px solid #c2ecff;
  border-radius: 12px;
  padding: 1.5rem 1.75rem;
  margin-bottom: 2rem;
}

.key-takeaways__header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.key-takeaways__icon {
  color: #0079ae;
  flex-shrink: 0;
}

.key-takeaways__title {
  font-family: 'Aeonik Pro', sans-serif !important;
  font-size: 0.9375rem !important;
  font-weight: 700 !important;
  color: #003a54 !important;
  margin: 0 !important;
}

.key-takeaways__list {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 0;
}

.key-takeaways__list li {
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #065986;
  margin-bottom: 0.375rem;
}

/* ── Single header ──────────────────────────────────────────────── */
.page-header.page-header-single {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  background-image: none !important;
}

.single-header {
  text-align: center;
  padding-bottom: 3rem;
}

.single-header__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.single-header__meta .badge {
  font-size: 0.8125rem;
}

.single-header__meta time,
.single-header__meta span:not(.badge):not(.single-header__dot) {
  font-size: 0.875rem;
  color: #737373;
  font-weight: 500;
}

.single-header__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #d6d6d6;
  display: inline-block;
}

h1.single-header__title,
.single-header__title {
  font-family: 'Aeonik Pro', sans-serif !important;
  font-size: 2.25rem !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  color: #141414 !important;
  margin-bottom: 1rem !important;
  letter-spacing: -0.02em;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 992px) {
  h1.single-header__title,
  .single-header__title {
    font-size: 3rem !important;
    line-height: 1.2 !important;
  }
}

.single-header__subtitle {
  font-family: 'Inter', sans-serif !important;
  font-size: 1.125rem !important;
  color: #737373 !important;
  line-height: 1.7 !important;
  max-width: 680px !important;
  margin: 0 auto 2rem !important;
  font-weight: 400 !important;
}

.single-header__author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.single-header__author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: linear-gradient(135deg, #9ce0ff, #0ba5ec);
  display: flex;
  align-items: center;
  justify-content: center;
}

.single-header__author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.single-header__author-initials {
  font-weight: 700;
  color: #fff;
  font-size: 1rem;
}

.single-header__author-info {
  text-align: left;
}

.single-header__author-name {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #141414;
}

.single-header__author-dates {
  display: block;
  font-size: 0.8125rem;
  color: #737373;
}

.single-header__image {
  max-width: 960px;
  margin: 0 auto;
  border-radius: 1rem;
  overflow: hidden;
}

.single-header__image img {
  width: 100%;
  height: auto;
  display: block;
}


/* ── Single body (content + sidebar) ────────────────────────────── */
section.section.section-single-post {
  padding-top: 1.5rem !important;
  padding-bottom: 0 !important;
}

.single-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 992px) {
  .single-body {
    grid-template-columns: 1fr 260px;
    gap: 4rem;
  }
}

.single-body__content {
  min-width: 0;
}

.single-body__sidebar {
  order: -1;
}

@media (min-width: 992px) {
  .single-body__sidebar {
    order: 0;
    position: sticky;
    top: 100px;
  }
}


/* ── Article content typography ────────────────────────────────── */
.entry-content {
  color: #525252;
  font-size: 1rem;
  line-height: 1.625;
}

@media (min-width: 992px) {
  .entry-content {
    font-size: 1.0625rem;
    line-height: 1.75;
  }
}

.entry-content h2 {
  font-family: 'Aeonik Pro', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #141414;
  margin: 3rem 0 1rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
  scroll-margin-top: 100px;
}

.entry-content h3 {
  font-family: 'Aeonik Pro', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #141414;
  margin: 2rem 0 0.75rem;
  line-height: 1.4;
  scroll-margin-top: 100px;
}

.entry-content p {
  margin-bottom: 1.25rem;
}

.entry-content blockquote {
  border-left: 3px solid #0ba5ec;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  background: #fcfcfd;
  border-radius: 0 0.5rem 0.5rem 0;
}

.entry-content blockquote p {
  font-size: 1.125rem;
  font-weight: 500;
  color: #292929;
  font-style: italic;
  margin: 0;
}

.entry-content a {
  color: #109ad7;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.entry-content img {
  border-radius: 0.75rem;
  margin: 2rem 0;
}


/* ── Article footer ─────────────────────────────────────────────── */
.single-body__footer {
  padding-top: 2rem;
  margin-top: 3rem;
  margin-bottom: 3rem;
  border-top: 1px solid #e5e5e5;
}

.single-body__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}


/* ── Author bio ─────────────────────────────────────────────────── */
.author-bio {
  display: flex;
  gap: 1.25rem;
  padding: 1.75rem;
  background: #fafafa;
  border-radius: 0.75rem;
  border: 1px solid #f5f5f5;
}

.author-bio__avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.author-bio__avatar--initials {
  background: linear-gradient(135deg, #9ce0ff, #0ba5ec);
  color: #fff;
  font-weight: 700;
  font-size: 1.375rem;
}

.author-bio__name {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #141414;
  text-decoration: none;
}

.author-bio__role {
  font-size: 0.875rem;
  color: #109ad7;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.author-bio__description {
  font-size: 0.9375rem;
  color: #525252;
  line-height: 1.6;
  margin: 0;
}


/* ── Table of Contents ──────────────────────────────────────────── */
.toc {
  padding: 1.5rem;
  background: #fafafa;
  border-radius: 0.75rem;
  border: 1px solid #f5f5f5;
}

.toc__title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #a3a3a3;
  margin-bottom: 1rem;
}

.toc__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.toc__list li {
  margin-bottom: 0.125rem;
}

.toc__list a {
  display: block;
  padding: 0.375rem 0.75rem;
  border-radius: 0.375rem;
  border-left: 2px solid transparent;
  font-size: 0.875rem;
  color: #525252;
  text-decoration: none;
  transition: all 0.15s;
}

.toc__list a:hover {
  color: #0079ae;
  background: #e9f8ff;
}

.toc__list a.toc-active {
  color: #0079ae;
  font-weight: 600;
  background: #e9f8ff;
  border-left-color: #0ba5ec;
}

.toc__list .toc-h3 {
  padding-left: 1.5rem;
  font-size: 0.8125rem;
}


/* ── Sidebar share ──────────────────────────────────────────────── */
.sidebar-share {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #e5e5e5;
}

.sidebar-share__title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #a3a3a3;
  margin-bottom: 0.75rem;
}

.sidebar-share__buttons {
  display: flex;
  gap: 0.5rem;
}

.sidebar-share__btn {
  width: 36px;
  height: 36px;
  border-radius: 0.5rem;
  border: 1px solid #e5e5e5;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
}

.sidebar-share__btn:hover {
  border-color: #0ba5ec;
  background: #e9f8ff;
}


/* ── Related posts ──────────────────────────────────────────────── */
.section-related-posts {
  padding: 3rem 0 !important;
  background: #fafafa;
  border-top: 1px solid #f5f5f5;
}

.section-related-posts section.section.recent-posts-loop {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.section-related-posts .recent-posts-loop-header {
  margin-bottom: 2rem;
}

.section-related-posts .recent-posts-loop .row {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.section-related-posts .section-header {
  text-align: center;
  margin-bottom: 2rem;
}


/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .filter-bar-blog {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-bar-blog__spacer {
    display: none;
  }

  .filter-search-input {
    width: 100%;
  }
}
