/*
Theme Name:  PressReleaseBox
Theme URI:   https://pressreleasebox.com
Author:      PressReleaseBox Team
Author URI:  https://pressreleasebox.com
Description: Professional SaaS-style Press Release Distribution Platform. Includes CPT, frontend submission, user dashboard, admin moderation, Razorpay payments, and SEO-optimized single PR pages.
Version:     1.0.0
Requires at least: 6.0
Tested up to:      6.5
Requires PHP:      8.0
License:           GPL v2 or later
License URI:       https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:       pressreleasebox
Tags: press-release, news, pr-distribution, saas, custom-post-type, razorpay

This theme, like WordPress, is licensed under the GPL.
*/

/* ──────────────────────────────────────────────────────────────
   CSS CUSTOM PROPERTIES (Design Tokens)
   ────────────────────────────────────────────────────────────── */
:root {
  --ink:        #0d0d0f;
  --ink2:       #2a2a30;
  --ink3:       #5a5a6a;
  --ink4:       #9090a0;
  --paper:      #fafaf8;
  --paper2:     #f3f3ef;
  --paper3:     #e8e8e2;
  --gold:       #c8973a;
  --gold2:      #e8b85a;
  --gold-light: #fdf3e3;
  --teal:       #1a7a6a;
  --teal-light: #e3f4f0;
  --red:        #c0382b;
  --red-light:  #fdeaea;
  --blue:       #1a4fa8;
  --blue-light: #e8eef9;
  --rule:       1px solid rgba(0,0,0,0.08);
  --rule2:      1px solid rgba(0,0,0,0.14);
  --radius:     4px;
  --radius2:    8px;
  --radius3:    12px;
  font-size:    16px;
}

/* ──────────────────────────────────────────────────────────────
   RESET & BASE
   ────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* ──────────────────────────────────────────────────────────────
   TOPBAR
   ────────────────────────────────────────────────────────────── */
.prb-topbar {
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  padding: 7px 0;
  text-align: center;
  letter-spacing: 0.02em;
}
.prb-topbar a { color: var(--gold2); text-decoration: none; }

/* ──────────────────────────────────────────────────────────────
   NAVIGATION
   ────────────────────────────────────────────────────────────── */
.prb-nav {
  background: var(--paper);
  border-bottom: var(--rule2);
  position: sticky;
  top: 0;
  z-index: 100;
}
.prb-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 0 24px;
  height: 64px;
  gap: 0;
}
.prb-logo {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  margin-right: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.prb-logo-icon {
  width: 28px; height: 28px;
  background: var(--gold);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}
.prb-nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  flex: 1;
}
.prb-nav-links li > a,
.prb-nav-links .menu-item > a {
  display: block;
  padding: 0 16px;
  height: 64px;
  line-height: 64px;
  font-size: 14px;
  font-weight: 400;
  color: var(--ink3);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.prb-nav-links li > a:hover,
.prb-nav-links .current-menu-item > a {
  color: var(--ink);
  border-color: var(--gold);
  font-weight: 500;
}
.prb-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

/* Mobile hamburger */
.prb-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}
.prb-hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.2s;
}

/* ──────────────────────────────────────────────────────────────
   BUTTONS
   ────────────────────────────────────────────────────────────── */
.prb-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid transparent;
  transition: all 0.15s;
  white-space: nowrap;
  font-family: inherit;
  line-height: 1;
}
.prb-btn-outline {
  background: transparent;
  border-color: var(--paper3);
  color: var(--ink2);
}
.prb-btn-outline:hover { border-color: var(--ink3); }
.prb-btn-primary {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}
.prb-btn-primary:hover { background: #b8872a; border-color: #b8872a; color: #fff; }
.prb-btn-dark {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.prb-btn-dark:hover { background: var(--ink2); color: #fff; }
.prb-btn-danger {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}
.prb-btn-success {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}
.prb-btn-sm  { padding: 7px 14px; font-size: 13px; }
.prb-btn-lg  { padding: 14px 28px; font-size: 15px; }

/* ──────────────────────────────────────────────────────────────
   HERO
   ────────────────────────────────────────────────────────────── */
.prb-hero {
  background: var(--ink);
  color: #fff;
  padding: 72px 24px 80px;
  position: relative;
  overflow: hidden;
}
.prb-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    rgba(255,255,255,0.015) 0px,
    rgba(255,255,255,0.015) 1px,
    transparent 1px,
    transparent 80px
  );
  pointer-events: none;
}
.prb-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.prb-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(200,151,58,0.15);
  border: 1px solid rgba(200,151,58,0.3);
  color: var(--gold2);
  border-radius: 100px;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.prb-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 700;
  line-height: 1.12;
  max-width: 720px;
  margin-bottom: 20px;
}
.prb-hero h1 em { color: var(--gold2); font-style: normal; }
.prb-hero-lead {
  font-size: 18px;
  color: rgba(255,255,255,0.65);
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.7;
}
.prb-hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}
.prb-hero-stats {
  display: flex;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 36px;
}
.prb-hero-stat {
  flex: 1;
  padding-right: 40px;
  border-right: 1px solid rgba(255,255,255,0.1);
  margin-right: 40px;
}
.prb-hero-stat:last-child { border-right: none; margin-right: 0; }
.prb-hero-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 700;
  color: #fff;
}
.prb-hero-stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-top: 2px;
}

