/* ============================================
   PLATFORM REVIEW TEMPLATE CSS
   Mobile-first, app-like design
   Primary color: #2C5282
   ============================================ */

:root {
    --pr-primary: #2C5282;
    --pr-primary-dark: #1e3a5f;
    --pr-primary-light: #4a7ab0;
    --pr-text: #1a202c;
    --pr-text-light: #64748b;
    --pr-border: #e2e8f0;
    --pr-bg: #f8fafc;
    --pr-white: #ffffff;
    --pr-success: #16a34a;
    --pr-warning: #f59e0b;
    --pr-radius: 12px;
    --pr-radius-sm: 8px;
    --pr-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --pr-shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --pr-transition: 0.3s ease;
}

/* ============================================
   MOBILE HEADER
   ============================================ */

.pr-mobile-header {
    display: block;
    background: var(--pr-primary);
    color: var(--pr-white);
    padding: 12px 16px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.pr-mobile-header-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pr-back-btn,
.pr-share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: var(--pr-white);
    text-decoration: none;
    cursor: pointer;
    transition: var(--pr-transition);
}

.pr-back-btn:hover,
.pr-share-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.pr-mobile-title {
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pr-mobile-subtitle {
    margin: 8px 0 0;
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.4;
}

/* Hide mobile header on desktop */
@media (min-width: 901px) {
    .pr-mobile-header {
        display: none;
    }
}

/* ============================================
   FULL-BLEED HERO (Desktop only)
   Used for both single reviews and archives
   ============================================ */

.pr-hero {
    display: none;
    background: var(--pr-primary);
    color: var(--pr-white);
    padding: 48px 24px 100px;
    text-align: center;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

@media (min-width: 901px) {
    .pr-hero {
        display: block;
    }
}

.pr-hero-inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero breadcrumbs */
.pr-hero .pr-breadcrumbs {
    font-size: 14px;
    margin-bottom: 20px;
    opacity: 1;
}

.pr-hero .pr-breadcrumbs a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: var(--pr-transition);
}

.pr-hero .pr-breadcrumbs a:hover {
    color: var(--pr-white);
    text-decoration: underline;
}

.pr-breadcrumb-sep {
    margin: 0 8px;
    opacity: 0.5;
    color: var(--pr-white);
}

.pr-breadcrumb-current {
    color: rgba(255, 255, 255, 0.7);
}

/* Hero title */
.pr-hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--pr-white);
    margin: 0 0 16px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

/* Hero subtitle */
.pr-hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 20px;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero badges */
.pr-hero-badges {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.pr-hero-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--pr-white);
}

/* ============================================
   ARCHIVE HERO (Desktop only) - Legacy support
   ============================================ */

.pr-archive-hero {
    display: none;
    background: var(--pr-primary);
    color: var(--pr-white);
    padding: 48px 24px 80px;
    text-align: center;
}

@media (min-width: 901px) {
    .pr-archive-hero {
        display: block;
    }
}

.pr-archive-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.pr-breadcrumbs {
    font-size: 14px;
    margin-bottom: 16px;
    opacity: 0.9;
}

.pr-breadcrumbs a {
    color: var(--pr-white);
    text-decoration: none;
    transition: var(--pr-transition);
}

.pr-breadcrumbs a:hover {
    text-decoration: underline;
}

.pr-breadcrumbs .separator {
    margin: 0 8px;
    opacity: 0.6;
}

.pr-breadcrumbs .current {
    opacity: 0.8;
}

.pr-archive-title {
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 12px;
    line-height: 1.2;
}

.pr-archive-subtitle {
    font-size: 18px;
    margin: 0;
    opacity: 0.9;
    line-height: 1.6;
}

/* ============================================
   ARCHIVE CONTAINER (overlaps hero)
   ============================================ */

.pr-archive-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 16px;
    background: var(--pr-white);
}

@media (min-width: 901px) {
    .pr-archive-container {
        margin-top: -60px;
        margin-bottom: 40px;
        padding: 32px;
        border-radius: var(--pr-radius);
        box-shadow: var(--pr-shadow-lg);
        position: relative;
        z-index: 10;
    }
}

/* ============================================
   FILTER TABS
   ============================================ */

