body.rb-article-modern-enabled .headline-ticker,
body.rb-article-modern-enabled #heading,
body.rb-article-modern-enabled .breadcrumbs,
body.rb-article-modern-enabled .copyright,
body.rb-article-modern-enabled .scroll-top-wrapper {
  display: none !important;
}

body.rb-article-modern-enabled {
  margin: 0;
  background: #fafaf8;
  color: #1a1a18;
}

body.rb-article-modern-enabled .rb-article-modern {
  --content-width: 680px;

  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.rb-article-modern,
.rb-article-modern * {
  box-sizing: border-box;
}

.rb-article-modern h1,
.rb-article-modern h2,
.rb-article-modern h3,
.rb-article-modern h4,
.rb-article-modern h5,
.rb-article-modern h6,
.rb-article-modern p {
  margin: 0;
}

.rb-article-modern a {
  color: inherit;
  text-decoration: none;
}

.rb-article-modern img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rb-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.rb-category-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  font-weight: 500;
}

.rb-site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

body.admin-bar .rb-site-nav {
  top: 32px;
}

.rb-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.rb-nav-logo {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ink);
  white-space: nowrap;
}

.rb-nav-logo span {
  color: var(--navy);
}

.rb-nav-logo-image {
  display: flex;
  align-items: center;
  min-height: 42px;
}

.rb-nav-logo-image .custom-logo-link {
  display: inline-flex;
  align-items: center;
}

.rb-nav-logo-image .custom-logo {
  width: auto;
  height: 36px;
  max-width: 220px;
  object-fit: contain;
}

.rb-nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.rb-nav-links li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.rb-nav-links a {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}

.rb-nav-links a:hover,
.rb-nav-links .current-menu-item > a,
.rb-nav-links .current_page_item > a {
  color: var(--ink);
}

.rb-nav-search {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: var(--ink-soft);
}

.rb-nav-search svg {
  width: 18px;
  height: 18px;
}

.rb-breadcrumb {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border);
}

.rb-breadcrumb a,
.rb-breadcrumb span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.rb-breadcrumb a:hover {
  color: var(--navy);
}

.rb-breadcrumb .sep {
  color: #d9d9d0;
}

.rb-article-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 40px 0;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 80px;
  align-items: start;
}

/* Keep article content tight under the global header even if legacy/custom CSS adds spacing. */
body.rb-article-modern-enabled #content.rb-article-modern,
body.rb-article-modern-enabled .rb-article-modern,
body.rb-article-modern-enabled .rb-article-wrap,
body.rb-article-modern-enabled .rb-article-main,
body.rb-article-modern-enabled .rb-article-sidebar {
  margin-top: 0 !important;
}

body.rb-article-modern-enabled .rb-article-wrap,
body.rb-article-modern-enabled .rb-article-main,
body.rb-article-modern-enabled .rb-article-sidebar {
  padding-top: 0 !important;
}

.rb-article-main {
  max-width: var(--content-width);
}

/* Hide auto-inserted ad wrappers only when JS marks them as empty on article pages. */
body.rb-article-modern-enabled .rb-article-modern > .code-block.rb-ad-empty {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Remove forced placeholder size so empty GPT slots do not reserve white space. */
body.rb-article-modern-enabled .rb-article-modern > .code-block > [id^='div-gpt-ad-'] {
  min-width: 0 !important;
  min-height: 0 !important;
}

.rb-article-category {
  display: inline-block;
  margin-bottom: 16px;
}

.rb-article-title {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--ink);
}

.rb-article-dek {
  font-size: 20px;
  line-height: 1.6;
  color: var(--ink-soft);
  font-weight: 300;
  margin-bottom: 28px;
  border-left: 3px solid var(--navy);
  padding-left: 20px;
}

.rb-article-meta-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}

.rb-author-block {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.rb-author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  overflow: hidden;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.rb-author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rb-author-avatar-initials {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-soft);
  font-weight: 500;
}

.rb-author-name {
  display: inline-block;
  margin-bottom: 2px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}

