/* ==========================================================================
   Retirees in USA — 2.0 refresh layer
   Loads after main.css + style.css. Same palette and layout; tighter
   spacing, flatter cards, one font pair, new footer. Selectors are prefixed
   with `body` where they must beat the two older sheets.
   ========================================================================== */

/* Fonts: Bricolage Grotesque (headings) + Atkinson Hyperlegible Next (body),
   self-hosted variable woff2, latin + latin-ext. */
@font-face {
  font-family: 'Atkinson Hyperlegible Next';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/atkinson-next-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Atkinson Hyperlegible Next';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/atkinson-next-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Atkinson Hyperlegible Next';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/atkinson-next-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Atkinson Hyperlegible Next';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/atkinson-next-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url('../fonts/bricolage-op28-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url('../fonts/bricolage-op28-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --rti-head: "Bricolage Grotesque", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --rti-body: "Atkinson Hyperlegible Next", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --rti-head-weight: 700;
  --rti-line: #E5E7EB;
  --rti-soft: #F7F7F5;
  --rti-radius: 10px;
  --line-height-body: 1.65;
}

body {
  font-family: var(--rti-body);
}

h1, h2, h3, h4, h5, h6,
.entry-title,
.section-title,
.category-block-title,
.hero-main-title,
.hero-sidebar-title,
.latest-post-title,
.category-block-item-title,
.archive-title,
.archive-post-title,
.related-posts-title,
.related-post-title,
.sidebar-widget-title,
.popular-post-link,
.top-pick-title {
  font-family: var(--rti-head);
  font-variant-numeric: lining-nums; /* listicle numbers, whatever the face's default */
}

/* --------------------------------------------------------------------------
   Header — one compact row
   -------------------------------------------------------------------------- */
body .site-header {
  padding: 0.6rem 0 !important; /* main.css pins 1rem with !important */
  box-shadow: none;
}

body .site-title {
  line-height: 0;
}

body .site-title svg {
  display: block;
  width: 176px;
  height: 44px;
}

body .site-description {
  font-size: 0.72rem;
  margin: 0.15rem 0 0 !important; /* main.css: margin-bottom 1rem !important */
}

body .main-navigation a {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* --------------------------------------------------------------------------
   Page rhythm
   -------------------------------------------------------------------------- */
body .site-main {
  padding: 1.75rem 0 2.5rem;
}

/* front-page.php nests a second .site-container inside header.php's, which
   inset the homepage 24px from the header and footer edges. */
@media (min-width: 769px) {
  body .home-main .site-container {
    padding-left: 0;
    padding-right: 0;
  }
}

body .home-hero {
  margin-bottom: 0;
  padding-bottom: 0;
}

/* --------------------------------------------------------------------------
   Homepage hero
   -------------------------------------------------------------------------- */
body .hero-grid {
  gap: 1.25rem;
  align-items: stretch;
}

body .hero-main {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--rti-line);
  border-radius: var(--rti-radius);
  box-shadow: none;
}

/* The lead image grows to fill the column so the card has no dead space
   under the excerpt when the stacked list beside it is taller. */
body .hero-main-image {
  flex: 1 1 auto;
  min-height: 280px;
  aspect-ratio: auto;
}

body .hero-main-content {
  padding: 1.1rem 1.35rem 1.25rem;
}

body .hero-category-badge {
  background: none;
  color: var(--color-primary-hover);
  padding: 0;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}

body .hero-category-badge:hover {
  background: none;
  color: var(--color-primary);
}

body .hero-main-title {
  font-size: clamp(1.45rem, 1.1rem + 1vw, 1.9rem);
  font-weight: var(--rti-head-weight);
  line-height: 1.2;
  margin-bottom: 0.4rem;
}

body .hero-main-meta {
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}

body .hero-main-excerpt {
  font-size: 1rem;
  line-height: 1.55;
}

body .hero-sidebar {
  gap: 0;
  border: 1px solid var(--rti-line);
  border-radius: var(--rti-radius);
  padding: 0.25rem 1rem;
}

body .hero-sidebar-item {
  box-shadow: none;
  border-radius: 0;
  gap: 0.9rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--rti-line);
  align-items: center;
}

