/* ==========================================================================
   Primal Technologies — Blog UI
   Bootstrap 5 component layer styled to match the Primal brand system.
   Load order required:  style.css  ->  bootstrap.min.css  ->  blog.css
   --------------------------------------------------------------------------
   Brand tokens
     Accent (lime)      #93c83f
     Accent (hover)     #82b531
     Navy (cello)       #1e3953
     Footer navy        #1e354a
     Heading ink        #00030a
     Body text          #5a6570
     Hair / borders     #e7ebef
   ========================================================================== */

:root {
  /* Brand palette */
  --pt-accent: #93c83f;
  --pt-accent-dark: #82b531;
  --pt-navy: #1e3953;
  --pt-navy-deep: #16293c;
  --pt-ink: #00030a;
  --pt-body: #5a6570;
  --pt-muted: #8a95a1;
  --pt-hair: #e7ebef;
  --pt-surface: #ffffff;
  --pt-soft: #f5f7fa;
  --pt-radius: 14px;
  --pt-radius-sm: 10px;
  --pt-shadow: 0 10px 30px rgba(30, 57, 83, .08);
  --pt-shadow-lg: 0 22px 50px rgba(30, 57, 83, .16);
  --pt-transition: .35s cubic-bezier(.2, .7, .2, 1);

  /* Re-map Bootstrap variables to the brand */
  --bs-primary: #93c83f;
  --bs-primary-rgb: 147, 200, 63;
  --bs-link-color: #1e3953;
  --bs-link-color-rgb: 30, 57, 83;
  --bs-link-hover-color: #93c83f;
  --bs-link-hover-color-rgb: 147, 200, 63;
  --bs-body-font-family: "Open Sans", Helvetica, Arial, sans-serif;
  --bs-body-color: #5a6570;
  --bs-body-color-rgb: 90, 101, 112;
  --bs-border-color: #e7ebef;
  --bs-body-font-size: 1rem;
  --bs-body-line-height: 1.75;
}

/* --------------------------------------------------------------------------
   Base typography (re-assert the brand on top of Bootstrap Reboot)
   -------------------------------------------------------------------------- */
.pt-blog {
  font-family: var(--bs-body-font-family);
  color: var(--pt-body);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

.pt-blog h1, .pt-blog h2, .pt-blog h3,
.pt-blog h4, .pt-blog h5, .pt-blog h6 {
  font-family: "Ubuntu", Helvetica, Arial, sans-serif;
  font-weight: 700;
  color: var(--pt-ink);
  line-height: 1.2;
}

.pt-blog a { text-decoration: none; transition: color var(--pt-transition); }

/* Brand buttons (modern, matches the site's green CTA) */
.pt-blog .btn-brand {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--pt-accent);
  --bs-btn-border-color: var(--pt-accent);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--pt-accent-dark);
  --bs-btn-hover-border-color: var(--pt-accent-dark);
  --bs-btn-active-bg: var(--pt-accent-dark);
  --bs-btn-active-border-color: var(--pt-accent-dark);
  --bs-btn-focus-shadow-rgb: 147, 200, 63;
  --bs-btn-padding-x: 1.6rem;
  --bs-btn-padding-y: .7rem;
  font-family: "Ubuntu", sans-serif;
  font-weight: 500;
  letter-spacing: .02em;
  border-radius: 50rem;
  box-shadow: 0 8px 20px rgba(147, 200, 63, .28);
}

.pt-blog .btn-navy {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--pt-navy);
  --bs-btn-border-color: var(--pt-navy);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--pt-navy-deep);
  --bs-btn-hover-border-color: var(--pt-navy-deep);
  --bs-btn-active-bg: var(--pt-navy-deep);
  font-family: "Ubuntu", sans-serif;
  font-weight: 500;
  border-radius: 50rem;
}

.pt-blog .btn-outline-navy {
  --bs-btn-color: var(--pt-navy);
  --bs-btn-border-color: #cfd8e0;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--pt-navy);
  --bs-btn-hover-border-color: var(--pt-navy);
  --bs-btn-active-bg: var(--pt-navy);
  font-family: "Ubuntu", sans-serif;
  font-weight: 500;
  border-radius: 50rem;
}