.pr-filter-tabs-wrapper {
    margin-bottom: 24px;
    position: sticky;
    top: 64px;
    z-index: 50;
    background: var(--pr-white);
    margin-left: -16px;
    margin-right: -16px;
    padding: 0 16px 16px;
    border-bottom: 1px solid var(--pr-border);
}

@media (min-width: 901px) {
    .pr-filter-tabs-wrapper {
        position: static;
        margin-left: 0;
        margin-right: 0;
        padding: 0 0 24px;
        border-bottom: 2px solid var(--pr-border);
    }
}

.pr-filter-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 4px;
}

.pr-filter-tabs::-webkit-scrollbar {
    display: none;
}

.pr-filter-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: var(--pr-bg);
    border: 2px solid var(--pr-border);
    border-radius: 24px;
    text-decoration: none;
    color: var(--pr-text);
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    transition: var(--pr-transition);
}

.pr-filter-tab:hover {
    border-color: var(--pr-primary);
    color: var(--pr-primary);
}

.pr-filter-tab.active {
    background: var(--pr-primary);
    border-color: var(--pr-primary);
    color: var(--pr-white);
}

.pr-tab-count {
    font-size: 12px;
    opacity: 0.7;
}

/* ============================================
   CARDS GRID WRAPPER
   ============================================ */

.pr-cards-grid {
    margin-bottom: 40px;
    /* Wrapper for shortcode output - no additional styling needed */
}

/* ============================================
   SEO CONTENT SECTION
   ============================================ */

.pr-seo-content {
    margin: 40px 0;
    padding: 32px;
    background: var(--pr-bg);
    border-radius: var(--pr-radius);
    border: 1px solid var(--pr-border);
}

.pr-seo-content h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--pr-text);
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--pr-primary);
}

.pr-seo-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--pr-text);
    margin: 24px 0 12px;
}

.pr-seo-content p {
    color: var(--pr-text);
    line-height: 1.7;
    margin: 0 0 16px;
}

.pr-seo-content p:last-child {
    margin-bottom: 0;
}

.pr-seo-content a {
    color: var(--pr-primary);
    font-weight: 500;
    text-decoration: none;
}

.pr-seo-content a:hover {
    text-decoration: underline;
}

/* ============================================
   CROSS-LINKS SECTION
   ============================================ */

.pr-cross-links {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 2px solid var(--pr-border);
}

.pr-cross-links-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--pr-text);
    margin: 0 0 20px;
    text-align: center;
}

.pr-cross-links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

@media (min-width: 600px) {
    .pr-cross-links-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.pr-cross-link-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 12px;
    background: var(--pr-bg);
    border: 2px solid var(--pr-border);
    border-radius: var(--pr-radius-sm);
    text-decoration: none;
    color: var(--pr-text);
    transition: var(--pr-transition);
}

.pr-cross-link-card:hover {
    border-color: var(--pr-primary);
    background: var(--pr-white);
    transform: translateY(-2px);
    box-shadow: var(--pr-shadow);
}

.pr-cross-link-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--pr-primary);
    color: var(--pr-white);
    border-radius: 50%;
}

.pr-cross-link-text {
    font-size: 13px;
    font-weight: 600;
    text-align: center;
}

/* ============================================
   SINGLE PAGE - BREADCRUMBS (Desktop)
   ============================================ */

.pr-single-breadcrumbs-wrapper {
    display: none;
    background: var(--pr-bg);
    border-bottom: 1px solid var(--pr-border);
    padding: 16px 24px;
}

@media (min-width: 901px) {
    .pr-single-breadcrumbs-wrapper {
        display: block;
    }
}

.pr-single-breadcrumbs-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pr-single-breadcrumbs-container .pr-breadcrumbs {
    margin-bottom: 0;
    opacity: 1;
}

.pr-single-breadcrumbs-container .pr-breadcrumbs a {
    color: var(--pr-primary);
}

.pr-single-breadcrumbs-container .pr-breadcrumbs .current {
    color: var(--pr-text-light);
}

.pr-share-btn-desktop {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--pr-white);
    border: 2px solid var(--pr-border);
    border-radius: 24px;
    color: var(--pr-text);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--pr-transition);
}

.pr-share-btn-desktop:hover {
    border-color: var(--pr-primary);
    color: var(--pr-primary);
}

