/* ============================================================
   GIIM SEARCH RESULTS — SAFE & FIXED STYLES
   ============================================================ */

/* 1. Hide Astra default metadata */
.search-results .ast-archive-description,
.search-results .ast-breadcrumbs,
.search-results .breadcrumb,
.search-results .entry-meta,
.search-results .posted-on,
.search-results .byline,
.search-results .author-name,
.search-results .entry-header .entry-meta {
  display: none !important;
}

/* 2. Page titles and GIIM search title */
.search-results .page-title,
.search-results h1.page-title,
.search-results h1.entry-title,
.giim-search-title {
  display: block;
  text-align: center;
  font-size: 32px;
  font-weight: 600;
  margin: 0 0 28px;
  color: #0d0d0d;
  letter-spacing: -0.3px;
}

/* 3. Executive card layout */
.search-results article.ast-article-post,
.search-results article {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  padding: 22px 26px;
  margin-bottom: 26px;
  transition: box-shadow .25s ease, transform .25s ease;
  box-sizing: border-box;
}

.search-results article:hover {
  box-shadow: 0 4px 14px rgba(0,0,0,.06);
  transform: translateY(-2px);
}

/* 4. Executive title styling */
.search-results .entry-title {
  text-align: center;
  margin-bottom: 10px;
}

.search-results .entry-title a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
  color: #0d0d0d;
  font-weight: 600;
  font-size: 22px;
  text-decoration: none;
  letter-spacing: -0.2px;
  transition: color .25s ease;
}

.search-results .entry-title a:hover {
  color: #000;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Remove decorative lines */
.search-results .entry-title::before,
.search-results .entry-title::after,
.search-results .entry-header::before,
.search-results .entry-header::after {
  content: none !important;
}

/* 5. Executive excerpt styling */
.search-results .entry-summary {
  margin: 8px 0 4px;
  color: #444;
  font-size: 15px;
  line-height: 1.55;
}

/* 6. Keyword highlighting */
.search-results mark {
  background: #fff3b0;
  padding: 0 2px;
  border-radius: 2px;
}

/* 7. No results layout */
.search-no-results .entry-content p:first-of-type {
  font-size: 30px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 16px;
  color: #111;
  letter-spacing: -0.3px;
}

.search-no-results .entry-content p:nth-of-type(2) {
  font-size: 16px;
  color: #444;
  text-align: center;
  line-height: 1.55;
  max-width: 600px;
  margin: 0 auto;
}

.search-no-results .entry-content a {
  display: block;
  text-align: center;
  margin: 26px auto 0;
  padding: 14px 20px;
  background: #f8f8f8;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  font-weight: 600;
  color: #111;
  transition: background .25s ease, transform .25s ease;
}

.search-no-results .entry-content a:hover {
  background: #f0f0f0;
  transform: translateY(-1px);
}

/* 8. Gold lines — header + footer */
header.site-header,
.elementor-location-header,
header.ast-header,
header.ast-primary-header-bar {
  border-bottom: 2px solid #eaaf04;
}

footer.site-footer,
.elementor-location-footer,
.site-footer,
.ast-footer {
  border-top: 2px solid #eaaf04;
}

/* 9. Copyright line formatting */
.elementor-location-footer p {
  margin: 0;
  padding: 0;
  line-height: 1.2;
}

/* 10. GIIM refine search bar */
.giim-refine-search {
  max-width: 100%;
  padding: 26px 0 30px;
  text-align: center;
}

.giim-refine-search-title {
  font-weight: 600;
  font-size: 28px;
  color: #222;
  margin-bottom: 18px;
  line-height: 1.3;
}

.giim-refine-search input[type="search"] {
  padding: 12px 14px;
  width: 100%;
  max-width: 380px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
  background: #fff;
  color: #222;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.giim-refine-search input[type="search"]:focus {
  border-color: #c9a857;
  box-shadow: 0 0 0 2px rgba(201,168,87,0.25);
  outline: none;
}

/* 11. Header search input height fix */
.ast-search-menu,
.ast-search-menu .search-form,
.ast-search-menu input.search-field,
.ast-search-menu .search-submit {
  height: 32px;
  min-height: 32px;
  max-height: 32px;
  line-height: 32px;
  padding: 0;
}

/* 12. Bulleted list spacing */
.elementor-widget-text-editor ul li {
    margin-bottom: 12px;
}
.elementor-widget-text-editor ul li:last-child {
    margin-bottom: 0;
}