/* --------------------------------------------------------------------------
   Hero / page banner with breadcrumb
   -------------------------------------------------------------------------- */
.pt-page-hero {
  position: relative;
  background: var(--pt-navy) center/cover no-repeat;
  padding: 84px 0 78px;
  text-align: center;
  overflow: hidden;
}
.pt-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(22, 41, 60, .92), rgba(30, 57, 83, .78));
}
.pt-page-hero > .shell { position: relative; z-index: 2; }
.pt-page-hero .pt-eyebrow {
  display: inline-block;
  color: var(--pt-accent);
  font-family: "Ubuntu", sans-serif;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 14px;
}
.pt-page-hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin: 0;
}
.pt-page-hero p {
  color: rgba(255, 255, 255, .8);
  max-width: 640px;
  margin: 16px auto 0;
}

/* Breadcrumb */
.pt-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  font-family: "Ubuntu", sans-serif;
}
.pt-breadcrumb li { color: rgba(255, 255, 255, .7); display: flex; align-items: center; gap: 8px; }
.pt-breadcrumb li + li::before { content: "\f105"; font-family: "FontAwesome"; color: rgba(255,255,255,.45); }
.pt-breadcrumb a { color: rgba(255, 255, 255, .85); }
.pt-breadcrumb a:hover { color: var(--pt-accent); }
.pt-breadcrumb .is-active { color: var(--pt-accent); }

/* --------------------------------------------------------------------------
   Section spacing
   -------------------------------------------------------------------------- */
.pt-section { padding: 80px 0; }
.pt-section--tight { padding: 56px 0; }

/* --------------------------------------------------------------------------
   Blog card
   -------------------------------------------------------------------------- */
.post-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--pt-surface);
  border: 1px solid var(--pt-hair);
  border-radius: var(--pt-radius);
  box-shadow: var(--pt-shadow);
  overflow: hidden;
  transition: transform var(--pt-transition), box-shadow var(--pt-transition), border-color var(--pt-transition);
}
.post-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--pt-shadow-lg);
  border-color: transparent;
}

.post-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.post-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}
.post-card:hover .post-card__media img { transform: scale(1.07); }

.post-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 50rem;
  background: var(--pt-accent);
  color: #fff;
  font-family: "Ubuntu", sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  box-shadow: 0 6px 16px rgba(147, 200, 63, .35);
}

.post-card__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 24px 26px 28px;
}

.post-card__title {
  font-size: 1.3rem;
  margin: 0 0 12px;
  line-height: 1.3;
}
.post-card__title a { color: var(--pt-ink); }
.post-card__title a:hover { color: var(--pt-accent); }

.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-bottom: 14px;
  font-size: 13px;
  color: var(--pt-muted);
  font-family: "Ubuntu", sans-serif;
}
.post-meta span { display: inline-flex; align-items: center; gap: 7px; }
.post-meta i { color: var(--pt-accent); font-size: 14px; }
.post-meta a { color: var(--pt-muted); }
.post-meta a:hover { color: var(--pt-accent); }

.post-card__excerpt {
  color: var(--pt-body);
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.7;
}

.post-card__more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  align-self: flex-start;
  font-family: "Ubuntu", sans-serif;
  font-weight: 500;
  color: var(--pt-navy);
}
.post-card__more i { transition: transform var(--pt-transition); color: var(--pt-accent); }
.post-card__more:hover { color: var(--pt-accent); }
.post-card__more:hover i { transform: translateX(5px); }

/* --------------------------------------------------------------------------
   Pagination
   -------------------------------------------------------------------------- */
/* NOTE: the theme ships Bootstrap-3 pagination rules (.pagination>li>a) that
   out-specify BS5's .page-link, so colours/states are declared explicitly and
   with enough specificity here to win cleanly. */