/* ============================================
   SINGLE PAGE - CONTAINER (overlaps hero)
   ============================================ */

.pr-single-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 16px;
    background: var(--pr-white);
}

@media (min-width: 901px) {
    .pr-single-container {
        margin-top: -60px;
        padding: 32px 40px;
        border-radius: var(--pr-radius);
        box-shadow: var(--pr-shadow-lg);
        position: relative;
        z-index: 10;
    }
}

/* ============================================
   DISCLOSURE
   ============================================ */

.pr-disclosure {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 10px 12px;
    background: var(--pr-bg);
    border: 1px solid var(--pr-border);
    border-radius: var(--pr-radius-sm);
    font-size: 13px;
    margin-bottom: 16px;
}

.pr-disclosure-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--pr-primary);
    color: var(--pr-white);
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
}

.pr-disclosure-text {
    color: var(--pr-text-light);
}

.pr-disclosure-link {
    color: var(--pr-primary);
    font-weight: 500;
    text-decoration: none;
    margin-left: auto;
}

.pr-disclosure-link:hover {
    text-decoration: underline;
}

/* ============================================
   BADGES
   ============================================ */

.pr-type-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.pr-badge {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.pr-badge-updated {
    background: #e0f2fe;
    color: #0369a1;
}

.pr-badge-type {
    background: #dbeafe;
    color: #1e40af;
}

.pr-badge-gpt {
    background: #dbeafe;
    color: #1e40af;
}

.pr-badge-survey {
    background: #dcfce7;
    color: #166534;
}

.pr-badge-cashback {
    background: #fef3c7;
    color: #92400e;
}

.pr-badge-offerwall {
    background: #f3e8ff;
    color: #7c3aed;
}

.pr-badge-category {
    background: #e0e7ff;
    color: #4338ca;
}

/* ============================================
   SINGLE TITLE
   ============================================ */

.pr-single-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--pr-text);
    margin: 0 0 16px;
    line-height: 1.3;
}

@media (min-width: 600px) {
    .pr-single-title {
        font-size: 32px;
    }
}

/* ============================================
   INTRO SUMMARY & TEXT
   ============================================ */

.pr-intro-summary {
    background: var(--pr-bg);
    border: 1px solid var(--pr-border);
    border-radius: var(--pr-radius-sm);
    padding: 16px;
    margin-bottom: 20px;
    line-height: 1.7;
}

.pr-intro-summary p {
    margin: 0 0 12px;
    color: var(--pr-text);
}

.pr-intro-summary p:last-child {
    margin-bottom: 0;
}

.pr-intro-text {
    font-size: 16px;
    color: var(--pr-text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.pr-intro-text p {
    margin: 0 0 12px;
}

.pr-intro-text p:last-child {
    margin-bottom: 0;
}

/* ============================================
   ALERTS
   ============================================ */

.pr-alert {
    display: flex;
    gap: 12px;
    padding: 16px;
    border-radius: var(--pr-radius-sm);
    margin-bottom: 20px;
}

.pr-alert-tips {
    background: #f3e8ff;
    border-left: 4px solid #7c3aed;
}

.pr-alert-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #7c3aed;
    color: var(--pr-white);
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}

.pr-alert-content h3 {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 700;
    color: #581c87;
}

.pr-alert-content p {
    margin: 0 0 8px;
    font-size: 14px;
    color: #581c87;
    line-height: 1.5;
}

.pr-alert-content p:last-child {
    margin-bottom: 0;
}

.pr-alert-link {
    display: inline-block;
    margin-top: 8px;
    color: #7c3aed;
    font-weight: 600;
    text-decoration: none;
}

.pr-alert-link:hover {
    text-decoration: underline;
}

.pr-alert-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 8px;
}

/* ============================================
   REVIEW CARD WRAPPER
   ============================================ */

.pr-review-card-wrapper {
    margin: 24px 0;
}

/* ============================================
   CTA BUTTONS
   ============================================ */

.pr-btn-primary {
    display: inline-block;
    background: var(--pr-primary);
    color: var(--pr-white) !important;
    padding: 14px 28px;
    border-radius: var(--pr-radius-sm);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none !important;
    text-align: center;
    transition: var(--pr-transition);
}

