/* VPS Host Reviews — vhrev.css */

/* ── Variables ──────────────────────────────────────────────────────── */
:root {
    --vhrev-primary:   #0057ff;
    --vhrev-accent:    #ff6b00;
    --vhrev-green:     #16a34a;
    --vhrev-red:       #dc2626;
    --vhrev-bg:        #f8fafc;
    --vhrev-card-bg:   #ffffff;
    --vhrev-border:    #e2e8f0;
    --vhrev-text:      #1e293b;
    --vhrev-muted:     #64748b;
    --vhrev-radius:    8px;
    --vhrev-shadow:    0 2px 8px rgba(0,0,0,.08);
}

/* ── Reset for plugin elements ──────────────────────────────────────── */
.vhrev-wrap *, .vhrev-wrap *::before, .vhrev-wrap *::after {
    box-sizing: border-box;
}

/* ── Outer wrapper ──────────────────────────────────────────────────── */
.vhrev-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 1rem;
    color: var(--vhrev-text);
    font-family: system-ui, -apple-system, sans-serif;
    line-height: 1.6;
}

/* ── Breadcrumb ─────────────────────────────────────────────────────── */
.vhrev-breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem .5rem;
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    font-size: .875rem;
    color: var(--vhrev-muted);
}
.vhrev-breadcrumb li + li::before { content: '›'; margin-right: .5rem; }
.vhrev-breadcrumb a { color: var(--vhrev-primary); text-decoration: none; }
.vhrev-breadcrumb a:hover { text-decoration: underline; }

/* ── Layout ─────────────────────────────────────────────────────────── */
.vhrev-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 2rem;
    align-items: start;
}
@media (max-width: 900px) {
    .vhrev-layout { grid-template-columns: 1fr; }
    .vhrev-sidebar { order: -1; }
}

/* ── Hero ───────────────────────────────────────────────────────────── */
.vhrev-hero {
    background: linear-gradient(135deg, #0057ff 0%, #003ab5 100%);
    color: #fff;
    border-radius: var(--vhrev-radius);
    padding: 2rem;
    margin-bottom: 1.5rem;
}
.vhrev-hero-badge {
    display: inline-block;
    background: rgba(255,255,255,.2);
    border-radius: 4px;
    padding: .2rem .6rem;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    margin-bottom: .75rem;
}
.vhrev-hero h1 {
    font-size: 1.85rem;
    font-weight: 800;
    margin: 0 0 .4rem;
    color: #fff;
}
.vhrev-hero-tagline { font-size: 1rem; opacity: .9; margin: 0 0 .75rem; }
.vhrev-hero-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
    font-size: .9rem;
    margin-bottom: 1.25rem;
}
.vhrev-sep { opacity: .6; }

