.rc1-blog-hero {
  padding: calc(var(--rc1-header-h) + 2.5rem) 0 2.5rem;
  text-align: center;
  border-bottom: 2px solid var(--rc1-red);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, var(--rc1-bg) 100%);
}

.rc1-blog-hero__title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin: 0;
}

.rc1-blog-hero__lead {
  color: var(--rc1-gray);
  margin: 0.75rem auto 0;
  max-width: 36rem;
  font-size: 1rem;
  line-height: 1.6;
}

.rc1-blog-archive {
  padding-bottom: 4rem;
}

.rc1-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  padding: 3rem 0 1rem;
}

.rc1-blog-card {
  background: var(--rc1-bg-card);
  border: 1px solid #333;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.rc1-blog-card:hover {
  border-color: var(--rc1-red);
  transform: translateY(-2px);
}

.rc1-blog-card__img {
  display: block;
  aspect-ratio: 16 / 9;
  background: #1a1a1a center / cover no-repeat;
  min-height: 180px;
}

.rc1-blog-card__body {
  padding: 1.35rem 1.35rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.rc1-blog-card__meta {
  font-size: 0.7rem;
  color: var(--rc1-gray);
  margin: 0 0 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--rc1-font-heading);
}

.rc1-blog-card__title {
  font-size: 1.05rem;
  line-height: 1.35;
  margin: 0 0 0.75rem;
}

.rc1-blog-card__title a {
  color: var(--rc1-white);
  text-decoration: none;
}

.rc1-blog-card__title a:hover {
  color: var(--rc1-red);
}

.rc1-blog-card__excerpt {
  font-size: 0.875rem;
  color: var(--rc1-gray);
  line-height: 1.65;
  flex: 1;
  margin: 0;
}

.rc1-blog-card__link {
  margin-top: 1.15rem;
  font-size: 0.72rem;
  color: var(--rc1-red);
  font-family: var(--rc1-font-heading);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 700;
}

.rc1-blog-card__link:hover {
  color: var(--rc1-white);
}

.rc1-blog-pagination {
  margin-top: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid #333;
}

.rc1-blog-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
}

.rc1-blog-pagination a,
.rc1-blog-pagination span {
  display: inline-block;
  padding: 0.5rem 0.85rem;
  border: 1px solid #333;
  color: var(--rc1-gray);
  font-size: 0.8rem;
  text-decoration: none;
  font-family: var(--rc1-font-heading);
}

.rc1-blog-pagination a:hover {
  border-color: var(--rc1-red);
  color: var(--rc1-red);
}

.rc1-blog-pagination .current {
  border-color: var(--rc1-red);
  color: var(--rc1-white);
  background: rgba(196, 30, 58, 0.15);
}

.rc1-blog-empty {
  color: var(--rc1-gray);
  text-align: center;
  padding: 3rem 0;
}

/* Single post */
.rc1-post-hero {
  position: relative;
  min-height: min(42vh, 420px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-bottom: 2px solid var(--rc1-red);
}

.rc1-post-hero__bg {
  position: absolute;
  inset: 0;
  background-color: #111;
  background-image: var(--rc1-post-hero-image);
  background-size: cover;
  background-position: center;
}

.rc1-post-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.25) 0%,
    rgba(0, 0, 0, 0.75) 55%,
    rgba(0, 0, 0, 0.95) 100%
  );
}

.rc1-post-hero__inner {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, var(--rc1-container));
  margin: 0 auto;
  padding: calc(var(--rc1-header-h) + 1.25rem) 0 2.25rem;
}

.rc1-post-hero .rc1-back-link {
  margin-bottom: 1rem;
  color: var(--rc1-white);
}

.rc1-post-hero .rc1-back-link:hover {
  color: var(--rc1-red);
}

.rc1-post-hero__meta {
  color: var(--rc1-gray);
  font-size: 0.75rem;
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--rc1-font-heading);
}

.rc1-post-hero__meta a {
  color: var(--rc1-gray);
  text-decoration: none;
}

.rc1-post-hero__meta a:hover {
  color: var(--rc1-red);
}

.rc1-post-hero__title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin: 0;
  line-height: 1.12;
  max-width: 56rem;
}

.rc1-single-post-body {
  padding-top: 2.5rem;
  padding-bottom: 4rem;
}

.rc1-single-post-layout {
  width: 100%;
}

.rc1-single-post-layout--sidebar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) min(300px, 30%);
  gap: 2.5rem 3rem;
  align-items: start;
}

.rc1-single-post-layout--full .rc1-single-post {
  width: min(100%, var(--rc1-container));
  max-width: none;
  margin: 0 auto;
}

.rc1-single-post-layout--sidebar .rc1-single-post {
  width: auto;
  max-width: none;
  margin: 0;
}

.rc1-post-sidebar {
  position: sticky;
  top: calc(var(--rc1-header-h) + 1.5rem);
}

.rc1-sidebar-widget {
  background: var(--rc1-bg-card);
  border: 1px solid #333;
  padding: 1.35rem 1.35rem 1.5rem;
  margin-bottom: 1.5rem;
}

.rc1-sidebar-widget__title {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 1rem;
  color: var(--rc1-white);
  font-family: var(--rc1-font-heading);
}

.rc1-sidebar-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.rc1-sidebar-list li {
  margin: 0 0 0.65rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid #2a2a2a;
}

.rc1-sidebar-list li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.rc1-sidebar-list a {
  color: var(--rc1-gray);
  text-decoration: none;
  font-size: 0.9rem;
  line-height: 1.45;
}

.rc1-sidebar-list a:hover {
  color: var(--rc1-red);
}

.rc1-sidebar-widget--cta p {
  color: var(--rc1-gray);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0 0 1rem;
}

.rc1-btn--block {
  display: block;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
}

@media (max-width: 960px) {
  .rc1-single-post-layout--sidebar {
    grid-template-columns: 1fr;
  }

  .rc1-post-sidebar {
    position: static;
  }
}

.rc1-single-post {
  width: min(100% - 2rem, var(--rc1-container));
  max-width: none;
  margin: 0 auto;
}

.rc1-single-post__content {
  color: var(--rc1-gray);
  line-height: 1.75;
  font-size: 1rem;
}

.rc1-single-post__content h2,
.rc1-single-post__content h3 {
  color: var(--rc1-white);
  margin: 2rem 0 0.75rem;
  font-size: 1.15rem;
}

.rc1-single-post__content p {
  margin: 0 0 1rem;
}

.rc1-single-post__content ol,
.rc1-single-post__content ul {
  margin: 0 0 1.25rem 1.25rem;
  padding: 0;
}

.rc1-single-post__content li {
  margin-bottom: 0.5rem;
}

.rc1-single-post__content a {
  color: var(--rc1-red);
}

.rc1-single-post__content a:hover {
  color: var(--rc1-white);
}

.rc1-single-post__content img {
  max-width: 100%;
  height: auto;
}

.rc1-back-link {
  display: inline-block;
  color: var(--rc1-red);
  font-size: 0.8rem;
  font-family: var(--rc1-font-heading);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
}

.rc1-back-link:hover {
  color: var(--rc1-white);
}