.pr-btn-primary:hover {
    background: var(--pr-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(44, 82, 130, 0.3);
}

.pr-btn-large {
    padding: 18px 36px;
    font-size: 18px;
}

.pr-mid-cta,
.pr-final-cta {
    text-align: center;
    margin: 32px 0;
}

.pr-mid-cta .pr-btn-primary,
.pr-final-cta .pr-btn-primary {
    width: 100%;
    max-width: 400px;
}

/* ============================================
   PERSONAL EXPERIENCE
   ============================================ */

.pr-personal-experience {
    background: #fffbeb;
    border-left: 4px solid #f59e0b;
    border-radius: 0 var(--pr-radius-sm) var(--pr-radius-sm) 0;
    padding: 16px;
    margin: 24px 0;
    line-height: 1.7;
}

.pr-experience-label {
    display: block;
    font-weight: 700;
    color: #b45309;
    margin-bottom: 8px;
    font-size: 14px;
}

.pr-personal-experience p {
    margin: 0 0 10px;
    color: var(--pr-text);
}

.pr-personal-experience p:last-child {
    margin-bottom: 0;
}

/* ============================================
   SECTION HEADINGS
   ============================================ */

.pr-section-heading {
    font-size: 22px;
    font-weight: 700;
    color: var(--pr-text);
    margin: 40px 0 20px;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--pr-primary);
}

/* ============================================
   REVIEW CONTENT
   ============================================ */

.pr-full-review {
    margin: 40px 0;
}

.pr-review-content {
    line-height: 1.8;
    color: var(--pr-text);
}

.pr-review-content h2 {
    font-size: 22px;
    font-weight: 700;
    margin: 32px 0 16px;
    color: var(--pr-text);
    border-bottom: 2px solid var(--pr-border);
    padding-bottom: 8px;
}

.pr-review-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 24px 0 12px;
    color: var(--pr-text);
}

.pr-review-content p {
    margin: 0 0 16px;
}

.pr-review-content ul,
.pr-review-content ol {
    margin: 16px 0 16px 20px;
}

.pr-review-content li {
    margin-bottom: 8px;
}

.pr-review-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--pr-radius-sm);
    margin: 20px 0;
}

/* ============================================
   COMPARE SECTION
   ============================================ */

.pr-compare-section {
    margin: 40px 0;
}

.pr-compare-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

@media (max-width: 500px) {
    .pr-compare-links {
        grid-template-columns: 1fr;
    }
}

.pr-compare-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: var(--pr-bg);
    border: 2px solid var(--pr-border);
    border-radius: var(--pr-radius-sm);
    text-decoration: none;
    color: var(--pr-text);
    font-weight: 500;
    transition: var(--pr-transition);
}

.pr-compare-link:hover {
    border-color: var(--pr-primary);
    background: var(--pr-white);
}

.pr-compare-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--pr-primary);
    color: var(--pr-white);
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
}

/* ============================================
   RELATED REVIEWS
   ============================================ */

.pr-related-section {
    margin: 40px 0;
}

.pr-related-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media (min-width: 600px) {
    .pr-related-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}

.pr-related-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--pr-bg);
    border: 2px solid var(--pr-border);
    border-radius: var(--pr-radius-sm);
    text-decoration: none;
    transition: var(--pr-transition);
}

.pr-related-card:hover {
    border-color: var(--pr-primary);
    background: var(--pr-white);
    transform: translateY(-2px);
    box-shadow: var(--pr-shadow);
}

.pr-related-logo {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.pr-related-logo img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 6px;
    background: var(--pr-white);
}

.pr-logo-placeholder {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--pr-primary);
    color: var(--pr-white);
    border-radius: 6px;
    font-weight: 700;
    font-size: 16px;
}

.pr-related-info {
    flex: 1;
    min-width: 0;
}

.pr-related-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--pr-text);
    margin: 0 0 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pr-related-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
}

.pr-stars {
    color: #fbbf24;
}

.pr-rating-num {
    color: var(--pr-text-light);
}

.pr-related-arrow {
    color: var(--pr-text-light);
    transition: var(--pr-transition);
}

.pr-related-card:hover .pr-related-arrow {
    color: var(--pr-primary);
    transform: translateX(4px);
}

/* ============================================
   OFFERWALL RANKINGS
   ============================================ */

