:root {
  --rp-accent: #c71f28;
  --rp-ink: #111111;
  --rp-muted: #666666;
  --rp-line: #e8e8e3;
  --rp-soft: #f6f5f2;
  --rp-bg: #f7f7f4;
  --rp-dark: #0f1113;
  --rp-max: 1280px;
  --rp-radius: 18px;
  --rp-shadow: 0 14px 40px rgba(17, 17, 17, 0.08);
}

/* Base reset and typography */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: linear-gradient(180deg, #ffffff 0%, #f7f7f4 100%);
  color: var(--rp-ink);
  font-family: "Helvetica Neue", Arial, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img,
svg,
video,
canvas,
iframe {
  display: block;
  max-width: 100%;
  height: auto;
}
figure,
.roja-card-media,
.roja-media {
  margin: 0;
  overflow: hidden;
}
figure img,
.roja-card-media img,
.roja-media img,
.roja-hero-card img,
.roja-grid img,
.roja-trending-item img,
.item-page img,
.blog-item img,
.items-row img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  object-position: center center;
}
.roja-card-media,
.roja-media,
.roja-hero-card {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #eceef1, #dfe2e7);
}
.roja-hero-card img {
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
a {
  color: inherit;
  text-decoration: none;
}

/* Layout and shell */
.rp-shell {
  width: min(calc(100% - 32px), var(--rp-max));
  margin-inline: auto;
}
.rp-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: #fff;
  color: #000;
  padding: 10px;
  z-index: 9999;
}
.rp-skip:focus {
  left: 10px;
  top: 10px;
}
.rp-topbar {
  background: var(--rp-dark);
  color: #fff;
  font-size: 0.78rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid #222;
}
.rp-topbar p {
  margin: 0;
}

/* Header and navigation */
.rp-header {
  background: #fff;
  border-bottom: 1px solid var(--rp-line);
  z-index: 200;
}
.rp-header.is-sticky {
  position: sticky;
  top: 0;
}
.rp-masthead {
  min-height: 108px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.rp-brand {
  grid-column: 2;
  text-decoration: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.rp-wordmark {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: clamp(1.9rem, 3vw, 3rem);
  letter-spacing: -0.085em;
  text-transform: uppercase;
  line-height: 0.9;
  color: #111;
}
.rp-tagline {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rp-muted);
  margin-top: 0.18rem;
}
.rp-logo {
  display: block;
  max-height: 68px;
  max-width: 280px;
  width: auto;
}
.rp-tools {
  grid-column: 3;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
}
.rp-header-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid var(--rp-line);
  border-radius: 999px;
  background: var(--rp-soft);
  color: var(--rp-ink);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.rp-date,
.rp-time {
  display: inline-block;
}
.rp-time {
  color: var(--rp-accent);
}
.rp-menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 10px;
  cursor: pointer;
}
.rp-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--rp-ink);
  margin: 5px 0;
}
.rp-menu-toggle .rp-menu-bar {
  display: block;
}
.rp-navbar {
  border-top: 1px solid var(--rp-line);
  background: #fff;
}
.rp-navbar .mod-menu,
.rp-navbar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 30px;
  align-items: center;
  min-height: 52px;
}
.rp-navbar li {
  position: relative;
}
.rp-navbar a {
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: block;
  padding: 17px 0;
}
.rp-navbar .active > a,
.rp-navbar a:hover {
  color: var(--rp-accent);
}
.rp-navbar ul ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 50;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--rp-line);
  box-shadow: var(--rp-shadow);
  padding: 10px;
  min-height: 0;
}
.rp-navbar li:hover > ul {
  display: block;
}
.rp-navbar ul ul a {
  padding: 9px 10px;
  text-transform: none;
  letter-spacing: 0;
}
.rp-search input {
  border: 1px solid var(--rp-line);
  border-radius: 999px;
  min-height: 38px;
  padding: 0.5rem 0.9rem;
  max-width: 190px;
}
.rp-search button {
  border: 0;
  background: var(--rp-ink);
  color: #fff;
  border-radius: 999px;
  padding: 0.55rem 0.8rem;
}
/* Breaking and module styles */
.rp-breaking {
  background: transparent;
  border-bottom: 1px solid var(--rp-line);
}
.rp-ad {
  padding-block: 22px;
  text-align: center;
}
.rp-hero {
  display: grid;
  grid-template-columns: minmax(0, 2.05fr) minmax(290px, 0.95fr);
  gap: 24px;
  padding-block: 34px;
  align-items: stretch;
}
.rp-hero-secondary {
  display: flex;
  align-items: stretch;
}
.rp-hero > * {
  min-width: 0;
}
.rp-trending {
  padding: 28px 0 32px;
  border-top: 1px solid var(--rp-line);
  border-bottom: 1px solid var(--rp-line);
}
.rp-home-latest {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 0.78fr);
  gap: 38px;
  padding-block: 42px;
  align-items: start;
}
.rp-home-latest-side {
  border-left: 1px solid var(--rp-line);
  padding-left: 28px;
}
.rp-home-latest-main,
.rp-home-latest-side {
  min-width: 0;
}
.rp-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 34px;
  padding-block: 36px;
}
.rp-content.has-left {
  grid-template-columns: 280px minmax(0, 1fr);
}
.rp-content.has-right {
  grid-template-columns: minmax(0, 1fr) 320px;
}
.rp-content.has-left.has-right {
  grid-template-columns: 240px minmax(0, 1fr) 300px;
}
.is-home .rp-content:not(.has-left):not(.has-right) {
  padding-block: 0;
}
.is-home .rp-content:not(.has-left):not(.has-right) > .rp-main:empty {
  display: none;
}
.rp-main {
  min-width: 0;
}
.rp-sidebar {
  min-width: 0;
}
.rp-section {
  padding-block: 46px;
  border-top: 1px solid var(--rp-line);
}
.rp-section > * {
  min-width: 0;
}
.rp-newsletter {
  background: var(--rp-accent);
  color: #fff;
  padding: 48px 0;
  margin-top: 28px;
}
.rp-newsletter input {
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  padding: 0.7rem 1rem;
}
.rp-newsletter button {
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  background: #111;
  color: #fff;
  padding: 0.7rem 1.1rem;
  font-weight: 800;
}
.rp-footer {
  background: var(--rp-dark);
  color: #d8dbe1;
}
.rp-footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 42px;
  padding: 56px 0;
}
.rp-footer h3,
.rp-footer h4 {
  color: #fff;
  margin-top: 0;
}
.rp-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.rp-footer a {
  color: #d8dbe1;
  text-decoration: none;
}
.rp-footer a:hover {
  color: #fff;
}
.rp-footer-bottom {
  border-top: 1px solid #272a30;
  padding: 18px 0;
  font-size: 0.82rem;
}
.rp-footer-bottom > .rp-shell {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}
.rp-visitor-counter {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  color: #b9bdc4;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.35;
  text-transform: uppercase;
}
.rp-visitor-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: #d2d5da;
}
.rp-visitor-total,
.rp-visitor-online {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}
.rp-visitor-online {
  gap: 6px;
  color: #fff;
}
.rp-visitor-online i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #55c878;
  box-shadow: 0 0 0 3px rgba(85, 200, 120, 0.14);
}
.rp-backtop {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--rp-accent);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 9px 26px rgba(0, 0, 0, 0.24);
  z-index: 100;
}

