.rp-owner-posts-news {
  padding: 0 16px 18px;
  font-family: "Segoe UI", sans-serif;
}

.rp-owner-posts-title {
  margin: 0;
}

.rp-owner-posts-shell {
  border: 1px solid #dbe1ea;
  background: #f8fafc;
  padding: 0;
  overflow: visible;
  border-radius: 6px;
}

.rp-owner-posts-controls {
  padding: 12px 14px 6px;
}

.rp-owner-posts-list {
  margin-top: 4px;
  overflow: visible;
}

.rp-owner-posts-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.rp-owner-posts-head {
  position: relative;
  z-index: 40;
  overflow: visible;
}

.rp-owner-posts-top-actions {
  position: relative;
  z-index: 45;
  overflow: visible;
}

.rp-owner-top-btn-wrap {
  position: relative;
  display: inline-flex;
}

.rp-owner-top-btn-tooltip {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-3px);
  min-width: 150px;
  max-width: 190px;
  padding: 6px 8px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #111827;
  font-size: 0.67rem;
  font-weight: 500;
  line-height: 1.25;
  text-align: center;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.16);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 120;
  transition: opacity 0.18s ease, visibility 0.18s ease, transform 0.18s ease;
}

.rp-owner-top-btn-tooltip::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -6px;
  transform: translateX(-50%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid #ffffff;
}

.rp-owner-top-btn-wrap:hover .rp-owner-top-btn-tooltip,
.rp-owner-top-btn-wrap:focus-within .rp-owner-top-btn-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.rp-owner-top-btn-wrap.is-right-edge .rp-owner-top-btn-tooltip {
  left: auto;
  right: 0;
  transform: translateY(-3px);
}

.rp-owner-top-btn-wrap.is-right-edge .rp-owner-top-btn-tooltip::before {
  left: auto;
  right: 26px;
  transform: none;
}

.rp-owner-top-btn-wrap.is-right-edge:hover .rp-owner-top-btn-tooltip,
.rp-owner-top-btn-wrap.is-right-edge:focus-within .rp-owner-top-btn-tooltip {
  transform: translateY(0);
}

.rp-owner-news-editor-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 2px;
}

.rp-owner-news-bulk-wrap {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  flex: 0 0 auto;
}

.rp-owner-news-icon-btn {
  appearance: none;
  width: 34px;
  height: 34px;
  padding: 0;
  box-sizing: border-box;
  min-width: 0;
  min-height: 0;
  line-height: 0;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #ff0000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 6px;
}

.rp-owner-news-icon-btn svg {
  width: 18px;
  height: 18px;
}

.rp-owner-news-icon-btn:hover {
  color: #b91c1c;
  border-color: #ef4444;
  background: #fef2f2;
}

.rp-owner-news-icon-btn.is-active {
  color: #b91c1c;
  border-color: #ef4444;
  background: #fef2f2;
}

.rp-owner-news-danger-btn {
  appearance: none;
  border: 1px solid #ef4444;
  background: #ef4444;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 6px;
}

.rp-owner-news-danger-btn:hover {
  background: #dc2626;
  border-color: #dc2626;
}

.rp-owner-posts-toolbar h3 {
  margin: 0;
  color: #0f172a;
  font-size: 1rem;
  font-weight: 700;
}

.rp-owner-posts-toolbar p {
  margin: 2px 0 0;
  color: #64748b;
  font-size: 0.84rem;
}

.rp-owner-news-add-btn {
  appearance: none;
  border: 1px solid #1d4ed8;
  color: #1d4ed8;
  background: #eff6ff;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 8px 12px;
  cursor: pointer;
}

.rp-owner-news-add-btn:hover {
  background: #dbeafe;
}

.rp-owner-news-status {
  min-height: 0;
  margin: 2px 0 0;
  font-size: 0.78rem;
  line-height: 1.2;
  color: #64748b;
}

.rp-owner-news-status:empty {
  display: none;
  margin: 0;
}

.rp-owner-news-status.is-error {
  color: #b91c1c;
}

.rp-owner-news-status.is-success {
  color: #047857;
}

.rp-owner-news-tab-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  flex: 1 1 auto;
}