body .hero-sidebar-item:last-child {
  border-bottom: 0;
}

body .hero-sidebar-item:hover {
  transform: none;
  box-shadow: none;
}

body .hero-sidebar-image {
  width: 88px;
  height: 66px;
  border-radius: 6px;
}

body .hero-sidebar-content {
  padding: 0;
}

body .hero-sidebar-category {
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  margin-bottom: 0.15rem;
}

body .hero-sidebar-title {
  font-size: 0.98rem;
  line-height: 1.3;
  margin-bottom: 0.15rem;
}

/* --------------------------------------------------------------------------
   Section heads + Latest grid
   -------------------------------------------------------------------------- */
body .latest-posts-section {
  padding: 2.25rem 0 0.5rem;
}

body .section-header {
  margin-bottom: 1.1rem;
  padding-bottom: 0.6rem;
  border-bottom-width: 1px;
  border-bottom-color: var(--rti-line);
  position: relative;
}

body .section-header::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 56px;
  height: 3px;
  background: var(--color-primary);
}

body .section-title,
body .category-block-title {
  font-size: clamp(1.3rem, 1.1rem + 0.6vw, 1.6rem);
  font-weight: var(--rti-head-weight);
  letter-spacing: -0.01em;
}

body .view-all-link,
body .category-view-all {
  font-size: 0.9rem;
}

body .latest-posts-grid {
  gap: 1.25rem;
}

body .latest-post-card {
  border: 1px solid var(--rti-line);
  border-radius: var(--rti-radius);
  box-shadow: none;
}

body .latest-post-card:hover {
  transform: none;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
}

body .latest-post-card:hover .latest-post-image img,
body .hero-main:hover .hero-main-image img,
body .hero-sidebar-item:hover .hero-sidebar-image img {
  transform: none;
}

body .latest-post-content {
  padding: 0.85rem 1rem 1rem;
}

body .latest-post-category {
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  margin-bottom: 0.3rem;
}

body .latest-post-title {
  font-size: 1.1rem;
  line-height: 1.3;
  margin-bottom: 0.35rem;
}

body .latest-post-content time {
  font-size: 0.78rem;
}

/* --------------------------------------------------------------------------
   Category blocks + homepage sidebar
   -------------------------------------------------------------------------- */
body .categories-with-sidebar {
  padding: 2rem 0 0;
}

body .two-column-layout {
  gap: 2.5rem;
}

body .category-block {
  margin-bottom: 2rem;
  padding-bottom: 0;
  border-bottom: 0;
}

body .category-block-header {
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--rti-line);
  position: relative;
}

body .category-block-header::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 56px;
  height: 3px;
  background: var(--color-primary);
}

body .category-block-posts {
  gap: 0.9rem 1.25rem;
}

body .category-block-item {
  background: none;
  border-radius: 0;
  gap: 0.85rem;
  align-items: center;
}

body .category-block-item:hover {
  transform: none;
}

body .category-block-image {
  border-radius: 6px;
}

body .category-block-item-title {
  font-size: 1rem;
  line-height: 1.3;
}

/* Not sticky: the column scrolls with the page. */
body .sidebar-column {
  position: static;
}

body .sidebar-widget {
  background: #fff;
  border: 1px solid var(--rti-line);
  border-radius: var(--rti-radius);
  padding: 1.1rem 1.25rem;
  margin-bottom: 1.25rem;
}

body .sidebar-widget-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary-hover);
  border-bottom: 1px solid var(--rti-line);
  padding-bottom: 0.6rem;
  margin-bottom: 0.75rem;
}

/* --------------------------------------------------------------------------
   Single post
   -------------------------------------------------------------------------- */
body .content-sidebar-wrap {
  gap: 2.5rem;
}

body .article-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom-width: 1px;
  border-bottom-color: var(--rti-line);
}