.pr-offerwall-rankings {
    margin: 32px 0;
}

.pr-offerwall-rankings h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--pr-text);
    margin: 0 0 8px;
}

.pr-offerwall-rankings > p {
    color: var(--pr-text-light);
    margin: 0 0 20px;
}

.pr-search-cta {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 2px solid #bae6fd;
    border-radius: var(--pr-radius-sm);
    padding: 20px;
    text-align: center;
    margin-top: 20px;
}

.pr-search-cta p {
    margin: 0 0 12px;
    color: #0369a1;
    font-weight: 500;
}

/* ============================================
   SHARE MODAL
   ============================================ */

.pr-share-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.pr-share-modal.active {
    display: flex;
}

.pr-share-modal-content {
    background: var(--pr-white);
    border-radius: var(--pr-radius);
    padding: 24px;
    width: 100%;
    max-width: 360px;
    position: relative;
}

.pr-share-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--pr-bg);
    border: none;
    border-radius: 50%;
    font-size: 24px;
    color: var(--pr-text-light);
    cursor: pointer;
    transition: var(--pr-transition);
}

.pr-share-modal-close:hover {
    background: var(--pr-border);
    color: var(--pr-text);
}

.pr-share-modal-content h3 {
    margin: 0 0 20px;
    font-size: 18px;
    font-weight: 600;
    color: var(--pr-text);
}

.pr-share-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.pr-share-option {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    background: var(--pr-bg);
    border: 2px solid var(--pr-border);
    border-radius: var(--pr-radius-sm);
    text-decoration: none;
    color: var(--pr-text);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--pr-transition);
}

.pr-share-option:hover {
    border-color: var(--pr-primary);
    background: var(--pr-white);
}

/* ============================================
   PAGE BACKGROUNDS
   ============================================ */

body.single-platform-review,
body.post-type-archive-platform-review,
body.tax-platform-type {
    background: var(--pr-bg) !important;
}

/* ============================================
   RESPONSIVE OVERRIDES
   ============================================ */

@media (max-width: 600px) {
    .pr-single-title {
        font-size: 22px;
    }

    .pr-section-heading {
        font-size: 18px;
    }

    .pr-review-content h2 {
        font-size: 18px;
    }

    .pr-review-content h3 {
        font-size: 16px;
    }

    .pr-alert {
        flex-direction: column;
        gap: 8px;
    }

    .pr-disclosure {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .pr-disclosure-link {
        margin-left: 0;
    }
}

/* ============================================
   LEGACY SUPPORT - Keep old shortcode styling working
   ============================================ */

/* Allow old shortcode output to still render properly */
.platform-comprehensive-card,
.platform-card {
    max-width: 100% !important;
}

/* Override old colors to new primary */
.btn-primary,
.review-btn-primary,
.header-signup-btn,
.visit-website-btn {
    background: var(--pr-primary) !important;
    border-color: var(--pr-primary) !important;
}

.btn-primary:hover,
.review-btn-primary:hover,
.header-signup-btn:hover,
.visit-website-btn:hover {
    background: var(--pr-primary-dark) !important;
    border-color: var(--pr-primary-dark) !important;
}

.rating-btn,
.rating-btn-static {
    background: var(--pr-primary) !important;
    border-color: var(--pr-primary) !important;
}

.rating-btn:hover:not(:disabled) {
    background: var(--pr-primary-dark) !important;
    border-color: var(--pr-primary-dark) !important;
}

.stat-value,
.quick-jump a,
.other-reviews a,
.compare-link {
    color: var(--pr-primary) !important;
}

.sidebar-cta {
    background: var(--pr-primary) !important;
}

.filter-tab.active {
    background: var(--pr-primary) !important;
    border-color: var(--pr-primary) !important;
}

.sidebar-filter-list a.active {
    background: var(--pr-primary) !important;
}

/* Remove old sidebar styles - no longer needed */
.review-wrapper {
    display: block !important;
}

.review-sidebar {
    display: none !important;
}

.review-main {
    max-width: 100% !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

/* ============================================
   ARCHIVE CARDS - Ranked Review Cards
   ============================================ */

.pr-archive-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pr-card {
    display: flex;
    align-items: stretch;
    gap: 16px;
    padding: 20px;
    background: var(--pr-white);
    border: 1px solid var(--pr-border);
    border-radius: var(--pr-radius);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: var(--pr-transition);
    position: relative;
}

.pr-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* Rank number */
.pr-card-rank {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    flex-shrink: 0;
}

.pr-rank-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--pr-bg);
    border: 2px solid var(--pr-border);
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    color: var(--pr-text-light);
}

