:root {
  --rp-blue: #072f55;
  --rp-blue-2: #0a6dc2;
  --rp-sky: #eaf5fd;
  --rp-orange: #f47c20;
  --rp-ink: #101820;
  --rp-muted: #5e6b75;
  --rp-line: #dbe3e9;
  --rp-paper: #ffffff;
  --rp-bg: #f4f7f9;
  --rp-radius: 18px;
  --rp-shadow: 0 16px 44px rgba(3, 32, 57, 0.1);
  --rp-width: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.rpnews-theme {
  margin: 0;
  overflow-x: hidden;
  background: var(--rp-bg);
  color: var(--rp-ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}
body.admin-bar .rp-header--compact { top: 32px; }
a { color: inherit; text-decoration: none; }
img { display: block; height: auto; max-width: 100%; }
button, input { font: inherit; }
.rp-container { margin-inline: auto; max-width: var(--rp-width); padding-inline: 24px; width: 100%; }
.rp-skip-link {
  background: #fff;
  color: var(--rp-blue);
  left: 16px;
  padding: 10px 14px;
  position: fixed;
  top: -80px;
  z-index: 1000;
}
.rp-skip-link:focus { top: 12px; }

.rp-header { background: var(--rp-blue); color: #fff; position: relative; z-index: 100; }
.rp-header--compact { box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2); left: 0; position: sticky; right: 0; top: 0; }
.rp-utility { background: #041f39; font-size: 12px; letter-spacing: .04em; }
.rp-utility__inner { align-items: center; display: flex; justify-content: space-between; min-height: 34px; }
.rp-utility nav { display: flex; gap: 18px; }
.rp-utility a:hover, .rp-utility a:focus-visible { color: #83cfff; }
.rp-masthead { align-items: center; display: grid; gap: 30px; grid-template-columns: 120px minmax(220px, 1fr) 290px; min-height: 116px; }
.rp-header--compact .rp-utility { display: none; }
.rp-header--compact .rp-masthead { min-height: 72px; }
.rp-brand { display: block; justify-self: center; max-width: 390px; width: min(100%, 390px); }
.rp-brand img { max-height: 82px; object-fit: contain; width: 100%; }
.rp-header--compact .rp-brand img { max-height: 48px; }
.rp-menu-button {
  align-items: center;
  background: transparent;
  border: 0;
  color: #fff;
  cursor: pointer;
  display: grid;
  gap: 5px;
  justify-content: start;
  padding: 10px 0;
  width: max-content;
}
.rp-menu-button span { background: #fff; border-radius: 3px; display: block; height: 2px; width: 30px; }
.rp-menu-button b { font-size: 10px; letter-spacing: .15em; margin-top: 2px; }
.rp-masthead .search-form { display: flex; justify-self: end; width: 100%; }
.rp-masthead .search-form label { flex: 1; }
.rp-masthead .search-field {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 10px 0 0 10px;
  color: #fff;
  min-width: 0;
  padding: 11px 13px;
  width: 100%;
}
.rp-masthead .search-field::placeholder { color: #d5e4f0; }
.rp-masthead .search-submit { background: var(--rp-orange); border: 0; border-radius: 0 10px 10px 0; color: #fff; cursor: pointer; font-weight: 800; padding: 0 15px; }

.rp-category-nav { background: #fff; border-bottom: 1px solid var(--rp-line); color: var(--rp-blue); }
.rp-category-nav__inner { align-items: flex-start; display: flex; gap: 8px; }
.rp-category-list, .rp-mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.rp-category-nav .rp-category-list { display: flex; flex: 1; flex-wrap: wrap; justify-content: center; min-width: 0; }
.rp-category-nav .rp-category-list > li { position: relative; }
.rp-category-nav .rp-category-list > li > a {
  display: block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .055em;
  padding: 15px 12px;
  text-transform: uppercase;
}
.rp-category-nav .rp-category-list a:hover, .rp-category-nav .rp-category-list a:focus-visible { color: var(--rp-orange); }
.rp-category-nav .sub-menu {
  background: #fff;
  box-shadow: var(--rp-shadow);
  display: none;
  left: 0;
  list-style: none;
  min-width: 220px;
  padding: 8px;
  position: absolute;
  top: 100%;
}
.rp-category-nav li:hover > .sub-menu, .rp-category-nav li:focus-within > .sub-menu { display: block; }
.rp-category-nav .sub-menu a { display: block; padding: 9px 11px; }
.rp-category-more { display: none; flex: 0 0 auto; position: relative; }
.rp-header--compact .rp-category-more:not([data-empty="true"]) { display: block; }
.rp-category-more summary { cursor: pointer; font-size: 12px; font-weight: 900; list-style: none; padding: 15px 10px; }
.rp-category-more summary::-webkit-details-marker { display: none; }
.rp-category-more > div {
  background: #fff;
  box-shadow: var(--rp-shadow);
  display: grid;
  min-width: 240px;
  padding: 10px;
  position: absolute;
  right: 0;
  top: 100%;
}
.rp-category-more > div a { font-size: 12px; font-weight: 800; padding: 10px; text-transform: uppercase; }
.rp-header--compact .rp-category-list > li:nth-child(n+8) { display: none; }
.rp-mobile-menu { background: #fff; box-shadow: var(--rp-shadow); color: var(--rp-blue); left: 0; padding: 18px 24px 26px; position: absolute; right: 0; top: 100%; }
.rp-mobile-menu[hidden] { display: none; }
.rp-mobile-menu ul { display: grid; gap: 2px; margin: auto; max-width: var(--rp-width); }
.rp-mobile-menu a { border-bottom: 1px solid var(--rp-line); display: block; font-weight: 800; padding: 11px 5px; }

.rp-breaking { background: var(--rp-orange); color: #fff; overflow: hidden; }
.rp-breaking .rp-container { align-items: center; display: flex; gap: 22px; min-height: 44px; white-space: nowrap; }
.rp-breaking strong { flex: 0 0 auto; font-size: 12px; letter-spacing: .08em; }
.rp-breaking a { animation: rpnewsTicker 34s linear infinite; font-size: 13px; font-weight: 700; }
@keyframes rpnewsTicker { from { transform: translateX(15px); } to { transform: translateX(-160px); } }

.rp-ad-zone { align-items: center; background: #e8edf1; border: 1px dashed #aebac3; color: #798690; display: flex; font-size: 10px; justify-content: center; letter-spacing: .18em; margin-block: 26px; min-height: 90px; text-align: center; }
.rp-ad-zone--side { min-height: 300px; }
.rp-ad-slot a, .rp-ad-slot img { display: block; width: 100%; }
.rp-ad-slot iframe { border: 0; display: block; max-width: 100%; width: 100%; }

.rp-hero { display: grid; gap: 12px; grid-template-columns: 1.65fr 1fr 1fr; grid-template-rows: repeat(2, minmax(220px, 1fr)); margin-block: 28px 48px; }
.rp-hero__item { border-radius: var(--rp-radius); min-height: 220px; overflow: hidden; position: relative; }
.rp-hero__item::after { background: linear-gradient(180deg, transparent 20%, rgba(1, 18, 33, .92)); content: ""; inset: 0; pointer-events: none; position: absolute; }
.rp-hero__item--1 { grid-row: 1 / 3; }
.rp-hero__item a:first-child, .rp-hero__item img { height: 100%; width: 100%; }
.rp-hero__item img { object-fit: cover; transition: transform .4s ease; }
.rp-hero__item:hover img { transform: scale(1.035); }
.rp-hero__item > div { bottom: 0; color: #fff; left: 0; padding: 24px; position: absolute; right: 0; z-index: 2; }
.rp-hero__item span, .rp-section__header span, .rp-card__category, .rp-archive__header > span, .rp-article__header > a, .rp-article__header > span, .rp-newsletter span, .rp-article__author span {
  color: var(--rp-orange);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.rp-hero__item h1 { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(20px, 2vw, 38px); line-height: 1.05; margin: 7px 0; }
.rp-hero__item:not(.rp-hero__item--1) h1 { font-size: 20px; }
.rp-hero__item p { color: #d9e4ec; margin: 10px 0 0; }

.rp-section { margin-block: 48px; }
.rp-section__header { align-items: end; border-bottom: 2px solid var(--rp-blue); display: flex; justify-content: space-between; margin-bottom: 22px; padding-bottom: 11px; }
.rp-section__header h2 { color: var(--rp-blue); font-family: Georgia, 'Times New Roman', serif; font-size: clamp(26px, 3vw, 40px); line-height: 1; margin: 4px 0 0; }
.rp-section__header > a { color: var(--rp-blue-2); font-size: 11px; font-weight: 900; letter-spacing: .08em; }
.rp-content-grid { align-items: start; display: grid; gap: 30px; grid-template-columns: minmax(0, 1fr) 285px; }
.rp-content-grid aside, .rp-single-sidebar { position: sticky; top: 110px; }
.rp-card-grid { display: grid; gap: 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rp-card-grid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rp-card { background: var(--rp-paper); border: 1px solid var(--rp-line); border-radius: 14px; box-shadow: 0 9px 24px rgba(5, 37, 61, .05); overflow: hidden; }
.rp-card__image { aspect-ratio: 16 / 9; display: block; overflow: hidden; }
.rp-card__image img { height: 100%; object-fit: cover; transition: transform .35s ease; width: 100%; }
.rp-card:hover .rp-card__image img { transform: scale(1.035); }
.rp-card__body { padding: 17px; }
.rp-card h2 { color: var(--rp-blue); font-family: Georgia, 'Times New Roman', serif; font-size: 21px; line-height: 1.18; margin: 7px 0 10px; }
.rp-card h2 a:hover { color: var(--rp-blue-2); }
.rp-card p { color: var(--rp-muted); font-size: 14px; margin: 0 0 13px; }
.rp-card time { color: #7d8992; font-size: 11px; }

.rp-live { background: var(--rp-blue); border-radius: var(--rp-radius); color: #fff; display: grid; gap: 24px; grid-template-columns: minmax(0, 1.3fr) minmax(250px, .7fr); margin-block: 38px; overflow: hidden; padding: 24px; }
.rp-live__media { aspect-ratio: 16 / 9; background: #021629; border-radius: 13px; overflow: hidden; position: relative; }
.rp-live__media img, .rp-live__media iframe, .rp-live__media video { height: 100%; object-fit: cover; width: 100%; }
.rp-live__overlay { align-items: center; background: rgba(0, 0, 0, .34); color: #fff; display: flex; flex-direction: column; font-size: 46px; inset: 0; justify-content: center; position: absolute; }
.rp-live__overlay small { font-size: 9px; font-weight: 900; letter-spacing: .12em; margin-top: 8px; }
.rp-live__pin { position: absolute; inset: auto 14px 14px 14px; z-index: 2; border: 0; border-radius: 7px; background: rgba(246, 144, 64, .96); color: #fff; cursor: pointer; font-size: 10px; font-weight: 900; letter-spacing: .08em; padding: 11px; }
.rp-live__media.is-pinned { box-shadow: 0 0 0 3px rgba(246, 144, 64, .55); }
.rp-live__copy { align-self: center; }
.rp-live__copy span { color: #ff9b52; font-size: 11px; font-weight: 900; letter-spacing: .12em; }
.rp-live__copy h2 { font-family: Georgia, serif; font-size: 34px; line-height: 1.08; margin: 7px 0 12px; }
.rp-live__copy a { background: var(--rp-orange); border-radius: 8px; display: inline-block; font-size: 12px; font-weight: 900; margin-top: 9px; padding: 11px 16px; }

.rp-single-layout { align-items: start; display: grid; gap: 34px; grid-template-columns: minmax(0, 1fr) 290px; padding-block: 52px; }
.rp-article { background: #fff; border-radius: var(--rp-radius); box-shadow: var(--rp-shadow); min-width: 0; padding: clamp(24px, 5vw, 58px); }
.rp-article__header h1 { color: var(--rp-blue); font-family: Georgia, 'Times New Roman', serif; font-size: clamp(34px, 5.2vw, 64px); line-height: 1.02; margin: 10px 0 16px; }
.rp-article__header > p { color: var(--rp-muted); font-size: 20px; line-height: 1.45; }
.rp-article__header > div { border-top: 1px solid var(--rp-line); color: #68747d; font-size: 13px; margin-top: 22px; padding-top: 16px; }
.rp-article__cover { margin: 30px calc(clamp(24px, 5vw, 58px) * -1) 30px; }
.rp-article__cover img { width: 100%; }
.rp-article__cover figcaption { color: var(--rp-muted); font-size: 12px; padding: 8px 24px; }
.rp-article__content { font-family: Georgia, 'Times New Roman', serif; font-size: 19px; line-height: 1.78; }
.rp-article__content a { color: var(--rp-blue-2); text-decoration: underline; }
.rp-article__content h2, .rp-article__content h3 { color: var(--rp-blue); line-height: 1.2; margin-top: 1.7em; }
.rp-article__content img, .rp-article__content iframe, .rp-article__content video { max-width: 100%; }
.rp-article__content blockquote { border-left: 5px solid var(--rp-orange); color: var(--rp-blue); font-size: 24px; margin: 28px 0; padding: 4px 0 4px 24px; }
.rp-article__author { align-items: center; border-top: 1px solid var(--rp-line); display: grid; gap: 18px; grid-template-columns: 84px 1fr; margin-top: 36px; padding-top: 24px; }
.rp-article__byline { display: flex; align-items: center; gap: 10px; margin-top: 18px; color: var(--rp-muted); }
.rp-article__byline img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.rp-article__byline > div { display: grid; gap: 2px; }
.rp-article__byline span { color: var(--rp-blue); font-weight: 750; }
.rp-article__byline time { font-size: 12px; }
.rp-article__author img { border-radius: 50%; }
.rp-article__author h2 { color: var(--rp-blue); margin: 3px 0; }
.rp-article__author p { color: var(--rp-muted); margin: 0; }
.rp-related { grid-column: 1 / -1; margin-top: 20px; }

.rp-archive, .rp-page, .rp-not-found { padding-block: 55px 70px; }
.rp-archive__header { border-bottom: 2px solid var(--rp-blue); margin-bottom: 30px; padding-bottom: 20px; }
.rp-archive__header h1, .rp-not-found h1 { color: var(--rp-blue); font-family: Georgia, serif; font-size: clamp(36px, 5vw, 60px); line-height: 1.05; margin: 6px 0; }
.navigation.pagination { margin-top: 35px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 7px; }
.page-numbers { background: #fff; border: 1px solid var(--rp-line); border-radius: 6px; color: var(--rp-blue); padding: 8px 12px; }
.page-numbers.current { background: var(--rp-blue); color: #fff; }
.rp-page .rp-article { margin-inline: auto; max-width: 900px; }
.rp-not-found { text-align: center; }
.rp-not-found > a { background: var(--rp-orange); border-radius: 8px; color: #fff; display: inline-block; font-weight: 900; margin-top: 18px; padding: 12px 18px; }

.rp-before-footer { margin-bottom: 25px; }
.rp-newsletter { background: var(--rp-sky); border-top: 1px solid #cce5f7; padding-block: 36px; }
.rp-newsletter__inner { align-items: center; display: grid; gap: 35px; grid-template-columns: minmax(260px, 1fr) minmax(330px, 1fr); }
.rp-newsletter h2 { color: var(--rp-blue); font-family: Georgia, serif; font-size: 27px; line-height: 1.18; margin: 5px 0; }
.rp-newsletter-form { display: grid; gap: 9px; grid-template-columns: minmax(0, 1fr) auto; }
.rp-newsletter-form > input[type="email"] { border: 1px solid #aacbe3; border-radius: 8px; min-width: 0; padding: 12px 13px; }
.rp-newsletter-form > button { background: var(--rp-orange); border: 0; border-radius: 8px; color: #fff; cursor: pointer; font-size: 12px; font-weight: 900; padding: 12px 16px; }
.rp-newsletter-form__consent, .rp-newsletter-form > p { color: var(--rp-muted); font-size: 11px; grid-column: 1 / -1; margin: 0; }
.rp-footer { background: #041f39; color: #d6e4ee; }
.rp-footer__grid { display: grid; gap: 38px; grid-template-columns: 1.35fr 1fr 1fr 1fr; padding-block: 48px; }
.rp-footer__brand img { margin-bottom: 17px; max-width: 250px; }
.rp-footer h2 { color: #fff; font-size: 12px; letter-spacing: .12em; margin: 0 0 14px; }
.rp-footer ul { list-style: none; margin: 0; padding: 0; }
.rp-footer li, .rp-footer__grid > div > a { display: block; margin: 7px 0; }
.rp-footer a { font-size: 13px; }
.rp-footer a:hover { color: #7cc6f7; }
.rp-footer p { color: #b7c9d5; font-size: 13px; }
.rp-footer__copy { border-top: 1px solid rgba(255, 255, 255, .12); font-size: 11px; padding: 17px 24px; text-align: center; }

.screen-reader-text { clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; overflow: hidden; position: absolute; width: 1px; }
.screen-reader-text:focus { clip: auto; clip-path: none; height: auto; width: auto; }

@media (max-width: 1020px) {
  .rp-masthead { grid-template-columns: 90px minmax(210px, 1fr) 230px; }
  .rp-hero { grid-template-columns: 1.4fr 1fr; }
  .rp-hero__item--5 { display: none; }
  .rp-card-grid, .rp-card-grid--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rp-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 782px) {
  body.admin-bar .rp-header--compact { top: 46px; }
  .rp-container { padding-inline: 16px; }
  .rp-utility { display: none; }
  .rp-masthead, .rp-header--compact .rp-masthead { gap: 14px; grid-template-columns: 52px 1fr 42px; min-height: 74px; }
  .rp-brand { max-width: 230px; }
  .rp-masthead .search-form { justify-content: end; }
  .rp-masthead .search-form label { display: none; }
  .rp-masthead .search-submit { border-radius: 8px; font-size: 0; height: 38px; padding: 0; width: 38px; }
  .rp-masthead .search-submit::after { content: "⌕"; font-size: 21px; }
  .rp-category-nav { display: none; }
  .rp-menu-button b { display: none; }
  .rp-breaking .rp-container { gap: 16px; }
  .rp-hero { display: grid; grid-template-columns: 1fr; grid-template-rows: auto; }
  .rp-hero__item, .rp-hero__item--1 { aspect-ratio: 16 / 10; grid-row: auto; min-height: 0; }
  .rp-hero__item:nth-child(n+4) { display: none; }
  .rp-content-grid, .rp-single-layout, .rp-newsletter__inner, .rp-live { grid-template-columns: 1fr; }
  .rp-content-grid aside, .rp-single-sidebar { position: static; }
  .rp-single-layout { padding-block: 24px; }
  .rp-article { padding: 24px 20px; }
  .rp-article__cover { margin-inline: -20px; }
  .rp-article__content { font-size: 17px; }
}

@media (max-width: 560px) {
  .rp-card-grid, .rp-card-grid--four, .rp-footer__grid { grid-template-columns: 1fr; }
  .rp-newsletter-form { grid-template-columns: 1fr; }
  .rp-newsletter-form > button, .rp-newsletter-form__consent, .rp-newsletter-form > p { grid-column: 1; }
  .rp-section__header { align-items: start; gap: 15px; }
  .rp-section__header > a { flex: 0 0 auto; }
  .rp-article__author { grid-template-columns: 62px 1fr; }
  .rp-article__author img { height: 62px; width: 62px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* RPNEWS v30 — painel próprio, autores e segurança */
.rp-article__author-email { color: var(--rp-muted); font-size: 11px; }
.rp-columns-archive { padding-block: 44px 70px; }
.rp-columns-archive__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.rp-columnist-latest { display: grid; gap: 15px; padding: 18px; border: 1px solid var(--rp-line); border-radius: 12px; background: #fff; }
.rp-columnist-latest > header { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; align-items: center; }
.rp-columnist-latest > header img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.rp-columnist-latest > header span { color: var(--rp-orange); font-size: 9px; font-weight: 900; letter-spacing: .08em; }
.rp-columnist-latest > header h2 { margin: 4px 0 0; color: var(--rp-blue); font-size: 20px; }
.rp-columnist-latest__stories { display: grid; gap: 7px; }
.rp-columnist-latest__stories > a { display: grid; gap: 4px; padding-top: 9px; border-top: 1px solid var(--rp-line); color: var(--rp-ink); }
.rp-columnist-latest__stories small { color: var(--rp-muted); font-size: 10px; }
.rp-columnist-latest__all { color: var(--rp-orange); font-size: 10px; font-weight: 900; }

.rp-user-panel { width: min(1240px, calc(100% - 32px)); margin: 36px auto 70px; color: var(--rp-ink); }
.rp-user-panel__header { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px; border-radius: 14px; background: var(--rp-blue); color: #fff; }
.rp-user-panel__header > div { display: flex; align-items: center; gap: 13px; }
.rp-user-panel__header img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.rp-user-panel__header span { color: #72d0f4; font-size: 9px; font-weight: 900; letter-spacing: .12em; }
.rp-user-panel__header h1 { margin: 3px 0; color: #fff; font-size: 27px; }
.rp-user-panel__header p { margin: 0; color: #cce7f3; }
.rp-user-panel__header > a { padding: 11px 14px; border: 1px solid rgba(255,255,255,.3); border-radius: 7px; color: #fff; font-size: 10px; font-weight: 900; }
.rp-user-panel__notice { padding: 12px 14px; border-radius: 8px; background: #e5f6eb; color: #176c40; font-weight: 750; }
.rp-user-panel__notice.is-error { background: #fff0f0; color: #a63232; }
.rp-user-panel__grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr); gap: 18px; align-items: start; margin-top: 20px; }
.rp-user-panel__editor, .rp-user-panel__security, .rp-user-panel__stories, .rp-user-panel--login, .rp-user-panel--reset { padding: clamp(18px, 3vw, 28px); border: 1px solid var(--rp-line); border-radius: 12px; background: #fff; }
.rp-user-panel__editor form, .rp-user-panel__security form, .rp-user-panel--login form, .rp-user-panel--reset form { display: grid; gap: 12px; }
.rp-user-panel label { display: grid; gap: 6px; color: var(--rp-muted); font-size: 10px; font-weight: 900; }
.rp-user-panel input, .rp-user-panel select, .rp-user-panel textarea { width: 100%; min-width: 0; padding: 11px; border: 1px solid var(--rp-line); border-radius: 6px; background: #fff; color: var(--rp-ink); }
.rp-user-panel button { min-height: 42px; padding: 0 15px; border: 0; border-radius: 7px; background: var(--rp-orange); color: #fff; font-size: 10px; font-weight: 900; cursor: pointer; }
.rp-user-panel__security { display: grid; gap: 18px; }
.rp-user-panel__security form + form { padding-top: 16px; border-top: 1px solid var(--rp-line); }
.rp-user-panel__word-editor { min-width: 0; max-width: 100%; overflow: hidden; }
.rp-user-panel__word-editor .wp-editor-wrap,
.rp-user-panel__word-editor .wp-editor-container,
.rp-user-panel__word-editor .mce-tinymce,
.rp-user-panel__word-editor .mce-container,
.rp-user-panel__word-editor iframe,
.rp-user-panel__word-editor textarea { width: 100% !important; min-width: 0 !important; max-width: 100% !important; box-sizing: border-box; }
.rp-user-panel__word-editor textarea { overflow-wrap: anywhere; white-space: pre-wrap; word-break: break-word; }
.rp-user-panel__word-editor > span { display: block; margin-bottom: 7px; color: var(--rp-muted); font-size: 10px; font-weight: 900; }
.rp-user-panel__role { margin: 0; padding: 10px 12px; border-left: 4px solid var(--rp-orange); background: #fff4ed; color: var(--rp-ink); font-size: 11px; font-weight: 800; }
.rp-user-panel__stories { margin-top: 18px; }
.rp-user-panel__stories > div { display: grid; gap: 8px; }
.rp-user-panel__stories article { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px; border: 1px solid var(--rp-line); border-radius: 8px; }
.rp-user-panel__stories article > div { display: grid; gap: 3px; }
.rp-user-panel__stories article span, .rp-user-panel__stories article small { color: var(--rp-muted); font-size: 9px; }
.rp-user-panel__stories article > a { color: var(--rp-blue); font-size: 9px; font-weight: 900; }
.rp-user-panel .page-numbers { display: inline-flex; margin: 14px 4px 0 0; padding: 8px 11px; border: 1px solid var(--rp-line); border-radius: 6px; }
.rp-user-panel .page-numbers.current { background: var(--rp-blue); color: #fff; }
.rp-user-panel--login, .rp-user-panel--reset { width: min(560px, calc(100% - 32px)); }
.rp-user-panel--login > header, .rp-user-panel--reset > header { margin-bottom: 18px; }
.rp-user-panel--login > header span, .rp-user-panel--reset > header span { color: var(--rp-orange); font-size: 9px; font-weight: 900; }
.rp-user-panel__reset-request { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--rp-line); }

@media (max-width: 900px) {
  .rp-columns-archive__grid, .rp-user-panel__grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .rp-user-panel__header, .rp-user-panel__stories article { align-items: stretch; flex-direction: column; }
  .rp-columns-archive__grid { grid-template-columns: 1fr; }
}

/* RPNEWS v30 — Jornal RPNEWS atual e arquivo de edições */
.rp-newspaper {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 330px);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  margin: 34px 0;
  padding: clamp(28px, 5vw, 58px);
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #0a2b63 0%, #06152f 72%);
  border-radius: 18px;
}
.rp-newspaper > div > span,
.rp-newspaper-archive > header > span { color: #8fc5ff; font-size: 12px; font-weight: 900; letter-spacing: .16em; }
.rp-newspaper h2 { margin: 8px 0 12px; color: #fff; font-size: clamp(32px, 5vw, 58px); line-height: .95; }
.rp-newspaper p { max-width: 620px; margin: 0 0 10px; font-size: clamp(17px, 2.2vw, 23px); }
.rp-newspaper small { display: block; color: #cddcf0; }
.rp-newspaper__archive { display: inline-flex; margin-top: 26px; padding-bottom: 5px; color: #fff; font-weight: 900; border-bottom: 3px solid #da232c; }
.rp-newspaper__cover { display: block; transform: rotate(1.25deg); transition: transform .2s ease, filter .2s ease; }
.rp-newspaper__cover:hover,
.rp-newspaper__cover:focus-visible { transform: rotate(0) translateY(-5px); filter: drop-shadow(0 16px 24px rgba(0,0,0,.35)); }
.rp-newspaper__cover img { width: 100%; max-height: 430px; object-fit: cover; border: 8px solid #fff; box-shadow: 0 18px 50px rgba(0,0,0,.4); }
.rp-newspaper__placeholder { display: grid; min-height: 360px; place-content: center; padding: 24px; color: #071b3f; background: #fff; border: 8px solid #e6ebf2; text-align: center; }
.rp-newspaper__placeholder b { color: #da232c; font-size: 28px; letter-spacing: .08em; }
.rp-newspaper__placeholder strong { font-size: 48px; line-height: .9; }
.rp-newspaper-archive { width: min(1180px, calc(100% - 32px)); margin: 40px auto 72px; }
.rp-newspaper-archive > header { margin-bottom: 28px; padding-bottom: 20px; border-bottom: 4px solid #0a2b63; }
.rp-newspaper-archive > header h1 { margin: 6px 0; font-size: clamp(34px, 5vw, 60px); }
.rp-newspaper-archive__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.rp-newspaper-archive__grid article { display: flex; min-width: 0; flex-direction: column; gap: 8px; padding: 18px; background: #fff; border: 1px solid #dce3ec; border-top: 5px solid #0a2b63; box-shadow: 0 12px 30px rgba(10,43,99,.08); }
.rp-newspaper-archive__grid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.rp-newspaper-archive__grid span { color: #da232c; font-size: 12px; font-weight: 900; letter-spacing: .1em; }
.rp-newspaper-archive__grid h2 { margin: 0; font-size: 22px; }
.rp-newspaper-archive__grid article > a:last-child { align-self: flex-start; margin-top: auto; color: #0a2b63; font-weight: 900; }

@media (max-width: 820px) {
  .rp-newspaper { grid-template-columns: 1fr; }
  .rp-newspaper__cover { width: min(100%, 340px); }
  .rp-newspaper-archive__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 540px) {
  .rp-newspaper-archive__grid { grid-template-columns: 1fr; }
}

/* RPNEWS v31 — mídia editorial, transmissão e publicidade */
.rp-card__image img,
.rp-article__cover img {
  width: 100%;
  height: 100%;
}
.rp-card__image--cover,
.rp-article__cover--cover { object-fit: cover; }
.rp-card__image--contain,
.rp-article__cover--contain { object-fit: contain !important; background: #eef3f7; }
.rp-card p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.rp-article__deck { overflow-wrap: anywhere; }
.rp-article__content > p,
.rp-article__content > div { display: block; margin: 0 0 1.25em; }

.rp-live__watch {
  appearance: none;
  display: inline-block;
  margin-top: 9px;
  padding: 11px 16px;
  border: 0;
  border-radius: 8px;
  background: var(--rp-orange);
  color: #fff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
}
.rp-live__media { cursor: pointer; }

.rp-ad-slot { position: relative; margin-block: 26px; overflow: hidden; background: #fff; }
.rp-ad-slot img,
.rp-ad-slot iframe { width: 100%; height: 100%; object-fit: contain; }
.rp-ad-slot__item { min-height: inherit; width: 100%; }
.rp-ad-slot__item[hidden] { display: none !important; }
.rp-ad-slot--home-topo,
.rp-ad-slot--rodape { width: min(970px, 100%); min-height: 90px; margin-inline: auto; }
.rp-ad-slot--home-depois-destaques,
.rp-ad-slot--home-entre-blocos { width: min(970px, 100%); min-height: 250px; margin-inline: auto; }
.rp-ad-slot--home-lateral,
.rp-ad-slot--materia-lateral,
.rp-ad-slot--editoria-lateral,
.rp-ad-slot--colunista-lateral { width: min(300px, 100%); min-height: 600px; margin-inline: auto; }
.rp-ad-slot--home-retangulo,
.rp-ad-slot--institucional-lateral { width: min(300px, 100%); min-height: 250px; margin-inline: auto; }
.rp-ad-slot--materia-topo,
.rp-ad-slot--materia-meio { width: min(728px, 100%); min-height: 90px; margin-inline: auto; }
.rp-ad-slot--flutuante {
  position: fixed;
  z-index: 9998;
  bottom: 14px;
  left: 50%;
  width: min(728px, calc(100% - 28px));
  min-height: 90px;
  max-height: 140px;
  margin: 0;
  border-radius: 9px;
  box-shadow: 0 16px 42px rgba(6, 27, 49, .3);
  transform: translateX(-50%);
}
.rp-ad-slot__close {
  position: absolute;
  z-index: 2;
  top: 6px;
  right: 7px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: #0a2742;
  color: #fff;
  cursor: pointer;
  font-size: 20px;
}
.rp-mgid { min-height: 0; margin: 0; padding: 0; }
.rp-mgid [data-mgid-placement]:empty { display: none; }
.rp-mgid [data-mgid-placement]:not(:empty) { margin-block: 38px; }

/* RPNEWS v32 — parágrafos e palavras longas nunca escapam da matéria */
.rp-single-layout,
.rp-single-layout > *,
.rp-article,
.rp-article__header,
.rp-article__content {
  min-width: 0;
  max-width: 100%;
}

.rp-article__header h1,
.rp-article__deck,
.rp-article__content,
.rp-article__content p,
.rp-article__content div,
.rp-article__content li,
.rp-article__content a,
.rp-article__content span,
.rp-article__content strong,
.rp-article__content em,
.rp-article__content blockquote,
.rp-article__content figcaption,
.rp-article__content h2,
.rp-article__content h3,
.rp-article__content h4,
.rp-article__content td,
.rp-article__content th {
  overflow-wrap: anywhere;
  white-space: normal;
  word-break: break-word;
}

.rp-article__content pre,
.rp-article__content code {
  max-width: 100%;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
  word-break: break-word;
}

.rp-article__content table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
}

@media (max-width: 680px) {
  .rp-ad-slot--home-topo,
  .rp-ad-slot--rodape,
  .rp-ad-slot--home-depois-destaques,
  .rp-ad-slot--home-entre-blocos,
  .rp-ad-slot--home-lateral,
  .rp-ad-slot--editoria-lateral,
  .rp-ad-slot--colunista-lateral,
  .rp-ad-slot--institucional-lateral,
  .rp-ad-slot--materia-lateral,
  .rp-ad-slot--materia-topo,
  .rp-ad-slot--materia-meio,
  .rp-ad-slot--flutuante { min-height: 100px; max-height: 160px; }
}

/* RPNEWS v33 — destaque contido, menu legível e entrada do Admin Master */
.rp-category-nav .rp-category-list > li > a,
.rp-category-more summary,
.rp-category-more > div a {
  font-size: 13px;
}

.rp-hero__item,
.rp-hero__item > div,
.rp-hero__item h1,
.rp-hero__item h1 a,
.rp-hero__item p,
.rp-card,
.rp-card__body,
.rp-card h2,
.rp-card h2 a,
.rp-card p,
.rp-columnist-latest,
.rp-columnist-latest strong {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.rp-hero__item > div {
  max-height: 78%;
  overflow: hidden;
}

.rp-hero__item h1,
.rp-hero__item p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
}

.rp-hero__item h1 {
  -webkit-line-clamp: 3;
}

.rp-hero__item p {
  -webkit-line-clamp: 3;
}

.rp-live__watch:focus-visible,
.rp-live__media:focus-visible {
  outline: 3px solid #8ed8ff;
  outline-offset: 3px;
}

.rp-master-login {
  width: min(560px, calc(100% - 32px));
  margin: 48px auto 72px;
  box-shadow: var(--rp-shadow);
}

.rp-master-login__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.rp-master-login__actions a,
.rp-master-login form > button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 0;
  border-radius: 7px;
  background: var(--rp-orange);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
}

.rp-master-login__actions a:last-child {
  background: var(--rp-blue);
}

@media (max-width: 680px) {
  .rp-category-nav .rp-category-list > li > a,
  .rp-category-more summary,
  .rp-category-more > div a {
    font-size: 12px;
  }

  .rp-hero__item p {
    -webkit-line-clamp: 2;
  }
}

/* RPNEWS 1.7.0 — identidade oficial sem deformação */
.rp-brand {
  max-width: 400px;
  width: min(100%, 400px);
}

.rp-brand img,
.rp-header--compact .rp-brand img,
.rp-footer__brand img {
  height: auto;
  max-height: none;
  object-fit: contain;
}

.rp-header--compact .rp-brand {
  max-width: 190px;
}

.rp-footer__brand img {
  width: min(100%, 280px);
  max-width: 280px;
}

@media (max-width: 782px) {
  .rp-brand {
    max-width: 230px;
  }

  .rp-header--compact .rp-brand {
    max-width: 170px;
  }
}

/* RPNEWS 1.9.0 — paridade do portal, acessos e fluxo editorial */
.rp-utility__left,
.rp-local-weather {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.rp-utility__left > time { color: #c7dae9; }
.rp-local-weather { font-size: 11px; }
.rp-local-weather > span:first-child { font-size: 16px; }
.rp-local-weather strong { color: #fff; font-size: 13px; }
.rp-local-weather button {
  display: inline-grid;
  width: 23px;
  height: 23px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.rp-social-link { font-size: 9px; font-weight: 900; letter-spacing: .08em; }

.rp-impact-headline {
  background: linear-gradient(105deg, #8b0711, #d31825 58%, #a60c16);
  color: #fff;
}
.rp-impact-headline .rp-container {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  min-height: 94px;
  padding-block: 15px;
}
.rp-impact-headline .rp-container > strong {
  padding: 8px 11px;
  border: 2px solid #fff;
  font-size: 13px;
  letter-spacing: .12em;
}
.rp-impact-headline span { color: #ffd3d6; font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.rp-impact-headline h2 { margin: 3px 0 0; font-family: Georgia, serif; font-size: clamp(19px, 2.4vw, 31px); line-height: 1.08; }
.rp-impact-headline .rp-container > a { font-size: 11px; font-weight: 900; letter-spacing: .07em; white-space: nowrap; }

.rp-hero {
  grid-template-rows: repeat(3, minmax(150px, 1fr));
}
.rp-hero__item { min-height: 150px; }
.rp-hero__item--1 { grid-row: 1 / 4; }
.rp-hero__item--6 { grid-column: 2 / 4; }

.rp-most-read > div {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid var(--rp-line);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}
.rp-most-read article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 11px;
  min-width: 0;
  padding: 18px 14px;
  border-right: 1px solid var(--rp-line);
}
.rp-most-read article:last-child { border-right: 0; }
.rp-most-read article > span { color: var(--rp-orange); font-family: Georgia, serif; font-size: 35px; line-height: 1; }
.rp-most-read small { color: var(--rp-blue-2); font-size: 9px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.rp-most-read h3 { margin: 3px 0 0; color: var(--rp-blue); font-family: Georgia, serif; font-size: 16px; line-height: 1.18; overflow-wrap: anywhere; }

.rp-share-bar,
.rp-listen-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  border-top: 1px solid var(--rp-line);
  margin-top: 16px;
  padding-top: 14px;
}
.rp-share-bar > span,
.rp-listen-bar > span { color: var(--rp-muted); font-size: 9px; font-weight: 900; letter-spacing: .1em; }
.rp-share-bar a,
.rp-share-bar button,
.rp-listen-bar button {
  display: inline-grid;
  min-width: 36px;
  min-height: 36px;
  padding: 0 10px;
  place-items: center;
  border: 1px solid #bfd0dc;
  border-radius: 7px;
  background: #fff;
  color: var(--rp-blue);
  cursor: pointer;
  font-size: 10px;
  font-weight: 900;
}
.rp-share-bar a:hover,
.rp-share-bar button:hover,
.rp-listen-bar button:hover { border-color: var(--rp-orange); color: var(--rp-orange); }
.rp-share-bar strong,
.rp-listen-bar strong { color: #21734c; font-size: 10px; }
.rp-listen-bar label { display: flex; align-items: center; gap: 6px; color: var(--rp-muted); font-size: 10px; }
.rp-listen-bar select { max-width: 260px; padding: 7px; border: 1px solid var(--rp-line); border-radius: 6px; }
.rp-share-bar [hidden],
.rp-listen-bar [hidden],
.rp-user-panel [hidden] { display: none !important; }

.rp-sidebar-most-read {
  margin-top: 22px;
  padding: 18px;
  border-top: 5px solid var(--rp-orange);
  background: #fff;
  box-shadow: 0 8px 24px rgba(3,32,57,.08);
}
.rp-sidebar-most-read h2 { margin: 0 0 12px; color: var(--rp-blue); font-size: 15px; letter-spacing: .1em; }
.rp-sidebar-most-read a { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 9px; padding: 11px 0; border-top: 1px solid var(--rp-line); }
.rp-sidebar-most-read a span { color: var(--rp-orange); font-family: Georgia, serif; font-size: 25px; line-height: 1; }
.rp-sidebar-most-read a strong { color: var(--rp-blue); font-size: 12px; line-height: 1.3; }

.rp-access-hub,
.rp-journal-panel {
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid var(--rp-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--rp-shadow);
}
.rp-access-hub > header,
.rp-journal-panel > header { margin-bottom: 22px; }
.rp-access-hub > header span,
.rp-journal-panel > header span,
.rp-user-panel__published > span { color: var(--rp-orange); font-size: 10px; font-weight: 900; letter-spacing: .12em; }
.rp-access-hub > header h1,
.rp-journal-panel > header h1 { margin: 5px 0; color: var(--rp-blue); font-family: Georgia, serif; font-size: clamp(30px, 4vw, 48px); }
.rp-access-hub__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.rp-access-hub__grid--journal { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rp-access-hub__grid > a {
  display: grid;
  gap: 7px;
  min-height: 155px;
  padding: 22px;
  align-content: center;
  border: 1px solid var(--rp-line);
  border-radius: 12px;
  background: #f8fbfd;
}
.rp-access-hub__grid > a:hover { border-color: var(--rp-orange); transform: translateY(-2px); }
.rp-access-hub__grid strong { color: var(--rp-blue); font-size: 20px; }
.rp-access-hub__grid span { color: var(--rp-muted); font-size: 13px; }
.rp-access-hub__user-link { margin-top: 20px; color: var(--rp-blue-2); font-size: 11px; font-weight: 900; }

.rp-user-panel__published {
  margin-top: 18px;
  padding: 22px;
  border: 1px solid #9bd0b1;
  border-left: 6px solid #198754;
  border-radius: 10px;
  background: #effaf3;
}
.rp-user-panel__published h2 { margin: 4px 0; color: #176c40; }
.rp-user-panel__published p { margin: 8px 0 14px; }
.rp-user-panel__published > div { display: flex; flex-wrap: wrap; gap: 9px; }
.rp-user-panel__published a { display: inline-flex; min-height: 40px; align-items: center; padding: 0 14px; border-radius: 7px; background: #176c40; color: #fff; font-size: 10px; font-weight: 900; }
.rp-user-panel__published a:last-child { background: var(--rp-orange); }
.rp-user-panel__publishing { color: var(--rp-blue); font-size: 11px; font-weight: 800; }
.rp-user-panel form[aria-busy="true"] button[type="submit"] { cursor: wait; opacity: .76; }
.rp-user-panel input[type="checkbox"] { width: auto; }

@media (max-width: 1020px) {
  .rp-hero { grid-template-rows: repeat(2, minmax(190px, 1fr)); }
  .rp-hero__item--1 { grid-row: 1 / 3; }
  .rp-hero__item--6 { display: none; grid-column: auto; }
  .rp-most-read > div { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rp-most-read article { border-bottom: 1px solid var(--rp-line); }
  .rp-most-read article:nth-child(2n) { border-right: 0; }
}

@media (max-width: 782px) {
  .rp-hero__item,
  .rp-hero__item--1 { grid-row: auto; }
  .rp-impact-headline .rp-container { grid-template-columns: auto minmax(0, 1fr); gap: 13px; }
  .rp-impact-headline .rp-container > a { grid-column: 2; }
  .rp-access-hub__grid,
  .rp-access-hub__grid--journal { grid-template-columns: 1fr; }
  .rp-access-hub__grid > a { min-height: 125px; }
}

@media (max-width: 560px) {
  .rp-most-read > div { grid-template-columns: 1fr; }
  .rp-most-read article { border-right: 0; }
  .rp-impact-headline .rp-container > strong { align-self: start; }
  .rp-share-bar > span,
  .rp-listen-bar > span { flex-basis: 100%; }
  .rp-listen-bar label { align-items: stretch; flex-basis: 100%; flex-direction: column; }
  .rp-listen-bar select { max-width: 100%; width: 100%; }
}

/* RPNEWS 2.1.4 — vídeos, promoções e formulários finais */
.rp-video-library,
.rp-promotions { margin-block: clamp(28px, 5vw, 58px); }
.rp-video-library > header,
.rp-promotions > header { border-bottom: 4px solid var(--rp-blue); margin-bottom: 18px; padding-bottom: 10px; }
.rp-video-library > header span,
.rp-promotions > header span,
.rp-promotion-page__article > header span { color: var(--rp-orange); font-size: 10px; font-weight: 900; letter-spacing: .14em; }
.rp-video-library > header h2,
.rp-promotions > header h2 { color: var(--rp-blue); font-family: Georgia, serif; font-size: clamp(28px, 4vw, 42px); margin: 4px 0; }
.rp-video-library__grid { display: grid; gap: 14px; grid-template-columns: 1.4fr 1fr 1fr; }
.rp-video-library__item { background: var(--rp-blue); border-radius: 13px; color: #fff; overflow: hidden; }
.rp-video-library__item:first-child { grid-row: span 2; }
.rp-video-library__media { aspect-ratio: 16 / 9; background: #061a2a; cursor: pointer; overflow: hidden; position: relative; }
.rp-video-library__media img,
.rp-video-library__media iframe,
.rp-video-library__media video { height: 100%; object-fit: cover; width: 100%; }
.rp-video-library__placeholder { align-items: center; display: flex; font-size: 30px; font-weight: 900; height: 100%; justify-content: center; }
.rp-video-library__copy { padding: 15px; }
.rp-video-library__copy > span { color: #9cc7df; font-size: 9px; font-weight: 900; letter-spacing: .12em; }
.rp-video-library__copy h3 { color: #fff; font: 700 20px/1.2 Georgia, serif; margin: 5px 0 13px; }
.rp-video-library__item--compact .rp-video-library__copy h3 { font-size: 16px; }
.rp-video-library__copy button { background: var(--rp-orange); border: 0; border-radius: 6px; color: #fff; cursor: pointer; font-size: 10px; font-weight: 900; padding: 9px 12px; }
.rp-promotions__grid { display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rp-promotions__grid article { background: #fff; border: 1px solid var(--rp-line); border-radius: 12px; box-shadow: var(--rp-shadow); overflow: hidden; padding-bottom: 20px; }
.rp-promotions__grid article > :not(img):not(a:first-child) { margin-left: 20px; margin-right: 20px; }
.rp-promotions__grid img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.rp-promotions__grid h3 { color: var(--rp-blue); font: 700 23px/1.18 Georgia, serif; }
.rp-promotions__button { background: var(--rp-orange); border-radius: 6px; color: #fff; display: inline-flex; font-size: 10px; font-weight: 900; padding: 11px 15px; }
.rp-promotion-page { padding-block: clamp(28px, 5vw, 62px); }
.rp-promotion-page__article { background: #fff; border-radius: 14px; box-shadow: var(--rp-shadow); margin: auto; max-width: 920px; overflow: hidden; padding: clamp(24px, 5vw, 55px); }
.rp-promotion-page__article > header h1 { color: var(--rp-blue); font: 700 clamp(34px, 5vw, 58px)/1.04 Georgia, serif; margin: 8px 0; }
.rp-promotion-page__article > header p { color: var(--rp-muted); font-size: 18px; }
.rp-promotion-page__article > figure { margin: 26px 0; }
.rp-promotion-page__article > figure img { border-radius: 12px; height: auto; width: 100%; }
.rp-promotion-page__content { font-size: 18px; line-height: 1.75; }
.rp-promotion-page__rules { background: #f4f7f9; border-left: 5px solid var(--rp-orange); margin: 28px 0; padding: 22px; }
.rp-promotion-entry { border-top: 1px solid var(--rp-line); margin-top: 28px; padding-top: 28px; }
.rp-promotion-entry form { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rp-promotion-entry label { color: var(--rp-blue); display: grid; font-size: 12px; font-weight: 800; gap: 6px; }
.rp-promotion-entry input { border: 1px solid #afc1cd; border-radius: 7px; font: inherit; min-height: 44px; padding: 10px; }
.rp-promotion-entry__consent,
.rp-promotion-entry button { grid-column: 1 / -1; }
.rp-promotion-entry__consent { align-items: start; display: flex !important; font-weight: 500 !important; }
.rp-promotion-entry__consent input { min-height: 0; width: auto; }
.rp-promotion-entry__trap { left: -10000px; position: absolute; }
.rp-promotion-entry button { background: var(--rp-orange); border: 0; border-radius: 7px; color: #fff; cursor: pointer; font-weight: 900; min-height: 46px; }
.rp-promotion-entry__notice { border-radius: 7px; font-weight: 800; padding: 13px; }
.rp-promotion-entry__notice.is-success { background: #eaf8ef; color: #176c40; }
.rp-promotion-entry__notice.is-error { background: #fff0f0; color: #9b141a; }
@media (max-width: 900px) {
  .rp-video-library__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rp-video-library__item:first-child { grid-column: 1 / -1; grid-row: auto; }
  .rp-promotions__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .rp-video-library__grid,
  .rp-promotions__grid,
  .rp-promotion-entry form { grid-template-columns: 1fr; }
  .rp-promotion-entry__consent,
  .rp-promotion-entry button { grid-column: auto; }
}
