/* ==========================================================================
   Dilijent Systems — professional blog listing
   Scoped to .blog-professional so the rest of the site is unaffected.
   ========================================================================== */

.blog-professional {
  --dj-red: #ec3e24;
  --dj-red-dark: #c92f19;
  --dj-blue: #3866b4;
  --dj-ink: #151423;
  --dj-body: #33354b;
  --dj-muted: #6b7280;
  --dj-faint: #9aa0aa;
  --dj-line: #e2e6ec;
  --dj-line-soft: #eef0f3;
  --dj-surface: #f6f7f9;
  --dj-white: #ffffff;
  --dj-font-body: 'Rubik', sans-serif;
  --dj-font-heading: 'Rajdhani', sans-serif;

  font-family: var(--dj-font-body);
  color: var(--dj-body);
  background: var(--dj-surface);
}

.blog-professional *,
.blog-professional *::before,
.blog-professional *::after {
  box-sizing: border-box;
}

.blog-professional .container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.blog-professional h1,
.blog-professional h2,
.blog-professional h3,
.blog-professional h4,
.blog-professional h5,
.blog-professional h6 {
  font-family: var(--dj-font-heading);
  font-weight: 600;
  line-height: 1.15;
  color: var(--dj-ink);
  margin: 0;
}

.blog-professional p {
  font-family: var(--dj-font-body);
}

.blog-professional a {
  color: inherit;
  text-decoration: none;
}

.blog-professional a:hover,
.blog-professional a:focus {
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   1. Brand-matched editorial hero
   Same navy / red / blue treatment used by the service landing heroes.
   Visual only — copy and markup remain unchanged.
   -------------------------------------------------------------------------- */
.blog-page-header {
  --hero-ink: #0a1020;
  --hero-ink-2: #101c33;
  --hero-red: #ff5f45;
  --hero-text: rgba(255, 255, 255, 0.82);

  position: relative;
  overflow: hidden;
  background-color: var(--hero-ink) !important;
  background-image:
    radial-gradient(900px 420px at 88% 0%, rgba(237, 43, 34, 0.24), rgba(237, 43, 34, 0) 62%),
    radial-gradient(760px 420px at 6% 12%, rgba(56, 102, 180, 0.36), rgba(56, 102, 180, 0) 68%),
    linear-gradient(140deg, #0a1020 0%, #101c33 52%, #0a1020 100%) !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: clamp(58px, 6.4vw, 86px) 0 clamp(40px, 4.4vw, 58px);
}

.blog-page-header::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(120% 90% at 20% 0%, #000 25%, transparent 78%);
  -webkit-mask-image: radial-gradient(120% 90% at 20% 0%, #000 25%, transparent 78%);
}

.blog-page-header .container {
  position: relative;
  z-index: 2;
}

.blog-header-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.blog-header-copy {
  max-width: 820px;
}

.blog-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: #ff8a70;
  font-family: var(--dj-font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.blog-eyebrow::before {
  content: '';
  width: 26px;
  height: 2px;
  background: var(--hero-red);
}

.blog-page-header h1 {
  color: #fff !important;
  font-size: clamp(36px, 4.2vw, 46px);
  font-weight: 700 !important;
  letter-spacing: 0.2px;
}

.blog-page-header h1 .text-highlight {
  color: var(--hero-red) !important;
  background: none;
  -webkit-text-fill-color: currentColor;
}

.blog-header-description {
  max-width: 700px;
  margin: 10px 0 0;
  color: var(--hero-text) !important;
  font-size: 15.5px;
  line-height: 1.65;
}

.blog-header-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.62) !important;
  font-size: 12.5px;
}

.blog-header-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.blog-header-meta i {
  color: var(--hero-red) !important;
  font-size: 12px;
}

/* --------------------------------------------------------------------------
   2. Search toolbar + topic index
   -------------------------------------------------------------------------- */
.blog-toolbar-section {
  background: var(--dj-white);
  border-bottom: 1px solid var(--dj-line);
}

.blog-toolbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 62px;
}

.blog-toolbar-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--dj-muted);
  font-size: 12px;
  font-weight: 600;
}

.blog-toolbar-note i {
  color: var(--dj-red);
  font-size: 12px;
}

.blog-layout {
  display: grid;
  grid-template-columns: 218px minmax(0, 1fr);
  gap: 46px;
  align-items: start;
}

.topic-index {
  position: sticky;
  top: 96px;
  align-self: start;
  max-height: calc(100vh - 116px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 10px;
  scrollbar-width: thin;
  scrollbar-color: #c9ced7 transparent;
  font-family: var(--dj-font-body);
}

.topic-index::-webkit-scrollbar {
  width: 6px;
}

.topic-index::-webkit-scrollbar-track {
  background: transparent;
}

.topic-index::-webkit-scrollbar-thumb {
  background: #c9ced7;
  border-radius: 999px;
}

.topic-index::-webkit-scrollbar-thumb:hover {
  background: #aeb5c1;
}

.topic-index-header {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--dj-line);
}