.rb-author-title {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.rb-meta-right {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
  white-space: nowrap;
}

.rb-meta-divider {
  color: #d9d9d0;
}

.rb-article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -10px 0 24px;
}

.rb-article-tag-link {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.rb-article-tag-link:hover {
  color: var(--navy);
  border-color: var(--navy);
}

.rb-article-hero-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-alt);
  margin-bottom: 10px;
}

.rb-article-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rb-img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 120px;
  background: linear-gradient(135deg, #e8e8e3 0%, #d4d4cc 100%);
}

.rb-image-caption {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
  margin-bottom: 40px;
}

.rb-article-body {
  font-size: 18px;
  line-height: 1.75;
  color: var(--ink);
  font-weight: 300;
}

.rb-article-body p {
  margin-bottom: 28px;
}

.rb-article-body h1,
.rb-article-body h2,
.rb-article-body h3,
.rb-article-body h4,
.rb-article-body h5,
.rb-article-body h6 {
  color: var(--ink);
}

.rb-article-body h2 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.25;
  margin: 48px 0 20px;
  letter-spacing: -0.01em;
}

.rb-article-body h3 {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  margin: 36px 0 16px;
}

.rb-article-body ul,
.rb-article-body ol {
  margin: 0 0 28px 24px;
  padding: 0;
}

.rb-article-body li {
  margin-bottom: 8px;
}

.rb-article-body blockquote {
  border-left: 3px solid var(--green);
  padding: 4px 0 4px 24px;
  margin: 40px 0;
}

.rb-article-body blockquote p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 24px;
  line-height: 1.45;
  color: var(--ink);
}

.rb-article-body .rb-research-highlight-box {
  border-left: 3px solid var(--navy);
  background: var(--bg-alt);
  padding: 24px 28px;
  margin: 36px 0;
}

.rb-article-body .rb-research-highlight-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 10px;
}

.rb-article-body .rb-research-highlight-body p:last-child {
  margin-bottom: 0;
}

.rb-article-body .rb-research-highlight-body {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-soft);
  font-weight: 300;
}

.rb-article-body .rb-research-highlight-source {
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.rb-article-body .rb-pull-quote {
  border-left: 3px solid var(--green);
  padding: 4px 0 4px 18px;
  margin: 36px 0;
}

.rb-article-body .rb-pull-quote p {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 24px;
  line-height: 1.45;
  color: var(--ink);
}

.rb-article-body table {
  width: 100%;
  margin: 32px 0;
  border-collapse: collapse;
  font-size: 15px;
}

.rb-article-body table th {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  text-align: left;
  padding: 10px 16px;
  border-bottom: 2px solid var(--border);
  font-weight: 500;
}

.rb-article-body table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--ink-soft);
  font-weight: 300;
  vertical-align: top;
}

.rb-article-body table tr:hover td {
  background: var(--bg-alt);
}

.rb-article-body .page-links {
  margin-top: 24px;
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
}

.rb-mid-article-ad {
  margin: 40px 0;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}

.rb-ad-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  text-align: center;
  margin-bottom: 8px;
}

.rb-ad-placeholder {
  background: var(--bg);
  min-height: 90px;
  max-width: 100%;
  border: 1px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px;
}

.rb-article-ad-script,
.rb-ad-placeholder a,
.rb-ad-placeholder img,
.rb-sidebar-ad-placeholder a,
.rb-sidebar-ad-placeholder img {
  display: block;
  max-width: 100%;
  width: 100%;
}

.rb-ad-placeholder img,
.rb-sidebar-ad-placeholder img {
  width: auto;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
}

.rb-article-ad-placeholder-text {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-muted);
}

.rb-article-share-footer {
  margin: 24px 0 36px;
}

.rb-article-share-footer .social-box {
  float: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.rb-article-share-footer .social-box a {
  margin: 0;
  border: 1px solid var(--border);
  color: var(--ink-soft);
  width: 28px;
  height: 28px;
  line-height: 28px;
  text-align: center;
  border-radius: 50%;
}

.rb-article-footer-divider {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 48px 0 32px;
}

.rb-author-bio-block {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  margin-bottom: 48px;
}

.rb-author-bio-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--border);
  overflow: hidden;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.rb-author-bio-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rb-author-bio-avatar-initials {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--ink-soft);
}