/* ──────────────────────────────────────────────────────────────
   TICKER
   ────────────────────────────────────────────────────────────── */
.prb-ticker {
  background: var(--gold);
  padding: 10px 0;
  overflow: hidden;
}
.prb-ticker-inner {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: prb-ticker-scroll 30s linear infinite;
}
.prb-ticker-item {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.prb-ticker-dot {
  width: 4px; height: 4px;
  background: var(--ink2);
  border-radius: 50%;
}
@keyframes prb-ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ──────────────────────────────────────────────────────────────
   SECTIONS
   ────────────────────────────────────────────────────────────── */
.prb-section { padding: 72px 24px; }
.prb-section-inner { max-width: 1200px; margin: 0 auto; }
.prb-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
  gap: 24px;
}
.prb-section-title {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
}
.prb-section-title span { color: var(--gold); }
.prb-section-sub { font-size: 14px; color: var(--ink3); margin-top: 6px; }

/* ──────────────────────────────────────────────────────────────
   FILTER BAR
   ────────────────────────────────────────────────────────────── */
.prb-filter-bar {
  background: #fff;
  border: var(--rule2);
  border-radius: var(--radius2);
  padding: 16px 20px;
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 28px;
  flex-wrap: wrap;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.prb-filter-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 140px;
}
.prb-filter-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--ink4);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.prb-filter-select,
.prb-filter-input {
  border: var(--rule2);
  border-radius: var(--radius);
  padding: 8px 12px;
  font-size: 14px;
  font-family: inherit;
  color: var(--ink);
  background: var(--paper);
  outline: none;
  transition: border-color 0.15s;
  width: 100%;
}
.prb-filter-select:focus,
.prb-filter-input:focus { border-color: var(--gold); }
.prb-filter-divider {
  width: 1px;
  height: 36px;
  background: var(--paper3);
  flex-shrink: 0;
}

/* ──────────────────────────────────────────────────────────────
   PR CARDS
   ────────────────────────────────────────────────────────────── */
.prb-pr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}
.prb-pr-card {
  background: #fff;
  border: var(--rule2);
  border-radius: var(--radius2);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.prb-pr-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}
.prb-pr-card-image {
  height: 160px;
  background: var(--paper2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  position: relative;
  overflow: hidden;
}
.prb-pr-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.prb-pr-card-cat {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--ink);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  z-index: 1;
}
.prb-pr-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.prb-pr-card-meta {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  color: var(--ink4);
  margin-bottom: 10px;
}
.prb-pr-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.prb-pr-card-excerpt {
  font-size: 13.5px;
  color: var(--ink3);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.prb-pr-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: var(--rule);
  padding-top: 14px;
  margin-top: auto;
}
.prb-pr-card-company { font-size: 12px; font-weight: 500; color: var(--ink2); }
.prb-pr-card-stats { display: flex; gap: 12px; }
.prb-pr-stat {
  font-size: 12px;
  color: var(--ink4);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ──────────────────────────────────────────────────────────────
   FEATURED PR
   ────────────────────────────────────────────────────────────── */
.prb-featured-pr {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius2);
  padding: 36px;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 36px;
  align-items: center;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}