.rp-owner-news-tab-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
  justify-items: start;
}

.rp-owner-posts-news.is-delete-mode .rp-owner-news-tab-row {
  grid-template-columns: auto minmax(0, 1fr);
}

.rp-owner-news-tab-check-wrap {
  display: none;
  align-items: center;
  justify-content: center;
}

.rp-owner-posts-news.is-delete-mode .rp-owner-news-tab-check-wrap {
  display: flex;
}

.rp-owner-news-tab-check {
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.rp-owner-news-tab-input {
  width: auto;
  min-width: 0;
  max-width: 100%;
  height: 40px;
  min-height: 40px;
  max-height: 40px;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #0f172a;
  font-size: 1rem;
  font-weight: 600;
  padding: 0 20px;
  line-height: 40px;
  outline: none;
  border-radius: 8px;
}

.rp-owner-news-tab-input:focus {
  border-color: #1d4ed8;
  box-shadow: 0 0 0 2px rgba(29, 78, 216, 0.15);
}

.rp-owner-news-tab-input:disabled {
  color: #64748b;
  background: #f8fafc;
}

.rp-owner-news-preview {
  background: #fff;
  border: 1px solid #dbe1ea;
  margin-top: 12px;
}

.rp-owner-news-inner {
  width: min(100%, 835px);
  margin: 0 auto;
  padding: 16px;
}

.rp-owner-news-nav {
  border-bottom: 2px solid #eee;
  margin-bottom: 16px;
}

.rp-owner-news-nav ul {
  display: flex;
  gap: 12px;
  list-style: none;
  overflow-x: auto;
  padding: 0 0 8px;
  margin: 0;
  scrollbar-width: none;
}

.rp-owner-news-nav ul::-webkit-scrollbar {
  display: none;
}

.rp-owner-news-nav-item {
  appearance: none;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: #555;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
}

.rp-owner-news-nav-item:hover,
.rp-owner-news-nav-item.is-active {
  color: #0073e6;
}

.rp-owner-news-hero {
  position: relative;
  margin-bottom: 18px;
  background: #0f172a;
}

.rp-owner-news-hero-media {
  display: block;
  width: 100%;
  height: 270px;
  background: #cbd5e1;
  overflow: hidden;
}

.rp-owner-news-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rp-owner-news-hero-content {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

.rp-owner-news-hero-content h4 {
  margin: 0 0 6px;
  font-size: 1.2rem;
  line-height: 1.25;
  font-weight: 700;
}

.rp-owner-news-hero-content p {
  margin: 0 0 4px;
  font-size: 0.92rem;
  line-height: 1.4;
}

.rp-owner-news-hero-content span {
  font-size: 0.82rem;
  opacity: 0.95;
}

.rp-owner-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.rp-owner-news-card h5 {
  margin: 7px 0 4px;
  color: #0f172a;
  font-size: 0.92rem;
  line-height: 1.3;
  font-weight: 700;
}

.rp-owner-news-card p {
  margin: 0;
  color: #64748b;
  font-size: 0.82rem;
  line-height: 1.35;
}

.rp-owner-news-thumb {
  display: block;
  width: 100%;
  height: 120px;
  overflow: hidden;
  background: #e2e8f0;
}

.rp-owner-news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rp-owner-news-latest-title {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
}

.rp-owner-news-latest-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.rp-owner-news-latest-card .rp-owner-news-thumb {
  height: 90px;
}

.rp-owner-news-latest-card h6 {
  margin: 6px 0 0;
  font-size: 0.82rem;
  line-height: 1.35;
  color: #0f172a;
  font-weight: 700;
}

.rp-owner-news-empty {
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #475569;
  padding: 14px;
}

.rp-owner-news-empty h4 {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
}

.rp-owner-news-empty p {
  margin: 0;
  font-size: 0.88rem;
}

.rp-owner-news-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 0.78rem;
}

.rp-owner-posts-layout {
  display: grid;
  gap: 14px;
}

.rp-owner-posts-empty {
  border: 1px solid #dbe1ea;
  background: #fff;
  border-radius: 6px;
  padding: 16px;
  color: #64748b;
  font-size: 0.92rem;
}

.rp-owner-hero-section,
.rp-owner-feed-section {
  border: 1px solid #dbe1ea;
  background: #fff;
  border-radius: 6px;
}

.rp-owner-feed-section {
  padding: 8px 10px 6px;
  overflow: visible;
}

.rp-owner-hero-section {
  --rp-owner-hero-title-color: #ffffff;
  --rp-owner-hero-subtitle-color: #f8fafc;
  --rp-owner-hero-fader-rgb: 15, 23, 42;
  padding: 0;
  overflow: hidden;
}

.rp-owner-posts-shell .rp-owner-posts-layout {
  gap: 12px;
}

.rp-owner-posts-shell .rp-owner-hero-section,
.rp-owner-posts-shell .rp-owner-feed-section {
  border: 0;
  border-radius: 6px;
  background: transparent;
}

.rp-owner-posts-shell .rp-owner-feed-section {
  padding: 0 10px 6px;
}

.rp-owner-hero-head,
.rp-owner-feed-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.rp-owner-feed-head {
  display: none;
  margin: 0;
}

.rp-owner-hero-head h3,
.rp-owner-feed-head h3 {
  margin: 0;
  color: #0f172a;
  font-size: 1rem;
  font-weight: 700;
}

.rp-owner-hero-add,
.rp-owner-feed-add {
  appearance: none;
  border: 1px solid #10b981;
  background: #ecfdf5;
  color: #059669;
  height: 34px;
  padding: 0 12px;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 7px;
  cursor: pointer;
}

.rp-owner-hero-add:hover,
.rp-owner-feed-add:hover {
  background: #d1fae5;
}

.rp-owner-hero-stage {
  position: relative;
  border-radius: inherit;
}

.rp-owner-hero-empty-template {
  width: 100%;
  height: 320px;
  border-radius: inherit;
  overflow: hidden;
  background: #f3f4f6;
}

.rp-owner-hero-empty-template svg {
  display: block;
  width: 100%;
  height: 100%;
}

.rp-owner-hero-action-stack {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 8;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.rp-owner-hero-camera-btn {
  appearance: none;
  position: relative;
  width: 34px;
  height: 34px;
  padding: 0;
  box-sizing: border-box;
  min-width: 0;
  min-height: 0;
  line-height: 0;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #334155;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 6;
}

.rp-owner-hero-camera-btn:hover {
  border-color: #94a3b8;
  background: #f8fafc;
}

.rp-owner-hero-camera-btn svg {
  width: 18px;
  height: 18px;
}

.rp-owner-hero-delete-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.rp-owner-hero-theme-wrap {
  position: relative;
}

.rp-owner-hero-theme-btn {
  color: #334155;
}

.rp-owner-hero-theme-btn:hover {
  border-color: #94a3b8;
  background: #f8fafc;
}

.rp-owner-hero-theme-panel {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  width: 144px;
  border: 1px solid #dbe1ea;
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.18);
  padding: 6px;
  z-index: 20;
}

.rp-owner-hero-theme-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 0.66rem;
  color: #334155;
}