.topic-index-kicker {
  display: block;
  margin-bottom: 10px;
  color: var(--dj-red);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.topic-index-all {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--dj-ink);
  font-size: 13.5px;
  font-weight: 700;
}

.topic-index-all span:last-child {
  color: var(--dj-faint);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.topic-index-all.active span:last-child {
  color: var(--dj-red);
}

.topic-index-nav {
  margin-top: 18px;
}

.topic-index-group + .topic-index-group {
  margin-top: 22px;
}

.topic-index-group h2 {
  margin-bottom: 8px;
  color: var(--dj-faint);
  font-family: var(--dj-font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.topic-index-group ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.topic-index-group li + li {
  margin-top: 1px;
}

.topic-index-group li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  color: var(--dj-muted);
  font-family: var(--dj-font-body);
  font-size: 14px;
  line-height: 1.55;
}

.topic-index-marker {
  flex: 0 0 4px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--dj-line);
}

.topic-index-name {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.topic-index-count {
  flex: 0 0 auto;
  color: var(--dj-faint);
  font-family: var(--dj-font-body);
  font-size: 11.5px;
  font-variant-numeric: tabular-nums;
}

.topic-index-group li a:hover {
  color: var(--dj-ink);
}

.topic-index-group li a:hover .topic-index-marker {
  background: rgba(236, 62, 36, 0.45);
  box-shadow: none;
}

.topic-index-group li a.active {
  color: var(--dj-red);
  font-weight: 700;
}

.topic-index-group li a.active .topic-index-marker {
  background: var(--dj-red);
  box-shadow: none;
}

.topic-index-group li a.active .topic-index-count {
  color: var(--dj-red);
}
.blog-search-box {
  flex: 0 0 300px;
  width: 300px;
  position: relative;
}

.blog-search-box .search-input-group {
  position: relative;
  display: flex;
}

.blog-search-box input {
  width: 100%;
  height: 36px;
  padding: 0 38px 0 12px;
  border: 1px solid var(--dj-line);
  border-radius: 3px;
  background: #fafbfc;
  color: var(--dj-body);
  font-family: var(--dj-font-body);
  font-size: 13px;
  outline: none;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.blog-search-box input::placeholder {
  color: var(--dj-faint);
}

.blog-search-box input:focus {
  background: var(--dj-white);
  border-color: var(--dj-blue);
}

.blog-search-box button {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: var(--dj-red);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transition: color 0.18s ease, background 0.18s ease;
}

.blog-search-box button:hover {
  color: var(--dj-white);
  background: var(--dj-red);
  transform: none;
}

/* --------------------------------------------------------------------------
   3. Listing area
   -------------------------------------------------------------------------- */
.blog-cards-grid-section {
  background: var(--dj-surface);
  padding: 44px 0 72px;
}

.blog-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--dj-line);
}

.blog-section-kicker {
  display: block;
  color: var(--dj-red);
  font-family: var(--dj-font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.blog-section-head h2 {
  font-size: 25px;
}

.blog-section-count {
  color: var(--dj-muted);
  font-size: 12.5px;
  white-space: nowrap;
}

/* Lead article */
.featured-blog-card {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  align-items: center;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--dj-line);
  border-radius: 0;
  overflow: hidden;
  margin-bottom: 32px;
  padding-bottom: 30px;
  box-shadow: none;
}

.featured-blog-card:hover {
  border-color: var(--dj-line);
  transform: none;
  box-shadow: none;
}

.featured-thumb-link {
  display: block;
  position: relative;
  aspect-ratio: 10 / 7;
  min-height: 0;
  overflow: hidden;
  border-radius: 2px;
  background: var(--dj-line-soft);
}

.featured-thumb-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.4s ease;
}

.featured-blog-card:hover .featured-thumb-img {
  transform: none;
}

.featured-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 0 0 32px;
}

.featured-cat {
  display: inline-block;
  color: var(--dj-red);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  line-height: 1.4;
  text-transform: uppercase;
}

.card-meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 7px;
  color: var(--dj-muted);
  font-family: var(--dj-font-body);
  font-size: 12px;
}

.card-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.card-meta-item i {
  color: var(--dj-red);
  font-size: 11px;
}

.featured-title {
  margin: 10px 0 9px;
  font-size: 29px;
  font-weight: 700 !important;
  line-height: 1.18;
}

.featured-title a,
.card-title a {
  color: var(--dj-ink) !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  transition: color 0.18s ease;
}

.featured-title a:hover,
.card-title a:hover {
  color: var(--dj-red) !important;
}