.prb-featured-pr::before {
  content: 'FEATURED';
  position: absolute;
  top: 20px; right: 20px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gold2);
  border: 1px solid rgba(200,151,58,0.4);
  padding: 4px 10px;
  border-radius: 100px;
}
.prb-featured-cat {
  background: rgba(200,151,58,0.15);
  color: var(--gold2);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 100px;
  display: inline-block;
  margin-bottom: 14px;
}
.prb-featured-pr h3 {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 12px;
  color: #fff;
}
.prb-featured-pr p {
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
  margin-bottom: 20px;
}
.prb-featured-meta {
  display: flex;
  gap: 20px;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}

/* ──────────────────────────────────────────────────────────────
   CATEGORY GRID
   ────────────────────────────────────────────────────────────── */
.prb-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}
.prb-cat-card {
  background: #fff;
  border: var(--rule2);
  border-radius: var(--radius2);
  padding: 20px 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
  color: var(--ink);
  display: block;
}
.prb-cat-card:hover { border-color: var(--gold); background: var(--gold-light); color: var(--ink); }
.prb-cat-icon { font-size: 28px; margin-bottom: 8px; }
.prb-cat-name { font-size: 13px; font-weight: 500; margin-bottom: 3px; }
.prb-cat-count { font-size: 12px; color: var(--ink4); }

/* ──────────────────────────────────────────────────────────────
   STEPS (How It Works)
   ────────────────────────────────────────────────────────────── */
.prb-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  counter-reset: steps;
}
.prb-step { position: relative; }
.prb-step-num {
  width: 40px; height: 40px;
  background: var(--gold);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}
.prb-step h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--ink);
}
.prb-step p { font-size: 14px; color: var(--ink3); line-height: 1.65; }

/* ──────────────────────────────────────────────────────────────
   SUBMISSION FORM
   ────────────────────────────────────────────────────────────── */
.prb-submit-section { background: var(--paper2); }
.prb-submit-card {
  background: #fff;
  border: var(--rule2);
  border-radius: var(--radius3);
  padding: 40px;
  max-width: 800px;
}
.prb-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.prb-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}
.prb-form-label { font-size: 13px; font-weight: 500; color: var(--ink2); }
.prb-form-label .required { color: var(--red); }
.prb-form-input,
.prb-form-select,
.prb-form-textarea {
  border: var(--rule2);
  border-radius: var(--radius);
  padding: 10px 14px;
  font-size: 14px;
  font-family: inherit;
  color: var(--ink);
  background: var(--paper);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  width: 100%;
}
.prb-form-input:focus,
.prb-form-select:focus,
.prb-form-textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200,151,58,0.12);
}
.prb-form-textarea { resize: vertical; min-height: 200px; line-height: 1.65; }
.prb-form-error { font-size: 12px; color: var(--red); margin-top: 4px; }

.prb-editor-toolbar {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  border: var(--rule2);
  border-bottom: none;
  border-radius: var(--radius) var(--radius) 0 0;
  padding: 8px 10px;
  background: var(--paper2);
}
.prb-editor-btn {
  border: none;
  background: transparent;
  padding: 5px 8px;
  border-radius: 3px;
  cursor: pointer;
  font-size: 13px;
  color: var(--ink3);
  font-family: inherit;
  transition: background 0.1s;
}
.prb-editor-btn:hover { background: var(--paper3); color: var(--ink); }
.prb-editor-area {
  border: var(--rule2);
  border-radius: 0 0 var(--radius) var(--radius);
  border-top: none;
  padding: 14px;
  min-height: 220px;
  font-size: 14px;
  line-height: 1.7;
  font-family: inherit;
  outline: none;
}
.prb-upload-zone {
  border: 1.5px dashed var(--paper3);
  border-radius: var(--radius2);
  padding: 32px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.prb-upload-zone:hover,
.prb-upload-zone.dragover { border-color: var(--gold); background: var(--gold-light); }
.prb-upload-icon { font-size: 32px; margin-bottom: 8px; }
.prb-upload-text { font-size: 14px; color: var(--ink3); }
.prb-upload-hint { font-size: 12px; color: var(--ink4); margin-top: 4px; }
.prb-char-counter { font-size: 12px; color: var(--ink4); text-align: right; margin-top: 4px; }

/* ──────────────────────────────────────────────────────────────
   PRICING PLANS
   ────────────────────────────────────────────────────────────── */
.prb-plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.prb-plan-card {
  background: #fff;
  border: var(--rule2);
  border-radius: var(--radius3);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.prb-plan-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.08); }