.rp-owner-hero-theme-row + .rp-owner-hero-theme-row {
  margin-top: 4px;
}

.rp-owner-hero-theme-row span {
  font-weight: 600;
}

.rp-owner-hero-theme-row input[type="color"] {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  min-width: 22px;
  min-height: 22px;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 4px;
  cursor: pointer;
  overflow: hidden;
}

.rp-owner-hero-theme-row input[type="color"]::-webkit-color-swatch-wrapper {
  padding: 0;
}

.rp-owner-hero-theme-row input[type="color"]::-webkit-color-swatch {
  border: 1px solid #cbd5e1;
  border-radius: 4px;
}

.rp-owner-hero-theme-row input[type="color"]::-moz-color-swatch {
  border: 1px solid #cbd5e1;
  border-radius: 4px;
}

.rp-owner-hero-theme-actions {
  display: flex;
  justify-content: stretch;
  gap: 4px;
  margin-top: 6px;
}

.rp-owner-hero-theme-reset,
.rp-owner-hero-theme-save {
  appearance: none;
  flex: 1 1 0;
  border-radius: 4px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #334155;
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1.1;
  padding: 5px 6px;
  cursor: pointer;
}

.rp-owner-hero-theme-save {
  border-color: #10b981;
  background: #ecfdf5;
  color: #047857;
}