.featured-excerpt {
  margin: 0 0 18px;
  color: #5f6472;
  font-family: var(--dj-font-body);
  font-size: 15px;
  line-height: 1.65;
  display: block;
  overflow: visible;
}

.featured-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid var(--dj-line-soft);
}

.card-author-info {
  display: inline-flex;
  align-items: center;
}

.card-author-avatar {
  display: none !important;
}

.card-author-name {
  color: #4b5563 !important;
  font-size: 12.5px;
  font-weight: 600;
}

.card-author-name::before {
  content: 'By ';
  color: var(--dj-faint);
  font-weight: 400;
}

.card-author-name:hover {
  color: var(--dj-red) !important;
}

.featured-read-btn,
.card-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  color: var(--dj-red) !important;
  font-family: var(--dj-font-body);
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none !important;
  white-space: nowrap;
}

.featured-read-btn:hover,
.card-read-more:hover {
  color: var(--dj-red-dark) !important;
  transform: none;
}

.featured-read-btn i,
.card-read-more i {
  font-size: 10px;
  transition: transform 0.18s ease;
}

.featured-read-btn:hover i,
.card-read-more:hover i,
.modern-blog-card:hover .card-read-more i {
  transform: translateX(3px);
}

/* Article rows */
.blog-professional .row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px 28px;
  margin: 0;
}

.blog-professional .row > [class*="col-"] {
  width: auto !important;
  max-width: none !important;
  float: none !important;
  flex: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.modern-blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--dj-line-soft);
  border-radius: 0;
  overflow: hidden;
  padding-bottom: 24px;
  box-shadow: none;
}

.modern-blog-card:hover {
  border-color: var(--dj-line-soft);
  box-shadow: none;
  transform: none;
}

.card-thumb-link {
  display: block;
  position: relative;
  height: auto;
  min-height: 0;
  aspect-ratio: 10 / 7;
  overflow: hidden;
  border-right: 0;
  border-radius: 2px;
  background: var(--dj-line-soft);
}

.card-thumb-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.4s ease;
}

.modern-blog-card:hover .card-thumb-img {
  transform: none;
}

/* On-image caption, matching the single-post featured image treatment */
.card-image-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: block;
  padding: 18px 16px 16px;
  color: #fff;
  text-align: left;
  background: linear-gradient(to top, rgba(5, 10, 20, 0.95) 0%, rgba(5, 10, 20, 0.76) 52%, rgba(5, 10, 20, 0) 100%);
}

.card-image-caption-label {
  display: inline-block;
  margin-bottom: 7px;
  padding: 4px 9px;
  color: #fff;
  font-family: var(--dj-font-body);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.6px;
  line-height: 1.2;
  text-transform: uppercase;
  text-shadow: none;
  background: #ec3e24;
  border-radius: 4px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.28);
}

.card-image-caption-title {
  display: block;
  color: #fff;
  font-family: var(--dj-font-heading);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.featured-thumb-link .card-image-caption-title {
  font-size: 19px;
}

.card-body-content {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 16px 0 0;
}

.card-category-badge {
  display: inline-block;
  margin-bottom: 5px;
  color: var(--dj-red);
  font-family: var(--dj-font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.7px;
  line-height: 1.4;
  text-transform: uppercase;
}

.modern-blog-card .card-meta-row {
  margin-top: 0;
  gap: 10px;
  font-size: 11.5px;
}

.card-title {
  margin: 7px 0 7px;
  font-family: var(--dj-font-heading);
  font-size: 22px;
  font-weight: 700 !important;
  line-height: 1.2;
}

.card-title a {
  display: block;
  overflow: visible;
}

.card-excerpt {
  margin: 0 0 14px;
  color: #6b7280;
  font-family: var(--dj-font-body);
  font-size: 14px;
  line-height: 1.65;
  display: block;
  overflow: visible;
}

.card-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 0;
  border-top: 0;
}

/* Empty state */
.blog-empty-state {
  max-width: 620px;
  margin: 0 auto;
  padding: 48px 24px;
  background: var(--dj-white);
  border: 1px solid var(--dj-line);
  border-radius: 4px;
  text-align: center;
}

.empty-icon {
  color: var(--dj-faint);
  font-size: 38px;
  margin-bottom: 12px;
}

.blog-empty-state h3 {
  font-size: 24px;
  margin-bottom: 8px;
}

.blog-empty-state p {
  color: var(--dj-muted);
  font-size: 14px;
  margin-bottom: 20px;
}

.blog-professional .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid var(--dj-red);
  border-radius: 3px;
  background: var(--dj-red);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.blog-professional .btn-primary:hover {
  background: var(--dj-red-dark);
  border-color: var(--dj-red-dark);
}

/* Pagination */
.modern-pagination-wrap {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.modern-pagination-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.modern-page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 8px;
  border: 1px solid var(--dj-line);
  border-radius: 3px;
  background: var(--dj-white);
  color: #4b5563;
  font-family: var(--dj-font-body);
  font-size: 13px;
  font-weight: 600;
  transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}

.modern-page-link:hover {
  border-color: var(--dj-red);
  color: var(--dj-red);
}

.modern-page-item.active .modern-page-link {
  background: var(--dj-ink);
  border-color: var(--dj-ink);
  color: #fff;
  box-shadow: none;
}

.modern-page-item.disabled .modern-page-link {
  opacity: 0.38;
  pointer-events: none;
}

.modern-page-ellipsis {
  padding: 0 4px;
  color: var(--dj-faint);
  font-family: var(--dj-font-body);
}

/* --------------------------------------------------------------------------
   4. Understated newsletter band
   -------------------------------------------------------------------------- */
.blog-newsletter-cta {
  padding: 0 0 56px;
  background: var(--dj-surface);
}

.blog-newsletter-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 30px;
  align-items: center;
  padding: 26px 30px;
  background: var(--dj-white);
  border: 1px solid var(--dj-line);
  border-left: 3px solid var(--dj-red);
  border-radius: 4px;
  box-shadow: none;
  overflow: visible;
}