.prb-plan-card.popular { border: 2px solid var(--gold); }
.prb-plan-popular-badge {
  position: absolute;
  top: 0; right: 24px;
  background: var(--gold);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: 0 0 6px 6px;
  text-transform: uppercase;
}
.prb-plan-name {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink3);
  margin-bottom: 12px;
}
.prb-plan-price {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}
.prb-plan-price sup { font-size: 20px; vertical-align: super; }
.prb-plan-period { font-size: 13px; color: var(--ink4); margin-top: 4px; margin-bottom: 20px; }
.prb-plan-divider { height: 1px; background: var(--paper3); margin: 20px 0; }
.prb-plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.prb-plan-feature {
  font-size: 13.5px;
  color: var(--ink2);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.prb-plan-check { color: var(--teal); font-size: 14px; flex-shrink: 0; margin-top: 1px; }
.prb-plan-x     { color: var(--ink4); font-size: 14px; flex-shrink: 0; margin-top: 1px; }

/* ──────────────────────────────────────────────────────────────
   SINGLE PR PAGE
   ────────────────────────────────────────────────────────────── */
.prb-single-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
}
.prb-single-header { margin-bottom: 32px; }
.prb-single-cat-badge {
  display: inline-block;
  background: var(--gold-light);
  color: var(--gold);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
  text-decoration: none;
}
.prb-single-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--ink);
}
.prb-single-meta {
  display: flex;
  gap: 20px;
  font-size: 13px;
  color: var(--ink4);
  flex-wrap: wrap;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: var(--rule2);
}
.prb-single-meta span { display: flex; align-items: center; gap: 5px; }
.prb-single-featured-img {
  width: 100%;
  border-radius: var(--radius2);
  margin-bottom: 32px;
  max-height: 440px;
  object-fit: cover;
}
.prb-single-content {
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink2);
}
.prb-single-content p { margin-bottom: 1.5em; }
.prb-single-content h2 { font-family: 'Playfair Display', serif; font-size: 22px; margin: 2em 0 0.75em; }
.prb-single-content h3 { font-size: 18px; font-weight: 600; margin: 1.5em 0 0.5em; }

/* Sidebar */
.prb-single-sidebar {}
.prb-sidebar-card {
  background: #fff;
  border: var(--rule2);
  border-radius: var(--radius2);
  padding: 20px;
  margin-bottom: 20px;
}
.prb-sidebar-card-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink4);
  margin-bottom: 14px;
}

/* Share buttons */
.prb-share-btns { display: flex; flex-direction: column; gap: 8px; }
.prb-share-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  color: #fff;
  transition: opacity 0.15s;
}
.prb-share-btn:hover { opacity: 0.85; color: #fff; }
.prb-share-twitter { background: #000; }
.prb-share-linkedin { background: #0077b5; }
.prb-share-facebook { background: #1877f2; }
.prb-share-whatsapp { background: #25d366; }

/* Contact box */
.prb-contact-box { font-size: 13px; }
.prb-contact-row {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 0;
  border-bottom: var(--rule);
}
.prb-contact-row:last-child { border-bottom: none; }
.prb-contact-label { font-size: 11px; color: var(--ink4); text-transform: uppercase; letter-spacing: 0.06em; }
.prb-contact-val { font-weight: 500; color: var(--ink2); word-break: break-all; }

/* ──────────────────────────────────────────────────────────────
   DASHBOARD (Frontend)
   ────────────────────────────────────────────────────────────── */
.prb-dashboard-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  min-height: 80vh;
}
.prb-dash-sidebar {
  background: #fff;
  border: var(--rule2);
  border-radius: var(--radius2);
  padding: 8px 0;
  align-self: start;
  position: sticky;
  top: 80px;
}
.prb-dash-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  font-size: 14px;
  color: var(--ink3);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s;
  border-left: 2px solid transparent;
}
.prb-dash-nav-item:hover { color: var(--ink); background: var(--paper); }
.prb-dash-nav-item.active { color: var(--gold); border-left-color: var(--gold); background: var(--gold-light); font-weight: 500; }
.prb-dash-content {}
.prb-dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.prb-dash-title {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
}
.prb-stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}
.prb-stat-card {
  background: #fff;
  border: var(--rule2);
  border-radius: var(--radius2);
  padding: 18px;
}
.prb-stat-card-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink4);
  margin-bottom: 6px;
}
.prb-stat-card-num {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
}
.prb-stat-card-sub { font-size: 12px; color: var(--ink4); margin-top: 3px; }