.rb-author-bio-name {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 4px;
}

.rb-author-bio-name a:hover {
  color: var(--navy);
}

.rb-author-bio-credential {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--navy);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.rb-author-bio-text {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-soft);
}

.rb-continue-reading-title {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.rb-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.rb-related-card {
  display: block;
}

.rb-related-card-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-alt);
  margin-bottom: 12px;
}

.rb-related-card-tag {
  margin-bottom: 6px;
}

.rb-related-card-title {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: 8px;
  transition: color 0.2s ease;
}

.rb-related-card:hover .rb-related-card-title {
  color: var(--navy);
}

.rb-related-readtime {
  margin-top: 6px;
}

.rb-comments-wrap {
  margin-top: 24px;
  margin-bottom: 64px;
}

body.rb-article-modern-enabled .rb-comments-wrap .comments-area,
body.rb-article-modern-enabled .comments-area {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  background: transparent;
  margin: 0;
  max-width: none;
}

body.rb-article-modern-enabled .rb-comments-wrap .comments-title,
body.rb-article-modern-enabled .comments-area .comments-title {
  font-family: var(--serif);
  font-size: 24px;
  margin-bottom: 20px;
  line-height: 1.3;
  border: 0;
  margin-top: 0;
}

body.rb-article-modern-enabled .rb-comments-wrap .comment-list,
body.rb-article-modern-enabled .comments-area .comment-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

body.rb-article-modern-enabled .rb-comments-wrap .comment-list li,
body.rb-article-modern-enabled .comments-area .comment-list li {
  list-style: none;
}

body.rb-article-modern-enabled .rb-comments-wrap .comment-list article,
body.rb-article-modern-enabled .comments-area .comment-list article {
  background: transparent;
  border: 1px solid var(--border);
  padding: 18px;
  margin-bottom: 14px;
  border-radius: 0;
}

body.rb-article-modern-enabled .rb-comments-wrap .comment-content p,
body.rb-article-modern-enabled .comments-area .comment-content p {
  margin: 0 0 12px;
}

body.rb-article-modern-enabled .rb-comments-wrap .comment-respond,
body.rb-article-modern-enabled .comments-area .comment-respond {
  margin-top: 28px;
  padding: 24px;
  border: 1px solid var(--border);
  background: var(--bg-alt);
}

body.rb-article-modern-enabled .rb-comments-wrap .comment-reply-title,
body.rb-article-modern-enabled .comments-area .comment-reply-title {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
}

body.rb-article-modern-enabled .rb-comments-wrap #cancel-comment-reply-link,
body.rb-article-modern-enabled .comments-area #cancel-comment-reply-link {
  margin-left: 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
}

body.rb-article-modern-enabled .rb-comments-wrap .comment-notes,
body.rb-article-modern-enabled .rb-comments-wrap .logged-in-as,
body.rb-article-modern-enabled .comments-area .comment-notes,
body.rb-article-modern-enabled .comments-area .logged-in-as {
  margin: 0 0 18px;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-soft);
}

body.rb-article-modern-enabled .rb-comments-wrap .comment-form p,
body.rb-article-modern-enabled .comments-area .comment-form p {
  margin-bottom: 14px;
}

body.rb-article-modern-enabled .rb-comments-wrap .comment-form label,
body.rb-article-modern-enabled .comments-area .comment-form label {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 6px;
  font-weight: 400;
}

body.rb-article-modern-enabled .rb-comments-wrap .comment-form .required,
body.rb-article-modern-enabled .comments-area .comment-form .required {
  color: var(--navy);
}

body.rb-article-modern-enabled .rb-comments-wrap .comment-form input,
body.rb-article-modern-enabled .rb-comments-wrap .comment-form textarea,
body.rb-article-modern-enabled .comments-area .comment-form input,
body.rb-article-modern-enabled .comments-area .comment-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  background: #fafaf8;
  padding: 11px 12px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--ink);
  border-radius: 0;
  box-shadow: none;
}