.pt-pagination .pagination { gap: 8px; margin: 0; }
.pt-pagination .page-item .page-link {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50rem !important;
  border: 1px solid var(--pt-hair);
  background-color: #fff;
  color: var(--pt-navy);
  font-family: "Ubuntu", sans-serif;
  font-weight: 500;
  float: none;
  margin: 0;
  transition: all var(--pt-transition);
}
.pt-pagination .page-item .page-link.is-arrow { width: auto; padding: 0 20px; gap: 8px; }
.pt-pagination .page-item .page-link:hover {
  background-color: var(--pt-navy);
  border-color: var(--pt-navy);
  color: #fff;
}
.pt-pagination .page-item .page-link:focus {
  box-shadow: 0 0 0 .25rem rgba(147, 200, 63, .25);
}
.pt-pagination .page-item.active .page-link,
.pt-pagination .page-item.active .page-link:hover,
.pt-pagination .page-item.active .page-link:focus {
  background-color: var(--pt-accent);
  border-color: var(--pt-accent);
  color: #fff;
}
.pt-pagination .page-item.disabled .page-link {
  background-color: #fff;
  border-color: var(--pt-hair);
  color: var(--pt-muted);
  opacity: .6;
}

/* --------------------------------------------------------------------------
   Sidebar widgets
   -------------------------------------------------------------------------- */
/* The theme applies .page{overflow:hidden} (to clip its sliders/parallax),
   which silently disables position:sticky. The blog pages have no overflowing
   hero sliders, so restore visible overflow on the wrapper here. Scoped to the
   blog pages because blog.css only loads on them. */
.page:has(.pt-blog) { overflow: visible; }

.pt-sidebar { position: relative; }
@media (min-width: 992px) {
  .pt-sidebar__sticky { position: sticky; top: 96px; }
}

.widget {
  background: var(--pt-surface);
  border: 1px solid var(--pt-hair);
  border-radius: var(--pt-radius);
  box-shadow: var(--pt-shadow);
  padding: 28px 26px;
  margin-bottom: 30px;
}
.widget:last-child { margin-bottom: 0; }

.widget__title {
  position: relative;
  font-size: 1.15rem;
  margin: 0 0 22px;
  padding-bottom: 14px;
}
.widget__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 46px;
  height: 3px;
  border-radius: 3px;
  background: var(--pt-accent);
}

/* Search widget */
.widget-search .pt-search {
  position: relative;
}
.widget-search .form-control {
  border-radius: 50rem;
  padding: 12px 56px 12px 20px;
  border: 1px solid var(--pt-hair);
  background: var(--pt-soft);
  height: auto;
  font-size: 15px;
}
.widget-search .form-control:focus {
  border-color: var(--pt-accent);
  box-shadow: 0 0 0 .25rem rgba(147, 200, 63, .18);
  background: #fff;
}
.widget-search .pt-search__btn {
  position: absolute;
  top: 5px;
  right: 5px;
  bottom: 5px;
  width: 44px;
  border: 0;
  border-radius: 50rem;
  background: var(--pt-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--pt-transition);
}
.widget-search .pt-search__btn:hover { background: var(--pt-accent-dark); }

/* Recent posts widget */
.recent-post {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px dashed var(--pt-hair);
}
.recent-post:first-child { padding-top: 0; }
.recent-post:last-child { padding-bottom: 0; border-bottom: 0; }
.recent-post__thumb {
  flex: 0 0 74px;
  width: 74px;
  height: 64px;
  border-radius: var(--pt-radius-sm);
  overflow: hidden;
}
.recent-post__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--pt-transition); }
.recent-post:hover .recent-post__thumb img { transform: scale(1.08); }
.recent-post__title {
  font-family: "Ubuntu", sans-serif;
  font-weight: 500;
  font-size: 14.5px;
  line-height: 1.4;
  margin: 0 0 6px;
  color: var(--pt-ink);
  display: block;
}
.recent-post__title:hover { color: var(--pt-accent); }
.recent-post__date { font-size: 12.5px; color: var(--pt-muted); display: inline-flex; align-items: center; gap: 6px; }
.recent-post__date i { color: var(--pt-accent); }