/* Table */
.prb-table-wrap {
  background: #fff;
  border: var(--rule2);
  border-radius: var(--radius2);
  overflow: hidden;
}
.prb-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
.prb-table th {
  background: var(--paper2);
  padding: 12px 16px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink4);
  border-bottom: var(--rule2);
}
.prb-table td {
  padding: 14px 16px;
  border-bottom: var(--rule);
  color: var(--ink2);
  vertical-align: middle;
}
.prb-table tr:last-child td { border-bottom: none; }
.prb-table tr:hover td { background: var(--paper); }

.prb-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.prb-status-published { background: var(--teal-light); color: var(--teal); }
.prb-status-pending   { background: #fff8e8; color: #7a5a00; }
.prb-status-rejected  { background: var(--red-light); color: var(--red); }
.prb-status-draft     { background: var(--blue-light); color: var(--blue); }

/* ──────────────────────────────────────────────────────────────
   ADMIN PANEL (Frontend Admin Preview styles)
   ────────────────────────────────────────────────────────────── */
.prb-admin-body {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 0;
  min-height: 80vh;
}
.prb-admin-sidebar {
  background: var(--ink2);
  color: #fff;
  padding: 20px 0;
  border-radius: var(--radius2) 0 0 var(--radius2);
}
.prb-admin-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  font-size: 13px;
  cursor: pointer;
  color: rgba(255,255,255,0.6);
  transition: all 0.15s;
  text-decoration: none;
}
.prb-admin-menu-item:hover { background: rgba(255,255,255,0.06); color: #fff; }
.prb-admin-menu-item.active { background: rgba(200,151,58,0.15); color: var(--gold2); border-left: 2px solid var(--gold); }
.prb-admin-main { background: var(--paper2); padding: 28px; border-radius: 0 var(--radius2) var(--radius2) 0; }

/* Review items */
.prb-review-list { display: flex; flex-direction: column; gap: 0; }
.prb-review-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-bottom: var(--rule);
  background: #fff;
  transition: background 0.15s;
}
.prb-review-item:last-child { border-bottom: none; }
.prb-review-item:hover { background: var(--paper); }
.prb-urgency-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.prb-urgency-high   { background: var(--red); }
.prb-urgency-med    { background: var(--gold); }
.prb-urgency-normal { background: var(--teal); }
.prb-review-item-info { flex: 1; }
.prb-review-item-title { font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: 3px; }
.prb-review-item-meta { font-size: 12px; color: var(--ink4); }
.prb-review-actions { display: flex; gap: 6px; flex-shrink: 0; }
.prb-review-btn {
  padding: 5px 12px;
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  font-family: inherit;
}
.prb-review-btn.edit    { background: var(--blue-light); color: var(--blue); border-color: #c0cff2; }
.prb-review-btn.reject  { background: var(--red-light); color: var(--red); border-color: #e8b8b8; }
.prb-review-btn.approve { background: var(--teal-light); color: var(--teal); border-color: #b0dcd6; }

/* ──────────────────────────────────────────────────────────────
   TESTIMONIALS
   ────────────────────────────────────────────────────────────── */
.prb-testimonials {
  background: var(--ink);
  color: rgba(255,255,255,0.6);
  padding: 72px 24px;
}
.prb-testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.prb-testi-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius2);
  padding: 28px;
}
.prb-testi-stars { color: var(--gold); font-size: 16px; margin-bottom: 14px; }
.prb-testi-text { font-size: 14px; line-height: 1.75; color: rgba(255,255,255,0.7); margin-bottom: 20px; }
.prb-testi-author { display: flex; align-items: center; gap: 12px; }
.prb-testi-avatar {
  width: 38px; height: 38px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  color: #fff;
  flex-shrink: 0;
}
.prb-testi-name { font-size: 14px; font-weight: 600; color: #fff; }
.prb-testi-role { font-size: 12px; color: rgba(255,255,255,0.45); }

/* ──────────────────────────────────────────────────────────────
   NOTICES
   ────────────────────────────────────────────────────────────── */
.prb-notice {
  border-radius: var(--radius2);
  padding: 12px 16px;
  font-size: 13.5px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.prb-notice-info    { background: var(--blue-light); color: var(--blue); }
.prb-notice-success { background: var(--teal-light); color: var(--teal); }
.prb-notice-warn    { background: #fff8e8; color: #7a5a00; }
.prb-notice-error   { background: var(--red-light); color: var(--red); }

/* ──────────────────────────────────────────────────────────────
   TABS
   ────────────────────────────────────────────────────────────── */
.prb-tabs { display: flex; gap: 0; border-bottom: var(--rule2); margin-bottom: 24px; }
.prb-tab {
  padding: 10px 20px;
  font-size: 14px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  color: var(--ink3);
  transition: color 0.15s, border-color 0.15s;
  text-decoration: none;
  display: block;
}
.prb-tab:hover { color: var(--ink); }
.prb-tab.active { color: var(--ink); border-color: var(--gold); font-weight: 500; }

/* ──────────────────────────────────────────────────────────────
   FOOTER
   ────────────────────────────────────────────────────────────── */
.prb-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.5);
  padding: 64px 24px 32px;
}
.prb-footer-inner { max-width: 1200px; margin: 0 auto; }
.prb-footer-top {
  display: grid;
  grid-template-columns: 260px repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.prb-footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.prb-footer-desc { font-size: 13px; line-height: 1.7; margin-bottom: 20px; }
.prb-footer-social { display: flex; gap: 8px; }
.prb-footer-social-btn {
  width: 34px; height: 34px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  text-decoration: none;
  transition: background 0.15s;
}
.prb-footer-social-btn:hover { background: rgba(255,255,255,0.15); color: #fff; }
.prb-footer-col-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.8);
  margin-bottom: 14px;
}
.prb-footer-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.prb-footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.15s;
}
.prb-footer-links a:hover { color: var(--gold2); }
.prb-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  flex-wrap: wrap;
  gap: 12px;
}
.prb-footer-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.prb-footer-badge {
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 100px;
  padding: 4px 12px;
  font-size: 11px;
}

