:root { --primary:#A2AF9B; --muted:#DCCFC0; --surface:#FAF9EE; --white:#ffffff; }

/* Animations */
@keyframes slideIn {
  from { opacity:0; transform: translateY(8px); }
  to   { opacity:1; transform: translateY(0); }
}
.animate-slideIn { animation: slideIn .5s ease both; }
@keyframes pulseGlow {
  0%,100% { box-shadow: 0 0 0 0 rgba(162,175,155,.5); }
  50% { box-shadow: 0 0 0 12px rgba(162,175,155,0); }
}
.glow { animation: pulseGlow 2.5s infinite; }

/* Custom scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: #A2AF9B; border-radius: 9999px; }
::-webkit-scrollbar-track { background: #EAE8DF; }


/* Animated search (blog header) */
.kcv-search { height: 36px; }
.kcv-search__input{
  width: 160px; transition: all .25s ease, box-shadow .25s ease;
  padding: 0.5rem 2.2rem 0.5rem 0.75rem;
  border-radius: 0.75rem; border: 1px solid rgba(0,0,0,.06);
  background: rgba(255,255,255,.8);
}
.dark .kcv-search__input{ background: rgba(15,23,42,.7); border-color: rgba(255,255,255,.12); }
.kcv-search__input:focus{
  outline: none; width: 240px;
  box-shadow: 0 0 0 8px rgba(162,175,155,.15);
}
.kcv-search__btn{
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  height: 28px; width: 28px;
  display: grid; place-items: center;
  border-radius: 0.5rem;
}
.kcv-search__btn:hover{ background: rgba(0,0,0,.04); }
.dark .kcv-search__btn:hover{ background: rgba(255,255,255,.06); }


/* Latest posts title clamp (if you use it) */
.line-clamp-2 {
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
}

/* Pagination styles */
.kcv-pagination .kcv-page{
  display:inline-flex; align-items:center; justify-content:center;
  min-width: 36px; height: 36px; padding: 0 .75rem;
  border-radius: .75rem; border: 1px solid rgba(0,0,0,.06);
  background: rgba(255,255,255,.8); font-size: .875rem;
  transition: all .2s ease;
}
.dark .kcv-pagination .kcv-page{ border-color: rgba(255,255,255,.12); background: rgba(15,23,42,.7); }
.kcv-pagination .kcv-page--link:hover{
  background: var(--white); transform: translateY(-1px);
  box-shadow: 0 0 0 8px rgba(162,175,155,.12);
}
.kcv-pagination .kcv-page--current{
  font-weight: 700; background: var(--primary); color: #0f172a;
  border-color: transparent;
}


/* ---------- Comments UI ---------- */

.kcv-comments .children{
  margin-left: 1.25rem; /* indent */
  padding-left: 1rem;
  border-left: 2px dashed rgba(0,0,0,.08);
}
.dark .kcv-comments .children{ border-color: rgba(255,255,255,.12); }

/* Comment bubble tweaks */
.kcv-bubble a.comment-reply-link{
  display:inline-flex; align-items:center; gap:.35rem;
  padding:.35rem .6rem; border-radius:.6rem;
  border:1px solid rgba(0,0,0,.06);
  background: rgba(255,255,255,.7);
  font-size:.85rem; transition:all .2s ease;
}
.dark .kcv-bubble a.comment-reply-link{ border-color: rgba(255,255,255,.12); background: rgba(15,23,42,.7); }
.kcv-bubble a.comment-reply-link:hover{
  background: var(--white);
  box-shadow: 0 0 0 8px rgba(162,175,155,.12);
  transform: translateY(-1px);
}

/* Comment form */
.kcv-field{ margin-bottom: .85rem; }
.kcv-label{ display:block; font-size:.85rem; opacity:.75; margin-bottom:.35rem; }
.kcv-input, .kcv-textarea{
  width:100%; padding:.6rem .8rem; border-radius:.8rem;
  border:1px solid rgba(0,0,0,.08); background: rgba(255,255,255,.8);
  transition: box-shadow .2s ease, border-color .2s ease;
}
.dark .kcv-input, .dark .kcv-textarea{
  border-color: rgba(255,255,255,.12); background: rgba(15,23,42,.7);
}
.kcv-input:focus, .kcv-textarea:focus{
  outline:none; border-color: transparent;
  box-shadow: 0 0 0 10px rgba(162,175,155,.12);
}

.kcv-btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:.6rem 1rem; border-radius:.9rem; font-weight:600;
  border:1px solid transparent; background: var(--primary); color:#0f172a;
  transition: transform .15s ease, box-shadow .2s ease;
}
.kcv-btn:hover{ transform: translateY(-1px); box-shadow: 0 10px 16px rgba(0,0,0,.08); }

/* Pagination (re-use from blog) */
.kcv-pagination .kcv-page{
  display:inline-flex; align-items:center; justify-content:center;
  min-width: 36px; height: 36px; padding: 0 .75rem;
  border-radius: .75rem; border: 1px solid rgba(0,0,0,.06);
  background: rgba(255,255,255,.8); font-size: .875rem;
  transition: all .2s ease;
}
.dark .kcv-pagination .kcv-page{ border-color: rgba(255,255,255,.12); background: rgba(15,23,42,.7); }
.kcv-pagination .kcv-page--link:hover{
  background: var(--white); transform: translateY(-1px);
  box-shadow: 0 0 0 8px rgba(162,175,155,.12);
}
.kcv-pagination .kcv-page--current{
  font-weight: 700; background: var(--primary); color: #0f172a; border-color: transparent;
}


/* Blog Index Page */

nav.kcv-pagination ul li a {
    background: #585f55!important;
    color: white;
    padding: 14px;
    border-radius: 8px;
}



nav.kcv-pagination ul li span {
    background: #faf9ee !important;
    color: black;
    padding: 10px 14px;
    border-radius: 8px;
    box-shadow: 1px -1px 1px 1px;
    border: 1px solid #585f55;
}



/* Single Blog page */
.single-content p {
    margin-bottom: 30px;
}

/* .single-content img {
    margin-bottom: 25px;
    margin-top: 25px;
    border-bottom-right-radius: 48px;
    border-top-right-radius: 48px;
    box-shadow: 0 0 3px 1px;
} */

.single-content figure img {
    margin-bottom: 25px;
    margin-top: 25px;
    border-bottom-right-radius: 48px;
    border-top-right-radius: 48px;
    box-shadow: 0 0 3px 1px;
}

.single-content figure {
    position: relative;
}

.single-content figure::after {
    content: "";
    position: absolute;
    top: 5%;                   /* choose where you want it */
    right: 8%;
    width: 49px;
    height: 50px;
    background: #f9faef;
    pointer-events: none;
    border-radius: 50%;
}

.dark .single-content figure::after {
    background: #090909;
   
}

.pagination a {
    background: #585f55;
    color: white;
    padding: 14px;
    border-radius: 8px;
}