body .entry-title {
  font-size: clamp(1.9rem, 1.3rem + 2vw, 2.6rem);
  font-weight: var(--rti-head-weight);
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

body .entry-meta {
  font-size: 0.85rem;
  margin-bottom: 0;
}

body .entry-content h2 {
  margin-top: 2.25rem;
  margin-bottom: 0.75rem;
  font-weight: var(--rti-head-weight);
}

body .entry-content h3 {
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
}

body .entry-content {
  line-height: 1.68; /* was 1.8 */
}

body .entry-content p {
  margin-bottom: 1.1rem;
}

body .entry-content figure {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

body .entry-content figure img {
  border-radius: var(--rti-radius);
  box-shadow: none;
}

body .entry-content figcaption {
  font-style: normal;
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

/* Sidebar on posts — not sticky (the newsletter card was pinned as the
   last child of .widget-area since claude-theme 2.2.x). */
@media (min-width: 769px) {
  body .widget-area > :last-child {
    position: static;
  }
}

body .widget-area {
  gap: 1.5rem;
}

body .widget {
  margin-bottom: 0;
  border-left-width: 3px;
  padding-left: 1rem;
}

body .widget-area > section > p:first-child,
body p.widget-styled-title,
body .widget-styled-title {
  font-size: 0.8rem !important;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

body .widget_recent_entries li {
  margin-bottom: 0.85rem;
  align-items: center;
}

body .widget_recent_entries img {
  width: 64px;
  height: 64px;
  border-radius: 6px;
}

body .widget-newsletter {
  background: var(--rti-soft);
  border: 1px solid var(--rti-line);
  border-left: 3px solid var(--color-primary);
  border-radius: var(--rti-radius);
  padding: 1.1rem 1.25rem;
}

/* Related posts */
body .related-posts {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

body .related-posts-title {
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
}

/* --------------------------------------------------------------------------
   Archive
   -------------------------------------------------------------------------- */
body .archive-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
}

body .archive-title {
  font-weight: var(--rti-head-weight);
  margin-bottom: 0.5rem;
}

body .archive-description {
  font-size: 1rem;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
body .site-footer.rti-footer {
  margin-top: 0;
  padding: 2.75rem 0 1.5rem;
  background: var(--color-footer-bg);
  color: #DBE7F5;
  font-size: 0.95rem;
}

.rti-footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

body .rti-footer .footer-logo-link {
  margin-bottom: 0;
}

.rti-footer-tagline {
  margin: 0.75rem 0 0.4rem;
  color: #fff;
  font-weight: 600;
  font-family: var(--rti-head);
  font-size: 1.05rem;
}

.rti-footer-about {
  margin: 0;
  max-width: 34rem;
  line-height: 1.55;
  color: #C3D3E8;
}

.rti-footer-signup {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--rti-radius);
  padding: 1.25rem 1.35rem;
  align-self: start;
}

.rti-footer-signup-title {
  margin: 0 0 0.3rem;
  color: #fff;
  font-family: var(--rti-head);
  font-weight: 700;
  font-size: 1.15rem;
}

.rti-footer-signup-text {
  margin: 0 0 0.85rem;
  color: #C3D3E8;
  font-size: 0.92rem;
  line-height: 1.5;
}

body .rti-footer-form {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
}

.rti-footer-form input[type="email"] {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 44px;
  padding: 0 0.9rem;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--color-text-dark);
}

.rti-footer-form button {
  min-height: 44px;
  padding: 0 1.1rem;
  border: 0;
  border-radius: 6px;
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  font-family: inherit;
  cursor: pointer;
}

.rti-footer-form button:hover {
  background: var(--color-primary-hover);
}

.rti-footer-signup .newsletter-message {
  margin-top: 0.6rem;
  font-size: 0.9rem;
  color: #fff;
}

.rti-footer-cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem 2rem;
  padding: 1.75rem 0;
}

.rti-footer-heading {
  margin: 0 0 0.6rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #93C5FD;
}

.rti-footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.rti-footer-col li {
  margin: 0;
}

.rti-footer-col a,
.rti-footer-bottom a {
  color: #fff;
  text-decoration: none;
}

.rti-footer-col a {
  display: inline-block;
  padding: 0.3rem 0;
  line-height: 1.35;
}

.rti-footer-col a:hover,
.rti-footer-bottom a:hover {
  color: #93C5FD;
  text-decoration: underline;
}

.rti-footer-bottom {
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.82rem;
  line-height: 1.55;
  color: #A9BDD6;
}

.rti-footer-bottom p {
  margin: 0 0 0.3rem;
}

@media (max-width: 900px) {
  .rti-footer-top {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .rti-footer-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 420px) {
  body .rti-footer-form {
    flex-direction: column;
  }
}

/* --------------------------------------------------------------------------
   Mobile rhythm
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  body .site-main {
    padding: 1rem 0 2rem;
  }

  body .hero-main-image {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  body .hero-sidebar {
    padding: 0 0.85rem;
  }

  body .latest-posts-section {
    padding-top: 1.75rem;
  }

  body .category-block-posts {
    grid-template-columns: 1fr;
  }

  body .section-header,
  body .category-block-header {
    flex-direction: row;
    align-items: baseline;
    gap: 1rem;
  }

  body .sidebar-widget {
    padding: 1rem;
  }
}

/* --------------------------------------------------------------------------
   Article end: share row, comments, related (2.0.2)
   -------------------------------------------------------------------------- */
body .social-share {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin: 2rem 0 0;
  padding: 1rem 0;
  background: none;
  border: 0;
  border-top: 1px solid var(--rti-line);
  border-bottom: 1px solid var(--rti-line);
  border-radius: 0;
}

body .social-share-title {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-medium);
}

body .social-share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-start;
}

body .share-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--rti-line);
  color: var(--color-heading);
  box-shadow: none;
  transform: none;
}