/* ROJA custom modules and editorial blocks */
.roja-module-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1.1;
  margin: 0 0 22px;
  letter-spacing: -0.04em;
  display: flex;
  align-items: center;
  gap: 12px;
  text-transform: uppercase;
}
.roja-module-title:before {
  content: "";
  width: 5px;
  height: 28px;
  background: var(--rp-accent);
  border-radius: 5px;
}
.roja-kicker {
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--rp-accent);
}
.roja-meta {
  font-size: 0.78rem;
  color: var(--rp-muted);
}
.roja-placeholder {
  width: 100%;
  height: 100%;
  min-height: 150px;
  background: linear-gradient(135deg, #eceef1, #dfe2e7);
}
.roja-hero-card {
  position: relative;
  min-height: 560px;
  border-radius: 0 0 18px 18px;
  overflow: hidden;
  background: #111;
  box-shadow: 0 22px 50px rgba(17, 17, 17, 0.12);
  border: 0;
  border-bottom: 1px solid #d9d9d4;
}
.roja-hero-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.roja-hero-card:after {
  content: "";
  position: absolute;
  inset: 26% 0 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.85));
}
.roja-hero-content {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  color: #fff;
  padding: 30px 28px 32px;
}
.roja-hero-content .roja-kicker {
  color: #fff;
  letter-spacing: 0.12em;
}
.roja-hero-content h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
  margin: 0.4rem 0 0.9rem;
  max-width: 900px;
  text-wrap: balance;
}
.roja-hero-content a {
  color: #fff;
  text-decoration: none;
}
.roja-hero-content .roja-meta {
  color: #e5e7eb;
}
.rp-breaking {
  background: transparent;
  border-top: 0;
  border-bottom: 1px solid #d9d9d4;
  box-shadow: none;
}
.roja-breaking-row {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 48px;
  overflow: hidden;
  padding: 0.35rem 0;
}
.roja-breaking-label {
  background: var(--rp-accent);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 900;
  padding: 0.4rem 0.7rem;
  border-radius: 0;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.roja-breaking-items {
  display: flex;
  gap: 30px;
  overflow: hidden;
  white-space: nowrap;
}
.roja-breaking-items a {
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  color: #f7f7f5;
}
.roja-breaking-items a:hover {
  color: #fff;
}
.roja-trending-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.roja-trending-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
}
.roja-rank {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 0.9;
  color: #cfd3d9;
}
.roja-trending-item a {
  text-decoration: none;
  font-weight: 850;
  line-height: 1.25;
}
.roja-trending-item a:hover {
  color: var(--rp-accent);
}
.roja-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.roja-card {
  background: linear-gradient(180deg, #ffffff 0%, #fbfaf8 100%);
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 16px;
  overflow: hidden;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.roja-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(17, 17, 17, 0.08);
}
.roja-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.roja-card:hover img {
  transform: scale(1.035);
}
.roja-card-body {
  padding: 16px 16px 18px;
}
.roja-card-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.12rem, 1.5vw, 1.45rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0.45rem 0 0.7rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
.roja-card-title a {
  text-decoration: none;
}
.roja-card-title a:hover {
  color: var(--rp-accent);
}
.rp-hero-secondary .roja-grid {
  grid-template-columns: 1fr;
}
.rp-hero-secondary .roja-card-title {
  font-size: 1.15rem;
}
.rp-hero-secondary .roja-card:first-child .roja-card-title {
  font-size: 1.4rem;
}

/* Generic Joomla component styling */
.page-header h1,
.page-header h2,
.item-page h1,
.item-page h2,
.blog h1,
.category-list h1 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.08;
  letter-spacing: -0.035em;
}
.item-page > h2,
.item-page .page-header h1,
.item-page .page-header h2 {
  font-size: clamp(2.3rem, 5vw, 4.8rem);
  max-width: 1000px;
  margin-bottom: 18px;
}
.item-page {
  max-width: 980px;
  margin-inline: auto;
  padding-top: 10px;
}
.item-page .page-header {
  margin-bottom: 18px;
}
.item-page .article-info,
.article-info {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  color: var(--rp-muted);
  font-size: 0.82rem;
  margin: 0 0 22px;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
}
.item-page .article-info dd,
.item-page .article-info dt,
.article-info dd,
.article-info dt {
  margin: 0;
}
.item-page .article-info dd,
.article-info dd {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  color: var(--rp-muted);
  font-weight: 500;
  background: none;
  border: 0;
  border-radius: 0;
  line-height: 1.4;
}
.item-page .article-info dd a,
.article-info dd a {
  color: var(--rp-accent);
  text-decoration: none;
}
.item-page .article-info dd a:hover,
.article-info dd a:hover {
  color: #8e171c;
}
.item-page .article-info .icon-user,
.item-page .article-info .icon-folder-open,
.item-page .article-info .icon-calendar,
.item-page .article-info .icon-eye,
.article-info .icon-user,
.article-info .icon-folder-open,
.article-info .icon-calendar,
.article-info .icon-eye {
  color: var(--rp-accent);
  font-size: 0.9rem;
}
.item-page p {
  font-size: 1.08rem;
  max-width: 720px;
  margin-inline: auto;
}
.item-page img {
  border-radius: 12px;
  box-shadow: 0 18px 38px rgba(15, 17, 21, 0.09);
}
.com-content-article__body > p:first-of-type {
  font-size: clamp(1.08rem, 1.7vw, 1.28rem);
  line-height: 1.8;
}
.com-content-article__body > p:first-of-type::first-letter {
  float: left;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.2rem;
  line-height: 0.9;
  padding-right: 0.12em;
  padding-top: 0.08em;
  color: var(--rp-accent);
  font-weight: 700;
}
.blog-items,
.blog .items-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.blog-item,
.items-row > div {
  border-bottom: 1px solid var(--rp-line);
  padding-bottom: 24px;
}
.blog-item h2,
.items-row h2 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.15;
}
.pagination {
  display: flex;
  gap: 7px;
  list-style: none;
  padding: 0;
  margin: 30px 0;
}
.pagination a,
.pagination span {
  display: grid;
  place-items: center;
  min-width: 38px;
  height: 38px;
  border: 1px solid var(--rp-line);
  border-radius: 8px;
  text-decoration: none;
}
.pagination .active span {
  background: var(--rp-ink);
  color: #fff;
  border-color: var(--rp-ink);
}
.breadcrumb {
  list-style: none;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 0;
  margin: 0 0 22px;
  color: var(--rp-muted);
  font-size: 0.82rem;
}
.breadcrumb a {
  text-decoration: none;
}
.mod-menu {
  list-style: none;
  padding: 0;
}
.alert {
  padding: 14px 16px;
  border-radius: 10px;
  background: #f5f5f5;
  border: 1px solid var(--rp-line);
  margin-bottom: 20px;
}
.btn,
.button,
button,
input[type="submit"] {
  font: inherit;
}
.btn-primary,
.button,
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: var(--rp-accent);
  color: #fff;
  border-radius: 8px;
  padding: 0.65rem 1rem;
  text-decoration: none;
  font-weight: 800;
}
input,
select,
textarea {
  font: inherit;
  border: 1px solid var(--rp-line);
  border-radius: 8px;
  padding: 0.6rem 0.75rem;
  max-width: 100%;
}
table {
  width: 100%;
  border-collapse: collapse;
}
th,
td {
  padding: 10px;
  border-bottom: 1px solid var(--rp-line);
  text-align: left;
}