/* ── Stars ──────────────────────────────────────────────────────────── */
.vhrev-stars { color: #fbbf24; font-size: 1.1em; letter-spacing: .05em; }

/* ── CTA Button ─────────────────────────────────────────────────────── */
.vhrev-cta-btn {
    display: inline-block;
    background: var(--vhrev-accent);
    color: #fff !important;
    font-weight: 700;
    padding: .65rem 1.4rem;
    border-radius: var(--vhrev-radius);
    text-decoration: none !important;
    font-size: .95rem;
    transition: background .2s, transform .15s;
}
.vhrev-cta-btn:hover { background: #e05d00; transform: translateY(-1px); }
.vhrev-cta-large { font-size: 1.1rem; padding: .8rem 1.8rem; }
.vhrev-btn-secondary {
    display: inline-block;
    border: 1.5px solid var(--vhrev-primary);
    color: var(--vhrev-primary) !important;
    font-weight: 600;
    padding: .55rem 1rem;
    border-radius: var(--vhrev-radius);
    text-decoration: none !important;
    font-size: .9rem;
}
.vhrev-btn-secondary:hover { background: var(--vhrev-primary); color: #fff !important; }

/* ── Sections (shared) ──────────────────────────────────────────────── */
.vhrev-main section {
    background: var(--vhrev-card-bg);
    border: 1px solid var(--vhrev-border);
    border-radius: var(--vhrev-radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}
.vhrev-main section h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 1rem;
    padding-bottom: .5rem;
    border-bottom: 2px solid var(--vhrev-border);
    color: var(--vhrev-text);
}

/* ── Specs table ────────────────────────────────────────────────────── */
.vhrev-specs table { width: 100%; border-collapse: collapse; }
.vhrev-specs th, .vhrev-specs td {
    padding: .6rem .8rem;
    text-align: left;
    border-bottom: 1px solid var(--vhrev-border);
    font-size: .9rem;
}
.vhrev-specs th { font-weight: 600; width: 40%; color: var(--vhrev-muted); }
.vhrev-specs tr:last-child th, .vhrev-specs tr:last-child td { border-bottom: none; }

/* ── Pros & Cons ────────────────────────────────────────────────────── */
.vhrev-pros-cons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
@media (max-width: 600px) { .vhrev-pros-cons-grid { grid-template-columns: 1fr; } }
.vhrev-pros h3 { color: var(--vhrev-green); font-size: 1rem; margin: 0 0 .75rem; }
.vhrev-cons h3 { color: var(--vhrev-red);   font-size: 1rem; margin: 0 0 .75rem; }
.vhrev-pros ul, .vhrev-cons ul { list-style: none; padding: 0; margin: 0; }
.vhrev-pros li, .vhrev-cons li {
    padding: .4rem 0;
    font-size: .9rem;
    border-bottom: 1px solid var(--vhrev-border);
}
.vhrev-pros li:last-child, .vhrev-cons li:last-child { border-bottom: none; }

/* ── Ideal For ──────────────────────────────────────────────────────── */
.vhrev-ideal-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}
.vhrev-ideal-list li {
    background: #eff6ff;
    color: var(--vhrev-primary);
    border: 1px solid #bfdbfe;
    border-radius: 20px;
    padding: .35rem .9rem;
    font-size: .875rem;
    font-weight: 500;
}

/* ── FAQ ────────────────────────────────────────────────────────────── */
.vhrev-faq-item {
    border-bottom: 1px solid var(--vhrev-border);
    padding: .75rem 0;
}
.vhrev-faq-item:last-child { border-bottom: none; }
.vhrev-faq-item h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 .4rem;
    color: var(--vhrev-text);
}
.vhrev-faq-item p { font-size: .9rem; margin: 0; color: var(--vhrev-muted); }

/* ── Final CTA section ──────────────────────────────────────────────── */
.vhrev-final-cta { text-align: center; }
.vhrev-final-cta h2 { font-size: 1.4rem; }
.vhrev-final-cta p { font-size: 1rem; margin-bottom: 1rem; }
.vhrev-disclaimer { font-size: .75rem; color: var(--vhrev-muted); margin-top: .75rem; }

/* ── Compare grid ───────────────────────────────────────────────────── */
.vhrev-compare-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: .75rem;
}
.vhrev-compare-card {
    display: flex;
    flex-direction: column;
    gap: .2rem;
    background: var(--vhrev-bg);
    border: 1px solid var(--vhrev-border);
    border-radius: var(--vhrev-radius);
    padding: .75rem;
    text-decoration: none !important;
    color: var(--vhrev-text) !important;
    font-size: .85rem;
    transition: box-shadow .2s, transform .15s;
}
.vhrev-compare-card:hover { box-shadow: var(--vhrev-shadow); transform: translateY(-2px); }
.vhrev-compare-rank { font-size: .75rem; color: var(--vhrev-muted); }
.vhrev-compare-price { font-size: .8rem; color: var(--vhrev-primary); font-weight: 600; }

/* ── Sidebar ────────────────────────────────────────────────────────── */
.vhrev-sidebar { display: flex; flex-direction: column; gap: 1.25rem; }

.vhrev-resources-sidebar, .vhrev-sidebar-widget {
    background: var(--vhrev-card-bg);
    border: 1px solid var(--vhrev-border);
    border-radius: var(--vhrev-radius);
    padding: 1.25rem;
}
.vhrev-resources-sidebar h3, .vhrev-sidebar-widget h3 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 .75rem;
    padding-bottom: .5rem;
    border-bottom: 2px solid var(--vhrev-border);
}
.vhrev-resources-sidebar ul { list-style: none; padding: 0; margin: 0; }
.vhrev-resources-sidebar li { padding: .35rem 0; border-bottom: 1px solid var(--vhrev-border); font-size: .875rem; }
.vhrev-resources-sidebar li:last-child { border-bottom: none; }
.vhrev-resources-sidebar a { color: var(--vhrev-primary); text-decoration: none; }
.vhrev-resources-sidebar a:hover { text-decoration: underline; }

.vhrev-big-rating {
    display: flex;
    align-items: baseline;
    gap: .4rem;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}
.vhrev-big-num { font-weight: 800; font-size: 1.6rem; }
.vhrev-big-denom { font-size: .9rem; color: var(--vhrev-muted); }

