:root {
  --accent: #e74786;
  --accent-contrast-color: #fffdf8;
  --article-link-color: #c51f65;
  --background: #fff8ef;
  --border-color: rgba(49, 38, 30, 0.16);
  --color: #31261e;
  --menu-color: #31261e;
  --rb-ink: #31261e;
  --rb-muted: #725f50;
  --rb-paper: #fffdf8;
  --rb-paper-warm: #fff3df;
  --rb-line: rgba(49, 38, 30, 0.16);
  --rb-shadow: #31261e;
  --rb-pink: #e74786;
  --rb-green: #21866b;
  --rb-gold: #f0b94d;
  --rb-blue: #2d73c8;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    linear-gradient(180deg, rgba(255, 248, 239, 0.95), rgba(255, 253, 248, 0.98)),
    radial-gradient(circle at 18px 18px, rgba(49, 38, 30, 0.07) 1.2px, transparent 1.4px);
  background-size: auto, 28px 28px;
  color: var(--rb-ink);
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(231, 71, 134, 0.08), transparent 22%, transparent 78%, rgba(33, 134, 107, 0.08)),
    linear-gradient(rgba(49, 38, 30, 0.025) 50%, transparent 50%);
  background-size: auto, 100% 6px;
}

.container.full {
  max-width: 1180px;
  margin: 0 auto;
  padding-inline: clamp(18px, 4vw, 44px);
}

.content {
  padding-top: 22px;
}

.header {
  margin-bottom: 0;
  padding-top: 16px;
  border-bottom: 2px solid var(--rb-ink);
}

.header__inner {
  align-items: center;
  gap: 18px;
}

.header__logo::after {
  align-self: center;
  height: 10px;
  margin-left: 16px;
  border-radius: 999px;
  background: repeating-linear-gradient(
    90deg,
    var(--rb-pink),
    var(--rb-pink) 10px,
    var(--rb-gold) 10px,
    var(--rb-gold) 20px,
    var(--rb-green) 20px,
    var(--rb-green) 30px,
    transparent 30px,
    transparent 38px
  );
}

.logo,
.rb-logo {
  display: inline-flex;
  align-items: center;
  color: var(--rb-ink);
  font-weight: 900;
  letter-spacing: 0;
  text-decoration: none;
}

.logo img,
.rb-logo img {
  width: 58px;
  height: 58px !important;
  object-fit: contain;
}

.rb-logo span,
.logo span {
  margin-left: 10px;
  font-size: 1.18rem;
}

.navigation-menu {
  margin: 14px 0 0;
  padding-bottom: 12px;
}

.navigation-menu__inner {
  gap: 10px;
}

.navigation-menu__inner > li {
  margin: 0 !important;
}

.navigation-menu__inner a,
.menu__dropdown a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid var(--rb-line);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--rb-ink);
  background: rgba(255, 253, 248, 0.78);
  font-weight: 800;
  text-decoration: none;
}

.navigation-menu__inner a:hover,
.menu__dropdown a:hover,
.post-title a:hover,
.rb-card h3 a:hover {
  color: var(--rb-pink);
}

.menu__trigger {
  color: var(--rb-pink);
}

.menu__dropdown {
  border-color: var(--rb-ink);
  border-radius: 8px;
  background: var(--rb-paper);
  box-shadow: 6px 6px 0 var(--rb-shadow);
}

.rb-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(260px, 0.88fr);
  gap: clamp(30px, 5vw, 66px);
  align-items: center;
  min-height: clamp(470px, 70vh, 650px);
  padding: clamp(34px, 7vw, 78px) 0 42px;
}

.rb-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--rb-green);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.rb-kicker::before {
  content: "";
  width: 13px;
  height: 13px;
  border: 2px solid var(--rb-ink);
  border-radius: 3px;
  background: var(--rb-gold);
  box-shadow: 3px 3px 0 var(--rb-ink);
}