/* Article and content styling */
.page-header h1,
.page-header h2,
.item-page h1,
.item-page h2,
.blog h1,
.category-list h1 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

/* Error and offline states */
.rp-error {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: #f5f6f8;
  padding: 20px;
}
.rp-error-card {
  background: #fff;
  border: 1px solid var(--rp-line);
  border-radius: 20px;
  padding: 48px;
  max-width: 620px;
  text-align: center;
  box-shadow: var(--rp-shadow);
}
.rp-error-code {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 7rem;
  line-height: 1;
  color: var(--rp-accent);
}
.rp-button {
  display: inline-block;
  background: var(--rp-ink);
  color: #fff;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  text-decoration: none;
  font-weight: 800;
}
.rp-component {
  padding: 28px 0;
}

/* Responsive layout */
/* Responsive layout */
@media (max-width: 1050px) {
  .roja-card-media,
  .roja-media,
  .roja-hero-card {
    aspect-ratio: 16/11;
  }
  .item-page img,
  .blog-item img,
  .items-row img {
    max-height: none;
  }
}
@media (max-width: 1050px) {
  .rp-hero {
    grid-template-columns: 1fr;
  }
  .rp-hero-secondary .roja-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .rp-home-latest {
    grid-template-columns: 1fr;
  }
  .rp-home-latest-side {
    border-left: 0;
    border-top: 1px solid var(--rp-line);
    padding: 28px 0 0;
  }
  .rp-content,
  .rp-content.has-left,
  .rp-content.has-right,
  .rp-content.has-left.has-right {
    grid-template-columns: 1fr;
  }
  .roja-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .roja-trending-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .rp-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 780px) {
  .rp-shell {
    width: min(calc(100% - 24px), var(--rp-max));
  }
  .rp-header.is-sticky {
    position: relative;
  }
  .rp-masthead {
    min-height: 78px;
    grid-template-columns: 48px 1fr 48px;
    gap: 8px;
  }
  .rp-brand {
    grid-column: 2;
  }
  .rp-wordmark {
    font-size: 1.75rem;
  }
  .rp-tagline {
    display: none;
  }
  .rp-tools {
    grid-column: 3;
  }
  .rp-tools > * {
    display: none;
  }
  .rp-header-meta {
    display: none;
  }
  .rp-menu-toggle {
    display: block;
    grid-column: 1;
    grid-row: 1;
  }
  .rp-navbar {
    position: fixed;
    z-index: 400;
    left: 0;
    top: 0;
    bottom: 0;
    width: min(86vw, 360px);
    transform: translateX(-105%);
    transition: transform 0.25s ease;
    border: 0;
    box-shadow: var(--rp-shadow);
    padding: 76px 18px 20px;
    overflow: auto;
  }
  .rp-navbar.is-open {
    transform: translateX(0);
  }
  .rp-navbar .mod-menu,
  .rp-navbar ul {
    display: block;
    min-height: 0;
  }
  .rp-navbar li {
    border-bottom: 1px solid var(--rp-line);
  }
  .rp-navbar a {
    padding: 14px 8px;
    font-size: 0.92rem;
  }
  .rp-navbar ul ul {
    position: static;
    display: block;
    border: 0;
    box-shadow: none;
    padding: 0 0 8px 16px;
  }
  .rp-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.42);
    z-index: 350;
  }
  .rp-nav-overlay:not([hidden]) {
    display: block;
  }
  .roja-hero-card {
    min-height: 470px;
  }
  .roja-hero-content {
    padding: 24px;
  }
  .roja-hero-content h2 {
    font-size: clamp(2rem, 9vw, 3.2rem);
  }
  .rp-hero-secondary .roja-grid {
    grid-template-columns: 1fr;
  }
  .rp-footer-grid {
    grid-template-columns: 1fr;
  }
  .blog-items,
  .blog .items-row {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .roja-grid,
  .roja-trending-list {
    grid-template-columns: 1fr;
  }
  .roja-hero-card {
    min-height: 360px;
  }
  .roja-card-media,
  .roja-media,
  .roja-hero-card {
    aspect-ratio: 4/3;
  }
  .roja-card-title {
    font-size: 1.12rem;
  }
  .rp-footer-bottom > .rp-shell {
    display: block;
  }
  .rp-visitor-counter {
    margin-top: 12px;
    margin-left: 0;
  }
  .rp-error-card {
    padding: 32px 20px;
  }
  .rp-error-code {
    font-size: 5rem;
  }
}