.vhrev-sidebar-list { list-style: none; padding: 0; margin: 0; }
.vhrev-sidebar-list li { padding: .35rem 0; border-bottom: 1px solid var(--vhrev-border); font-size: .875rem; }
.vhrev-sidebar-list li:last-child { border-bottom: none; }
.vhrev-sidebar-list a { color: var(--vhrev-text); text-decoration: none; }
.vhrev-sidebar-list a:hover { color: var(--vhrev-primary); }
.vhrev-sidebar-list .vhrev-current a { color: var(--vhrev-primary); font-weight: 700; }

/* ── Archive page ───────────────────────────────────────────────────── */
.vhrev-archive-hero {
    text-align: center;
    padding: 2.5rem 1rem;
    margin-bottom: 1.5rem;
}
.vhrev-archive-hero h1 { font-size: 2rem; font-weight: 800; margin: 0 0 .5rem; }
.vhrev-archive-hero p { font-size: 1.05rem; color: var(--vhrev-muted); max-width: 680px; margin: 0 auto; }

.vhrev-tech-strip {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    justify-content: center;
    margin-bottom: 2rem;
    padding: 1rem;
    background: var(--vhrev-card-bg);
    border: 1px solid var(--vhrev-border);
    border-radius: var(--vhrev-radius);
}
.vhrev-tech-strip a {
    background: #eff6ff;
    color: var(--vhrev-primary);
    border: 1px solid #bfdbfe;
    border-radius: 20px;
    padding: .3rem .8rem;
    font-size: .8rem;
    font-weight: 500;
    text-decoration: none;
}
.vhrev-tech-strip a:hover { background: var(--vhrev-primary); color: #fff; border-color: var(--vhrev-primary); }

.vhrev-archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
    margin-bottom: 3rem;
}

.vhrev-card {
    background: var(--vhrev-card-bg);
    border: 1px solid var(--vhrev-border);
    border-radius: var(--vhrev-radius);
    padding: 1.25rem;
    box-shadow: var(--vhrev-shadow);
    display: flex;
    flex-direction: column;
    gap: .6rem;
    transition: box-shadow .2s, transform .15s;
    position: relative;
}
.vhrev-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,.12); transform: translateY(-3px); }
.vhrev-card-rank {
    font-size: .75rem;
    font-weight: 700;
    color: var(--vhrev-primary);
    background: #eff6ff;
    border-radius: 4px;
    padding: .15rem .45rem;
    display: inline-block;
    width: fit-content;
}
.vhrev-card-title { font-size: 1.05rem; font-weight: 700; margin: 0; }
.vhrev-card-title a { color: var(--vhrev-text); text-decoration: none; }
.vhrev-card-title a:hover { color: var(--vhrev-primary); }
.vhrev-card-meta { display: flex; align-items: center; gap: .4rem; font-size: .85rem; }
.vhrev-card-best { font-size: .875rem; color: var(--vhrev-muted); margin: 0; }
.vhrev-card-specs { list-style: none; padding: 0; margin: 0; font-size: .85rem; }
.vhrev-card-specs li { display: flex; justify-content: space-between; padding: .3rem 0; border-bottom: 1px solid var(--vhrev-border); }
.vhrev-card-specs li:last-child { border-bottom: none; }
.vhrev-card-specs span { color: var(--vhrev-muted); }
.vhrev-card-actions { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .5rem; }

/* ── Archive resources section ──────────────────────────────────────── */
.vhrev-archive-resources {
    padding: 2rem;
    background: var(--vhrev-card-bg);
    border: 1px solid var(--vhrev-border);
    border-radius: var(--vhrev-radius);
}
.vhrev-archive-resources h2 { font-size: 1.4rem; font-weight: 700; margin: 0 0 .75rem; }
.vhrev-archive-resources p { color: var(--vhrev-muted); margin: 0 0 1.5rem; }
.vhrev-resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: .75rem;
}
.vhrev-resource-card {
    display: flex;
    flex-direction: column;
    gap: .2rem;
    padding: .9rem 1rem;
    background: var(--vhrev-bg);
    border: 1px solid var(--vhrev-border);
    border-radius: var(--vhrev-radius);
    text-decoration: none !important;
    color: var(--vhrev-text) !important;
    font-size: .875rem;
    transition: border-color .2s, box-shadow .2s;
}
.vhrev-resource-card:hover { border-color: var(--vhrev-primary); box-shadow: var(--vhrev-shadow); }
.vhrev-resource-card strong { color: var(--vhrev-primary); }
.vhrev-resource-card span { font-size: .8rem; color: var(--vhrev-muted); }