.rp-owner-hero-theme-reset:hover {
  background: #f8fafc;
}

.rp-owner-hero-theme-save:hover {
  background: #d1fae5;
}

.rp-owner-hero-theme-status {
  min-height: 10px;
  margin-top: 4px;
  font-size: 0.6rem;
  line-height: 1.1;
  color: #64748b;
}

.rp-owner-hero-theme-status.is-success {
  color: #047857;
}

.rp-owner-hero-theme-status.is-error {
  color: #b91c1c;
}

.rp-owner-hero-delete-btn {
  color: #ff0000;
}

.rp-owner-hero-delete-btn.is-active {
  color: #b91c1c;
}

.rp-owner-hero-delete-selected {
  min-width: 86px;
}

.rp-owner-hero-slide {
  position: relative;
  border-radius: inherit;
  overflow: hidden;
  background: #0f172a;
}

.rp-owner-hero-check-wrap {
  display: none;
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 8;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #cbd5e1;
}

.rp-owner-hero-stage.is-hero-delete-mode .rp-owner-hero-check-wrap {
  display: inline-flex;
}

.rp-owner-hero-check {
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.rp-owner-hero-slide.is-selected-for-delete {
  box-shadow: inset 0 0 0 3px rgba(16, 185, 129, 0.95);
}

.rp-owner-hero-stage.is-hero-delete-mode .rp-owner-hero-media,
.rp-owner-hero-stage.is-hero-delete-mode .rp-owner-hero-overlay h4 a {
  pointer-events: none;
}

.rp-owner-hero-media {
  display: block;
  width: 100%;
  height: 320px;
  background: #0f172a;
}

.rp-owner-hero-media img,
.rp-owner-hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rp-owner-hero-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  background: #0f172a;
}

.rp-owner-hero-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px;
  color: var(--rp-owner-hero-title-color, #ffffff);
  background: linear-gradient(
    180deg,
    rgba(var(--rp-owner-hero-fader-rgb, 15, 23, 42), 0) 0%,
    rgba(var(--rp-owner-hero-fader-rgb, 15, 23, 42), 0.9) 78%
  );
}