/* ──────────────────────────────────────────────────────────────
   PAGE NAV
   ────────────────────────────────────────────────────────────── */
.prb-page-nav {
  background: #fff;
  border-bottom: var(--rule2);
  position: sticky;
  top: 64px;
  z-index: 90;
}
.prb-page-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.prb-page-nav-inner::-webkit-scrollbar { display: none; }
.prb-page-nav-item {
  padding: 0 20px;
  height: 44px;
  line-height: 44px;
  font-size: 13px;
  color: var(--ink3);
  white-space: nowrap;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.15s;
  text-decoration: none;
  display: block;
}
.prb-page-nav-item:hover { color: var(--ink); }
.prb-page-nav-item.active { color: var(--gold); border-color: var(--gold); font-weight: 500; }

/* ──────────────────────────────────────────────────────────────
   LOAD MORE / PAGINATION
   ────────────────────────────────────────────────────────────── */
.prb-load-more-wrap { text-align: center; margin-top: 36px; }
.prb-pagination {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
  margin-top: 36px;
}
.prb-pagination a,
.prb-pagination span {
  min-width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: var(--rule2);
  border-radius: var(--radius);
  font-size: 14px;
  text-decoration: none;
  color: var(--ink3);
  transition: all 0.15s;
}
.prb-pagination .current,
.prb-pagination a:hover {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}

/* ──────────────────────────────────────────────────────────────
   AUTH PAGES
   ────────────────────────────────────────────────────────────── */
.prb-auth-wrap {
  min-height: calc(100vh - 128px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  background: var(--paper2);
}
.prb-auth-card {
  background: #fff;
  border: var(--rule2);
  border-radius: var(--radius3);
  padding: 40px;
  width: 100%;
  max-width: 440px;
}
.prb-auth-logo {
  text-align: center;
  margin-bottom: 28px;
}
.prb-auth-title {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
}
.prb-auth-sub {
  font-size: 14px;
  color: var(--ink4);
  text-align: center;
  margin-bottom: 28px;
}
.prb-auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  font-size: 12px;
  color: var(--ink4);
}
.prb-auth-divider::before,
.prb-auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--paper3);
}
.prb-auth-footer {
  text-align: center;
  margin-top: 20px;
  font-size: 13px;
  color: var(--ink3);
}
.prb-auth-footer a { color: var(--gold); font-weight: 500; text-decoration: none; }

