.swhq-sticky{position:sticky;top:96px;align-self:start}
@media (max-width:1024px){.swhq-sticky{position:static;margin-bottom:1rem}}

/* Make links inside article content more visible */
.entry-content a,
.wp-block-post-content a {
  color: #4cc3ff;
  text-decoration: underline;
}

/* Optional: slightly darker on hover */
.entry-content a:hover,
.wp-block-post-content a:hover {
  color: #89d8ff;
}

/* Reset link styling inside headings (e.g. titles in query loops) */
.entry-content h1 a,
.entry-content h2 a,
.entry-content h3 a,
.entry-content h4 a,
.entry-content h5 a,
.entry-content h6 a,
.wp-block-post-content h1 a,
.wp-block-post-content h2 a,
.wp-block-post-content h3 a,
.wp-block-post-content h4 a,
.wp-block-post-content h5 a,
.wp-block-post-content h6 a,
.wp-block-post-title a {
  color: inherit;
  text-decoration: none;
}

/* Search results page – style sidebar search widget */
body.search #secondary {
  background: transparent;
}

/* Widget card */
body.search #secondary .widget {
  background-color: var(--ast-global-color-4); /* same as main page bg */
  border-radius: 16px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

/* "Search" label */
body.search #secondary .widget .wp-block-search__label {
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

/* Input + button wrapper */
body.search #secondary .widget .wp-block-search__inside-wrapper {
  background: rgba(0, 0, 0, 0.25);
  border-radius: 999px;
  padding: 4px;
}

/* Input field */
body.search #secondary .widget .wp-block-search__input {
  background: transparent;
  border: none;
  color: #ffffff;
}

body.search #secondary .widget .wp-block-search__input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

/* Button */
body.search #secondary .widget .wp-block-search__button {
  border-radius: 999px;
}
/* Search results page – header strip */
body.search .ast-archive-description {
  background-color: #212A37 !important; /* greyish tone */
  border-radius: 16px;
  padding: 24px 32px;
  margin-bottom: 24px;
}

body.search .ast-archive-description .page-title {
  color: #ffffff;
  margin: 0;
}

/* Search results page – header strip */
body.search .ast-archive-description {
  background-color: #212A37 !important; /* greyish tone */
  border-radius: 16px;
  padding: 24px 32px;
  margin-bottom: 24px;
}

body.search .ast-archive-description .page-title {
  color: #ffffff;
  margin: 0;
}

/* === RESULT CARDS === */

/* Outer wrapper – grey frame */
body.search .ast-article-post.ast-archive-post .ast-article-inner {
  background-color: #212A37 !important; /* greyish */
  border-radius: 16px;
  padding: 16px;
}

/* Inner card (image + content) – darker blue */
body.search .ast-article-post.ast-archive-post .ast-blog-featured-section,
body.search .ast-article-post.ast-archive-post .post-content {
  background-color: #0F172A !important; /* darker blue */
}

/* Image container – rounded top, clip image */
body.search .ast-article-post.ast-archive-post .ast-blog-featured-section {
  margin-bottom: 0;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
}

/* Text area – rounded bottom + padding */
body.search .ast-article-post.ast-archive-post .post-content {
  border-radius: 16px 16px 16px 16px;
  padding: 24px;
}

/* Featured image – match top radius */
body.search .ast-article-post.ast-archive-post
  .ast-blog-featured-section img.wp-post-image {
  display: block;
  width: 100%;
  border-radius: 16px 16px 0 0;
}