body.rb-article-modern-enabled .rb-comments-wrap .comment-form textarea,
body.rb-article-modern-enabled .comments-area .comment-form textarea {
  min-height: 180px;
  resize: vertical;
}

body.rb-article-modern-enabled .rb-comments-wrap .comment-form input:focus,
body.rb-article-modern-enabled .rb-comments-wrap .comment-form textarea:focus,
body.rb-article-modern-enabled .comments-area .comment-form input:focus,
body.rb-article-modern-enabled .comments-area .comment-form textarea:focus {
  outline: 0;
  border-color: var(--navy);
  box-shadow: 0 0 0 1px var(--navy);
}

body.rb-article-modern-enabled .rb-comments-wrap .comment-form-cookies-consent,
body.rb-article-modern-enabled .comments-area .comment-form-cookies-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 2px;
  margin-bottom: 18px;
}

body.rb-article-modern-enabled .rb-comments-wrap .comment-form-cookies-consent input[type='checkbox'],
body.rb-article-modern-enabled .comments-area .comment-form-cookies-consent input[type='checkbox'] {
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  padding: 0;
  border: 1px solid var(--border);
  accent-color: var(--navy);
}

body.rb-article-modern-enabled .rb-comments-wrap .comment-form-cookies-consent label,
body.rb-article-modern-enabled .comments-area .comment-form-cookies-consent label {
  margin: 0;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0;
  line-height: 1.55;
  text-transform: none;
  color: var(--ink-soft);
}

body.rb-article-modern-enabled .rb-comments-wrap .comment-form .form-submit,
body.rb-article-modern-enabled .comments-area .comment-form .form-submit {
  margin-bottom: 0;
}

body.rb-article-modern-enabled .rb-comments-wrap .comment-form .submit,
body.rb-article-modern-enabled .comments-area .comment-form .submit {
  width: auto;
  min-width: 220px;
  border: 1px solid var(--navy);
  background: var(--navy);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  padding: 11px 18px;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

body.rb-article-modern-enabled .rb-comments-wrap .comment-form .submit:hover,
body.rb-article-modern-enabled .comments-area .comment-form .submit:hover {
  background: #13263f;
  border-color: #13263f;
}

body.rb-article-modern-enabled .rb-comments-wrap .comment-form .submit:focus,
body.rb-article-modern-enabled .comments-area .comment-form .submit:focus {
  outline: 0;
  box-shadow: 0 0 0 2px rgba(29, 53, 87, 0.2);
}

.rb-article-sidebar {
  padding-top: 8px;
}

.rb-sidebar-ad-wrap {
  position: sticky;
  top: 88px;
}

body.admin-bar .rb-sidebar-ad-wrap {
  top: 120px;
}

.rb-sidebar-ad {
  background: var(--bg-alt);
  padding: 16px;
  border: 1px solid var(--border);
  margin-bottom: 28px;
}

.rb-sidebar-ad-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  text-align: center;
  margin-bottom: 8px;
}

.rb-sidebar-ad-placeholder {
  background: var(--bg);
  min-height: 250px;
  border: 1px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px;
}

.rb-sidebar-related-title {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.rb-sidebar-article {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.rb-sidebar-article-thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-alt);
}

.rb-sidebar-article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rb-sidebar-article-copy {
  min-width: 0;
}

.rb-sidebar-article-tag {
  margin-bottom: 4px;
}

.rb-sidebar-article-title {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 6px;
  transition: color 0.2s ease;
}

.rb-sidebar-article:hover .rb-sidebar-article-title {
  color: var(--navy);
}

.rb-sidebar-widgets {
  margin-top: 24px;
  padding-top: 8px;
}

.rb-sidebar-widgets .widget-area {
  margin: 0;
}

.rb-sidebar-widgets .widget {
  margin-bottom: 26px;
  border-top: 1px solid var(--border);
  padding-top: 18px;
}