/* Categories / Archive list widget */
.widget-list { list-style: none; margin: 0; padding: 0; }
.widget-list li { border-bottom: 1px dashed var(--pt-hair); }
.widget-list li:last-child { border-bottom: 0; }
.widget-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 0;
  color: var(--pt-body);
  font-family: "Ubuntu", sans-serif;
  font-size: 15px;
  transition: color var(--pt-transition), padding var(--pt-transition);
}
.widget-list a:hover { color: var(--pt-accent); padding-left: 8px; }
.widget-list a .label { display: inline-flex; align-items: center; gap: 10px; }
.widget-list a .label i { color: var(--pt-accent); width: 18px; text-align: center; }
.widget-list .count {
  flex: 0 0 auto;
  min-width: 30px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--pt-navy);
  background: var(--pt-soft);
  border-radius: 50rem;
  padding: 3px 10px;
  transition: all var(--pt-transition);
}
.widget-list a:hover .count { background: var(--pt-accent); color: #fff; }

/* Tag cloud */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 9px; }
.tag-cloud a {
  font-size: 13px;
  font-family: "Ubuntu", sans-serif;
  padding: 7px 15px;
  border-radius: 50rem;
  background: var(--pt-soft);
  color: var(--pt-body);
  border: 1px solid var(--pt-hair);
  transition: all var(--pt-transition);
}
.tag-cloud a:hover { background: var(--pt-accent); color: #fff; border-color: var(--pt-accent); }

/* Newsletter widget */
.widget-newsletter {
  background: linear-gradient(150deg, var(--pt-navy), var(--pt-navy-deep));
  border: 0;
  color: rgba(255, 255, 255, .85);
  text-align: center;
}
.widget-newsletter .widget__title { color: #fff; }
.widget-newsletter .widget__title::after { left: 50%; transform: translateX(-50%); }
.widget-newsletter p { font-size: 14.5px; margin-bottom: 18px; }
.widget-newsletter .form-control {
  border-radius: 50rem;
  border: 0;
  padding: 12px 20px;
  margin-bottom: 12px;
  text-align: center;
}
.widget-newsletter .form-control:focus { box-shadow: 0 0 0 .25rem rgba(147, 200, 63, .35); }
.widget-newsletter .btn-brand { width: 100%; }
.widget-newsletter .pt-news-icon {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: rgba(147, 200, 63, .18);
  color: var(--pt-accent);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin-bottom: 14px;
}

/* --------------------------------------------------------------------------
   Blog details — hero with featured image
   -------------------------------------------------------------------------- */
.pt-article-hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  background: var(--pt-navy) center/cover no-repeat;
  padding: 110px 0 60px;
  overflow: hidden;
}
.pt-article-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 18, 28, .92) 8%, rgba(16, 29, 42, .55) 55%, rgba(16, 29, 42, .35));
}
.pt-article-hero > .shell { position: relative; z-index: 2; }
.pt-article-hero .pt-breadcrumb { justify-content: flex-start; margin: 0 0 18px; }
.pt-article-hero h1 {
  color: #fff;
  font-size: clamp(1.9rem, 4.4vw, 3rem);
  max-width: 900px;
  margin: 0 0 22px;
}
.pt-article-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 16px;
  border-radius: 50rem;
  background: var(--pt-accent);
  color: #fff;
  font-family: "Ubuntu", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.pt-article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px;
  color: rgba(255, 255, 255, .82);
  font-family: "Ubuntu", sans-serif;
  font-size: 14.5px;
}
.pt-article-meta .meta-item { display: inline-flex; align-items: center; gap: 10px; }
.pt-article-meta i { color: var(--pt-accent); }
.pt-article-meta .author-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(147, 200, 63, .7);
}
.pt-article-meta .author-avatar + span strong { color: #fff; font-weight: 600; }

/* --------------------------------------------------------------------------
   Article body typography
   -------------------------------------------------------------------------- */
.article-body { font-size: 17px; line-height: 1.85; color: #45505b; }
.article-body > *:first-child { margin-top: 0; }
.article-body .lead {
  font-size: 1.3rem;
  line-height: 1.6;
  color: var(--pt-navy);
  font-weight: 400;
  margin-bottom: 28px;
}
.article-body h2 { font-size: 1.85rem; margin: 44px 0 18px; }
.article-body h3 { font-size: 1.4rem; margin: 36px 0 14px; }
.article-body h4 { font-size: 1.18rem; margin: 30px 0 12px; }
.article-body p { margin: 0 0 22px; }
.article-body a:not(.btn) { color: var(--pt-accent-dark); font-weight: 600; border-bottom: 1px solid rgba(147,200,63,.4); }
.article-body a:not(.btn):hover { border-color: var(--pt-accent); }

.article-body ul, .article-body ol { margin: 0 0 24px; padding-left: 0; }
.article-body ul { list-style: none; }
.article-body ul li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
}
.article-body ul li::before {
  content: "\f00c";
  font-family: "FontAwesome";
  position: absolute;
  left: 0; top: 1px;
  color: var(--pt-accent);
  font-size: 14px;
}
.article-body ol { counter-reset: pt-ol; list-style: none; }
.article-body ol li { position: relative; padding-left: 44px; margin-bottom: 14px; counter-increment: pt-ol; }
.article-body ol li::before {
  content: counter(pt-ol);
  position: absolute;
  left: 0; top: 0;
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(147, 200, 63, .14);
  color: var(--pt-accent-dark);
  border-radius: 50%;
  font-family: "Ubuntu", sans-serif;
  font-weight: 700;
  font-size: 14px;
}

.article-body blockquote {
  position: relative;
  margin: 32px 0;
  padding: 30px 34px 30px 64px;
  background: var(--pt-soft);
  border-left: 4px solid var(--pt-accent);
  border-radius: var(--pt-radius-sm);
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: 1.3rem;
  line-height: 1.6;
  color: var(--pt-navy);
}
.article-body blockquote::before {
  content: "\201C";
  position: absolute;
  left: 22px; top: 6px;
  font-size: 4rem;
  color: rgba(147, 200, 63, .35);
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1;
}
.article-body blockquote cite {
  display: block;
  margin-top: 14px;
  font-family: "Ubuntu", sans-serif;
  font-style: normal;
  font-size: .9rem;
  font-weight: 600;
  color: var(--pt-muted);
}

.article-body figure { margin: 32px 0; }
.article-body img, .article-figure img {
  max-width: 100%;
  height: auto;
  border-radius: var(--pt-radius);
}
.article-body figcaption {
  margin-top: 12px;
  font-size: 13.5px;
  color: var(--pt-muted);
  text-align: center;
  font-style: italic;
}
.article-figure--float {
  float: right;
  max-width: 320px;
  margin: 6px 0 24px 30px;
}
@media (max-width: 575.98px) {
  .article-figure--float { float: none; max-width: 100%; margin: 24px 0; }
}

/* Tags + share row */
.article-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 0;
  margin-top: 38px;
  border-top: 1px solid var(--pt-hair);
  border-bottom: 1px solid var(--pt-hair);
}
.article-foot .tags-inline { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; }
.article-foot .tags-inline .lbl { font-family: "Ubuntu", sans-serif; font-weight: 600; color: var(--pt-ink); margin-right: 4px; }

