/* v2.06 — scoped night mode for related stories + discussion block.
   Colours only; no layout or light-theme modifications. */
html[data-at-theme="dark"] body.single-post .at-related-stories .at-related-heading > span,
html[data-at-theme="dark"] body.single-post .at-related-stories .at-related-category,
html[data-at-theme="dark"] body.single-post .at-related-stories .at-related-read {
  color:#9ce7e7 !important;
}
html[data-at-theme="dark"] body.single-post .at-related-stories .at-related-heading h2,
html[data-at-theme="dark"] body.single-post .at-related-stories .at-related-copy strong {
  color:#eff7f7 !important;
}
html[data-at-theme="dark"] body.single-post .at-related-stories .at-related-card {
  background:#1b2b31 !important;
  color:#eff7f7 !important;
  border-color:#45616a !important;
  box-shadow:0 2px 14px rgba(0,0,0,.14);
}
html[data-at-theme="dark"] body.single-post .at-related-stories .at-related-card:is(:hover,:focus-visible) {
  background:#213840 !important;
  border-color:#7ac8ce !important;
  box-shadow:0 12px 25px rgba(0,0,0,.30);
}
html[data-at-theme="dark"] body.single-post .at-related-stories .at-related-image,
html[data-at-theme="dark"] body.single-post .at-related-stories .at-related-fallback {
  background:#263e46 !important;
}
/* The comments wrapper is a pale green panel in day mode; make the whole
   panel and all Gutenberg/comment-form descendants legible at night. */
html[data-at-theme="dark"] body.single-post .at-comments-section {
  background:#1b2b31 !important;
  border-color:#45616a !important;
  color:#edf5f6 !important;
}
html[data-at-theme="dark"] body.single-post .at-comments-section :is(.at-comments-heading,.wp-block-comments-title,.comment-reply-title,.wp-block-comment-author-name,.wp-block-comment-content,.wp-block-comment-content p,.comment-notes,.logged-in-as) {
  color:#edf5f6 !important;
}
html[data-at-theme="dark"] body.single-post .at-comments-section :is(.at-comments-intro,.wp-block-comment-date,.wp-block-comment-edit-link,.comment-form-cookies-consent,.comment-form-cookies-consent label,.required-field-message) {
  color:#c6dadd !important;
}
html[data-at-theme="dark"] body.single-post .at-comments-section :is(.comment-form label,.wp-block-post-comments-form label) {
  color:#e4f2f2 !important;
}
html[data-at-theme="dark"] body.single-post .at-comments-section .wp-block-comment-template > li {
  border-bottom-color:#45616a !important;
}
html[data-at-theme="dark"] body.single-post .at-comments-section :is(.wp-block-comment-reply-link a,.wp-block-comments-pagination a,.wp-block-comment-edit-link a,.logged-in-as a,.comment-reply-title a) {
  color:#a0e9e9 !important;
}
html[data-at-theme="dark"] body.single-post .at-comments-section :is(input[type="text"],input[type="email"],input[type="url"],textarea,select) {
  background:#263e46 !important;
  color:#f4fafa !important;
  border:1px solid #67838a !important;
  caret-color:#a0e9e9;
}
html[data-at-theme="dark"] body.single-post .at-comments-section :is(input,textarea)::placeholder {
  color:#c6dadd !important;
  opacity:1;
}
html[data-at-theme="dark"] body.single-post .at-comments-section :is(input,textarea,select):focus-visible {
  outline:2px solid #9ce7e7 !important;
  outline-offset:2px;
  border-color:#9ce7e7 !important;
}
html[data-at-theme="dark"] body.single-post .at-comments-section :is(.form-submit .submit,.wp-block-post-comments-form input[type="submit"]) {
  background:#21858c !important;
  color:#fff !important;
  border:1px solid #66b9be !important;
}
html[data-at-theme="dark"] body.single-post .at-comments-section :is(.form-submit .submit,.wp-block-post-comments-form input[type="submit"]):hover {
  background:#2e9ba3 !important;
}
