/* Focused refinements: article follow/comments and the technical course index. */
.single .entry-content .bf-reader-follow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  margin: 40px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #20242b;
  text-align: left;
}
.single .entry-content .bf-reader-follow h2 {
  margin: 0 0 8px;
  padding: 0;
  border: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
}
.single .entry-content .bf-reader-follow p {
  margin: 0;
  color: var(--bf-muted);
  font-size: 14px;
  line-height: 1.7;
}
.single .entry-content .bf-reader-follow a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  flex-shrink: 0;
  color: #20242b;
  font-size: 14px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.single .comments-area,
.single .comments-area .comment-respond {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}
.single .comments-area {
  margin-top: 56px;
  padding: 0 0 72px;
}
.single .comments-area .comment-respond {
  max-width: none;
  margin: 0;
  padding: 0;
}
.single .comments-area .comment-reply-title {
  margin: 0 0 16px;
  padding: 0;
  border: 0;
  color: #20242b;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.45;
}
.single .comments-area .logged-in-as,
.single .comments-area .comment-notes {
  margin: 0 0 20px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--bf-muted);
  font-size: 14px;
  line-height: 1.8;
}
.single .comments-area .logged-in-as a {
  color: #20242b;
  text-decoration: underline;
}
.single .comments-area .required-field-message {
  color: var(--bf-muted);
  font-size: 13px;
}
.single .comments-area .comment-form label {
  display: block;
  margin: 0 0 8px;
  color: #20242b;
  font-size: 14px;
  font-weight: 500;
}
.single .comments-area .comment-form-cookies-consent label { display: inline; }
.single .comments-area label.screen-reader-text[for="comment"],
.single .comments-area label.screen-reader-text[for="author"] {
  position: static !important;
  clip: auto !important;
  clip-path: none;
  width: auto;
  height: auto;
  overflow: visible;
  white-space: normal;
}
.single .comments-area .comment-form input:not([type="submit"]):not([type="checkbox"]),
.single .comments-area .comment-form textarea {
  box-sizing: border-box;
  max-width: 100%;
  padding: 12px;
  border: 1px solid #a5abb4;
  border-radius: 0;
  box-shadow: none;
  background: #fff;
  color: #20242b;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.65;
  transition: none;
}
.single .comments-area .comment-form textarea {
  min-height: 160px;
  resize: vertical;
}
.single .comments-area .comment-form input:focus-visible,
.single .comments-area .comment-form textarea:focus-visible,
.single .entry-content .bf-reader-follow a:focus-visible {
  outline: 2px solid #20242b;
  outline-offset: 3px;
  box-shadow: none;
}
.single .comments-area .comment-form input[type="submit"],
.single .comments-area .comment-form input[type="submit"]:hover,
.single .comments-area .comment-form input[type="submit"]:active {
  min-height: 44px;
  padding: 12px 24px;
  border: 1px solid #20242b;
  border-radius: 0;
  box-shadow: none;
  background: #20242b;
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  transform: none;
  transition: none;
}
.single .comments-area .comment-form .form-submit { margin: 20px 0 0; }

/* The course index owns its layout; no other WordPress page is affected. */
.page-id-7970 .site-content {
  display: block;
  box-sizing: border-box;
  max-width: var(--bf-content);
  padding: 56px 24px 80px;
}
.page-id-7970 #right-sidebar { display: none; }
.page-id-7970 #primary { float: none; width: 100%; }
.page-id-7970 .site-main { margin: 0; }
.page-id-7970 .inside-article { margin: 0; padding: 0; border: 0; background: transparent; }
.page-id-7970 .entry-header { margin: 0; padding: 0; border: 0; }
.page-id-7970 .entry-title {
  margin: 0;
  color: #20242b;
  font-size: clamp(28px, 3vw, 34px);
  font-weight: 700;
  line-height: 1.3;
}
.page-id-7970 .entry-content { margin: 24px 0 0; }
.bf-tech-hub { color: #20242b; font-size: 16px; line-height: 1.75; }
.bf-tech-hub p { margin: 0 0 16px; }
.bf-tech-intro { max-width: 72ch; }
.bf-tech-start,
.bf-tech-jump { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.bf-tech-start { margin: 20px 0 32px; }
.bf-tech-start a,
.bf-tech-jump a,
.bf-tech-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #20242b;
  font-size: 15px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.bf-tech-start a:first-child { padding: 8px 16px; background: #20242b; color: #fff; text-decoration: none; }
.bf-tech-jump { margin: 0 0 48px; padding: 16px 20px; background: var(--bf-soft); }
.bf-tech-hub .bf-tech-jump h2 { flex-basis: 100%; margin: 0; font-size: 18px; }
.bf-tech-section { margin: 0 0 56px; scroll-margin-top: 64px; }
.bf-tech-hub h2 { margin: 0 0 24px; padding: 0; border: 0; font-size: 25px; font-weight: 700; line-height: 1.4; }
.bf-tech-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 48px; }
.bf-tech-course { min-width: 0; }
.bf-tech-hub h3 { margin: 0 0 10px; padding: 0; border: 0; font-size: 20px; font-weight: 700; line-height: 1.4; }
.bf-tech-hub .bf-tech-description { margin: 0 0 8px; color: var(--bf-muted); }
.bf-tech-hub .bf-tech-actions { display: flex; flex-wrap: wrap; gap: 4px 24px; margin: 0 0 8px; }
.bf-tech-details { font-size: 14px; line-height: 1.8; }
.bf-tech-details summary { min-height: 44px; box-sizing: border-box; padding: 9px 0; cursor: pointer; color: #20242b; font-weight: 500; }
.bf-tech-details p { margin: 8px 0 12px; color: var(--bf-muted); }
.bf-tech-details a { color: #20242b; text-decoration: underline; }
.bf-tech-hub a:focus-visible,
.bf-tech-details summary:focus-visible { outline: 2px solid #20242b; outline-offset: 3px; }
@media (max-width: 700px) {
  .single .entry-content .bf-reader-follow { align-items: flex-start; flex-direction: column; gap: 8px; }
  .single .comments-area { margin-top: 40px; padding-bottom: 48px; }
  .page-id-7970 .site-content { padding: 36px 20px 48px; }
  .bf-tech-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .bf-tech-start { gap: 8px 16px; }
  .bf-tech-jump { gap: 4px 20px; padding: 12px 16px; margin-bottom: 36px; }
  .bf-tech-section { margin-bottom: 40px; }
  .bf-tech-hub h2 { font-size: 22px; margin-bottom: 20px; }
}