/* Article discussion */
.rp-comments {
  max-width: 900px;
  margin: 48px auto 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--rp-ink);
}
.rp-comments-lock {
  overflow: hidden;
}
.rp-comments.is-open {
  position: fixed;
  z-index: 500;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(100%, 480px);
  max-width: none;
  height: 100vh;
  margin: 0;
  overflow-y: auto;
  padding: 24px 24px 40px;
  border-top: 0;
  background: #fff;
  box-shadow: -16px 0 40px rgba(17, 17, 17, 0.16);
}
.rp-comments.is-open::before {
  content: "";
  position: fixed;
  z-index: -1;
  top: 0;
  right: 480px;
  bottom: 0;
  left: 0;
  background: rgba(17, 17, 17, 0.32);
}
.rp-comments-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--rp-line);
}
.rp-comments-eyebrow {
  margin: 0 0 6px;
  color: var(--rp-accent);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.rp-comments h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 4vw, 2rem);
  line-height: 1.2;
  margin: 0 0 12px;
}
.rp-comments-icon {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  color: var(--rp-accent);
}
.rp-comments-header-actions {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}
.rp-comments-close {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--rp-line);
  border-radius: 50%;
  background: #fff;
  color: var(--rp-ink);
  cursor: pointer;
}
.rp-comments-close svg {
  width: 18px;
  height: 18px;
}
.rp-comments-close:hover,
.rp-comments-close:focus-visible {
  border-color: var(--rp-accent);
  color: var(--rp-accent);
}
.rp-comments-prompt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--rp-line);
}
.rp-comments-intro,
.rp-comments-status {
  color: var(--rp-muted);
  font-size: 0.95rem;
}
.rp-comments-intro {
  margin: 0;
}
.rp-comments-load {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--rp-ink);
  border-radius: 999px;
  padding: 9px 14px;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  background: var(--rp-ink);
  color: #fff;
}
.rp-comments-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.rp-comments-load svg {
  width: 17px;
  height: 17px;
}
.rp-comments-share {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--rp-line);
  border-radius: 999px;
  padding: 8px 12px;
  background: #fff;
  color: var(--rp-ink);
  cursor: pointer;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 700;
}
.rp-comments-share svg {
  width: 17px;
  height: 17px;
}
.rp-comments-share:hover,
.rp-comments-share:focus-visible {
  border-color: var(--rp-accent);
  color: var(--rp-accent);
}
.rp-comments-load:hover {
  background: var(--rp-accent);
  border-color: var(--rp-accent);
}
.rp-comments-bar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  color: var(--rp-muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.72rem;
}
.rp-comments-bar span:first-child {
  color: var(--rp-ink);
  font-weight: 800;
}
.rp-comments-load:focus-visible {
  outline: 3px solid var(--rp-ink);
  outline-offset: 4px;
}
.rp-comments-load:disabled {
  opacity: 0.65;
  cursor: wait;
}
.rp-comments-load[hidden] {
  display: none;
}
@media print {
  .rp-comments {
    display: none;
  }
}
/* Editorial accessibility and interactive states */
.rp-site a:focus-visible,
.rp-site button:focus-visible,
.rp-site input:focus-visible,
.roja-breaking-items:focus-visible {
  outline: 3px solid var(--rp-accent);
  outline-offset: 4px;
}
.rp-navbar li:focus-within > ul {
  display: block;
}
.rp-navbar ul ul ul {
  left: 100%;
  top: 0;
}
.rp-menu-close,
.rp-mobile-search {
  display: none;
}
.rp-home-latest-side .roja-trending-list,
.rp-sidebar .roja-trending-list {
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
}
.roja-trending-item {
  grid-template-columns: auto minmax(0, 1fr);
}
.roja-trending-item a {
  overflow-wrap: anywhere;
}
.rp-home-latest-main .roja-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.roja-module-title:before {
  flex-shrink: 0;
}
.com-content-article.item-page > .page-header h1,
.com-content-article.item-page > .page-header h2 {
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0 0 24px;
  overflow-wrap: anywhere;
}
.com-content-article > .page-header {
  margin-top: 0;
}
.com-content-article__body {
  max-width: 720px;
  margin-inline: auto;
  font-size: clamp(1.125rem, 1.2vw, 1.1875rem);
  line-height: 1.75;
  overflow-wrap: anywhere;
}
.com-content-article__body p,
.com-content-article__body li {
  font-size: inherit;
  line-height: inherit;
}
.com-content-article__body p {
  margin: 0 0 1.35em;
}
.com-content-article__body h2 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.25;
  margin: 1.6em 0 0.65em;
}
.com-content-article__body h3 {
  font-size: 1.3em;
  line-height: 1.3;
  margin: 1.4em 0 0.6em;
}
.com-content-article__body a {
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}
.com-content-article__body blockquote {
  margin: 1.5em 0;
  padding: 0.6em 1em;
  border-left: 3px solid var(--rp-accent);
  background: var(--rp-soft);
}
.com-content-article__body pre {
  overflow-x: auto;
  white-space: pre;
  max-width: 100%;
}
.com-content-article__body iframe,
.com-content-article__body video {
  max-width: 100%;
}
.com-content-article .article-info {
  align-items: center;
  column-gap: 14px;
  row-gap: 10px;
  margin-top: 0;
  line-height: 1.5;
  padding: 14px 18px;
  border: 1px solid rgba(15, 17, 21, 0.06);
  border-radius: 18px;
  background: linear-gradient(180deg, #fff 0%, #f7f3ee 100%);
  box-shadow: 0 12px 30px rgba(15, 17, 21, 0.04);
}
.com-content-article .article-info dd {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(198, 32, 38, 0.04);
  border: 1px solid rgba(198, 32, 38, 0.08);
  color: var(--rp-ink);
  font-weight: 600;
}
.com-content-article .article-info dd a {
  color: var(--rp-accent);
  text-decoration: none;
}
.com-content-article .article-info dt.article-info-term {
  display: none;
}
.com-content-article figure {
  margin-inline: 0;
}
.com-content-article .article-info .icon-user,
.com-content-article .article-info .icon-folder-open,
.com-content-article .article-info .icon-calendar,
.com-content-article .article-info .icon-eye {
  color: var(--rp-accent);
  font-size: 0.85rem;
}
.roja-breaking-row {
  min-width: 0;
  gap: 12px;
}
.roja-breaking-label {
  flex-shrink: 0;
}
.roja-breaking-items {
  min-width: 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  padding-block: 10px;
}
.roja-breaking-items a {
  flex-shrink: 0;
}
.rp-section {
  padding-block: 40px;
}
.rp-comments {
  margin-top: 40px;
}
@media (max-width: 780px) {
  .rp-menu-close {
    display: flex;
    position: absolute;
    top: 20px;
    right: 20px;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid var(--rp-line);
    background: #fff;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
  }
  .rp-mobile-search {
    display: block;
    margin: 0 0 20px;
  }
  .rp-mobile-search:empty {
    display: none;
  }
  .rp-mobile-search .rp-search {
    display: block;
  }
  .rp-mobile-search .rp-search input {
    width: 100%;
    max-width: 100%;
    min-height: 44px;
  }
  .rp-mobile-search .rp-search button {
    min-height: 44px;
    margin-top: 8px;
  }
  .rp-navbar:not(.is-open) {
    visibility: hidden;
    pointer-events: none;
  }
  .rp-navbar.is-open {
    visibility: visible;
  }
  .rp-navbar ul ul ul {
    left: auto;
    top: auto;
  }
  .rp-section {
    padding-block: 28px;
  }
  .rp-content {
    padding-block: 24px;
  }
  .rp-comments {
    margin-top: 32px;
    padding-top: 24px;
  }
}
@media (max-width: 560px) {
  .rp-home-latest-main .roja-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .rp-navbar,
  .roja-card,
  .roja-card img {
    transition: none;
  }
  .roja-card:hover,
  .roja-card:hover img {
    transform: none;
  }
}

.rp-content {
  align-items: start;
}
.rp-main {
  min-width: 0;
}
.rp-home-latest,
.rp-section {
  position: relative;
}
.rp-home-latest {
  border-bottom: 1px solid var(--rp-line);
}
.rp-home-latest-main > .moduletable,
.rp-home-latest-side > .moduletable,
.rp-section > .moduletable {
  min-width: 0;
}
.rp-sidebar > .moduletable + .moduletable,
.rp-home-latest-side > .moduletable + .moduletable {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--rp-line);
}
.roja-module-title {
  max-width: 100%;
  margin-bottom: 20px;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
}
.roja-card-media,
.roja-media,
.roja-hero-card {
  overflow: hidden;
}
.roja-card-media img,
.roja-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.com-content-article.item-page {
  max-width: 100%;
  padding-top: 0;
}
.com-content-article.item-page > .page-header,
.com-content-article.item-page > .article-info,
.com-content-article.item-page > .com-content-article__body,
.com-content-article.item-page > .item-image,
.com-content-article.item-page > .readmore {
  width: min(100%, 820px);
  margin-inline: auto;
}
.com-content-article.item-page > .page-header {
  margin-bottom: 12px;
}
.com-content-article.item-page > .page-header h1,
.com-content-article.item-page > .page-header h2 {
  max-width: 780px;
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  line-height: 1.02;
  text-wrap: balance;
}
.com-content-article .article-info {
  margin-bottom: 30px;
}
.com-content-article__body {
  max-width: 760px;
  font-size: clamp(1.05rem, 1.25vw, 1.18rem);
  line-height: 1.78;
}
.com-content-article__body > * {
  max-width: 100%;
}
.com-content-article__body h2,
.com-content-article__body h3,
.com-content-article__body h4 {
  color: var(--rp-ink);
  text-wrap: balance;
}
.com-content-article__body ul,
.com-content-article__body ol {
  padding-left: 1.4em;
  margin: 0 0 1.35em;
}
.com-content-article__body li + li {
  margin-top: 0.45em;
}
.com-content-article__body figure,
.com-content-article__body .pull-none,
.com-content-article__body .image-fulltext-none {
  margin: 2rem 0;
}
.com-content-article__body figure img,
.com-content-article__body .image-fulltext-none img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}
.com-content-article__body figcaption {
  margin-top: 8px;
  color: var(--rp-muted);
  font-size: 0.8rem;
  line-height: 1.45;
}
.com-content-article__body table {
  display: block;
  overflow-x: auto;
  margin: 1.5rem 0;
  white-space: nowrap;
}
.com-content-article__body td,
.com-content-article__body th {
  min-width: 120px;
}
.com-content-article__body hr {
  margin: 2.5rem 0;
  border: 0;
  border-top: 1px solid var(--rp-line);
}
.com-content-article__body .readmore,
.com-content-article__body .btn {
  margin-top: 1rem;
}
.rp-comments {
  width: min(100%, 760px);
}
@media (max-width: 780px) {
  .rp-content {
    padding-block: 28px;
  }
  .rp-home-latest {
    padding-block: 30px;
  }
  .rp-home-latest-side {
    padding-top: 24px;
  }
  .com-content-article.item-page > .page-header h1,
  .com-content-article.item-page > .page-header h2 {
    font-size: clamp(2rem, 10vw, 3.2rem);
  }
  .com-content-article .article-info {
    margin-bottom: 24px;
    padding: 12px;
    border-radius: 12px;
  }
  .com-content-article .article-info dd {
    padding: 6px 8px;
  }
  .com-content-article__body {
    font-size: 1.05rem;
    line-height: 1.7;
  }
  .com-content-article__body > p:first-of-type::first-letter {
    font-size: 3.4rem;
  }
}