/* Social share */
.pt-share { display: flex; align-items: center; gap: 10px; }
.pt-share .lbl { font-family: "Ubuntu", sans-serif; font-weight: 600; color: var(--pt-ink); }
.pt-share a {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--pt-soft);
  color: var(--pt-navy);
  border: 1px solid var(--pt-hair);
  transition: all var(--pt-transition);
}
.pt-share a:hover { transform: translateY(-3px); color: #fff; }
.pt-share a.s-fb:hover { background: #1877f2; border-color: #1877f2; }
.pt-share a.s-tw:hover { background: #111; border-color: #111; }
.pt-share a.s-in:hover { background: #0a66c2; border-color: #0a66c2; }
.pt-share a.s-wa:hover { background: #25d366; border-color: #25d366; }
.pt-share a.s-link:hover { background: var(--pt-accent); border-color: var(--pt-accent); }

/* Author bio */
.author-bio {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  background: var(--pt-soft);
  border: 1px solid var(--pt-hair);
  border-radius: var(--pt-radius);
  padding: 30px;
  margin-top: 40px;
}
.author-bio__avatar {
  flex: 0 0 92px;
  width: 92px; height: 92px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: var(--pt-shadow);
}
.author-bio__role {
  color: var(--pt-accent-dark);
  font-family: "Ubuntu", sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin: 2px 0 10px;
}
.author-bio h5 { margin: 0; font-size: 1.2rem; }
.author-bio p { margin: 0 0 14px; font-size: 15px; }
.author-bio .pt-share a { width: 34px; height: 34px; font-size: 13px; }
@media (max-width: 575.98px) {
  .author-bio { flex-direction: column; align-items: center; text-align: center; }
}

/* Prev / Next post navigation */
.post-nav { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 40px; }
.post-nav__item {
  flex: 1 1 0;
  min-width: 240px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  background: #fff;
  border: 1px solid var(--pt-hair);
  border-radius: var(--pt-radius);
  transition: all var(--pt-transition);
}
.post-nav__item:hover { box-shadow: var(--pt-shadow); transform: translateY(-3px); border-color: transparent; }
.post-nav__item.is-next { text-align: right; flex-direction: row-reverse; }
.post-nav__arrow {
  flex: 0 0 44px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--pt-soft);
  color: var(--pt-navy);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--pt-transition);
}
.post-nav__item:hover .post-nav__arrow { background: var(--pt-accent); color: #fff; }
.post-nav__label { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--pt-muted); font-family: "Ubuntu", sans-serif; }
.post-nav__title { font-family: "Ubuntu", sans-serif; font-weight: 600; color: var(--pt-ink); font-size: 15px; line-height: 1.35; display: block; margin-top: 4px; }
.post-nav__item:hover .post-nav__title { color: var(--pt-accent); }

/* Section heading helper */
.pt-block-title { margin-bottom: 30px; }
.pt-block-title .pt-eyebrow {
  display: inline-block;
  color: var(--pt-accent-dark);
  font-family: "Ubuntu", sans-serif;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 8px;
}
.pt-block-title h2 { font-size: 1.9rem; margin: 0; }

/* Related posts (compact card) */
.related-card { height: 100%; }
.related-card .post-card__body { padding: 20px 22px 24px; }
.related-card .post-card__title { font-size: 1.1rem; }

/* --------------------------------------------------------------------------
   Comments
   -------------------------------------------------------------------------- */
.comment-list { list-style: none; margin: 0; padding: 0; }
.comment {
  display: flex;
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid var(--pt-hair);
}
.comment:last-child { border-bottom: 0; }
.comment .children { list-style: none; margin: 18px 0 0; padding: 0 0 0 30px; border-left: 2px solid var(--pt-hair); }
.comment__avatar { flex: 0 0 56px; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.comment__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.comment__name { font-family: "Ubuntu", sans-serif; font-weight: 700; color: var(--pt-ink); font-size: 15px; }
.comment__date { font-size: 12.5px; color: var(--pt-muted); }
.comment__text { margin: 0 0 10px; font-size: 15px; }
.comment__reply { font-family: "Ubuntu", sans-serif; font-weight: 600; font-size: 13px; color: var(--pt-navy); display: inline-flex; align-items: center; gap: 6px; }
.comment__reply:hover { color: var(--pt-accent); }

.comment-form .form-control,
.comment-form .form-select {
  border-radius: var(--pt-radius-sm);
  border: 1px solid var(--pt-hair);
  background: var(--pt-soft);
  padding: 13px 18px;
  font-size: 15px;
}
.comment-form .form-control:focus {
  border-color: var(--pt-accent);
  box-shadow: 0 0 0 .25rem rgba(147, 200, 63, .16);
  background: #fff;
}

/* --------------------------------------------------------------------------
   Card wrapper for content blocks on dark backgrounds (utility)
   -------------------------------------------------------------------------- */
.pt-card-plain {
  background: #fff;
  border: 1px solid var(--pt-hair);
  border-radius: var(--pt-radius);
  box-shadow: var(--pt-shadow);
  padding: 32px;
}

/* --------------------------------------------------------------------------
   Responsive tweaks
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
  .pt-section { padding: 60px 0; }
  .pt-sidebar { margin-top: 40px; }
  .pt-article-hero { min-height: 400px; padding: 90px 0 48px; }
}
@media (max-width: 767.98px) {
  .pt-section { padding: 48px 0; }
  .post-card__body { padding: 22px 20px 24px; }
  .article-body { font-size: 16px; }
  .article-foot { flex-direction: column; align-items: flex-start; }
  .pt-article-meta { gap: 16px 22px; }
}
