/* Blog: single posts, archives, search results, comments.
   Redesigned post-launch (2026-07) in the site's own design language:
   Lato, teal accents, uppercase letterspaced meta, hairlines, generous air.
   Breadcrumbs, comments and pagination keep their transcribed theme values. */

/* breadcrumbs — quiet centered trail above the page title (markup is the
   baked theme #kadbreadcrumbs div; restyled from the grey theme band) */
#kadbreadcrumbs {
  padding: 26px 0 0;
  font-size: 12px;
  line-height: 20px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-align: center;
  color: #999;
}
#kadbreadcrumbs a { color: #b5b5b5; transition: color 0.2s ease-in-out; }
#kadbreadcrumbs a:hover { color: var(--teal); }
#kadbreadcrumbs .bc-delimiter { margin: 0 5px; color: #d5d5d5; }
#kadbreadcrumbs .kad-breadcurrent { color: #999; }

.blog-container { padding-top: 0; padding-bottom: 0; }

/* category links (shared by post header + cards) */
.kt_post_category, .kt_post_category a {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 24px;
  text-transform: uppercase;
  color: var(--teal);
}

/* hairline-through section titles (comments, footnotes) */
.kt-title {
  position: relative;
  margin: 20px 0;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #555;
}
.kt-title::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--hairline);
}
.kt-title span { position: relative; background: #fff; padding-right: 10px; }

/* ---- single post ------------------------------------------------------- */
.post-single { max-width: 780px; margin: 0 auto; padding: 28px 0 70px; }

.post-header { text-align: center; margin-bottom: 40px; }
h1.entry-title {
  margin: 4px 0 10px;
  font-size: 44px;
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: 1.5px;
  color: #444;
}
.post-top-meta {
  font-size: 13px;
  letter-spacing: 1px;
  line-height: 24px;
  text-transform: uppercase;
  color: #aaa;
}
.post-top-meta a, .post-author-name { color: #aaa; transition: color 0.2s ease-in-out; }
.post-top-meta a:hover { color: var(--teal); }
.meta-sep { margin: 0 6px; }
.post-header-divider { margin-top: 18px; line-height: 0; }
.post-header-divider span {
  display: inline-block;
  width: 60px;
  border-top: 2.5px solid var(--teal);
}

/* ---- post content ------------------------------------------------------ */
.entry-content { font-size: 17px; line-height: 1.7; color: #444; }
.entry-content p { margin: 0 0 28px; }
.entry-content p a:not(.more-link) {
  color: var(--teal);
  border-bottom: 2px solid var(--hairline);
  transition: border 0.2s ease-in-out;
}
.entry-content p a:not(.more-link):hover { border-color: var(--teal); }
.entry-content ul, .entry-content ol { margin: 0 0 28px; padding-left: 24px; }
.entry-content li { margin-bottom: 6px; }
.entry-content li::marker { color: var(--teal); }
.entry-content blockquote {
  margin: 0 0 28px;
  padding: 4px 0 4px 24px;
  border-left: 2.5px solid var(--teal);
  color: #666;
}
.entry-content blockquote p { margin-bottom: 12px; }
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content img { max-width: 100%; height: auto; }
.entry-content iframe, .entry-content video { max-width: 100%; }
.entry-content .alignnone, .entry-content .aligncenter { display: block; margin: 5px auto 28px; }
.entry-content .alignleft { float: left; margin: 5px 20px 20px 0; }
.entry-content .alignright { float: right; margin: 5px 0 20px 20px; }
.entry-content .wp-caption { max-width: 100%; }
.entry-content .wp-caption-text { font-size: 14px; color: #999; text-align: center; }
.entry-content h1, .entry-content h2, .entry-content h3 { clear: both; }

/* ---- footnotes --------------------------------------------------------- */
.footnote-ref { line-height: 0; }
.footnote-ref a {
  padding: 0 2px;
  font-size: 12px;
  font-weight: 700;
  color: var(--teal);
}
.entry-content p sup.footnote-ref a { border-bottom: 0; }
.footnote-ref:target a { background: rgba(41, 206, 206, 0.18); }

.footnotes { margin-top: 50px; }
.footnotes-title { font-size: 16px; font-weight: 700; line-height: 26px; }
.footnotes ol {
  margin: 16px 0 0;
  padding-left: 22px;
  font-size: 14px;
  line-height: 1.65;
  color: #666;
}
.footnotes li { margin-bottom: 8px; transition: background 0.4s ease-out; }
.footnotes li::marker { color: var(--teal); font-weight: 700; }
.footnotes li:target { background: rgba(41, 206, 206, 0.12); }
.footnotes a { color: var(--teal); }
.footnote-back { margin-left: 4px; text-decoration: none; }

/* anchor jumps clear the sticky header, and glide there */
html { scroll-behavior: smooth; }
.footnote-ref, .footnotes li { scroll-margin-top: 90px; }

/* ---- tags -------------------------------------------------------------- */
.posttags { padding-top: 40px; text-transform: uppercase; font-weight: 700; }
.posttags a {
  display: inline-block;
  margin: 2px 2px;
  padding: 2px 8px;
  border: 2px solid var(--hairline);
  font-size: 13px;
  font-weight: 400;
  line-height: 20px;
  color: #999;
  transition: all 0.2s ease-in-out;
}
.posttags a:hover { color: var(--teal); border-color: var(--teal); }

/* ---- prev/next --------------------------------------------------------- */
.post-footer-section { margin-top: 40px; border-top: 1px solid var(--hairline); }
.kad-post-navigation { display: flex; justify-content: space-between; padding: 26px 0; }
.kad-previous-link, .kad-next-link { max-width: 48%; }
.kad-next-link { text-align: right; margin-left: auto; }
.kt_postlink_meta {
  display: block;
  font-size: 13px;
  line-height: 24px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #aaa;
}
.kt_postlink_title { font-size: 16px; line-height: 24px; color: var(--teal); }

/* ---- comments ---------------------------------------------------------- */
.comments-title { font-size: 24px; line-height: 40px; }
.comment-list { padding: 0; margin: 0; list-style: none; }
.comment-list li { margin-bottom: 30px; padding-bottom: 30px; border-bottom: 1px solid #eee; list-style: none; }
.comment-list li:last-child { border-bottom: 0; }
.comment-list li li:last-child { margin-bottom: 0; padding-bottom: 0; }
.comment-list .comment-body { position: relative; }
.comment-list .comment-meta { position: relative; padding-left: 76px; }
.comment-list .comment-author img { border-radius: 50%; position: absolute; left: 0; top: 0; }
.comment-list .comment-author span.says { display: none; }
.comment-list .comment-author b.fn, .comment-list .comment-author b.fn a { text-transform: uppercase; color: #444; }
.comment-list .comment-metadata, .comment-list .comment-metadata a { font-size: 12px; color: #999; font-style: italic; }
.comment-list .comment-content { padding-left: 76px; }
.comment-list .comment-content p { margin-bottom: 20px; }
.comment-list .comment-content p:last-child { margin-bottom: 0; }
.comment-list ul.children { list-style: none; padding-left: 40px; margin-top: 30px; }
/* Static site: comment threads are preserved read-only; reply buttons are inert and hidden */
.comment-list .reply { display: none; }

/* ---- search form (search page, 404) ------------------------------------ */
.search-form { position: relative; }
.search-form .search-field {
  width: 100%;
  padding: 10px 50px 10px 10px;
  font-size: 16px;
  font-family: inherit;
  border: 0;
  border-radius: 0;
  background: rgba(0, 0, 0, 0.07);
}
.search-form .search-submit {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 50px;
  padding: 0;
  border: 0;
  text-align: center;
  background: none;
  color: #999;
  cursor: pointer;
}

/* ---- archives ---------------------------------------------------------- */
.archive-container { padding-bottom: 70px; }
.archive-main { width: 100%; }

.archive-header { text-align: center; padding: 30px 0 44px; }
.archive-kicker {
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal);
}
.archive-title {
  margin: 0;
  font-size: 48px;
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: 1.5px;
  color: #444;
}
.archive-divider { margin-top: 16px; line-height: 0; }
.archive-divider span {
  display: inline-block;
  width: 60px;
  border-top: 2.5px solid var(--teal);
}
.archive-description { max-width: 640px; margin: 16px auto 0; font-size: 16px; line-height: 1.6; color: #777; }

/* ---- post cards -------------------------------------------------------- */
.post-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px 40px;
}
@media (max-width: 767px) {
  .post-grid { grid-template-columns: 1fr; gap: 44px; }
}

.post-card { min-width: 0; }
.post-card-image { display: block; overflow: hidden; }
.post-card-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.post-card:hover .post-card-image img { transform: scale(1.04); }
.post-card-body { padding-top: 16px; }
.post-card-title {
  margin: 2px 0 4px;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 1.2px;
}
.post-card-title a { color: #444; transition: color 0.2s ease-in-out; }
.post-card-title a:hover { color: var(--teal); }
.post-card-date {
  margin-bottom: 10px;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #aaa;
}
.post-card-excerpt { margin: 0; font-size: 15px; line-height: 1.6; color: #777; }

/* text-only variant (search results) */
.post-card--noimage { border-top: 1px solid var(--hairline); }
.post-card--noimage .post-card-body { padding-top: 20px; }

/* ---- pagination -------------------------------------------------------- */
.wp-pagenavi { text-align: center; margin: 60px 0 0; }
.wp-pagenavi a, .wp-pagenavi span {
  display: inline-block;
  margin: 5px;
  padding: 8px 18px;
  font-weight: 700;
  color: #aaa;
  border: solid 2px #aaa;
  transition: border 0.2s ease-in-out;
}
.wp-pagenavi a svg { vertical-align: middle; margin: -2px -4px 0; }
.wp-pagenavi a:hover { border-color: var(--teal); color: var(--teal); }
.wp-pagenavi .current { color: #fff; border-color: var(--teal); background-color: var(--teal); }

/* ---- responsive -------------------------------------------------------- */
@media (max-width: 767px) {
  #kadbreadcrumbs { padding-top: 20px; font-size: 11px; }
  .post-single { padding-top: 22px; }
  h1.entry-title { font-size: 30px; }
  .archive-header { padding: 24px 0 32px; }
  .archive-title { font-size: 34px; }
}