/* Top 3 highlighting */
.pr-card-top1,
.pr-card-top2,
.pr-card-top3 {
    border-color: var(--pr-primary);
    border-width: 2px;
}

.pr-card-top1 .pr-rank-num {
    background: var(--pr-primary);
    border-color: var(--pr-primary);
    color: var(--pr-white);
}

.pr-card-top2 .pr-rank-num,
.pr-card-top3 .pr-rank-num {
    background: var(--pr-primary-light);
    border-color: var(--pr-primary-light);
    color: var(--pr-white);
}

.pr-card-top1::before {
    content: "Top Pick";
    position: absolute;
    top: -1px;
    right: 16px;
    background: var(--pr-primary);
    color: var(--pr-white);
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 0 0 6px 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Card image/logo */
.pr-card-img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: var(--pr-white);
    border: 2px solid var(--pr-border);
    border-radius: var(--pr-radius-sm);
    flex-shrink: 0;
    overflow: hidden;
    text-decoration: none;
}

.pr-card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.pr-card-img-placeholder {
    font-size: 28px;
    font-weight: 700;
    color: var(--pr-primary);
}

/* Main content area */
.pr-card-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
}

/* Header row */
.pr-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.pr-card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--pr-primary);
    text-decoration: none;
    line-height: 1.3;
}

.pr-card-title:hover {
    color: var(--pr-primary-dark);
    text-decoration: underline;
}

