/* Purple Journal search results */
body.search-results{
  --py-ink:#19161d;
  --py-soft:#6d6672;
  --py-purple:#63308a;
  --py-purple-dark:#40205d;
  --py-lav:#f3edf6;
  --py-cream:#fbf9f6;
  --py-line:#e5dfe7;
  background:var(--py-cream);
}
body.search-results .site-content{background:var(--py-cream);}
body.search-results .site-content>.ast-container{
  width:min(1180px,92%);
  max-width:none;
  padding:0;
}
body.search-results #primary{
  width:100%;
  margin:0;
}
body.search-results .ast-archive-description{
  position:relative;
  margin:0 calc(50% - 50vw) 54px;
  padding:82px max(4vw,calc((100vw - 1180px)/2)) 72px;
  border:0;
  background:linear-gradient(135deg,#fbf8fc 0%,#eee4f3 100%);
}
body.search-results .ast-archive-description:before{
  content:"THE PURPLE JOURNAL";
  display:block;
  margin-bottom:16px;
  color:var(--py-purple);
  font-size:.74rem;
  line-height:1.3;
  font-weight:800;
  letter-spacing:.18em;
}
body.search-results .ast-archive-title{
  margin:0;
  max-width:900px;
  color:var(--py-ink);
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(2.7rem,5.6vw,5.15rem);
  line-height:.98;
  letter-spacing:-.045em;
}
body.search-results .ast-archive-title>span{
  color:var(--py-purple);
}
body.search-results .ast-breadcrumbs-wrapper{display:none;}
body.search-results #main>.ast-row{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;
}
body.search-results article.ast-article-post{
  width:100%;
  margin:0!important;
  padding:0!important;
  overflow:hidden;
  border:1px solid var(--py-line);
  border-radius:20px;
  background:#fff;
  box-shadow:0 8px 28px rgba(52,35,61,.06);
  transition:transform .22s ease,box-shadow .22s ease;
}
body.search-results article.ast-article-post:hover{
  transform:translateY(-4px);
  box-shadow:0 18px 42px rgba(52,35,61,.11);
}
body.search-results article .ast-article-inner{height:100%;}
body.search-results article .post-content{
  display:flex;
  flex-direction:column;
  height:100%;
  padding:0!important;
}
body.search-results article .ast-blog-featured-section{
  margin:0!important;
  overflow:hidden;
}
body.search-results article .post-thumb,
body.search-results article .post-thumb a{
  display:block;
  margin:0!important;
}
body.search-results article .post-thumb img{
  width:100%;
  height:220px;
  margin:0;
  object-fit:cover;
  transition:transform .35s ease;
}
body.search-results article:hover .post-thumb img{transform:scale(1.025);}
body.search-results article .ast-taxonomy-container.default{
  order:2;
  margin:23px 25px 9px!important;
}
body.search-results article .ast-taxonomy-container.default a{
  color:var(--py-purple);
  font-size:.7rem;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
}
body.search-results article .entry-title{
  order:3;
  margin:0 25px 12px!important;
  font-family:Georgia,"Times New Roman",serif;
  font-size:1.42rem!important;
  line-height:1.2!important;
  letter-spacing:-.025em;
}
body.search-results article .entry-title a{color:var(--py-ink);}
body.search-results article .entry-header.ast-blog-meta-container{display:none;}
body.search-results article .ast-excerpt-container{
  order:4;
  display:flex;
  flex-direction:column;
  flex:1;
  margin:0;
  padding:0 25px 25px;
}
body.search-results article .ast-excerpt-container p{
  margin:0;
  color:var(--py-soft);
  font-size:.96rem;
  line-height:1.62;
}
body.search-results article .ast-excerpt-container:after{
  content:"Read article →";
  display:block;
  margin-top:auto;
  padding-top:20px;
  color:var(--py-purple);
  font-size:.9rem;
  font-weight:750;
}
body.search-results article .entry-content{display:none;}
body.search-results .ast-pagination{
  margin:54px 0 82px;
  text-align:center;
}
body.search-results .ast-pagination .page-numbers{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:42px;
  height:42px;
  margin:0 3px;
  border:1px solid var(--py-line);
  border-radius:999px;
  background:#fff;
  color:var(--py-ink);
}
body.search-results .ast-pagination .page-numbers.current,
body.search-results .ast-pagination a.page-numbers:hover{
  border-color:var(--py-purple);
  background:var(--py-purple);
  color:#fff;
}
body.search-no-results .no-results{
  margin:0 0 82px;
  padding:42px;
  border:1px solid var(--py-line);
  border-radius:20px;
  background:#fff;
}
@media(max-width:960px){
  body.search-results #main>.ast-row{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:640px){
  body.search-results .site-content>.ast-container{width:88%;}
  body.search-results .ast-archive-description{
    margin-bottom:34px;
    padding-top:56px;
    padding-bottom:50px;
  }
  body.search-results .ast-archive-title{font-size:2.65rem;}
  body.search-results #main>.ast-row{grid-template-columns:1fr;gap:18px;}
  body.search-results article .post-thumb img{height:210px;}
  body.search-results article .entry-title{font-size:1.34rem!important;}
  body.search-results .ast-pagination{margin:42px 0 64px;}
}
/* Keep mixed-generation articles visually consistent */
body.search-results article .ast-taxonomy-container.default{display:none!important;}
body.search-results article .entry-title{margin-top:25px!important;}
body.search-results article .ast-excerpt-container p{display:none!important;}
body.search-results article .ast-excerpt-container{min-height:72px;}
body.search-results article .ast-excerpt-container:after{padding-top:8px;}

body.search-results .ast-archive-title{font-size:0!important;}
body.search-results .ast-archive-title:before{
  content:"Explore ";
  color:var(--py-ink);
  font-size:clamp(2.7rem,5.6vw,5.15rem);
}
body.search-results .ast-archive-title>span{
  font-size:clamp(2.7rem,5.6vw,5.15rem);
}
@media(max-width:640px){
  body.search-results .ast-archive-title:before,
  body.search-results .ast-archive-title>span{font-size:2.65rem;}
}