.rp-owner-hero-overlay h4 {
  margin: 0 0 4px;
  font-size: 1.12rem;
  line-height: 1.25;
  color: var(--rp-owner-hero-title-color, #ffffff) !important;
}

.rp-owner-hero-overlay h4 a {
  color: var(--rp-owner-hero-title-color, #ffffff) !important;
  text-decoration: none;
}

.rp-owner-hero-title.is-bold {
  font-weight: 800;
  font-size: 1.24rem;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.rp-owner-hero-title.is-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 31px;
  padding: 5px 14px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 10px;
  line-height: 1.15;
  font-weight: 700;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0.04) 100%
  ),
  var(--rp-owner-hero-button-color, #1e293b);
  box-shadow:
    0 6px 16px rgba(2, 6, 23, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transition: filter 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.rp-owner-hero-title.is-pill.is-bold {
  font-size: 1.16rem;
  font-weight: 800;
}

.rp-owner-hero-title.is-pill:hover {
  filter: brightness(0.93);
  box-shadow:
    0 8px 18px rgba(2, 6, 23, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.rp-owner-hero-title.is-pill:active {
  transform: translateY(1px);
}

.rp-owner-hero-overlay p {
  margin: 0 0 6px;
  font-size: 0.88rem;
  line-height: 1.35;
  color: var(--rp-owner-hero-subtitle-color, #f8fafc) !important;
}

.rp-owner-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.76rem;
  color: var(--rp-owner-hero-subtitle-color, #f8fafc) !important;
  opacity: 0.92;
}

.rp-owner-hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  --rp-hero-nav-inset: 14px;
  --rp-hero-chevron-size: 12px;
  --rp-hero-chevron-stroke: 3px;
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  max-width: 40px;
  max-height: 40px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: transparent;
  font-size: 0;
  line-height: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-indent: 0;
  overflow: visible;
  box-shadow: none;
  opacity: 0.95;
  transition: opacity 0.15s ease;
}

.rp-owner-hero-nav::before {
  content: "";
  display: block;
  flex: 0 0 auto;
  width: var(--rp-hero-chevron-size);
  height: var(--rp-hero-chevron-size);
  border-top: var(--rp-hero-chevron-stroke) solid #ffffff;
  border-right: var(--rp-hero-chevron-stroke) solid #ffffff;
  box-sizing: border-box;
  filter: drop-shadow(0 1px 2px rgba(2, 6, 23, 0.7));
}

.rp-owner-hero-nav:hover {
  opacity: 1;
}

.rp-owner-hero-nav.is-prev {
  left: var(--rp-hero-nav-inset);
}

.rp-owner-hero-nav.is-prev::before {
  transform: rotate(-135deg);
}

.rp-owner-hero-nav.is-next {
  right: calc(var(--rp-hero-nav-inset) - 16px);
}

.rp-owner-hero-nav.is-next::before {
  transform: rotate(45deg);
}

.rp-owner-hero-dots {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
}

.rp-owner-hero-dot {
  width: 8px;
  height: 8px;
  min-width: 8px;
  min-height: 8px;
  max-width: 8px;
  max-height: 8px;
  padding: 0;
  line-height: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}

.rp-owner-hero-dot.is-active {
  background: #10b981;
}

.rp-owner-posts-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  overflow: visible;
}

.rp-owner-post-card {
  border: 1px solid #dbe1ea;
  border-radius: 9px;
  background: #fff;
  padding: 0;
  overflow: visible;
  position: relative;
}

.rp-owner-post-card[data-owner-post-card] {
  cursor: pointer;
}

.rp-owner-post-thumb {
  display: block;
  width: 100%;
  height: 170px;
  background: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-top-left-radius: 9px;
  border-top-right-radius: 9px;
}

.rp-owner-post-thumb img,
.rp-owner-post-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.rp-owner-post-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 0.82rem;
}

.rp-owner-post-body {
  padding: 8px 10px 9px;
}

.rp-owner-post-headline-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.rp-owner-post-title {
  flex: 1 1 auto;
  min-width: 0;
  color: #0f172a;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.2;
}

.rp-owner-post-title.is-bold {
  font-weight: 800;
}

.rp-owner-post-title.is-pill {
  flex: 0 1 auto;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  background: #e0f2fe;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rp-owner-post-title:hover {
  color: #0ea5e9;
}

.rp-owner-post-title.is-pill:hover {
  background: #dbeafe;
  border-color: #93c5fd;
}

.rp-owner-post-actions {
  flex: 0 0 auto;
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.rp-owner-post-actions > .relative {
  display: inline-flex;
  align-items: center;
  width: auto;
  position: relative;
  overflow: visible;
}

#owner-posts-card .rp-owner-post-actions .rp-owner-post-menu-wrap > button,
#owner-posts-card .rp-owner-post-demo-dots {
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  min-height: 22px !important;
  max-width: 22px !important;
  max-height: 22px !important;
  padding: 0 !important;
  margin: 0;
  line-height: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

#owner-posts-card .rp-owner-post-title {
  min-width: 0 !important;
  min-height: 0 !important;
}

#owner-posts-card .rp-owner-post-actions .rp-owner-post-menu-wrap > button svg,
#owner-posts-card .rp-owner-post-demo-dots svg {
  width: 18px;
  height: 18px;
  display: block;
  transform: translateY(-3px);
}

.rp-owner-post-actions .rp-owner-post-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  left: auto;
  width: 142px;
  min-width: 142px;
  margin-top: 0;
  border: 1px solid #dbe1ea;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.18);
  overflow: hidden;
  z-index: 2147483000;
}

#owner-posts-card,
#owner-posts-card .rp-owner-posts-shell,
#owner-posts-card .rp-owner-posts-list,
#owner-posts-card .rp-owner-posts-layout,
#owner-posts-card .rp-owner-feed-section,
#owner-posts-card .rp-owner-posts-grid,
#owner-posts-card .rp-owner-post-card,
#owner-posts-card .rp-owner-post-headline-row,
#owner-posts-card .rp-owner-post-actions,
#owner-posts-card .rp-owner-post-menu-wrap {
  overflow: visible !important;
}

