/* Header */

.header-inner{
  display:flex;
  align-items:center;
  gap:10px;
  justify-content:space-between;
  padding-top:12px;
}
.brand{
  display:flex;
  gap:12px;
  align-items:center;
  text-decoration:none;
  color:inherit;
}

.brand-text{font-weight:600;letter-spacing:0.2px}
.nav{display:flex;gap:12px}
.nav a{color:var(--muted);text-decoration:none;padding:8px;border-radius:8px}
.nav a:hover{background:rgba(0,0,0,0.03);color:#000}

/* Hero inside header */

.blog-title{margin:0;font-size:28px}
.meta{color:var(--muted);margin-top:6px}

/* Main layout */
.main-content{display:grid;grid-template-columns:1fr 320px;gap:28px;padding:28px 0}
.card{background:var(--card);border-radius:var(--radius);box-shadow:0 6px 18px var(--shadow);padding:0;overflow:hidden}

/* Post */
.post{display:flex;flex-direction:column}
.featured-image{
  width:100%;
  height:460px;
  object-fit:cover;
  display:block;
  transition:transform .32s ease;
}
.post.card:hover .featured-image,
.featured-image:hover{
  transform:scale(1.04);
}
.post-body{padding:20px}
.post-body h1{
  margin-top:16px;
  color:#111;
  font-size:40px;
}
.post-body h2,
.post-body h3{
  margin-top:20px;
  margin-bottom:12px;
  color:#111;
  font-size:34px;
  padding-bottom:16px;
  position:relative;
}
.post-body h2::after,
.post-body h3::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:190px;
  height:2px;
  background:#1eb9ae;
  border-radius:999px;
}
.post-body p{color:#333}

/* Sidebar */
.sidebar{align-self:start;display:flex;flex-direction:column;gap:16px}
.search-box{padding:12px}
.search-box input{width:100%;padding:10px 12px;border-radius:8px;border:1px solid #eee;outline:none;font-size:15px}
.author-box{padding:18px;text-align:center}
.author-photo{width:84px;height:84px;border-radius:50%;object-fit:cover;margin:0 auto 12px;display:block}

/* frame for Meet the Doctor card */
.author-box{
  border:2px solid rgba(148,163,184,0.9);
  border-radius:16px;
}
.recent-posts{padding:18px}
.recent-posts ul{list-style:none;padding-left:0;margin:8px 0}
.recent-posts li{margin:8px 0}
.recent-posts a{text-decoration:none;color:#333}
.no-results{color:var(--muted);font-size:14px}

/* Recent posts heading underline */
.recent-posts h3{
  position:relative;
  margin:0 0 14px 0;
  font-size:18px;
}
.recent-posts h3::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-4px;
  width:80px;
  height:2px;
  background:#1eb9ae;
  border-radius:999px;
}

/* Dancing doctor text (subtle hover animation) */
.dancing-text{
  display:inline-block;
  cursor:default;
  animation:doctor-bounce 0.8s ease-in-out infinite alternate;
}
@keyframes doctor-bounce{
  0%{ transform:translateY(0); }
  50%{ transform:translateY(-2px) rotate(-0.5deg); }
  100%{ transform:translateY(1px) rotate(0.5deg); }
}

/* Blockquote */
blockquote{
  margin:18px 0;padding:16px ;border-left:4px solid var(--accent);
  background:linear-gradient(90deg, rgba(123,97,255,0.03), rgba(255,143,163,0.01));
  border-radius:8px;color:#333;font-style:italic;
}

/* Buttons */
.btn{display:inline-block;padding:10px 14px;border-radius:10px;text-decoration:none;font-weight:600}
.btn-primary{background:linear-gradient(90deg,var(--accent),var(--accent-2));color:white;box-shadow:0 8px 20px rgba(123,97,255,0.18)}

/* Page heading just under header */
.blogs-page-header{
  padding:88px 0 80px 0;
  background:linear-gradient(90deg,#6ab5c3,#e4e2ff);
}
.blogs-page-header h1{
  margin:0;
  font-size:32px;
  font-weight:700;
  color:#111827;
  text-align:center;
}

/* Blog cards grid */
.blogs-section{
  padding:40px 0 64px 0;
}

.blogs-section .post-card.style-2{
  position:relative;
  border-radius:18px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 10px 24px rgba(15,23,42,0.06);
  transition:
    transform .26s cubic-bezier(0.2,0.8,0.2,1),
    box-shadow .26s ease,
    border-radius .26s ease;
}

.blogs-section .post-card.style-2::before{
  content:"";
  position:absolute;
  inset:auto -40%;
  height:120px;
  top:auto;
  bottom:-80px;
  background:radial-gradient(circle at top,
    rgba(123,97,255,0.18),
    transparent 60%);
  opacity:0;
  transform:translateY(10px);
  transition:opacity .3s ease, transform .3s ease;
  pointer-events:none;
}

.blogs-section .post-card.style-2:hover{
  transform:translateY(-8px) scale(1.02) rotate(-0.4deg);
  box-shadow:0 22px 45px rgba(15,23,42,0.18);
  border-radius:22px;
}

.blogs-section .post-card.style-2:hover::before{
  opacity:1;
  transform:translateY(0);
}

.blogs-section .post-card .post-image img{
  transition:transform .32s ease;
}

.blogs-section .post-card:hover .post-image img{
  transform:scale(1.06);
}

.blogs-section .post-card .post-desc{
  padding:20px 20px 22px 20px;
}

/* Read more button – blog cards */
.blogs-section .themeht-link-btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 16px;
  border-radius:999px;
  border:1px solid rgba(148,163,184,0.5);
  font-size:14px;
  font-weight:600;
  color:#0f172a;
  text-decoration:none;
  background:linear-gradient(90deg,#6ab5c3,#e4e2ff);
  box-shadow:0 6px 14px rgba(15,23,42,0.06);
  transition:
    background .18s ease,
    color .18s ease,
    border-color .18s ease,
    box-shadow .18s ease,
    transform .18s ease,
    gap .18s ease;
  position:relative;
}

.blogs-section .themeht-link-btn span{
  letter-spacing:0.02em;
  text-transform:uppercase;
}

.blogs-section .themeht-link-btn i{
  font-size:11px;
}

/* Replace default icon with a clean arrow on blogs only */
.blogs-section .themeht-link-btn i{
  display:none;
}

.blogs-section .themeht-link-btn::after{
  content:"↗";
  font-size:14px;
  line-height:1;
  transform:translateX(0);
  transition:transform .18s ease;
}

.blogs-section .post-card.style-2:hover .themeht-link-btn{
  background:linear-gradient(90deg,#7b61ff,#ff8fa3);
  color:#fff;
  border-color:transparent;
  box-shadow:0 10px 24px rgba(15,23,42,0.18);
  transform:translateY(-1px);
  gap:10px;
}

.blogs-section .post-card.style-2:hover .themeht-link-btn::after{
  transform:translateX(2px);
}

/* Small purple dot cursor that appears over blogs */
.blog-hover-cursor{
  position:fixed;
  width:16px;
  height:16px;
  border-radius:999px;
  background:#5b3aa5;
  box-shadow:0 0 0 4px rgba(91,58,165,0.22);
  pointer-events:none;
  transform:translate(-50%,-50%) scale(0.7);
  opacity:0;
  transition:
    opacity .18s ease-out,
    transform .18s ease-out;
  z-index:9999;
}

.blog-hover-cursor.is-visible{
  opacity:1;
  transform:translate(-50%,-50%) scale(1);
}

/* Responsive */
@media (max-width: 900px){
  .main-content{grid-template-columns:1fr; padding:18px 0}
  .nav{display:none}
  .brand-text{display:none}
  .featured-image{height:200px}
  .header-inner{gap:12px}
  /* better mobile typography for blog title */
  .post-body h1{
    font-size:26px;
    line-height:1.3;
  }
}

.recent-posts .posts-list{
  list-style:none;
  margin:8px 0 0 0;
  padding:0;
}
.recent-posts .posts-list li{
  padding:12px 0;
  display:flex;
  flex-direction:column;
  gap:6px;
  border-bottom:1px dashed rgba(123,97,255,0.10);
}
.recent-posts .posts-list li a{
  color:#111;
  text-decoration:none;
  font-weight:600;
  transition:color .16s ease;
}
.recent-posts .posts-list li a:hover{ color: var(--accent); }
.recent-posts .posts-list li time{
  color:var(--muted);
  font-size:13px;
}
.recent-posts .posts-list li:last-child{
  border-bottom:none;
}

/* framed recent post cards */
.recent-post-card{
  border:1px solid rgba(148,163,184,0.7); /* 1px solid frame */
  border-radius:10px;
  padding:5px 8px;
  margin:8px 0;
  background:#fff;
  box-shadow:0 4px 10px rgba(15,23,42,0.04);
  transition:
    transform .16s ease,
    box-shadow .16s ease,
    border-color .16s ease,
    background-color .16s ease;
}
.recent-post-card:hover{
  transform:translateY(-2px);
  box-shadow:0 8px 18px rgba(15,23,42,0.10);
  border-color:rgba(37,99,235,0.8);
  background:linear-gradient(90deg,#f9fafb,#eef2ff);
}
.recent-post-link{
  text-decoration:none;
  color:inherit;
  display:block;
}
.recent-post-content{
  display:flex;
  flex-direction:column;
  gap:4px;
}
.recent-post-title{
  font-weight:600;
  font-size:14px;
  line-height:1.4;
}
.recent-post-date{
  color:var(--muted);
  font-size:12px;
}
/* optional: style for scheduled badge (if you decide to show placeholders) */
.scheduled-badge{
  display:inline-block;
  padding:4px 8px;
  background:rgba(123,97,255,0.08);
  color:var(--accent);
  font-size:12px;
  border-radius:999px;
  margin-left:8px;
}