.pr-card-type {
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pr-type-gpt { background: #dbeafe; color: #1e40af; }
.pr-type-survey { background: #dcfce7; color: #166534; }
.pr-type-cashback { background: #fef3c7; color: #92400e; }
.pr-type-offerwall { background: #f3e8ff; color: #7c3aed; }

/* Editor rating */
.pr-card-rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    background: #fef3c7;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
}

.pr-rating-stars {
    color: #f59e0b;
}

.pr-rating-num {
    color: #92400e;
}

/* Description */
.pr-card-desc {
    font-size: 14px;
    color: var(--pr-text-light);
    line-height: 1.5;
    margin: 0;
}

/* Stats row */
.pr-card-stats {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pr-stat {
    display: inline-block;
    padding: 4px 10px;
    background: var(--pr-bg);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    color: var(--pr-text-light);
}

.pr-stat-bonus {
    background: #dcfce7;
    color: #166534;
    font-weight: 600;
}

.pr-stat-tp {
    color: #00b67a;
}

/* Right side actions */
.pr-card-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-shrink: 0;
    min-width: 100px;
}

/* Voting buttons */
.pr-card-voting {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pr-vote-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--pr-bg);
    border: 1px solid var(--pr-border);
    border-radius: 8px;
    cursor: pointer;
    color: var(--pr-text-light);
    transition: all 0.15s ease;
    padding: 0;
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.pr-vote-btn svg {
    width: 18px;
    height: 18px;
}

.pr-vote-btn:hover {
    border-color: var(--pr-primary);
    color: var(--pr-primary);
}

.pr-vote-btn.pr-vote-up:hover {
    background: #dcfce7;
    border-color: #16a34a;
    color: #16a34a;
}

.pr-vote-btn.pr-vote-down:hover {
    background: #fee2e2;
    border-color: #dc2626;
    color: #dc2626;
}

.pr-vote-btn:active {
    transform: scale(0.95);
}

.pr-vote-btn.voted {
    pointer-events: none;
    opacity: 0.4;
}

.pr-vote-btn.voting {
    opacity: 0.5;
    cursor: wait;
}

/* Highlight the button user voted with */
.pr-vote-btn.voted-active.pr-vote-up {
    background: #dcfce7;
    border-color: #16a34a;
    color: #16a34a;
}

.pr-vote-btn.voted-active.pr-vote-down {
    background: #fee2e2;
    border-color: #dc2626;
    color: #dc2626;
}

.pr-vote-count {
    font-size: 16px;
    font-weight: 700;
    color: var(--pr-text);
    min-width: 24px;
    text-align: center;
    transition: all 0.2s ease;
}

.pr-vote-count.vote-updated {
    animation: voteCountBump 0.3s ease;
    color: #16a34a;
}

@keyframes voteCountBump {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); }
}

/* CTA Button */
.pr-card-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background: var(--pr-primary);
    color: var(--pr-white) !important;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.15s ease;
}

.pr-card-cta:hover {
    background: var(--pr-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(44, 82, 130, 0.3);
}

/* Vote summary on cards */
.pr-card-votes {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--pr-text-light);
}

.pr-card-votes.pr-no-votes {
    font-style: italic;
    opacity: 0.7;
}

.pr-votes-summary {
    color: var(--pr-text-light);
}

.pr-positive-count {
    color: #16a34a;
    font-weight: 600;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .pr-archive-cards {
        gap: 12px;
    }

    .pr-card {
        flex-wrap: wrap;
        padding: 16px;
        gap: 12px;
    }

    .pr-card-rank {
        width: 36px;
    }

    .pr-rank-num {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .pr-card-img {
        width: 60px;
        height: 60px;
    }

    .pr-card-main {
        flex: 1 1 calc(100% - 120px);
        min-width: 0;
    }

    .pr-card-header {
        gap: 8px;
    }

    .pr-card-title {
        font-size: 16px;
    }

    .pr-card-desc {
        font-size: 13px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .pr-card-stats {
        gap: 6px;
    }

    .pr-stat {
        font-size: 11px;
        padding: 3px 8px;
    }

    .pr-card-actions {
        flex-direction: row;
        width: 100%;
        justify-content: space-between;
        align-items: center;
        min-width: auto;
        padding-top: 12px;
        border-top: 1px solid var(--pr-border);
        margin-top: 4px;
    }

    .pr-card-voting {
        gap: 6px;
    }

    .pr-vote-btn {
        width: 32px;
        height: 32px;
    }

    .pr-vote-btn svg {
        width: 16px;
        height: 16px;
    }

    .pr-vote-count {
        font-size: 14px;
    }

    .pr-card-cta {
        padding: 10px 20px;
        font-size: 13px;
    }
}

/* ============================================
   COMMENTS PREVIEW (Social Proof)
   ============================================ */

.pr-comments-preview {
    background: var(--pr-white);
    border-radius: var(--pr-radius);
    padding: 20px;
    margin-bottom: 24px;
    border: 1px solid var(--pr-border);
}

.pr-comments-preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 12px;
}

.pr-comments-preview-header h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    color: var(--pr-text);
    margin: 0;
}

.pr-comments-preview-header h3 svg {
    color: var(--pr-primary);
}

.pr-comments-preview-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: var(--pr-primary);
    text-decoration: none;
    font-weight: 500;
}

.pr-comments-preview-link:hover {
    text-decoration: underline;
}

.pr-comments-preview-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.pr-comment-preview-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: var(--pr-bg);
    border-radius: var(--pr-radius-sm);
}

.pr-comment-preview-avatar img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.pr-comment-preview-content {
    flex: 1;
    min-width: 0;
}

.pr-comment-preview-author {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--pr-text);
    margin-bottom: 4px;
}

.pr-comment-preview-text {
    font-size: 13px;
    color: var(--pr-text-light);
    margin: 0;
    line-height: 1.5;
}

.pr-comments-preview-cta {
    display: block;
    text-align: center;
    padding: 10px 16px;
    background: var(--pr-bg);
    border: 1px solid var(--pr-border);
    border-radius: var(--pr-radius-sm);
    color: var(--pr-primary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all var(--pr-transition);
}

.pr-comments-preview-cta:hover {
    background: var(--pr-primary);
    color: var(--pr-white);
    border-color: var(--pr-primary);
}

@media (max-width: 600px) {
    .pr-comments-preview {
        padding: 16px;
    }

    .pr-comments-preview-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .pr-comment-preview-item {
        padding: 10px;
    }
}

/* ============================================
   USER COMMENTS SECTION
   ============================================ */

.pr-comments-section {
    background: var(--pr-white);
    border-radius: var(--pr-radius);
    padding: 24px;
    margin-bottom: 24px;
    border: 1px solid var(--pr-border);
}

.pr-comments-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 600;
    color: var(--pr-text);
    margin: 0 0 8px 0;
}