/* Stop global [class*="card"] rules from adding extra white space inside post cards. */
#owner-posts-card .rp-owner-post-card {
  padding: 0 !important;
  margin: 0;
}

.rp-owner-post-actions .rp-owner-post-menu > * + * {
  border-top: 1px solid #e2e8f0;
}

.rp-owner-post-actions .rp-owner-post-menu-form {
  margin: 0;
  width: 100%;
}

.rp-owner-post-actions .rp-owner-post-menu-item {
  appearance: none;
  width: 100%;
  border: 0;
  background: #ffffff;
  color: #0f172a;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  text-align: left;
  padding: 9px 10px;
  cursor: pointer;
}

.rp-owner-post-actions .rp-owner-post-menu-item:hover {
  background: #f8fafc;
}

.rp-owner-post-actions .rp-owner-post-menu-item-danger {
  color: #dc2626;
}

.rp-owner-post-demo-dots {
  appearance: none;
  width: 22px;
  height: 22px;
  border: 0;
  background: transparent;
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
}

.rp-owner-post-demo-dots svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.rp-owner-demo-menu-wrap {
  position: relative;
}

.rp-owner-demo-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  width: 118px;
  min-width: 118px;
  border: 1px solid #dbe1ea;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.18);
  z-index: 150;
  overflow: hidden;
}

/* Keep menu styling even when JS portals it to body. */
.rp-owner-post-menu {
  width: 142px;
  min-width: 142px;
  border: 1px solid #dbe1ea;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.18);
  overflow: hidden;
}

.rp-owner-post-menu > * + * {
  border-top: 1px solid #e2e8f0;
}

.rp-owner-post-menu-form {
  margin: 0;
  width: 100%;
}

.rp-owner-post-menu-item {
  appearance: none;
  width: 100%;
  border: 0;
  background: #ffffff;
  color: #0f172a;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  text-align: left;
  padding: 9px 10px;
  cursor: pointer;
}

.rp-owner-post-menu-item:hover {
  background: #f8fafc;
}

.rp-owner-post-menu-item-danger {
  color: #dc2626;
}

.rp-owner-post-excerpt {
  margin: 6px 0 5px;
  color: #334155;
  font-size: 0.74rem;
  line-height: 1.3;
}

.rp-owner-post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 0.65rem;
  line-height: 1.16;
  color: #64748b;
}

.rp-owner-post-tag {
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  padding: 2px 6px;
  min-height: 18px;
  background: #f8fafc;
  color: #334155;
  font-weight: 700;
  font-size: 0.56rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}

.rp-owner-posts-pagination {
  margin-top: 6px;
}