/* ──────────────────────────────────────────────────────────────
   LOADING OVERLAY
   ────────────────────────────────────────────────────────────── */
.prb-spinner {
  display: inline-block;
  width: 18px; height: 18px;
  border: 2px solid rgba(200,151,58,0.3);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: prb-spin 0.7s linear infinite;
}
@keyframes prb-spin {
  to { transform: rotate(360deg); }
}

.prb-loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* ──────────────────────────────────────────────────────────────
   BREADCRUMBS
   ────────────────────────────────────────────────────────────── */
.prb-breadcrumb {
  font-size: 13px;
  color: var(--ink4);
  padding: 12px 0;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.prb-breadcrumb a { color: var(--ink3); text-decoration: none; transition: color 0.15s; }
.prb-breadcrumb a:hover { color: var(--gold); }
.prb-breadcrumb-sep { color: var(--paper3); }

/* ──────────────────────────────────────────────────────────────
   EMPTY STATES
   ────────────────────────────────────────────────────────────── */
.prb-empty {
  text-align: center;
  padding: 60px 24px;
  color: var(--ink3);
}
.prb-empty-icon { font-size: 48px; margin-bottom: 16px; }
.prb-empty-title { font-size: 18px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.prb-empty-sub { font-size: 14px; margin-bottom: 24px; }

/* ──────────────────────────────────────────────────────────────
   SKIP LINK (Accessibility)
   ────────────────────────────────────────────────────────────── */
.prb-skip-link {
  position: absolute;
  left: -999px;
  top: 6px;
  z-index: 999;
  background: var(--gold);
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.prb-skip-link:focus { left: 10px; }

/* ──────────────────────────────────────────────────────────────
   RESPONSIVE
   ────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .prb-footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .prb-footer-brand { grid-column: 1 / -1; }
  .prb-single-layout { grid-template-columns: 1fr; }
  .prb-dashboard-layout { grid-template-columns: 1fr; }
  .prb-dash-sidebar { position: static; display: flex; flex-wrap: wrap; gap: 0; }
}
@media (max-width: 768px) {
  .prb-nav-links,
  .prb-nav-actions { display: none; }
  .prb-nav-links.open { display: flex; flex-direction: column; }
  .prb-hamburger { display: flex; }

  .prb-hero-stats { flex-direction: column; }
  .prb-hero-stat { border-right: none; margin-right: 0; padding-right: 0; padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.1); }

  .prb-form-row { grid-template-columns: 1fr; }
  .prb-footer-top { grid-template-columns: 1fr 1fr; }
  .prb-admin-body { grid-template-columns: 1fr; }
  .prb-admin-sidebar { display: none; }
  .prb-stats-row { grid-template-columns: 1fr 1fr; }
  .prb-plan-grid { grid-template-columns: 1fr; }
  .prb-pr-grid { grid-template-columns: 1fr; }
  .prb-featured-pr { grid-template-columns: 1fr; }
  .prb-filter-bar { flex-direction: column; align-items: stretch; }
  .prb-filter-divider { display: none; }
  .prb-table-wrap { overflow-x: auto; }
}
@media (max-width: 480px) {
  .prb-footer-top { grid-template-columns: 1fr; }
  .prb-auth-card { padding: 28px 20px; }
  .prb-submit-card { padding: 24px 16px; }
  .prb-hero { padding: 48px 16px 56px; }
}

/* ──────────────────────────────────────────────────────────────
   WP CORE ALIGNMENT CLASSES
   ────────────────────────────────────────────────────────────── */
.alignnone  { margin: 5px 20px 20px 0; }
.aligncenter { display: block; margin: 0 auto 20px; }
.alignright  { float: right; margin: 5px 0 20px 20px; }
.alignleft   { float: left;  margin: 5px 20px 20px 0; }
.wp-caption  { max-width: 100%; }
.wp-caption-text { font-size: 12px; color: var(--ink4); margin-top: 6px; }

/* Screen reader text */
.screen-reader-text {
  clip: rect(1px,1px,1px,1px);
  height: 1px; width: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
}