.pr-comments-title svg {
    color: var(--pr-primary);
}

.pr-comments-description {
    color: var(--pr-text-light);
    font-size: 14px;
    margin: 0 0 20px 0;
}

/* Login prompt */
.pr-login-to-comment {
    background: var(--pr-bg);
    border-radius: var(--pr-radius-sm);
    padding: 24px;
    text-align: center;
    border: 1px dashed var(--pr-border);
}

.pr-login-to-comment p {
    color: var(--pr-text-light);
    margin: 0 0 16px 0;
    font-size: 14px;
}

.pr-login-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--pr-primary);
    color: var(--pr-white);
    padding: 12px 24px;
    border-radius: var(--pr-radius-sm);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: background var(--pr-transition);
}

.pr-login-btn:hover {
    background: var(--pr-primary-dark);
    color: var(--pr-white);
}

/* Comment form */
.pr-comment-form {
    margin-bottom: 24px;
}

.pr-logged-in-as {
    font-size: 13px;
    color: var(--pr-text-light);
    margin-bottom: 12px;
}

.pr-logged-in-as a {
    color: var(--pr-primary);
    text-decoration: none;
}

.pr-logged-in-as a:hover {
    text-decoration: underline;
}

.pr-comment-field textarea {
    width: 100%;
    min-height: 100px;
    padding: 12px 16px;
    border: 1px solid var(--pr-border);
    border-radius: var(--pr-radius-sm);
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    transition: border-color var(--pr-transition), box-shadow var(--pr-transition);
}

.pr-comment-field textarea:focus {
    outline: none;
    border-color: var(--pr-primary);
    box-shadow: 0 0 0 3px rgba(44, 82, 130, 0.1);
}

.pr-comment-submit {
    background: var(--pr-primary);
    color: var(--pr-white);
    border: none;
    padding: 12px 24px;
    border-radius: var(--pr-radius-sm);
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: background var(--pr-transition);
    margin-top: 12px;
}

.pr-comment-submit:hover {
    background: var(--pr-primary-dark);
}

/* Comments list */
.pr-comments-list {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--pr-border);
}

.pr-comments-count {
    font-size: 16px;
    font-weight: 600;
    color: var(--pr-text);
    margin: 0 0 16px 0;
}

.pr-comments {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pr-comment {
    margin-bottom: 16px;
}

.pr-comment-body {
    background: var(--pr-bg);
    border-radius: var(--pr-radius-sm);
    padding: 16px;
}

.pr-comment-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.pr-comment-avatar .pr-avatar {
    border-radius: 50%;
    width: 48px;
    height: 48px;
}

.pr-comment-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pr-comment-author {
    font-weight: 600;
    color: var(--pr-text);
    font-size: 14px;
}

.pr-comment-date {
    color: var(--pr-text-light);
    font-size: 12px;
}

.pr-comment-content {
    color: var(--pr-text);
    font-size: 14px;
    line-height: 1.6;
}

.pr-comment-content p {
    margin: 0;
}

.pr-comment-pending {
    color: var(--pr-warning);
    font-style: italic;
    font-size: 13px;
}

.pr-comment-footer {
    margin-top: 12px;
}

.pr-comment-footer .comment-reply-link {
    color: var(--pr-primary);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
}

.pr-comment-footer .comment-reply-link:hover {
    text-decoration: underline;
}

/* Nested comments */
.pr-comments .children {
    list-style: none;
    margin: 16px 0 0 24px;
    padding: 0;
}

/* Comment navigation */
.comment-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--pr-border);
}

.comment-navigation a {
    color: var(--pr-primary);
    text-decoration: none;
    font-size: 14px;
}

.comment-navigation a:hover {
    text-decoration: underline;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .pr-comments-section {
        padding: 16px;
        margin: 0 -16px 16px;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }

    .pr-comments-title {
        font-size: 18px;
    }

    .pr-login-to-comment {
        padding: 20px 16px;
    }

    .pr-comment-body {
        padding: 12px;
    }

    .pr-comment-avatar .pr-avatar {
        width: 40px;
        height: 40px;
    }

    .pr-comments .children {
        margin-left: 16px;
    }
}
