/* ========================================
STRATEGIC AI LEADER
INSIGHTS PAGE
Class: .sal-insights-page
CLEAN REWRITE FOR /blog/ POSTS PAGE
======================================== */


/* ========================================
1. FOUNDATION
======================================== */

.sal-insights-page {
  background: #f5f7fb;
  color: #111827;
}

.sal-insights-page *,
.sal-insights-page *::before,
.sal-insights-page *::after {
  box-sizing: border-box;
}

.sal-insights-page .site-main,
.sal-insights-page .content-area,
.sal-insights-page .entry-content,
.sal-insights-page .entry-content-wrap,
.sal-insights-page article,
.sal-insights-page .entry {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.sal-insights-page .entry-header,
.sal-insights-page .entry-title,
.sal-insights-page .page-title,
.sal-insights-page .entry-hero,
.sal-insights-page .entry-hero-container,
.sal-insights-page .entry-hero-container-inner,
.sal-insights-page .hero-section,
.sal-insights-page .page-header {
  display: none !important;
}

.sal-insights-page .alignfull {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.sal-insights-page .sal-container {
  width: min(1240px, calc(100% - 48px));
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}

.sal-insights-page .wp-block-columns,
.sal-insights-page .wp-block-group,
.sal-insights-page .wp-block-image,
.sal-insights-page .wp-block-buttons {
  margin-bottom: 0;
}

.sal-insights-page a {
  text-decoration: none;
}

.sal-insights-page p,
.sal-insights-page li {
  font-size: 16px;
  line-height: 1.7;
}

.sal-insights-page .sal-eyebrow,
.sal-insights-page .sal-section-kicker {
  margin: 0 0 12px;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #1f6fd6;
}

.sal-insights-page .sal-page-title,
.sal-insights-page .sal-section-title,
.sal-insights-page .sal-inline-newsletter-title {
  margin: 0 0 14px;
  letter-spacing: -0.03em;
  color: #0b1220;
}

.sal-insights-page .sal-page-title {
  max-width: 760px;
  font-size: clamp(38px, 4.2vw, 58px);
  line-height: 0.96;
}

.sal-insights-page .sal-page-sub,
.sal-insights-page .sal-section-intro,
.sal-insights-page .sal-inline-newsletter-copy,
.sal-insights-page .sal-trust-line,
.sal-insights-page .sal-orientation-copy,
.sal-insights-page .sal-post-excerpt {
  color: #475569;
}

.sal-insights-page .sal-page-sub {
  max-width: 760px;
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
}

.sal-insights-page .sal-section-title,
.sal-insights-page .sal-inline-newsletter-title {
  max-width: 760px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.06;
}

.sal-insights-page .sal-section-intro,
.sal-insights-page .sal-inline-newsletter-copy {
  max-width: 760px;
  margin: 0;
}


/* ========================================
2. HERO
======================================== */

.sal-insights-page .sal-insights-hero {
  background:
    radial-gradient(circle at 82% 18%, rgba(31, 111, 214, 0.10), transparent 26%),
    linear-gradient(180deg, #eaf1f8 0%, #dce7f1 100%);
  padding: 22px 0 30px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.sal-insights-page .sal-insights-hero .sal-container {
  text-align: center;
}

.sal-insights-page .sal-insights-hero .sal-eyebrow {
  max-width: 760px;
  margin: 0 auto 12px;
  color: #1f6fd6;
}

.sal-insights-page .sal-insights-hero .sal-page-title {
  margin: 0 auto 14px;
  text-align: center;
}

.sal-insights-page .sal-insights-hero .sal-page-sub {
  margin: 0 auto;
  text-align: center;
}

.sal-insights-page .sal-insights-hero .wp-block-buttons {
  justify-content: center;
}


/* ========================================
3. LIBRARY SEARCH
======================================== */

.sal-insights-page .sal-library-search {
  max-width: 760px;
  margin: 20px auto 0;
}

.sal-insights-page .sal-library-search .wp-block-search {
  max-width: 760px;
  margin: 0 auto;
}

.sal-insights-page .sal-library-search .wp-block-search__inside-wrapper {
  min-height: 54px;
  border-radius: 10px;
  border: 1px solid #d8e2ec;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.sal-insights-page .sal-library-search .wp-block-search__input {
  height: 54px;
  font-size: 15px;
}

.sal-insights-page .sal-library-search .wp-block-search__button {
  height: 40px;
  margin-right: 6px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
}


/* ========================================
4. ORIENTATION STRIP
======================================== */

.sal-insights-page .sal-insights-orientation {
  padding: 12px 0 0;
}

.sal-insights-page .sal-orientation-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 18px 20px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.sal-insights-page .sal-orientation-copy {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}


/* ========================================
5. SECTION SPACING
======================================== */

.sal-insights-page .sal-start-here,
.sal-insights-page .sal-featured-frameworks,
.sal-insights-page .sal-case-studies-spotlight,
.sal-insights-page .sal-category-nav,
.sal-insights-page .sal-inline-newsletter,
.sal-insights-page .sal-latest-insights {
  padding: 56px 0;
}

.sal-insights-page .sal-section-head {
  align-items: end;
  gap: 24px;
  margin-bottom: 24px;
}

.sal-insights-page .sal-section-head-action {
  display: flex;
  align-items: end;
  justify-content: end;
}


/* ========================================
6. BUTTONS
======================================== */

.sal-insights-page .wp-block-button__link {
  border-radius: 999px;
  padding: 12px 20px;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 700;
  transition: all 0.2s ease;
}

.sal-insights-page .sal-btn-primary .wp-block-button__link {
  background: #1f6fd6;
  color: #ffffff;
  border: 1px solid #1f6fd6;
  box-shadow: 0 10px 20px rgba(31, 111, 214, 0.16);
}

.sal-insights-page .sal-btn-primary .wp-block-button__link:hover {
  background: #1554a8;
  border-color: #1554a8;
  color: #ffffff;
}

.sal-insights-page .sal-btn-secondary .wp-block-button__link,
.sal-insights-page .is-style-outline .wp-block-button__link {
  background: #ffffff;
  color: #0b1220;
  border: 1px solid #cbd5e1;
}

.sal-insights-page .sal-btn-secondary .wp-block-button__link:hover,
.sal-insights-page .is-style-outline .wp-block-button__link:hover {
  background: #0b1220;
  color: #ffffff;
  border-color: #0b1220;
}


/* ========================================
7. SECTION BACKGROUNDS
======================================== */

.sal-insights-page .sal-start-here {
  background: #f5f7fb;
}

.sal-insights-page .sal-featured-frameworks {
  background: #ffffff;
}

.sal-insights-page .sal-case-studies-spotlight {
  background:
    radial-gradient(circle at 12% 18%, rgba(31, 111, 214, 0.08), transparent 28%),
    linear-gradient(180deg, #f1f6fb 0%, #eaf1f8 100%);
}

.sal-insights-page .sal-category-nav {
  background:
    radial-gradient(circle at 85% 18%, rgba(31, 111, 214, 0.12), transparent 28%),
    linear-gradient(180deg, #e8f1fb 0%, #dbe8f6 100%);
  padding-top: 42px;
  padding-bottom: 42px;
}

.sal-insights-page .sal-inline-newsletter {
  background: #ffffff;
  padding-top: 32px;
  padding-bottom: 56px;
}

.sal-insights-page .sal-latest-insights {
  background: #f5f7fb;
  padding-top: 24px;
}


/* ========================================
8. START HERE
======================================== */

.sal-insights-page .sal-start-here-band {
  margin-bottom: 22px;
}


/* ========================================
9. CATEGORY NAV
======================================== */

.sal-insights-page .sal-category-nav-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(31, 111, 214, 0.18);
  border-radius: 20px;
  padding: 22px 20px;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.sal-insights-page .sal-category-nav .sal-section-kicker {
  color: #1f6fd6;
  margin-bottom: 14px;
}

.sal-insights-page .sal-domain-chip-wrap {
  gap: 12px;
}

.sal-insights-page .sal-domain-chip {
  margin: 0;
}

.sal-insights-page .sal-domain-chip a {
  display: inline-flex;
  align-items: center;
  padding: 11px 15px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #ccd9e8;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.05);
  color: #0f172a;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 600;
  transition: all 0.2s ease;
}

.sal-insights-page .sal-domain-chip a:hover,
.sal-insights-page .sal-domain-chip a:focus,
.sal-insights-page .sal-domain-chip a:active {
  background: #1f6fd6;
  border-color: #1f6fd6;
  color: #ffffff;
}

.sal-insights-page .sal-domain-chip a:hover *,
.sal-insights-page .sal-domain-chip a:focus *,
.sal-insights-page .sal-domain-chip a:active * {
  color: #ffffff;
}


/* ========================================
10. CARD GRID SYSTEM
======================================== */

.sal-insights-page .sal-post-grid {
  width: 100%;
}

.sal-insights-page .sal-post-grid .wp-block-post-template {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 26px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.sal-insights-page .sal-case-study-grid .wp-block-post-template {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 26px !important;
}

.sal-insights-page .sal-latest-grid .wp-block-post-template {
  gap: 22px !important;
}

.sal-insights-page .sal-post-grid .wp-block-post {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  height: 100%;
}

.sal-insights-page .sal-post-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  height: 100%;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sal-insights-page .sal-post-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.09);
}

.sal-insights-page .sal-start-card {
  border-color: #dbe7f4;
}

.sal-insights-page .sal-case-study-card {
  background: #ffffff;
  border: 1px solid rgba(31, 111, 214, 0.20);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.10);
}

.sal-insights-page .sal-post-image,
.sal-insights-page .sal-post-card .wp-block-post-featured-image {
  margin: 0;
  flex: 0 0 auto;
}

.sal-insights-page .sal-post-card .wp-block-post-featured-image a,
.sal-insights-page .sal-post-card .wp-block-post-featured-image img {
  display: block;
  width: 100%;
}

.sal-insights-page .sal-post-card .wp-block-post-featured-image img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.sal-insights-page .sal-post-card-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 236px;
  padding: 18px 18px 16px;
}

.sal-insights-page .sal-post-cat {
  min-height: 34px;
  margin: 0 0 8px;
  font-size: 11px;
  line-height: 1.45;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1f6fd6;
}

.sal-insights-page .sal-post-cat a {
  color: #1f6fd6;
  text-decoration: none;
}

.sal-insights-page .sal-post-title {
  min-height: 78px;
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.18;
}

.sal-insights-page .sal-post-title,
.sal-insights-page .sal-post-title a {
  display: block;
  width: 100%;
  max-width: 100%;
  word-break: normal;
  overflow-wrap: anywhere;
}

.sal-insights-page .sal-post-title a {
  color: #0f172a;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sal-insights-page .sal-post-title a:hover {
  color: #1554a8;
}

.sal-insights-page .sal-post-excerpt {
  flex: 1 1 auto;
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sal-insights-page .sal-latest-insights .sal-post-excerpt {
  -webkit-line-clamp: 4;
}

.sal-insights-page .sal-post-read-more {
  margin-top: auto;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 700;
}

.sal-insights-page .sal-post-read-more,
.sal-insights-page .sal-post-read-more a {
  color: #1f6fd6;
  text-decoration: none;
}


/* ========================================
11. INLINE NEWSLETTER
======================================== */

.sal-insights-page .sal-inline-newsletter-card {
  background:
    radial-gradient(circle at 90% 15%, rgba(31, 111, 214, 0.06), transparent 24%),
    #ffffff;
  border: 1px solid #d8e3ee;
  border-radius: 22px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.10);
  padding: 32px 28px;
}

.sal-insights-page .sal-inline-newsletter-title {
  max-width: 640px;
  margin-bottom: 8px;
}

.sal-insights-page .sal-inline-newsletter-copy {
  margin-bottom: 16px;
}

.sal-insights-page .sal-trust-line {
  margin: 14px 0 0;
  font-size: 12px;
  line-height: 1.4;
  color: #64748b;
}


/* ========================================
12. PAGINATION
======================================== */

.sal-insights-page .wp-block-query-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
}

.sal-insights-page .wp-block-query-pagination a,
.sal-insights-page .wp-block-query-pagination span {
  font-size: 13px;
  line-height: 1.2;
  font-weight: 600;
  color: #1f6fd6;
}

.sal-insights-page .wp-block-query-pagination a:hover {
  color: #1554a8;
}

.sal-insights-page .wp-block-query-pagination-numbers {
  display: flex;
  align-items: center;
  gap: 10px;
}


/* ========================================
13. WORDPRESS CLEANUP
======================================== */

.sal-insights-page .wp-block-post-excerpt__more-text {
  display: none;
}

.sal-insights-page .wp-block-read-more {
  display: inline-flex;
  margin-top: 2px;
}


/* ========================================
14. RESPONSIVE
======================================== */

@media (max-width: 1200px) {
  .sal-insights-page .sal-container {
    width: min(1100px, calc(100% - 40px));
  }
}

@media (max-width: 1023px) {
  .sal-insights-page .sal-container {
    width: calc(100% - 28px);
  }

  .sal-insights-page .sal-insights-hero,
  .sal-insights-page .sal-start-here,
  .sal-insights-page .sal-featured-frameworks,
  .sal-insights-page .sal-case-studies-spotlight,
  .sal-insights-page .sal-category-nav,
  .sal-insights-page .sal-inline-newsletter,
  .sal-insights-page .sal-latest-insights {
    padding-top: 46px;
    padding-bottom: 46px;
  }

  .sal-insights-page .sal-section-head {
    gap: 18px;
  }

  .sal-insights-page .sal-section-head-action {
    justify-content: flex-start;
    align-items: start;
  }

  .sal-insights-page .sal-post-grid .wp-block-post-template,
  .sal-insights-page .sal-case-study-grid .wp-block-post-template {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .sal-insights-page .sal-post-card-body {
    min-height: 220px;
  }
}

@media (max-width: 767px) {
  .sal-insights-page .sal-container,
  .sal-insights-page .sal-insights-hero .sal-container,
  .sal-insights-page .sal-start-here .sal-container,
  .sal-insights-page .sal-featured-frameworks .sal-container,
  .sal-insights-page .sal-case-studies-spotlight .sal-container,
  .sal-insights-page .sal-category-nav .sal-container,
  .sal-insights-page .sal-inline-newsletter .sal-container,
  .sal-insights-page .sal-latest-insights .sal-container {
    width: calc(100% - 14px);
  }

  .sal-insights-page .sal-insights-hero {
    padding: 10px 0 18px;
  }

  .sal-insights-page .sal-page-title {
    max-width: 100%;
    font-size: 30px;
    line-height: 0.98;
    margin-bottom: 10px;
  }

  .sal-insights-page .sal-page-sub {
    font-size: 14px;
    line-height: 1.55;
  }

  .sal-insights-page .sal-library-search {
    margin-top: 16px;
  }

  .sal-insights-page .sal-library-search .wp-block-search__inside-wrapper {
    min-height: 46px;
  }

  .sal-insights-page .sal-library-search .wp-block-search__input {
    height: 46px;
    font-size: 14px;
  }

  .sal-insights-page .sal-insights-orientation {
    padding-top: 8px;
  }

  .sal-insights-page .sal-orientation-card {
    padding: 12px;
    border-radius: 16px;
  }

  .sal-insights-page .sal-start-here,
  .sal-insights-page .sal-featured-frameworks,
  .sal-insights-page .sal-case-studies-spotlight,
  .sal-insights-page .sal-category-nav,
  .sal-insights-page .sal-inline-newsletter,
  .sal-insights-page .sal-latest-insights {
    padding-top: 34px;
    padding-bottom: 34px;
  }

  .sal-insights-page .sal-category-nav {
    padding-top: 26px;
    padding-bottom: 26px;
  }

  .sal-insights-page .sal-section-title,
  .sal-insights-page .sal-inline-newsletter-title {
    font-size: 28px;
    line-height: 1.08;
    margin-bottom: 10px;
  }

  .sal-insights-page .sal-section-intro,
  .sal-insights-page .sal-inline-newsletter-copy,
  .sal-insights-page .sal-orientation-copy {
    font-size: 14px;
    line-height: 1.6;
  }

  .sal-insights-page .sal-section-head {
    gap: 12px;
    margin-bottom: 18px;
  }

  .sal-insights-page .sal-domain-chip-wrap {
    gap: 10px;
  }

  .sal-insights-page .sal-category-nav-card {
    padding: 16px 12px;
    border-radius: 14px;
  }

  .sal-insights-page .sal-domain-chip a {
    padding: 10px 12px;
    font-size: 12px;
  }

  .sal-insights-page .sal-post-grid .wp-block-post-template,
  .sal-insights-page .sal-case-study-grid .wp-block-post-template {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .sal-insights-page .sal-post-card {
    border-radius: 12px;
  }

  .sal-insights-page .sal-post-card .wp-block-post-featured-image img {
    aspect-ratio: 16 / 8.35;
  }

  .sal-insights-page .sal-post-card-body {
    padding: 14px 12px 13px;
    min-height: auto;
  }

  .sal-insights-page .sal-post-cat,
  .sal-insights-page .sal-post-title {
    min-height: auto;
  }

  .sal-insights-page .sal-post-cat {
    font-size: 10px;
    margin-bottom: 8px;
  }

  .sal-insights-page .sal-post-title {
    font-size: 20px;
    line-height: 1.2;
    margin-bottom: 8px;
  }

  .sal-insights-page .sal-post-title a,
  .sal-insights-page .sal-post-excerpt {
    -webkit-line-clamp: unset;
    overflow: visible;
    display: block;
  }

  .sal-insights-page .sal-post-excerpt {
    font-size: 13px;
    line-height: 1.55;
    margin-bottom: 12px;
  }

  .sal-insights-page .sal-inline-newsletter-card {
    padding: 18px 14px;
    border-radius: 14px;
  }

  .sal-insights-page .sal-trust-line {
    font-size: 12px;
    line-height: 1.45;
  }

  .sal-insights-page .wp-block-query-pagination {
    margin-top: 22px;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  .sal-insights-page .sal-latest-insights .sal-post-excerpt {
    -webkit-line-clamp: 3;
    display: -webkit-box;
    overflow: hidden;
  }
}


/* ========================================
15. REDUCED MOTION
======================================== */

@media (prefers-reduced-motion: reduce) {
  .sal-insights-page *,
  .sal-insights-page *::before,
  .sal-insights-page *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

/* ========================================
INSIGHTS PAGE
KILL KADENCE TITLE BAND
PAGE ID 17
======================================== */

body.page-id-17 .content-title-style-above .entry-hero,
body.page-id-17 .content-title-style-above .entry-hero-container,
body.page-id-17 .content-title-style-above .entry-hero-container-inner,
body.page-id-17 .content-title-style-above .entry-header,
body.page-id-17 .content-title-style-above .hero-section,
body.page-id-17 .content-title-style-above .page-header,
body.page-id-17 .content-title-style-above .archive-header {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
}

body.page-id-17 .site-content,
body.page-id-17 .content-area,
body.page-id-17 .site-main,
body.page-id-17 #primary,
body.page-id-17 #main,
body.page-id-17 article,
body.page-id-17 .entry-content,
body.page-id-17 .entry-content-wrap,
body.page-id-17 .sal-insights-hero {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body.page-id-17 .sal-insights-hero {
  padding-top: 0 !important;
}

/* REMOVE DEFAULT PAGE TITLE BAND ON BLOG PAGE */

body.page-id-17 .entry-hero {
display: none !important;
}

body.page-id-17 .content-title-style-above .entry-header {
display: none !important;
}

body.page-id-17 .page-header {
display: none !important;
}

/* PULL CONTENT UP UNDER STICKY HEADER */

body.page-id-17 .site-main {
margin-top: 0 !important;
padding-top: 0 !important;
}

body.page-id-17 .sal-insights-hero {
margin-top: 0 !important;
padding-top: 0 !important;
}

/* INSIGHTS PAGE SEARCH BUTTON FIX */

.sal-insights-page .wp-block-search__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 26px;
  border-radius: 999px;
  border: none;
  background: var(--sal-brand-cyan);
  color: #0B1220;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  box-shadow: none;
}

.sal-insights-page .wp-block-search__button:hover {
  background: var(--sal-brand-teal);
  color: #FFFFFF;
}

.sal-insights-page .wp-block-search__button:focus {
  outline: none;
}

.sal-insights-page .wp-block-search__button:focus-visible {
  outline: 2px solid var(--sal-brand-cyan);
  outline-offset: 2px;
}

.sal-insights-page .wp-block-search__inside-wrapper {
  display: flex;
  gap: 12px;
}

@media (max-width: 767px) {
  .sal-insights-page .wp-block-search__inside-wrapper {
    flex-direction: column;
  }

  .sal-insights-page .wp-block-search__button {
    width: 100%;
  }
}

/* ========================================
INSIGHTS PAGE
HERO SEARCH BAR FINAL FIX
======================================== */

.sal-insights-page .sal-library-search {
  max-width: 760px;
  margin: 18px auto 0;
}

.sal-insights-page .sal-library-search .wp-block-search {
  max-width: 760px;
  margin: 0 auto;
}

.sal-insights-page .sal-library-search .wp-block-search__inside-wrapper {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 6px !important;
  border: 1px solid #d8e2ec !important;
  border-radius: 12px !important;
  background: rgba(255, 255, 255, 0.96) !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05) !important;
}

.sal-insights-page .sal-library-search .wp-block-search__input {
  flex: 1 1 auto !important;
  min-height: 52px !important;
  height: 52px !important;
  padding: 0 14px !important;
  border: 0 !important;
  background: transparent !important;
  color: #111827 !important;
  font-size: 14px !important;
  line-height: 1.2 !important;
  box-shadow: none !important;
}

.sal-insights-page .sal-library-search .wp-block-search__input:focus {
  outline: none !important;
  box-shadow: none !important;
}

.sal-insights-page .sal-library-search .wp-block-search__button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 108px !important;
  height: 44px !important;
  margin: 0 !important;
  padding: 0 18px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: #1f6fd6 !important;
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  box-shadow: none !important;
  white-space: nowrap !important;
}

.sal-insights-page .sal-library-search .wp-block-search__button:hover,
.sal-insights-page .sal-library-search .wp-block-search__button:focus {
  background: #1554a8 !important;
  color: #ffffff !important;
}

@media (max-width: 767px) {
  .sal-insights-page .sal-library-search {
    margin-top: 14px !important;
  }

  .sal-insights-page .sal-library-search .wp-block-search__inside-wrapper {
    flex-direction: column !important;
    gap: 10px !important;
    padding: 10px !important;
  }

  .sal-insights-page .sal-library-search .wp-block-search__input {
    width: 100% !important;
    min-height: 48px !important;
    height: 48px !important;
    padding: 0 12px !important;
    border: 1px solid #d8e2ec !important;
    border-radius: 10px !important;
    background: #ffffff !important;
  }

  .sal-insights-page .sal-library-search .wp-block-search__button {
    width: 100% !important;
    min-width: 0 !important;
    height: 48px !important;
    border-radius: 999px !important;
    font-size: 14px !important;
  }
}

.sal-inline-newsletter-card .formkit-form {
  margin-top: 12px;
}