body .share-button:hover {
  background: var(--color-heading);
  border-color: var(--color-heading);
  color: #fff;
  transform: none;
}

body .share-button svg {
  width: 18px;
  height: 18px;
}

body .share-button span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

body .comments-area {
  margin-top: 1.75rem;
  padding-top: 0;
  border-top: 0;
}

body .comment-respond {
  margin-top: 0;
  padding: 1.25rem 1.5rem 1.5rem;
  background: var(--rti-tint, var(--rti-soft));
  border-radius: var(--rti-radius);
}

body .comment-reply-title {
  margin-top: 0;
  font-family: var(--rti-head);
}

body .comment-respond input[type="text"],
body .comment-respond input[type="email"],
body .comment-respond input[type="url"],
body .comment-respond textarea {
  background: #fff;
  border-radius: 8px;
  font-family: inherit;
}

body .comment-respond textarea {
  min-height: 120px;
}

/* Related: "More in <category>" — featured story + list */
body .rti-related {
  margin-top: 2.5rem;
  padding: 2.25rem 0 2.5rem;
}

.rti-related-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.rti-related-eyebrow {
  margin: 0 0 0.2rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary-hover);
}

body .rti-related .related-posts-title {
  margin: 0;
  font-size: clamp(1.45rem, 1.15rem + 0.9vw, 1.9rem);
  text-align: left;
  color: var(--color-heading);
}

.rti-related-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 1.5rem 2.5rem;
  align-items: start;
}

.rti-related-lead-image {
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: var(--rti-radius);
  overflow: hidden;
  background: var(--rti-line);
}

.rti-related-lead-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rti-related-lead-title {
  margin: 0.9rem 0 0.4rem;
  font-size: clamp(1.25rem, 1.05rem + 0.6vw, 1.55rem);
  line-height: 1.22;
}

.rti-related-lead-title a,
.rti-related-item-title a {
  color: var(--color-heading);
  text-decoration: none;
}

.rti-related-lead-title a:hover,
.rti-related-item-title a:hover {
  color: var(--color-primary-hover);
}

.rti-related-lead-excerpt {
  margin: 0;
  color: var(--color-text-medium);
  line-height: 1.55;
}

.rti-related-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.rti-related-item {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--rti-line);
}

.rti-related-item:first-child {
  padding-top: 0;
}

.rti-related-item:last-child {
  border-bottom: 0;
}

.rti-related-thumb {
  flex: 0 0 auto;
  width: 104px;
  height: 78px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--rti-line);
}

.rti-related-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rti-related-item-title {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  line-height: 1.3;
}

.rti-related-item time {
  font-size: 0.8rem;
  color: var(--color-text-light);
}