.rb-sidebar-widgets .widget:first-child {
  padding-top: 6px;
}

.rb-sidebar-widgets .section-heading,
.rb-sidebar-widgets .widget-title,
.rb-sidebar-widgets .widgettitle {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 14px !important;
  padding: 0 !important;
  border: 0 !important;
}

.rb-sidebar-widgets .widget > h1,
.rb-sidebar-widgets .widget > h2,
.rb-sidebar-widgets .widget > h3,
.rb-sidebar-widgets .widget > h4,
.rb-sidebar-widgets .widget > h5,
.rb-sidebar-widgets .widget > h6,
.rb-sidebar-widgets .widget .wp-block-heading {
  font-family: var(--mono) !important;
  font-size: 10px !important;
  font-weight: 400 !important;
  letter-spacing: 0.12em !important;
  line-height: 1.4 !important;
  text-transform: uppercase !important;
  color: var(--ink-muted) !important;
  margin: 0 0 14px !important;
  padding: 0 !important;
  border: 0 !important;
}

.rb-sidebar-widgets .section-heading::after,
.rb-sidebar-widgets .widget-title::after,
.rb-sidebar-widgets .widgettitle::after,
.rb-sidebar-widgets .widget .wp-block-heading::after {
  display: none !important;
}

.rb-sidebar-widgets ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.rb-sidebar-widgets ul li {
  margin: 0;
  padding: 10px 0;
  list-style: none;
}

.rb-sidebar-widgets a {
  color: var(--ink-soft);
}

.rb-sidebar-widgets .widget_recent_entries li,
.rb-sidebar-widgets .widget_recent_comments li,
.rb-sidebar-widgets .wp-block-latest-posts__list li {
  border-top: 1px solid var(--border);
  padding: 0;
}

.rb-sidebar-widgets .widget_recent_entries li:first-child,
.rb-sidebar-widgets .widget_recent_comments li:first-child,
.rb-sidebar-widgets .wp-block-latest-posts__list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.rb-sidebar-widgets .widget_recent_entries a,
.rb-sidebar-widgets .widget_recent_comments a,
.rb-sidebar-widgets .wp-block-latest-posts__list a {
  display: block;
  padding: 14px 0;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
  transition: color 0.2s ease;
}

.rb-sidebar-widgets .widget_recent_entries a:hover,
.rb-sidebar-widgets .widget_recent_comments a:hover,
.rb-sidebar-widgets .wp-block-latest-posts__list a:hover {
  color: var(--navy);
}

.rb-sidebar-widgets .widget_recent_entries .post-date,
.rb-sidebar-widgets .wp-block-latest-posts__post-date {
  margin-top: 7px;
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.rb-sidebar-widgets .widget_categories li,
.rb-sidebar-widgets .widget_archive li,
.rb-sidebar-widgets .widget_meta li,
.rb-sidebar-widgets .widget_pages li,
.rb-sidebar-widgets .widget_nav_menu li,
.rb-sidebar-widgets .wp-block-categories-list li,
.rb-sidebar-widgets .wp-block-archives-list li {
  border-top: 1px solid var(--border);
  padding: 0;
}

.rb-sidebar-widgets .widget_categories li:first-child,
.rb-sidebar-widgets .widget_archive li:first-child,
.rb-sidebar-widgets .widget_meta li:first-child,
.rb-sidebar-widgets .widget_pages li:first-child,
.rb-sidebar-widgets .widget_nav_menu li:first-child,
.rb-sidebar-widgets .wp-block-categories-list li:first-child,
.rb-sidebar-widgets .wp-block-archives-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.rb-sidebar-widgets .widget_categories a,
.rb-sidebar-widgets .widget_archive a,
.rb-sidebar-widgets .widget_meta a,
.rb-sidebar-widgets .widget_pages a,
.rb-sidebar-widgets .widget_nav_menu a,
.rb-sidebar-widgets .wp-block-categories-list a,
.rb-sidebar-widgets .wp-block-archives-list a {
  display: block;
  padding: 10px 0;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink-soft);
}