.blog-newsletter-card::before {
  display: none;
}

.blog-newsletter-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--dj-red);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.blog-newsletter-copy h2 {
  margin: 5px 0 5px;
  font-size: 24px;
}

.blog-newsletter-copy p {
  margin: 0;
  color: var(--dj-muted);
  font-size: 13.5px;
  line-height: 1.6;
}

.newsletter-form-inline {
  display: flex;
  gap: 8px;
}

.newsletter-form-inline input {
  flex: 1;
  min-width: 0;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--dj-line);
  border-radius: 3px;
  background: #fafbfc;
  color: var(--dj-body);
  font-family: var(--dj-font-body);
  font-size: 13px;
  outline: none;
}

.newsletter-form-inline input::placeholder {
  color: var(--dj-faint);
}

.newsletter-form-inline input:focus {
  border-color: var(--dj-blue);
  background: var(--dj-white);
  box-shadow: none;
}

.newsletter-form-inline button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 42px;
  padding: 0 18px;
  border: 1px solid var(--dj-red);
  border-radius: 3px;
  background: var(--dj-red);
  color: #fff;
  font-family: var(--dj-font-body);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: none;
}

.newsletter-form-inline button:hover {
  background: var(--dj-red-dark);
  border-color: var(--dj-red-dark);
  transform: none;
}

.newsletter-note {
  margin: 9px 0 0;
  color: var(--dj-faint);
  font-size: 11.5px;
}

/* --------------------------------------------------------------------------
   5. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
  .blog-professional.header-clear {
    padding-top: 58px;
  }

  .blog-page-header {
    padding: 56px 0 40px;
  }

  .blog-page-header h1 {
    font-size: 36px;
  }

  .blog-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .topic-index {
    position: static;
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }

  .topic-index-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
  }

  .topic-index-group + .topic-index-group {
    margin-top: 0;
  }

  .blog-search-box {
    flex: 0 0 300px;
    width: 300px;
  }

  .blog-professional .row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 24px;
  }

  .featured-blog-card {
    grid-template-columns: 1fr;
  }

  .featured-body {
    padding: 20px 0 0;
  }

  .blog-newsletter-card {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

@media (max-width: 640px) {
  .blog-professional .container {
    padding: 0 16px;
  }

  .blog-professional.header-clear {
    padding-top: 52px;
  }

  .blog-page-header {
    padding: 42px 0 28px;
  }

  .blog-page-header h1 {
    font-size: 30px;
  }

  .blog-header-description {
    font-size: 14px;
  }

  .blog-header-meta {
    gap: 12px;
    font-size: 11.5px;
  }

  .topic-index-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .blog-toolbar-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 12px 0;
  }

  .blog-search-box {
    flex: 1 1 auto;
    width: 100%;
  }

  .blog-professional .row {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .featured-thumb-link {
    aspect-ratio: 10 / 7;
  }

  .featured-body {
    padding: 18px 0 0;
  }

  .featured-title {
    font-size: 24px;
  }

  .featured-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .modern-blog-card {
    grid-template-columns: 1fr;
  }

  .card-thumb-link {
    height: auto;
    min-height: 0;
    aspect-ratio: 10 / 7;
    border-right: 0;
    border-bottom: 1px solid var(--dj-line-soft);
  }

  .card-body-content {
    padding: 18px;
  }

  .newsletter-form-inline {
    flex-direction: column;
  }

  .newsletter-form-inline button {
    width: 100%;
  }
}