@media (max-width: 560px) {
  .roja-card-media,
  .roja-media,
  .roja-hero-card {
    aspect-ratio: 4/3;
  }
  .roja-hero-card {
    min-height: 360px;
  }
}

/* Article media keeps its source ratio; card media is the only cropped media. */
.com-content-article .item-image,
.com-content-article .image-fulltext-left,
.com-content-article .image-fulltext-right,
.com-content-article .image-fulltext-none {
  max-width: 100%;
}
.com-content-article .item-image img,
.com-content-article__body img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}
.com-content-article .item-image img,
.com-content-article__body figure img,
.com-content-article__body .image-fulltext-none img {
  margin-inline: auto;
}
.com-content-article .item-image,
.com-content-article__body figure {
  overflow: visible;
}
.com-content-article__body figure {
  max-width: 100%;
}
.com-content-article__body figure img {
  width: 100%;
}
.com-content-article__body .image-fulltext-left,
.com-content-article__body .image-fulltext-right {
  max-width: min(48%, 420px);
  margin-bottom: 1.25rem;
}
.com-content-article__body .image-fulltext-left {
  float: left;
  margin: 0 1.5rem 1rem 0;
}
.com-content-article__body .image-fulltext-right {
  float: right;
  margin: 0 0 1rem 1.5rem;
}
.com-content-article__body::after {
  content: "";
  display: table;
  clear: both;
}
@media (max-width: 780px) {
  .com-content-article__body .image-fulltext-left,
  .com-content-article__body .image-fulltext-right {
    float: none;
    max-width: 100%;
    margin: 1.5rem 0;
  }
}

/* Editorial finish: restrained surfaces, rules, and newspaper hierarchy. */
body.rp-site {
  background: #fdfbf7;
}
.rp-header,
.rp-navbar {
  background: #fdfbf7;
}
.rp-header {
  border-bottom: 2px solid var(--rp-ink);
}
.rp-masthead {
  border-bottom: 1px solid var(--rp-ink);
}
.rp-header-meta {
  border-radius: 0;
  background: transparent;
  border-color: var(--rp-ink);
}
.rp-navbar {
  border-top: 0;
}
.rp-navbar .mod-menu,
.rp-navbar ul {
  min-height: 46px;
}
.rp-navbar a {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}
.rp-trending,
.rp-home-latest,
.rp-section {
  border-color: var(--rp-ink);
}
.rp-hero {
  padding-block: 28px 36px;
}
.roja-module-title {
  border-bottom: 2px solid var(--rp-ink);
  padding-bottom: 10px;
}
.roja-module-title:before {
  height: 22px;
  border-radius: 0;
}
.roja-card,
.roja-trending-item {
  border-color: var(--rp-ink);
  border-radius: 0;
  background: #fdfbf7;
}
.roja-card:hover,
.roja-trending-item:hover {
  transform: none;
  box-shadow: none;
}
.roja-card-title,
.roja-trending-item a,
.roja-hero-content h2,
.com-content-article.item-page > .page-header h1,
.com-content-article.item-page > .page-header h2 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.025em;
}
.roja-card-title a:hover,
.roja-trending-item a:hover {
  text-decoration: underline;
  text-underline-offset: 0.14em;
}
.roja-hero-card {
  border-radius: 0;
  box-shadow: none;
}
.com-content-article.item-page > .page-header h1,
.com-content-article.item-page > .page-header h2 {
  font-size: clamp(2.35rem, 5vw, 4.8rem);
  line-height: 1.1;
  margin-bottom: 24px;
  color: #111111;
}
.com-content-article .article-info {
  border-radius: 0;
  background: transparent;
  border-inline: 0;
  border-block: 1px solid var(--rp-ink);
  box-shadow: none;
}
.com-content-article .article-info dd {
  border-radius: 0;
  background: transparent;
  border: 0;
  padding-inline: 0;
}
.com-content-article__body {
  font-family: Georgia, "Times New Roman", serif;
}
.com-content-article__body h2,
.com-content-article__body h3,
.com-content-article__body h4 {
  font-family: Georgia, "Times New Roman", serif;
}
.com-content-article__body blockquote {
  background: transparent;
  border-top: 1px solid var(--rp-ink);
  border-bottom: 1px solid var(--rp-ink);
  border-left: 0;
  padding: 1rem 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15em;
  font-style: italic;
}
.com-content-article__body figure img,
.com-content-article__body .image-fulltext-none img,
.com-content-article .item-image img {
  border-radius: 0;
  box-shadow: none;
}
.rp-comments {
  border-top-color: var(--rp-ink);
}
@media (max-width: 780px) {
  .rp-masthead {
    border-bottom: 0;
  }
  .rp-header {
    border-bottom-width: 1px;
  }
  .com-content-article .article-info {
    border-radius: 0;
  }
}