.rb-hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--rb-ink);
  font-size: clamp(3.1rem, 8vw, 7rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.rb-hero__lede {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--rb-muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.66;
}

.rb-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.rb-button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 2px solid var(--rb-ink);
  border-radius: 8px;
  padding: 0 18px;
  color: var(--rb-ink);
  background: var(--rb-paper);
  font-weight: 900;
  text-decoration: none;
  box-shadow: 4px 4px 0 var(--rb-shadow);
  transition: transform 120ms ease, box-shadow 120ms ease, background-color 120ms ease;
}

.rb-button--primary {
  background: var(--rb-pink);
  color: #fff;
}

.rb-button:hover,
.button:hover {
  transform: translate(1px, 1px);
  box-shadow: 3px 3px 0 var(--rb-shadow);
}

.rb-hero__media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border: 2px solid var(--rb-ink);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(231, 71, 134, 0.18), rgba(240, 185, 77, 0.26)),
    repeating-linear-gradient(0deg, rgba(49, 38, 30, 0.08) 0 2px, transparent 2px 12px),
    var(--rb-paper);
  box-shadow: 12px 12px 0 var(--rb-shadow);
  overflow: hidden;
}

.rb-hero__media::before,
.rb-hero__media::after {
  content: "";
  position: absolute;
  border: 2px solid var(--rb-ink);
  border-radius: 999px;
  background: var(--rb-paper);
}

.rb-hero__media::before {
  top: 18px;
  right: 18px;
  width: 18px;
  height: 18px;
  box-shadow: -30px 0 0 var(--rb-green), -60px 0 0 var(--rb-pink);
}

.rb-hero__media::after {
  right: 28px;
  bottom: 26px;
  width: 82px;
  height: 18px;
  border-radius: 8px;
  background: var(--rb-blue);
}

.rb-hero__media img {
  position: relative;
  z-index: 1;
  width: min(76%, 350px);
  height: auto;
  object-fit: contain;
}