@media (max-width: 1200px) {
  .rp-owner-posts-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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

  .rp-owner-posts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  #owner-posts-card > .rp-owner-posts-head {
    padding: 8px 10px !important;
    gap: 8px !important;
  }

  #owner-posts-card .rp-owner-posts-title {
    font-size: 1.2rem !important;
    line-height: 1.2 !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    display: block !important;
  }

  #owner-posts-card .rp-owner-posts-top-actions {
    gap: 5px !important;
  }

  #owner-posts-card .rp-owner-top-btn-tooltip {
    min-width: 128px;
    max-width: 168px;
    font-size: 0.62rem;
    padding: 5px 7px;
  }

  #owner-posts-card .rp-owner-posts-top-btn {
    height: 28px !important;
    min-height: 28px !important;
    max-height: 28px !important;
    padding: 0 8px !important;
    font-size: 0.78rem !important;
    border-radius: 7px !important;
    line-height: 1 !important;
  }

  #owner-posts-card .rp-owner-posts-top-btn-icon {
    width: 11px !important;
    height: 11px !important;
  }

  .rp-owner-posts-news {
    padding: 0 10px 14px;
  }

  .rp-owner-posts-controls {
    padding: 10px;
  }

  .rp-owner-posts-list {
    margin-top: 4px;
  }

  .rp-owner-news-grid,
  .rp-owner-news-latest-grid {
    grid-template-columns: 1fr;
  }

  .rp-owner-news-tab-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .rp-owner-news-editor-row {
    gap: 6px;
  }

  .rp-owner-news-tab-row {
    gap: 6px;
    justify-items: start;
  }

  .rp-owner-news-tab-input {
    font-size: 0.78rem;
    padding: 0 8px;
  }

  .rp-owner-news-danger-btn {
    font-size: 0.68rem;
    padding: 6px 8px;
  }

  #owner-posts-card .rp-owner-news-bulk-wrap .rp-owner-news-icon-btn,
  .rp-owner-news-bulk-wrap .rp-owner-news-icon-btn {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    max-width: 28px !important;
    min-height: 28px !important;
    max-height: 28px !important;
    border-radius: 5px !important;
    padding: 0 !important;
    line-height: 0 !important;
  }

  #owner-posts-card .rp-owner-news-bulk-wrap .rp-owner-news-icon-btn svg,
  .rp-owner-news-bulk-wrap .rp-owner-news-icon-btn svg {
    width: 14px !important;
    height: 14px !important;
  }

  #owner-posts-card .rp-owner-hero-action-stack .rp-owner-news-icon-btn,
  #owner-posts-card .rp-owner-hero-action-stack .rp-owner-hero-camera-btn,
  .rp-owner-hero-action-stack .rp-owner-news-icon-btn,
  .rp-owner-hero-action-stack .rp-owner-hero-camera-btn {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    max-width: 30px !important;
    min-height: 30px !important;
    max-height: 30px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    line-height: 0 !important;
    border-radius: 5px !important;
  }

  #owner-posts-card .rp-owner-hero-action-stack .rp-owner-news-icon-btn svg,
  #owner-posts-card .rp-owner-hero-action-stack .rp-owner-hero-camera-btn svg,
  .rp-owner-hero-action-stack .rp-owner-news-icon-btn svg,
  .rp-owner-hero-action-stack .rp-owner-hero-camera-btn svg {
    width: 15px !important;
    height: 15px !important;
  }

  #owner-posts-card .rp-owner-news-tab-input {
    height: 28px !important;
    min-height: 28px !important;
    max-height: 28px !important;
    min-width: 0 !important;
    max-width: 100% !important;
    padding: 0 8px !important;
    line-height: 28px !important;
    box-sizing: border-box !important;
    border-radius: 7px !important;
    font-size: 0.78rem !important;
  }

  #owner-posts-card .rp-owner-hero-action-stack {
    top: 4px !important;
    right: 4px !important;
    gap: 6px !important;
  }

  .rp-owner-news-hero-media {
    height: 210px;
  }

  .rp-owner-feed-section { padding: 8px; }
  .rp-owner-hero-section { padding: 0; }
  .rp-owner-posts-shell .rp-owner-feed-section { padding: 0 8px 6px; }

  .rp-owner-hero-head,
  .rp-owner-feed-head {
    margin-bottom: 8px;
  }

  .rp-owner-hero-add,
  .rp-owner-feed-add {
    height: 32px;
    font-size: 0.76rem;
    padding: 0 10px;
  }

  .rp-owner-hero-media {
    height: 250px;
  }

  .rp-owner-hero-empty-template {
    height: 250px;
  }

  .rp-owner-hero-nav {
    --rp-hero-nav-inset: 10px;
    --rp-hero-chevron-size: 10px;
    --rp-hero-chevron-stroke: 2.5px;
    width: 34px;
    height: 34px;
    min-width: 34px;
    min-height: 34px;
    max-width: 34px;
    max-height: 34px;
  }

  .rp-owner-hero-nav.is-prev {
    left: var(--rp-hero-nav-inset);
  }

  .rp-owner-hero-nav.is-next {
    right: calc(var(--rp-hero-nav-inset) - 17px);
  }

  .rp-owner-hero-dots {
    bottom: 8px;
    gap: 5px;
  }

  .rp-owner-hero-dot {
    width: 7px;
    height: 7px;
    min-width: 7px;
    min-height: 7px;
    max-width: 7px;
    max-height: 7px;
  }
}