@media (max-width: 768px) {
  .rti-related-grid {
    grid-template-columns: 1fr;
  }

  .rti-related-head {
    align-items: center;
  }

  .rti-related-thumb {
    width: 88px;
    height: 66px;
  }
}

body .social-share + .comment-respond,
body .comment-respond {
  margin-top: 1.75rem;
}

body .comment-form p {
  margin-bottom: 0.85rem;
}

body .comment-form label {
  margin-bottom: 0.3rem;
}

body .related-posts.rti-related {
  border-top: 0;
}

/* Sidebar search: one field with an icon button, no title (2.0.3) */
body .widget-area .widget.rti-search {
  padding: 0;
  background: none;
  border: 0 !important;
}

.rti-search-form {
  position: relative;
  display: flex;
}

body .widget-area .widget-search .rti-search-form input[type="search"] {
  flex: 1 1 auto;
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 0 3.25rem 0 1.1rem;
  border: 1px solid var(--rti-line);
  border-radius: 999px;
  background: #fff;
  font-family: inherit;
  font-size: 1rem;
  color: var(--color-text-dark);
  -webkit-appearance: none;
  appearance: none;
}

body .rti-search-form input[type="search"]:focus {
  outline: none;
  border-color: var(--color-heading);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.15);
}

body .widget-area .widget-search .rti-search-form button {
  position: absolute;
  top: 4px;
  right: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  cursor: pointer;
}

body .widget-area .widget-search .rti-search-form button:hover {
  background: var(--color-primary-hover);
}

body .widget-area .widget-search .rti-search-form button svg {
  display: block;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

/* --------------------------------------------------------------------------
   Archive (2.0.4): featured + list on top, then two columns of rows
   -------------------------------------------------------------------------- */
body .rti-archive .rti-archive-top {
  padding-bottom: 2rem;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid var(--rti-line);
}

body .rti-archive .rti-related-lead-title {
  font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem);
}

.rti-archive-date {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--color-text-light);
}

.rti-archive-rows {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 2.5rem;
}

.rti-archive-row {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--rti-line);
}

.rti-archive-row-thumb {
  flex: 0 0 auto;
  width: 168px;
  aspect-ratio: 3 / 2;
  border-radius: 10px;
  overflow: hidden;
  background: var(--rti-line);
}

.rti-archive-row-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rti-archive-row-body {
  min-width: 0;
}

.rti-archive-row-excerpt {
  margin: 0 0 0.35rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--color-text-medium);
}

.rti-archive-row time {
  font-size: 0.8rem;
  color: var(--color-text-light);
}

body .rti-archive .archive-pagination,
body .rti-archive .pagination {
  margin-top: 2rem;
}

body .rti-archive .page-numbers {
  min-width: 44px;
  height: 44px;
  border-radius: 999px;
  background: #fff;
}

@media (max-width: 860px) {
  .rti-archive-rows {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .rti-archive-row-thumb {
    width: 112px;
  }

  .rti-archive-row-excerpt {
    display: none;
  }
}

@media (max-width: 860px) {
  body .rti-archive .rti-archive-top {
    padding-bottom: 0.5rem;
    margin-bottom: 0.25rem;
  }
}

/* main.css/style.css stack share buttons into a column on phones; keep the row. */
body .social-share-buttons {
  flex-direction: row;
}


/* Wide tables (2.0.6): edge shadows show there is more to scroll. The
   "local" layers cover the shadows when scrolled to either end. */
body .entry-content .table-scroll {
  background:
    linear-gradient(to right, #fff 30%, rgba(255, 255, 255, 0)) left center / 40px 100% no-repeat local,
    linear-gradient(to left, #fff 30%, rgba(255, 255, 255, 0)) right center / 40px 100% no-repeat local,
    radial-gradient(farthest-side at 0 50%, rgba(15, 23, 42, 0.18), rgba(15, 23, 42, 0)) left center / 14px 100% no-repeat scroll,
    radial-gradient(farthest-side at 100% 50%, rgba(15, 23, 42, 0.18), rgba(15, 23, 42, 0)) right center / 14px 100% no-repeat scroll;
}
