/* blogs.css — styles for Blogs archive + post pages (matches sd.css theme) */

:root{
  --sd-navy:#0b1f4b;
  --sd-yellow:#ffcc33;
}

/* Container spacing (navbar is sticky-top across the site) */
.blog-page #main,
.blogs-page #main{
  padding-top: 0.75rem;
}

/* Keep footer at bottom on short pages */
.blog-page,
.blogs-page{
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.blog-page #main,
.blogs-page #main{
  flex: 1;
}

/* Panels that look like your site cards */
.blog-panel{
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 22px;
  padding: 1.25rem;
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
}

/* Title spacing inside blog panels */
.blog-panel .h5{
  letter-spacing: .2px;
}

/* Archive list tweaks */
#blogAllPosts .list-group-item{
  border: 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  padding: 0.9rem 0.75rem;
}
#blogAllPosts .list-group-item:last-child{
  border-bottom: 0;
}
#blogAllPosts .list-group-item:hover,
#blogAllPosts .list-group-item:focus{
  background: rgba(11, 31, 75, 0.03);
}

/* Post content */
.blog-panel article{
  max-width: 920px;
  margin: 0 auto;
}
.blog-panel article p{
  line-height: 1.75;
  font-size: 1.05rem;
}
.blog-panel article h2,
.blog-panel article h3{
  margin-top: 1.25rem;
}

/* Buttons in posts */
.blog-panel .btn{
  border-radius: 12px;
}

/* Make form controls feel consistent */
.blog-panel .form-control,
.blog-panel .form-select{
  border-radius: 14px;
}

/* Small helper: highlight links like site accent */
.blog-panel a{
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.blog-panel a:hover{
  color: var(--sd-navy);
}