/* Hero hierarchy: the lead story owns the scale, side stories stay compact. */
.roja-hero-list {
  display: grid;
  gap: 18px;
  min-width: 0;
  height: 100%;
}
.rp-hero-primary .roja-hero-list {
  grid-template-columns: minmax(0, 1fr);
}
.rp-hero-primary .roja-hero-card {
  min-height: clamp(460px, 42vw, 620px);
}
.rp-hero-secondary .roja-hero-list {
  grid-template-rows: repeat(auto-fit, minmax(0, 1fr));
  width: min(100%, 360px);
  height: auto;
  margin-left: auto;
}
.rp-hero-secondary .roja-hero-card {
  min-height: 0;
  height: auto;
  border-radius: 0;
  border: 1px solid var(--rp-ink);
  box-shadow: none;
  background-color: #2b1b13;
  background-image:
    repeating-linear-gradient(8deg, rgba(255, 220, 178, 0.05) 0 1px, transparent 1px 7px),
    repeating-linear-gradient(172deg, rgba(0, 0, 0, 0.22) 0 2px, transparent 2px 11px),
    linear-gradient(120deg, #3a2418, #1d120d 52%, #332016);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.rp-hero-secondary .roja-hero-card > img,
.rp-hero-secondary .roja-hero-card > .roja-placeholder {
  position: static;
  flex: 0 0 auto;
  width: 100%;
  height: auto;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  object-position: center;
  order: 1;
}
.rp-hero-secondary .roja-hero-card > .roja-placeholder {
  min-height: 0;
  background: #2b1b13;
}
.rp-hero-secondary .roja-hero-content {
  position: static;
  order: 2;
  padding: 16px 18px 18px;
  background: transparent;
  color: #fff8ed;
}
.rp-hero-secondary .roja-hero-card:after {
  display: none;
}
.rp-hero-secondary .roja-hero-content h2 {
  max-width: 26ch;
  margin: 0.35rem 0 0.55rem;
  font-size: clamp(1.3rem, 1.8vw, 1.85rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
.rp-hero-secondary .roja-hero-content .roja-kicker {
  color: #d43a32;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}
.rp-hero-secondary .roja-hero-content .roja-meta {
  font-size: 0.72rem;
  color: rgba(255, 248, 237, 0.68);
  font-family: Georgia, "Times New Roman", serif;
}
@media (max-width: 1050px) {
  .rp-hero-secondary .roja-hero-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
  }
  .rp-hero-secondary .roja-hero-card {
    min-height: 0;
    height: auto;
    width: min(100%, 320px);
    margin-left: auto;
  }
}
@media (max-width: 780px) {
  .roja-hero-list {
    height: auto;
  }
  .rp-hero-primary .roja-hero-card {
    min-height: 430px;
  }
  .rp-hero-secondary .roja-hero-list {
    grid-template-columns: minmax(0, 1fr);
  }
  .rp-hero-secondary .roja-hero-card {
    min-height: 0;
    height: auto;
    width: 100%;
  }
}

.com-content-article .pagenavigation {
  display: none;
  width: min(100%, 820px);
  margin: 3rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rp-ink);
}
.com-content-article .pagenavigation .pagenav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.com-content-article .pagenavigation .pagenav > li {
  min-width: 0;
  border: 1px solid #d8d8d2;
  border-radius: 10px;
  background: #f3f3f1;
}
.com-content-article .pagenavigation .pagenav > li > a {
  display: flex;
  min-height: 154px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 18px;
  color: var(--rp-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
}
.com-content-article .pagenavigation .pagenav > li > a::before {
  display: block;
  color: var(--rp-muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}
.com-content-article .pagenavigation .pagenav > li > a::after {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 13px;
  border: 1px solid #cfcfca;
  border-radius: 999px;
  background: #fff;
  color: var(--rp-ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
}
.com-content-article .pagenavigation .previous > a::before {
  content: "Previous article:";
}
.com-content-article .pagenavigation .previous > a::after {
  content: "Prev";
}
.com-content-article .pagenavigation .next > a::before {
  content: "Next article:";
}
.com-content-article .pagenavigation .next > a::after {
  content: "Next";
}
.com-content-article .pagenavigation .pagenav > li > a:hover {
  background: #ecece8;
}
.com-content-article .pagenavigation .pagenav > li > a:hover::after {
  border-color: var(--rp-ink);
}
.com-content-article .pagenavigation .pagenav .icon-chevron-left,
.com-content-article .pagenavigation .pagenav .icon-chevron-right {
  display: none;
}
@media (max-width: 640px) {
  .com-content-article .pagenavigation .pagenav {
    grid-template-columns: 1fr;
  }
  .com-content-article .pagenavigation .pagenav > li > a {
    min-height: 132px;
  }
}

/* Editorial span system: labels, metadata, and utility text stay distinct. */
.rp-wordmark,
.rp-tagline,
.rp-date,
.rp-time,
.rp-copyright,
.roja-kicker,
.roja-meta,
.roja-breaking__label span {
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.rp-tagline,
.roja-kicker,
.roja-breaking__label span {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}
.rp-tagline {
  letter-spacing: 0.16em;
}
.rp-date,
.rp-time,
.rp-copyright,
.roja-meta {
  line-height: 1.35;
}
.rp-date {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: 0.015em;
  text-transform: none;
}
.rp-time {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.rp-copyright {
  color: #b9bdc4;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.78rem;
  letter-spacing: 0.01em;
}
.roja-kicker {
  letter-spacing: 0.14em;
}
.roja-meta {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.78rem;
  letter-spacing: 0.01em;
}
.roja-breaking__label span {
  line-height: 1;
}

.rp-article-nav {
  width: min(100%, 860px);
  margin: 3.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(17, 17, 17, 0.12);
}
.rp-article-nav-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.rp-article-nav-card {
  position: relative;
  display: flex;
  min-height: 170px;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  width: min(100%, 440px);
  padding: 22px 22px 18px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--rp-ink);
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.rp-article-nav-card:only-child {
  grid-column: 1 / -1;
  width: 100%;
}
.rp-article-nav-card:hover,
.rp-article-nav-card:focus-visible {
  background: #fbfbf9;
  border-color: rgba(17, 17, 17, 0.2);
  transform: translateY(-1px);
}
.rp-article-nav-card:focus-visible {
  outline: 2px solid rgba(17, 17, 17, 0.7);
  outline-offset: 2px;
}
.rp-article-nav-card.previous {
  justify-self: start;
  align-items: flex-start;
  text-align: left;
}
.rp-article-nav-card.next {
  justify-self: end;
  align-items: flex-end;
  text-align: right;
}
.rp-article-nav-label {
  color: var(--rp-muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.1;
  text-transform: uppercase;
}
.rp-article-nav-title {
  display: block;
  width: 100%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.06rem, 2vw, 1.42rem);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: var(--rp-ink);
  transition: text-decoration-color 0.2s ease;
}
.rp-article-nav-card:hover .rp-article-nav-title,
.rp-article-nav-card:focus-visible .rp-article-nav-title {
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}
.rp-article-nav-action {
  display: inline-flex;
  width: max-content;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 999px;
  background: #ffffff;
  color: var(--rp-ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}
.rp-article-nav-card:hover .rp-article-nav-action,
.rp-article-nav-card:focus-visible .rp-article-nav-action {
  border-color: rgba(17, 17, 17, 0.2);
  background: #f8f8f6;
}
.rp-article-nav-card.previous .rp-article-nav-action::before {
  content: "←";
  margin-right: 7px;
  transition: transform 0.2s ease;
}
.rp-article-nav-card.next .rp-article-nav-action::after {
  content: "→";
  margin-left: 7px;
  transition: transform 0.2s ease;
}
.rp-article-nav-card:hover .rp-article-nav-action::before,
.rp-article-nav-card:focus-visible .rp-article-nav-action::before,
.rp-article-nav-card:hover .rp-article-nav-action::after,
.rp-article-nav-card:focus-visible .rp-article-nav-action::after {
  transform: translateX(-1px);
}
.rp-article-nav-card.next:hover .rp-article-nav-action::after,
.rp-article-nav-card.next:focus-visible .rp-article-nav-action::after {
  transform: translateX(1px);
}

.rp-category-wrap {
  width: min(100%, 1200px);
  margin: 0 auto;
  padding: 2rem 1rem 4rem;
}
.rp-category-header {
  margin-bottom: 2.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(17, 17, 17, 0.12);
}
.rp-category-header__meta {
  margin-bottom: 0.7rem;
}
.rp-category-label {
  color: var(--rp-muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.rp-category-title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--rp-ink);
}
.rp-category-description {
  max-width: 760px;
  margin-top: 0.9rem;
  color: var(--rp-muted);
  font-size: 1rem;
  line-height: 1.7;
}
.rp-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.rp-category-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.rp-category-card:hover,
.rp-category-card:focus-within {
  border-color: rgba(17, 17, 17, 0.2);
  transform: translateY(-1px);
}
.rp-category-card__image-wrap {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #f3f0ea;
  text-decoration: none;
}
.rp-category-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rp-category-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: 18px 18px 16px;
}
.rp-category-card__badge {
  display: inline-flex;
  width: max-content;
  padding: 0.32rem 0.62rem;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 999px;
  background: #f7f5f1;
  color: var(--rp-muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.rp-category-card__title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.rp-category-card__title a {
  color: var(--rp-ink);
  text-decoration: none;
}
.rp-category-card__title a:hover,
.rp-category-card__title a:focus-visible {
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
.rp-category-card__excerpt {
  margin: 0;
  color: var(--rp-muted);
  font-size: 0.96rem;
  line-height: 1.7;
}
.rp-category-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 0.55rem;
  border-top: 1px solid rgba(17, 17, 17, 0.08);
  color: var(--rp-muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.74rem;
  line-height: 1.5;
}
.rp-category-card__cta {
  display: inline-flex;
  width: max-content;
  align-items: center;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 999px;
  background: #fff;
  color: var(--rp-ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.rp-category-card__cta:hover,
.rp-category-card__cta:focus-visible {
  background: #f8f8f6;
  border-color: rgba(17, 17, 17, 0.2);
}
.rp-category-empty {
  padding: 2.5rem 1.5rem;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 14px;
  background: #faf9f7;
  text-align: center;
}
.rp-category-empty h2 {
  margin: 0 0 0.6rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
}
.rp-category-empty p {
  margin: 0;
  color: var(--rp-muted);
}
.rp-category-pagination {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}
.rp-category-pagination .pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.rp-category-pagination .page-item a,
.rp-category-pagination .page-item span {
  display: inline-flex;
  min-width: 2.3rem;
  height: 2.3rem;
  align-items: center;
  justify-content: center;
  padding: 0 0.7rem;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 999px;
  background: #fff;
  color: var(--rp-ink);
  text-decoration: none;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.8rem;
}
.rp-category-pagination .active span {
  background: var(--rp-ink);
  border-color: var(--rp-ink);
  color: #fff;
}

@media (max-width: 980px) {
  .rp-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .rp-article-nav {
    margin-top: 2.5rem;
    padding-top: 1.2rem;
  }
  .rp-article-nav-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .rp-article-nav-card {
    min-height: 144px;
    padding: 18px 18px 16px;
  }
  .rp-article-nav-card.previous,
  .rp-article-nav-card.next {
    align-items: flex-start;
    text-align: left;
  }
  .rp-article-nav-card.next .rp-article-nav-action {
    justify-content: flex-start;
  }
  .rp-category-grid {
    grid-template-columns: 1fr;
  }
  .rp-category-card__meta {
    flex-direction: column;
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rp-article-nav-card,
  .rp-article-nav-title,
  .rp-article-nav-action,
  .rp-article-nav-card.previous .rp-article-nav-action::before,
  .rp-article-nav-card.next .rp-article-nav-action::after {
    transition: none;
  }
}
.rp-article-tools {
  display: flex;
  align-items: center;
  gap: 6px;
  width: min(100%, 760px);
  margin: 0 auto 1.75rem;
  padding: 10px;
  border: 1px solid #e1e1dc;
  border-radius: 12px;
  background: #f7f7f4;
  box-shadow: 0 8px 20px rgba(17, 17, 17, 0.05);
  color: var(--rp-ink);
  font-family: Arial, Helvetica, sans-serif;
}
.rp-article-tool {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #ffffff;
  color: var(--rp-ink);
  cursor: pointer;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1;
}
.rp-article-tool svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
}
.rp-article-tool small {
  color: var(--rp-muted);
  font-size: 0.7rem;
  font-weight: 400;
}
.rp-article-tool:hover,
.rp-article-tool:focus-visible,
.rp-article-tool.is-active,
.rp-article-tool.is-saved {
  color: var(--rp-accent);
  border-color: #d8d8d2;
  box-shadow: 0 3px 8px rgba(17, 17, 17, 0.06);
}
.rp-article-tool.is-saved svg {
  fill: currentColor;
}
@media (max-width: 640px) {
  .rp-article-tools {
    flex-wrap: wrap;
    gap: 6px;
    padding: 8px;
    margin-bottom: 1.25rem;
  }
  .rp-article-tool {
    flex: 1 1 calc(50% - 6px);
    justify-content: center;
  }
}
@media (max-width: 640px) {
  .rp-comments-header,
  .rp-comments-prompt,
  .rp-comments-bar {
    align-items: flex-start;
  }
  .rp-comments-prompt {
    flex-direction: column;
  }
  .rp-comments-load {
    width: auto;
    justify-content: center;
  }
  .rp-comments-bar {
    flex-direction: column;
    gap: 6px;
  }
  .rp-comments.is-open {
    width: 100%;
    padding-inline: 18px;
  }
  .rp-comments.is-open::before {
    display: none;
  }
}
@media (max-width: 640px) {
  .rp-article-nav-grid {
    grid-template-columns: 1fr;
  }
  .rp-article-nav-card {
    min-height: 132px;
  }
}

/* ROJA module consistency: shared editorial rhythm across portal modules */
:root {
  --roja-surface: #ffffff;
  --roja-surface-alt: #f6f7f9;
  --roja-shadow-soft: 0 12px 28px rgba(15, 17, 21, 0.07);
  --roja-radius: 16px;
}
.roja-module-title,
.roja-card-title,
.roja-hero-content h2,
.roja-trending-item a {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.03em;
}
.roja-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--rp-line);
  border-radius: 0;
  background: var(--roja-surface);
  box-shadow: none;
  overflow: hidden;
}
.roja-card-body {
  display: grid;
  grid-template-rows: auto auto 1fr;
  align-content: start;
  gap: 5px;
  padding: 12px 14px 14px;
}
.roja-card-media,
.roja-media {
  aspect-ratio: 16 / 10;
}
.roja-card-body .roja-kicker,
.roja-card-body .roja-meta {
  line-height: 1.25;
}
.roja-card-body .roja-kicker {
  margin: 0;
  font-size: 0.66rem;
}
.roja-card-body .roja-meta {
  margin-top: 2px;
  font-size: 0.72rem;
}
.roja-card-title {
  margin: 0;
  font-size: clamp(1.1rem, 1.5vw, 1.5rem);
  line-height: 1.2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
.roja-card-title a,
.roja-trending-item a,
.roja-hero-content a {
  color: inherit;
  text-decoration: none;
}
.roja-card:hover,
.roja-trending-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 35px rgba(15, 17, 21, 0.09);
}
.roja-card img,
.roja-hero-card img {
  transition: transform 0.35s ease;
}
.roja-card:hover img,
.roja-hero-card:hover img {
  transform: scale(1.02);
}
.roja-trending-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 14px 14px 12px;
  border: 1px solid var(--rp-line);
  border-radius: 0;
  background: var(--roja-surface);
  box-shadow: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.roja-trending-item a {
  color: var(--rp-ink);
  text-decoration: none;
  font-size: 1rem;
  line-height: 1.4;
}
.roja-trending-item a:hover,
.roja-card-title a:hover,
.roja-hero-content a:hover {
  color: var(--rp-accent);
}
.roja-hero-card {
  border: 1px solid rgba(15, 17, 21, 0.05);
  box-shadow: 0 12px 24px rgba(15, 17, 21, 0.04);
}
.roja-hero-content {
  padding: 28px 24px 30px;
}
.roja-hero-content h2 {
  margin: 0.5rem 0 0.8rem;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.98;
}
.roja-breaking {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 58px;
  background: linear-gradient(180deg, #111827 0%, #0f172a 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 22px rgba(15, 17, 21, 0.08);
  font-family: Arial, Helvetica, sans-serif;
}
.roja-breaking__label {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  background: linear-gradient(135deg, #d92d2d 0%, #b91c1c 100%);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}
.roja-breaking__label span {
  position: relative;
  z-index: 1;
}
.roja-breaking__icon {
  width: 16px;
  height: 16px;
  display: block;
  flex-shrink: 0;
  color: #fff;
}
.roja-breaking__viewport {
  position: relative;
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}
.roja-breaking__item {
  display: none;
  width: 100%;
  color: #f8fafc;
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.01em;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}
.roja-breaking__item.is-active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}
.roja-breaking__item:hover,
.roja-breaking__item:focus {
  color: #fff;
  text-decoration: none;
}
@media (max-width: 640px) {
  .roja-breaking {
    flex-direction: column;
    align-items: stretch;
    border-radius: 10px;
  }
  .roja-breaking__label {
    justify-content: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 14px;
  }
  .roja-breaking__viewport {
    min-height: 52px;
    padding: 10px 12px 12px;
  }
  .roja-breaking__item {
    white-space: normal;
    line-height: 1.45;
    font-size: 0.88rem;
  }
}
@media (max-width: 1050px) {
  .roja-trending-list,
  .roja-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .roja-trending-list,
  .roja-grid {
    grid-template-columns: 1fr;
  }
  .roja-card-body {
    gap: 4px;
    padding: 10px 12px 12px;
  }
}

.com-content-article .article-info .hits .icon-eye,
.item-page .article-info .hits .icon-eye,
.article-info .hits .icon-eye {
  display: none;
}

.com-content-article .article-info .hits .roja-eye-svg,
.item-page .article-info .hits .roja-eye-svg,
.article-info .hits .roja-eye-svg {
  display: inline-block;
  width: 15px;
  height: 15px;
  color: var(--rp-accent);
  vertical-align: middle;
}

.article-info .hits .icon-eye,
.item-page .article-info .hits .icon-eye,
.com-content-article .article-info .hits .icon-eye {
  font-size: 0;
  width: 15px;
  height: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.article-info .hits .icon-eye::before,
.item-page .article-info .hits .icon-eye::before,
.com-content-article .article-info .hits .icon-eye::before {
  content: "";
  display: block;
  width: 15px;
  height: 15px;
  background: currentColor;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='currentColor' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1.8 12s3.3-5.7 10.2-5.7S22.2 12 22.2 12s-3.3 5.7-10.2 5.7S1.8 12 1.8 12Z'/%3E%3Ccircle cx='12' cy='12' r='2.8'/%3E%3C/g%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='currentColor' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1.8 12s3.3-5.7 10.2-5.7S22.2 12 22.2 12s-3.3 5.7-10.2 5.7S1.8 12 1.8 12Z'/%3E%3Ccircle cx='12' cy='12' r='2.8'/%3E%3C/g%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}