.rb-sidebar-widgets .widget_categories a:hover,
.rb-sidebar-widgets .widget_archive a:hover,
.rb-sidebar-widgets .widget_meta a:hover,
.rb-sidebar-widgets .widget_pages a:hover,
.rb-sidebar-widgets .widget_nav_menu a:hover,
.rb-sidebar-widgets .wp-block-categories-list a:hover,
.rb-sidebar-widgets .wp-block-archives-list a:hover {
  color: var(--ink);
}

.rb-sidebar-widgets .search-form {
  display: flex;
  gap: 8px;
}

.rb-sidebar-widgets .search-form > label {
  margin: 0;
  flex: 1;
}

.rb-sidebar-widgets .search-field {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--border);
  background: transparent;
  padding: 8px 10px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--ink);
}

.rb-sidebar-widgets .search-submit {
  min-height: 40px;
  border: 1px solid var(--border);
  background: transparent;
  padding: 8px 10px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.rb-sidebar-widgets .wp-block-search__inside-wrapper {
  display: flex;
  gap: 8px;
}

.rb-sidebar-widgets .wp-block-search__input {
  min-height: 40px;
  border: 1px solid var(--border);
  background: transparent;
  padding: 8px 10px;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink);
}

.rb-sidebar-widgets .wp-block-search__button {
  min-height: 40px;
  border: 1px solid var(--border);
  background: transparent;
  margin: 0;
  padding: 8px 10px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.rb-site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
}

.rb-footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.rb-footer-logo {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.rb-footer-logo span {
  color: var(--navy);
}

.rb-footer-logo-image .custom-logo-link {
  display: inline-flex;
  align-items: center;
}

.rb-footer-logo-image .custom-logo {
  width: auto;
  height: 32px;
  max-width: 200px;
  object-fit: contain;
}

.rb-footer-bottom-text {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  text-transform: uppercase;
}

.rb-read-progress {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--border);
  z-index: 99;
}

body.admin-bar .rb-read-progress {
  top: 96px;
}

.rb-read-progress-bar {
  height: 100%;
  width: 0;
  background: var(--navy);
  transition: width 0.1s linear;
}

@media (max-width: 1200px) {
  .rb-nav-inner,
  .rb-breadcrumb,
  .rb-article-wrap,
  .rb-footer-bottom {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (max-width: 960px) {
  body.admin-bar .rb-site-nav {
    top: 46px;
  }

  body.admin-bar .rb-read-progress {
    top: 102px;
  }

  .rb-nav-links {
    display: none;
  }

  .rb-article-wrap {
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 20px;
  }

  .rb-article-main {
    max-width: 100%;
  }

  .rb-article-sidebar {
    display: none;
  }

  .rb-related-grid {
    grid-template-columns: 1fr;
  }

  .rb-meta-right {
    display: none;
  }

  .rb-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .rb-nav-inner,
  .rb-breadcrumb,
  .rb-article-wrap,
  .rb-footer-bottom {
    padding-left: 16px;
    padding-right: 16px;
  }

  .rb-nav-inner {
    min-height: 56px;
  }

  .rb-read-progress {
    top: 56px;
  }

  body.admin-bar .rb-read-progress {
    top: 102px;
  }

  .rb-article-title {
    font-size: 34px;
  }

  .rb-article-dek {
    font-size: 18px;
  }

  .rb-author-bio-block {
    padding: 20px;
  }

  body.rb-article-modern-enabled .rb-comments-wrap .comment-respond,
  body.rb-article-modern-enabled .comments-area .comment-respond {
    padding: 18px;
  }

  body.rb-article-modern-enabled .rb-comments-wrap .comment-reply-title,
  body.rb-article-modern-enabled .comments-area .comment-reply-title {
    font-size: 28px;
  }

  body.rb-article-modern-enabled .rb-comments-wrap .comment-form .submit,
  body.rb-article-modern-enabled .comments-area .comment-form .submit {
    width: 100%;
    min-width: 0;
  }
}
