/*
 * Catrawarta – Inner Pages Visual Consistency
 * v5.13.0
 *
 * Presentation-only layer for Search and static Pages.
 * Reuses the Category/TAG visual language without changing content/query logic.
 */

body.search,
body.page:not(.home){
  --catra-inner-navy:var(--catra-header-bg,var(--catra-footer-bg,#00293e));
  --catra-inner-gold:#dfbb6f;
  --catra-inner-ink:#0b0b0b;
  --catra-inner-muted:rgba(0,41,62,.62);
  --catra-inner-divider:rgba(0,41,62,.12);
  --catra-inner-soft:rgba(0,41,62,.045);
  --catra-inner-font:"Reddit Sans",Arial,Helvetica,sans-serif;
  --catra-inner-heading-size:24px;
  --catra-inner-ornament-size:88px;
  --catra-inner-ornament-shift-y:-7px;
}

/* ========================================================================== 
   Main page/search heading
   Covers the child Search template, common Mundana page-title variants,
   and the existing About/Contact custom headlines. No title is injected.
   ========================================================================== */
body.search .catra-inner-section-title h1.spanborder,
body.search .page-header h1.spanborder,
body.page:not(.home) .page-header h1,
body.page:not(.home) .entry-header h1.entry-title,
body.page:not(.home) .site-main h1.page-title,
body.page:not(.home) .site-main h1.spanborder,
body.page:not(.home) .mc-about-hero__headline,
body.page:not(.home) .mc-contact-headline{
  position:relative!important;
  isolation:isolate;
  display:inline-flex!important;
  align-items:center!important;
  max-width:100%!important;
  min-height:46px!important;
  box-sizing:border-box!important;
  margin:0 0 18px!important;
  padding:8px 10px 8px 12px!important;
  overflow:visible!important;
  border:0!important;
  border-bottom:1px solid rgba(0,41,62,.28)!important;
  background:none!important;
  color:var(--catra-inner-navy)!important;
  font-family:var(--catra-inner-font)!important;
  font-size:var(--catra-inner-heading-size)!important;
  line-height:1.08!important;
  font-weight:750!important;
  letter-spacing:-.025em!important;
  text-transform:none!important;
  white-space:normal!important;
}

/* Search uses a nested ornament span so its count can remain outside the H1. */
body.search .catra-inner-section-title h1.spanborder{
  display:flex!important;
  padding:0!important;
  border-bottom:0!important;
}
body.search .catra-inner-section-title .catra-inner-heading-ornament{
  position:relative!important;
  isolation:isolate;
  display:inline-flex!important;
  align-items:center!important;
  max-width:100%!important;
  min-height:46px!important;
  box-sizing:border-box!important;
  margin:0!important;
  padding:8px 10px 8px 12px!important;
  border:0!important;
  border-bottom:1px solid rgba(0,41,62,.28)!important;
  background:none!important;
  color:var(--catra-inner-navy)!important;
}
body.search .catra-inner-section-title .catra-inner-heading-ornament > span{
  position:relative;
  z-index:1;
}

/* Remove legacy Mundana title ornament/line to prevent double icons/rules. */
body.search .catra-inner-section-title h1.spanborder::before,
body.search .catra-inner-section-title h1.spanborder::after,
body.search .catra-inner-section-title .catra-inner-heading-ornament::after,
body.page:not(.home) .page-header h1::after,
body.page:not(.home) .entry-header h1.entry-title::after,
body.page:not(.home) .site-main h1.page-title::after,
body.page:not(.home) .site-main h1.spanborder::after,
body.page:not(.home) .mc-about-hero__headline::after,
body.page:not(.home) .mc-contact-headline::after{
  display:none!important;
  content:none!important;
}

body.search .catra-inner-section-title .catra-inner-heading-ornament::before,
body.page:not(.home) .page-header h1::before,
body.page:not(.home) .entry-header h1.entry-title::before,
body.page:not(.home) .site-main h1.page-title::before,
body.page:not(.home) .site-main h1.spanborder::before,
body.page:not(.home) .mc-about-hero__headline::before,
body.page:not(.home) .mc-contact-headline::before{
  content:""!important;
  position:absolute!important;
  z-index:-1!important;
  left:0!important;
  top:calc(50% + var(--catra-inner-ornament-shift-y))!important;
  display:block!important;
  width:var(--catra-inner-ornament-size)!important;
  height:var(--catra-inner-ornament-size)!important;
  margin:0!important;
  background-image:url("../img/catra-tag-section-payung-v3.webp")!important;
  background-repeat:no-repeat!important;
  background-position:left center!important;
  background-size:contain!important;
  pointer-events:none!important;
  transform:translateY(-50%)!important;
}

/* Existing global span pseudo-elements must not add a second small umbrella. */
body.page:not(.home) .site-main h1.spanborder > span::before,
body.page:not(.home) .site-main h1.spanborder > span::after{
  display:none!important;
  content:none!important;
}
body.page:not(.home) .site-main h1.spanborder > span{
  padding:0!important;
  border:0!important;
  color:inherit!important;
}

/* About headline can contain the old green accent spans; title treatment is navy. */
body.page:not(.home) .mc-about-hero__headline .mc-accent{
  color:inherit!important;
}

/* Keep supporting text/content untouched, only normalize heading spacing. */
body.search .page-header,
body.search .catra-inner-section-title{
  margin:0 0 6px!important;
}
body.search .page-header .text-muted{
  color:var(--catra-inner-muted)!important;
}

/* ========================================================================== 
   Existing sidebars — visual parity only. No sidebar is added to a page.
   ========================================================================== */
body.search .thesidebar,
body.page:not(.home) .thesidebar{
  min-width:0;
}

body.search .thesidebar h1.spanborder,
body.search .thesidebar h2.spanborder,
body.search .thesidebar h3.spanborder,
body.search .thesidebar h4.spanborder,
body.page:not(.home) .thesidebar h1.spanborder,
body.page:not(.home) .thesidebar h2.spanborder,
body.page:not(.home) .thesidebar h3.spanborder,
body.page:not(.home) .thesidebar h4.spanborder{
  display:flex!important;
  align-items:center!important;
  margin:0 0 18px!important;
  padding:0!important;
  border:0!important;
  background:none!important;
}
body.search .thesidebar h1.spanborder > span,
body.search .thesidebar h2.spanborder > span,
body.search .thesidebar h3.spanborder > span,
body.search .thesidebar h4.spanborder > span,
body.page:not(.home) .thesidebar h1.spanborder > span,
body.page:not(.home) .thesidebar h2.spanborder > span,
body.page:not(.home) .thesidebar h3.spanborder > span,
body.page:not(.home) .thesidebar h4.spanborder > span{
  position:relative!important;
  isolation:isolate!important;
  display:inline-flex!important;
  align-items:center!important;
  max-width:100%!important;
  min-height:46px!important;
  margin:0!important;
  padding:8px 10px 8px 12px!important;
  overflow:visible!important;
  border:0!important;
  border-bottom:1px solid rgba(0,41,62,.28)!important;
  background:none!important;
  color:var(--catra-inner-navy)!important;
  font-family:var(--catra-inner-font)!important;
  font-size:var(--catra-inner-heading-size)!important;
  line-height:1.08!important;
  font-weight:750!important;
  letter-spacing:-.025em!important;
  text-transform:none!important;
  white-space:normal!important;
}
body.search .thesidebar h1.spanborder > span::before,
body.search .thesidebar h2.spanborder > span::before,
body.search .thesidebar h3.spanborder > span::before,
body.search .thesidebar h4.spanborder > span::before,
body.page:not(.home) .thesidebar h1.spanborder > span::before,
body.page:not(.home) .thesidebar h2.spanborder > span::before,
body.page:not(.home) .thesidebar h3.spanborder > span::before,
body.page:not(.home) .thesidebar h4.spanborder > span::before{
  content:""!important;
  position:absolute!important;
  z-index:-1!important;
  left:0!important;
  top:calc(50% + var(--catra-inner-ornament-shift-y))!important;
  display:block!important;
  width:var(--catra-inner-ornament-size)!important;
  height:var(--catra-inner-ornament-size)!important;
  margin:0!important;
  background-image:url("../img/catra-tag-section-payung-v3.webp")!important;
  background-repeat:no-repeat!important;
  background-position:left center!important;
  background-size:contain!important;
  pointer-events:none!important;
  transform:translateY(-50%)!important;
}
body.search .thesidebar h1.spanborder > span::after,
body.search .thesidebar h2.spanborder > span::after,
body.search .thesidebar h3.spanborder > span::after,
body.search .thesidebar h4.spanborder > span::after,
body.page:not(.home) .thesidebar h1.spanborder > span::after,
body.page:not(.home) .thesidebar h2.spanborder > span::after,
body.page:not(.home) .thesidebar h3.spanborder > span::after,
body.page:not(.home) .thesidebar h4.spanborder > span::after{
  display:none!important;
  content:none!important;
}

/* Popular numbering and title hover: same navy/gold treatment as Category/TAG. */
body.search .thesidebar .list-featured li::before,
body.page:not(.home) .thesidebar .list-featured li::before{
  color:var(--catra-inner-gold)!important;
  opacity:.92!important;
  font-weight:500!important;
}
body.search .thesidebar .list-featured h6 a,
body.page:not(.home) .thesidebar .list-featured h6 a{
  color:var(--catra-inner-ink)!important;
  background-image:linear-gradient(var(--catra-inner-navy),var(--catra-inner-navy))!important;
  background-repeat:no-repeat!important;
  background-position:0 100%!important;
  background-size:0 2px!important;
  text-decoration:none!important;
  transition:background-size .2s ease!important;
}
body.search .thesidebar .list-featured h6 a:hover,
body.search .thesidebar .list-featured h6 a:focus-visible,
body.page:not(.home) .thesidebar .list-featured h6 a:hover,
body.page:not(.home) .thesidebar .list-featured h6 a:focus-visible{
  color:var(--catra-inner-ink)!important;
  background-size:100% 2px!important;
  text-decoration:none!important;
}
body.search .thesidebar .text-muted,
body.search .thesidebar .text-muted a,
body.page:not(.home) .thesidebar .text-muted,
body.page:not(.home) .thesidebar .text-muted a{
  color:var(--catra-inner-muted)!important;
}

/* If the Category directory component already exists on an inner page, keep it
   visually aligned. We do not inject the component anywhere. */
body.search .thesidebar .catra-category-directory,
body.page:not(.home) .thesidebar .catra-category-directory{
  margin-top:30px;
}
body.search .thesidebar .catra-category-directory-link,
body.page:not(.home) .thesidebar .catra-category-directory-link{
  color:var(--catra-inner-navy)!important;
}

/* ========================================================================== 
   Mobile spacing & responsive heading
   ========================================================================== */
@media(max-width:767px){
  body.search,
  body.page:not(.home){
    --catra-inner-heading-size:21px;
    --catra-inner-ornament-size:74px;
    --catra-inner-ornament-shift-y:-5px;
  }

  /* Small breathing room below the sticky/mobile header. */
  body.search .site-main,
  body.page:not(.home) .site-main{
    padding-top:16px;
  }

  body.search .catra-inner-section-title h1.spanborder,
  body.search .catra-inner-section-title .catra-inner-heading-ornament,
  body.page:not(.home) .page-header h1,
  body.page:not(.home) .entry-header h1.entry-title,
  body.page:not(.home) .site-main h1.page-title,
  body.page:not(.home) .site-main h1.spanborder,
  body.page:not(.home) .mc-about-hero__headline,
  body.page:not(.home) .mc-contact-headline,
  body.search .thesidebar h1.spanborder > span,
  body.search .thesidebar h2.spanborder > span,
  body.search .thesidebar h3.spanborder > span,
  body.search .thesidebar h4.spanborder > span,
  body.page:not(.home) .thesidebar h1.spanborder > span,
  body.page:not(.home) .thesidebar h2.spanborder > span,
  body.page:not(.home) .thesidebar h3.spanborder > span,
  body.page:not(.home) .thesidebar h4.spanborder > span{
    min-height:40px!important;
    padding:7px 9px 7px 10px!important;
    margin-bottom:15px!important;
    line-height:1.1!important;
  }

  /* Existing sidebars naturally follow the content on mobile; give them a
     predictable separation and disable accidental sticky behaviour. */
  body.search .thesidebar,
  body.page:not(.home) .thesidebar{
    position:static!important;
    top:auto!important;
    margin-top:30px;
  }

  body.search .thesidebar .catra-category-directory,
  body.page:not(.home) .thesidebar .catra-category-directory{
    margin-top:28px;
  }

  /* About/Contact had large legacy hero top padding. The page title now owns
     that visual rhythm, so reduce only the redundant top whitespace on mobile. */
  body.page:not(.home) .mc-about-hero,
  body.page:not(.home) .mc-contact-hero{
    padding-top:16px!important;
  }
}

@media(max-width:420px){
  body.search .catra-inner-section-title .catra-inner-heading-ornament,
  body.page:not(.home) .page-header h1,
  body.page:not(.home) .entry-header h1.entry-title,
  body.page:not(.home) .site-main h1.page-title,
  body.page:not(.home) .site-main h1.spanborder,
  body.page:not(.home) .mc-about-hero__headline,
  body.page:not(.home) .mc-contact-headline{
    max-width:100%!important;
  }
}

@media(prefers-reduced-motion:reduce){
  body.search .thesidebar .list-featured h6 a,
  body.page:not(.home) .thesidebar .list-featured h6 a{
    transition:none!important;
  }
}


/* ========================================================================== 
   Catra v5.12.19 — Search polish + reliable static-page title targeting
   Scope: Search + static Pages only. No query/content behaviour is changed.
   ========================================================================== */

/* SEARCH: exactly one divider under the title. The parent page-header/spanborder
   rules can otherwise paint a second line underneath our ornament span. */
body.search .catra-inner-section-title,
body.search .catra-inner-section-title.page-header,
body.search .catra-inner-section-title h1.spanborder{
  border:0!important;
  border-top:0!important;
  border-right:0!important;
  border-bottom:0!important;
  border-left:0!important;
  box-shadow:none!important;
  background:none!important;
}
body.search .catra-inner-section-title::before,
body.search .catra-inner-section-title::after,
body.search .catra-inner-section-title h1.spanborder::before,
body.search .catra-inner-section-title h1.spanborder::after{
  display:none!important;
  content:none!important;
  border:0!important;
}
body.search .catra-inner-section-title .catra-inner-heading-ornament{
  border:0!important;
  border-bottom:1px solid rgba(0,41,62,.28)!important;
  box-shadow:none!important;
}

/* SEARCH: article-title hover uses Catrawarta navy underline only. */
body.search .catra-search-results .postbox h2 a,
body.search .catra-search-results .postbox h3 a,
body.search .catra-search-results .card h2 a,
body.search .catra-search-results .card h3 a{
  color:var(--catra-inner-ink)!important;
  text-decoration:none!important;
  background-image:linear-gradient(var(--catra-inner-navy),var(--catra-inner-navy))!important;
  background-position:0 98%!important;
  background-repeat:no-repeat!important;
  background-size:0 2px!important;
  transition:background-size .22s ease!important;
}
body.search .catra-search-results .postbox h2 a:hover,
body.search .catra-search-results .postbox h2 a:focus-visible,
body.search .catra-search-results .postbox h3 a:hover,
body.search .catra-search-results .postbox h3 a:focus-visible,
body.search .catra-search-results .card h2 a:hover,
body.search .catra-search-results .card h2 a:focus-visible,
body.search .catra-search-results .card h3 a:hover,
body.search .catra-search-results .card h3 a:focus-visible{
  color:var(--catra-inner-ink)!important;
  background-size:100% 2px!important;
  text-decoration:none!important;
}

/* SEARCH: modern, minimal pagination. The underlying links/query stay exactly
   the same; only Mundana's old presentation is replaced. */
body.search .catra-search-pagination{
  display:flex!important;
  justify-content:center!important;
  margin:32px 0 18px!important;
  padding:0!important;
  border:0!important;
  border-top:0!important;
  border-bottom:0!important;
  box-shadow:none!important;
  background:none!important;
}
body.search .catra-search-pagination::before,
body.search .catra-search-pagination::after{
  display:none!important;
  content:none!important;
}
body.search .catra-search-pagination .navigation{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex-wrap:wrap!important;
  gap:6px!important;
  width:auto!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
}
body.search .catra-search-pagination .page-numbers{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:36px!important;
  min-height:36px!important;
  margin:0!important;
  padding:7px 10px!important;
  border:1px solid var(--catra-inner-divider)!important;
  border-radius:6px!important;
  background:#fff!important;
  color:var(--catra-inner-navy)!important;
  font-family:var(--catra-inner-font)!important;
  font-size:12px!important;
  line-height:1!important;
  font-weight:650!important;
  text-decoration:none!important;
  box-shadow:none!important;
}
body.search .catra-search-pagination .page-numbers.current{
  border-color:var(--catra-inner-navy)!important;
  background:var(--catra-inner-navy)!important;
  color:#fff!important;
}
body.search .catra-search-pagination a.page-numbers:hover,
body.search .catra-search-pagination a.page-numbers:focus-visible{
  border-color:rgba(0,41,62,.32)!important;
  background:var(--catra-inner-soft)!important;
  color:var(--catra-inner-navy)!important;
  text-decoration:none!important;
}
body.search .catra-search-pagination .dots{
  border-color:transparent!important;
  background:transparent!important;
}

/* SEARCH: replace the legacy image-card Categories block with the same compact
   editorial directory component used by Category/TAG. Location remains below
   the search results; only its presentation/component changes. */
body.search .catra-search-category-directory{
  margin:38px 0 58px!important;
}
body.search .catra-search-category-directory .catra-category-directory{
  position:relative;
  margin:0!important;
  padding:0!important;
}
body.search .catra-search-category-directory .catra-category-sidebar-heading{
  display:flex!important;
  align-items:center!important;
  margin:0 0 8px!important;
  padding:0 0 10px!important;
  border:0!important;
  border-bottom:1px solid var(--catra-inner-divider)!important;
  background:none!important;
}
body.search .catra-search-category-directory .catra-category-heading-ornament{
  position:relative!important;
  isolation:isolate!important;
  display:inline-flex!important;
  align-items:center!important;
  min-height:46px!important;
  margin:0!important;
  padding:8px 10px 8px 12px!important;
  border:0!important;
  background:none!important;
  color:var(--catra-inner-navy)!important;
  font-family:var(--catra-inner-font)!important;
  font-size:var(--catra-inner-heading-size)!important;
  line-height:1.08!important;
  font-weight:750!important;
  letter-spacing:-.025em!important;
  text-transform:none!important;
}
body.search .catra-search-category-directory .catra-category-heading-ornament::before{
  content:""!important;
  position:absolute!important;
  z-index:0!important;
  left:0!important;
  top:calc(50% + var(--catra-inner-ornament-shift-y))!important;
  display:block!important;
  width:var(--catra-inner-ornament-size)!important;
  height:var(--catra-inner-ornament-size)!important;
  background-image:url("../img/catra-tag-section-payung-v3.webp")!important;
  background-repeat:no-repeat!important;
  background-position:left center!important;
  background-size:contain!important;
  pointer-events:none!important;
  transform:translateY(-50%)!important;
}
body.search .catra-search-category-directory .catra-category-heading-ornament > span{
  position:relative!important;
  z-index:1!important;
}
body.search .catra-search-category-directory .catra-category-heading-ornament::after{
  display:none!important;
  content:none!important;
}
body.search .catra-search-category-directory .catra-category-directory-grid{
  display:block!important;
  border:0!important;
}
body.search .catra-search-category-directory .catra-category-directory-link{
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  min-height:46px!important;
  padding:10px 8px!important;
  border:0!important;
  border-bottom:1px solid var(--catra-inner-divider)!important;
  border-radius:0!important;
  background:transparent!important;
  color:var(--catra-inner-navy)!important;
  text-decoration:none!important;
  transition:background-color .18s ease,padding-left .18s ease!important;
}
body.search .catra-search-category-directory .catra-category-directory-link:hover,
body.search .catra-search-category-directory .catra-category-directory-link:focus-visible{
  padding-left:12px!important;
  background:var(--catra-inner-soft)!important;
}
body.search .catra-search-category-directory .catra-category-directory-name{
  min-width:0!important;
  overflow:hidden!important;
  color:var(--catra-inner-navy)!important;
  font-family:var(--catra-inner-font)!important;
  font-size:11.5px!important;
  line-height:1.2!important;
  font-weight:700!important;
  letter-spacing:.018em!important;
  text-transform:uppercase!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
body.search .catra-search-category-directory .catra-category-directory-count{
  flex:0 0 auto!important;
  color:var(--catra-inner-muted)!important;
  font-family:var(--catra-inner-font)!important;
  font-size:10px!important;
  line-height:1.2!important;
  font-weight:500!important;
  white-space:nowrap!important;
}

/* STATIC PAGES: v5.12.18 missed some parent-Mundana page-title structures.
   A tiny page-only script marks the actual first page H1 with this class; the
   treatment remains presentation-only and does not inject or replace content. */
body.page:not(.home) .catra-inner-page-title{
  position:relative!important;
  isolation:isolate!important;
  display:inline-flex!important;
  align-items:center!important;
  max-width:100%!important;
  min-height:46px!important;
  box-sizing:border-box!important;
  margin:0 0 22px!important;
  padding:8px 10px 8px 12px!important;
  overflow:visible!important;
  border:0!important;
  border-bottom:1px solid rgba(0,41,62,.28)!important;
  background:none!important;
  color:var(--catra-inner-navy)!important;
  font-family:var(--catra-inner-font)!important;
  font-size:var(--catra-inner-heading-size)!important;
  line-height:1.08!important;
  font-weight:750!important;
  letter-spacing:-.025em!important;
  text-transform:none!important;
  white-space:normal!important;
}
body.page:not(.home) .catra-inner-page-title::before{
  content:""!important;
  position:absolute!important;
  z-index:-1!important;
  left:0!important;
  top:calc(50% + var(--catra-inner-ornament-shift-y))!important;
  display:block!important;
  width:var(--catra-inner-ornament-size)!important;
  height:var(--catra-inner-ornament-size)!important;
  margin:0!important;
  background-image:url("../img/catra-tag-section-payung-v3.webp")!important;
  background-repeat:no-repeat!important;
  background-position:left center!important;
  background-size:contain!important;
  pointer-events:none!important;
  transform:translateY(-50%)!important;
}
body.page:not(.home) .catra-inner-page-title::after{
  display:none!important;
  content:none!important;
}
body.page:not(.home) .catra-inner-page-title > span::before,
body.page:not(.home) .catra-inner-page-title > span::after{
  display:none!important;
  content:none!important;
}
body.page:not(.home) .catra-inner-page-title .mc-accent{
  color:inherit!important;
}

@media(max-width:767px){
  body.search .catra-search-pagination{
    margin-top:26px!important;
  }
  body.search .catra-search-pagination .navigation{
    gap:5px!important;
  }
  body.search .catra-search-pagination .page-numbers{
    min-width:34px!important;
    min-height:34px!important;
    padding:6px 9px!important;
    font-size:11.5px!important;
  }
  body.search .catra-search-category-directory{
    margin:32px 0 44px!important;
  }
  body.search .catra-search-category-directory .catra-category-heading-ornament,
  body.page:not(.home) .catra-inner-page-title{
    min-height:40px!important;
    padding:7px 9px 7px 10px!important;
    font-size:var(--catra-inner-heading-size)!important;
    line-height:1.1!important;
  }
  body.search .catra-search-category-directory .catra-category-directory-link{
    min-height:44px!important;
    padding:9px 6px!important;
  }
  body.search .catra-search-category-directory .catra-category-directory-link:hover,
  body.search .catra-search-category-directory .catra-category-directory-link:focus-visible{
    padding-left:10px!important;
  }
}

@media(max-width:420px){
  body.search .catra-search-pagination .page-numbers.first,
  body.search .catra-search-pagination .page-numbers.last{
    display:none!important;
  }
  body.search .catra-search-category-directory .catra-category-directory-name{
    font-size:11px!important;
  }
  body.search .catra-search-category-directory .catra-category-directory-count{
    font-size:9.5px!important;
  }
}

@media(prefers-reduced-motion:reduce){
  body.search .catra-search-results a,
  body.search .catra-search-category-directory .catra-category-directory-link{
    transition:none!important;
  }
}

/* ========================================================================== 
   v5.12.20 — Single title divider parity
   Search + static pages only. Remove legacy/parent duplicate rules and keep
   exactly one neutral 1px divider matching the Category title treatment.
   ========================================================================== */

/* Search: parent page-header/spanborder layers must not draw their own line. */
body.search .catra-inner-section-title,
body.search .catra-inner-section-title.page-header,
body.search .catra-inner-section-title h1.spanborder,
body.search .catra-inner-section-title h1.spanborder > span,
body.search .catra-inner-section-title .catra-inner-heading-ornament > span{
  border-top:0!important;
  border-right:0!important;
  border-bottom:0!important;
  border-left:0!important;
  box-shadow:none!important;
}
body.search .catra-inner-section-title::after,
body.search .catra-inner-section-title.page-header::after,
body.search .catra-inner-section-title h1.spanborder::after,
body.search .catra-inner-section-title h1.spanborder > span::after,
body.search .catra-inner-section-title .catra-inner-heading-ornament::after,
body.search .catra-inner-section-title .catra-inner-heading-ornament > span::after{
  display:none!important;
  content:none!important;
  border:0!important;
  box-shadow:none!important;
}
body.search .catra-inner-section-title .catra-inner-heading-ornament{
  border:0!important;
  border-bottom:1px solid #787878!important;
  box-shadow:none!important;
}

/* Static pages: clear any parent/template divider around the detected title. */
body.page:not(.home) .page-header,
body.page:not(.home) .entry-header{
  border-bottom:0!important;
  box-shadow:none!important;
}
body.page:not(.home) .page-header::after,
body.page:not(.home) .entry-header::after{
  display:none!important;
  content:none!important;
  border:0!important;
  box-shadow:none!important;
}
body.page:not(.home) .catra-inner-page-title{
  border:0!important;
  border-bottom:1px solid #787878!important;
  box-shadow:none!important;
}
body.page:not(.home) .catra-inner-page-title > span,
body.page:not(.home) .catra-inner-page-title > a,
body.page:not(.home) .catra-inner-page-title > strong,
body.page:not(.home) .catra-inner-page-title > em{
  border-bottom:0!important;
  box-shadow:none!important;
}
body.page:not(.home) .catra-inner-page-title::after,
body.page:not(.home) .catra-inner-page-title > span::after,
body.page:not(.home) .catra-inner-page-title > a::after,
body.page:not(.home) .catra-inner-page-title > strong::after,
body.page:not(.home) .catra-inner-page-title > em::after{
  display:none!important;
  content:none!important;
  border:0!important;
  box-shadow:none!important;
}


/* ==========================================================================
   v5.13.0 — Search title divider restoration
   Search only. Restore the single neutral divider after v5.12.20 removed the
   duplicate parent line; no other Search/inner-page presentation is changed.
   ========================================================================== */
body.search .catra-inner-section-title h1.spanborder > span.catra-inner-heading-ornament{
  border-top:0!important;
  border-right:0!important;
  border-bottom:1px solid #787878!important;
  border-left:0!important;
  box-shadow:none!important;
}


/* ==========================================================================
   v5.15.6 — Search empty state
   Hasil pencarian kosong memakai bahasa visual 404 Catrawarta:
   label navy, judul navy + garis gold, form navy, ornamen payung tipis.
   ========================================================================== */
body.search .catra-search-empty{
  position:relative;
  isolation:isolate;
  margin:18px 0 44px;
  padding:40px 44px 38px;
  overflow:hidden;
  border-top:1px solid var(--catra-inner-divider);
  border-bottom:1px solid var(--catra-inner-divider);
  background:#fff;
  font-family:var(--catra-inner-font);
}
body.search .catra-search-empty::before{
  content:"";
  position:absolute;
  z-index:-1;
  right:-90px;
  top:-86px;
  width:380px;
  height:240px;
  background:url("../img/catra-tag-section-payung-v3.webp") center/contain no-repeat;
  opacity:.16;
  transform:rotate(7deg);
  pointer-events:none;
}
body.search .catra-search-empty__eyebrow{
  display:inline-flex;
  margin:0 0 14px;
  padding:5px 9px 4px;
  background:var(--catra-inner-navy);
  color:#fff;
  font-size:11px;
  line-height:1;
  font-weight:800;
  letter-spacing:.045em;
  text-transform:uppercase;
}
body.search .catra-search-empty__title{
  position:relative;
  margin:0;
  padding:0 0 16px;
  color:var(--catra-inner-navy);
  font-family:var(--catra-inner-font);
  font-size:clamp(28px,2.8vw,40px);
  line-height:1.05;
  font-weight:800;
  letter-spacing:-.04em;
}
body.search .catra-search-empty__title::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:96px;
  height:2px;
  background:var(--catra-inner-gold);
}
body.search .catra-search-empty__text{
  max-width:620px;
  margin:18px 0 0;
  color:rgba(0,41,62,.72);
  font-size:16px;
  line-height:1.65;
}
body.search .catra-search-empty__text strong{
  color:var(--catra-inner-navy);
  font-weight:800;
}
body.search .catra-search-empty__form{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:10px;
  max-width:620px;
  margin:26px 0 0;
}
body.search .catra-search-empty__form input{
  width:100%;
  min-width:0;
  height:48px;
  padding:0 16px;
  border:1px solid rgba(0,41,62,.22);
  border-radius:4px;
  outline:none;
  background:#fff;
  color:var(--catra-inner-navy);
  font-size:15px;
  box-shadow:none;
  transition:border-color .18s ease,box-shadow .18s ease;
}
body.search .catra-search-empty__form input:focus{
  border-color:var(--catra-inner-navy);
  box-shadow:0 0 0 3px rgba(0,41,62,.08);
}
body.search .catra-search-empty__form button{
  min-width:112px;
  height:48px;
  padding:0 22px;
  border:1px solid var(--catra-inner-navy);
  border-radius:4px;
  background:var(--catra-inner-navy);
  color:#fff;
  font-size:14px;
  font-weight:800;
  cursor:pointer;
  transition:background .18s ease,color .18s ease;
}
body.search .catra-search-empty__form button:hover,
body.search .catra-search-empty__form button:focus-visible{
  background:#fff;
  color:var(--catra-inner-navy);
}
body.search .catra-search-empty__home{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-top:20px;
  color:var(--catra-inner-navy);
  font-size:14px;
  font-weight:700;
  text-decoration:none;
}
body.search .catra-search-empty__home:hover span,
body.search .catra-search-empty__home:focus-visible span{
  text-decoration:underline;
  text-decoration-color:var(--catra-inner-navy);
  text-underline-offset:3px;
}
@media (max-width:767.98px){
  body.search .catra-search-empty{
    margin:12px 0 34px;
    padding:30px 16px 32px;
  }
  body.search .catra-search-empty::before{
    right:-110px;
    top:-60px;
    width:280px;
    height:180px;
    opacity:.13;
  }
  body.search .catra-search-empty__eyebrow{
    margin-bottom:12px;
    font-size:10px;
  }
  body.search .catra-search-empty__title{
    padding-bottom:14px;
    font-size:clamp(26px,7.6vw,32px);
  }
  body.search .catra-search-empty__text{
    margin-top:15px;
    font-size:14.5px;
    line-height:1.6;
  }
  body.search .catra-search-empty__form{
    grid-template-columns:1fr;
    margin-top:22px;
  }
  body.search .catra-search-empty__form input,
  body.search .catra-search-empty__form button{
    height:46px;
  }
  body.search .catra-search-empty__form button{
    width:100%;
  }
}