.rb-intro {
  max-width: 850px;
  margin: 0 0 clamp(44px, 8vw, 74px);
  color: var(--rb-muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.rb-section {
  margin: clamp(46px, 8vw, 86px) 0;
}

.rb-section__heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 22px;
  border-bottom: 2px solid var(--rb-ink);
  padding-bottom: 14px;
}

.rb-section__heading h2 {
  margin: 0;
  color: var(--rb-ink);
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1.1;
  letter-spacing: 0;
}

.rb-paths,
.rb-featured {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.rb-paths a,
.rb-card,
.rb-list-post,
.post:not(.on-list) {
  border: 1px solid var(--rb-line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.9);
}

.rb-paths a {
  position: relative;
  display: block;
  min-height: 160px;
  padding: 22px;
  color: var(--rb-ink);
  text-decoration: none;
  overflow: hidden;
}

.rb-paths a::after {
  content: "";
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 44px;
  height: 44px;
  border: 2px solid var(--rb-ink);
  border-radius: 8px;
  background: var(--rb-gold);
  box-shadow: 5px 5px 0 var(--rb-ink);
  opacity: 0.9;
}

.rb-paths a:nth-child(2)::after {
  background: var(--rb-green);
}

.rb-paths a:nth-child(3)::after {
  background: var(--rb-pink);
}

.rb-paths span {
  display: block;
  margin-bottom: 14px;
  font-size: 1.22rem;
  font-weight: 900;
}

.rb-paths small {
  display: block;
  max-width: 88%;
  color: var(--rb-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.rb-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 12px 34px rgba(49, 38, 30, 0.08);
}

.rb-card__image {
  display: block;
  aspect-ratio: 4 / 3;
  background: var(--rb-paper-warm);
  overflow: hidden;
}

.rb-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.rb-card:hover .rb-card__image img {
  transform: scale(1.035);
}

.rb-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.rb-card h3 {
  margin: 8px 0 10px;
  font-size: 1.16rem;
  line-height: 1.35;
  letter-spacing: 0;
}

.rb-card h3 a {
  color: var(--rb-ink);
  text-decoration: none;
}

.rb-card p {
  margin: 0;
  color: var(--rb-muted);
  line-height: 1.58;
}

.rb-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 18px;
}

.rb-tags span,
.post-tags a {
  border: 1px solid var(--rb-line);
  border-radius: 999px;
  padding: 4px 9px;
  color: var(--rb-muted);
  background: var(--rb-paper-warm);
  font-size: 0.78rem;
  text-decoration: none;
}

.rb-latest {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.rb-list-post {
  margin: 0;
  padding: 22px;
}

.post {
  color: var(--rb-ink);
}

.post:not(.on-list) {
  max-width: 880px;
  padding: clamp(22px, 5vw, 42px);
  box-shadow: 0 18px 54px rgba(49, 38, 30, 0.08);
}

.post:not(.on-list) .post-content {
  font-size: 1.04rem;
  line-height: 1.78;
}

.post:not(.on-list) .post-content h2 {
  margin-top: 42px;
  border-bottom: 1px solid var(--rb-line);
  padding-bottom: 8px;
  color: var(--rb-ink);
  font-size: 1.55rem;
  letter-spacing: 0;
}

.post:not(.on-list) .post-content p,
.post:not(.on-list) .post-content li {
  color: var(--rb-muted);
}

.rb-list-post .post-title,
.post-title {
  --border: 0;
  margin-top: 0;
  border-bottom: 0;
  color: var(--rb-ink);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  line-height: 1.35;
  letter-spacing: 0;
}

.post-title::after {
  display: none;
}

.post-title a {
  color: var(--rb-ink);
  text-decoration: none;
}

.post-meta {
  color: var(--rb-green);
  font-size: 0.88rem;
  font-weight: 800;
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  opacity: 1;
}

.post-content {
  color: var(--rb-muted);
}

.post-cover {
  width: 100%;
  max-height: 560px;
  margin: 28px 0;
  border: 0;
  border-radius: 8px;
  padding: 0;
  object-fit: cover;
  box-shadow: 0 12px 34px rgba(49, 38, 30, 0.12);
}

blockquote {
  border-color: var(--rb-pink);
  border-radius: 8px;
  background: var(--rb-paper-warm);
}

table,
th,
td {
  border-color: var(--rb-line);
}

th {
  color: var(--rb-green);
}

.pagination {
  margin-top: 28px;
}

.footer {
  margin-top: 70px;
  border-top: 2px solid var(--rb-ink);
  color: var(--rb-muted);
}

.rb-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.rb-footer__inner strong,
.rb-footer__inner span {
  display: block;
}

.rb-footer__inner span {
  margin-top: 4px;
  font-size: 0.88rem;
}

.rb-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.rb-footer a {
  color: var(--rb-ink);
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 900px) {
  .rb-hero,
  .rb-paths,
  .rb-featured,
  .rb-latest {
    grid-template-columns: 1fr;
  }

  .rb-hero {
    min-height: auto;
    padding-top: 36px;
  }

  .rb-hero__media {
    max-width: 420px;
    margin: 0 auto;
    box-shadow: 8px 8px 0 var(--rb-shadow);
  }

  .rb-section__heading {
    display: block;
  }
}

@media (max-width: 684px) {
  .container.full {
    padding-inline: 16px;
  }

  .header {
    padding-bottom: 12px;
  }

  .header__logo::after {
    display: none;
  }

  .menu--mobile .menu__trigger {
    border-radius: 8px;
    background: var(--rb-paper);
  }

  .rb-hero h1 {
    font-size: clamp(2.65rem, 17vw, 4.2rem);
  }

  .rb-actions {
    display: grid;
  }

  .rb-button,
  .button {
    width: 100%;
  }

  .rb-logo span,
  .logo span {
    font-size: 1rem;
  }

  .post:not(.on-list) {
    padding: 18px;
  }

  .rb-footer__inner {
    display: block;
  }

  .rb-footer nav {
    margin-top: 14px;
  }
}
