/* ═══ CompareVPS — Global Stylesheet ═══ */

/* Smooth rendering */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

/* ── Scroll Animations ── */
.fade-up {
    opacity: 0;
    transform: translateY(2rem);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* ── Prose (Blog/Review Content) ── */
.prose { max-width: 80ch; margin: 0 auto; color: #374151; line-height: 1.8; }
.prose h1 { font-size: 2.25rem; font-weight: 800; margin: 2rem 0 1rem; color: #111827; }
.prose h2 { font-size: 1.875rem; font-weight: 700; margin: 2rem 0 1rem; color: #111827; }
.prose h3 { font-size: 1.5rem; font-weight: 700; margin: 1.5rem 0 0.75rem; color: #111827; }
.prose p  { margin-bottom: 1.25rem; }
.prose ul { padding-left: 1.5rem; margin-bottom: 1.25rem; list-style-type: disc; }
.prose ol { padding-left: 1.5rem; margin-bottom: 1.25rem; list-style-type: decimal; }
.prose li { margin-bottom: 0.5rem; }
.prose a  { color: #2563eb; text-decoration: underline; font-weight: 600; }
.prose a:hover { color: #1d4ed8; }
.prose strong { font-weight: 700; color: #111827; }
.prose blockquote {
    border-left: 4px solid #2563eb;
    background: #f3f4f6;
    padding: 1rem;
    border-radius: 0.5rem;
    font-style: italic;
}
.prose img {
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin: 2rem 0;
    width: 100%;
    height: auto;
}

/* ── Banner Ad Gradient ── */
@keyframes bgSlide {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.rh-banner-wrap {
    background: linear-gradient(-45deg, #1e3a8a, #1e40af, #2563eb, #3b82f6);
    background-size: 400% 400%;
    animation: bgSlide 10s ease infinite;
}

/* Shimmer on hover */
.rh-sweep {
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), rgba(255,255,255,0.4), transparent);
}

/* Logo scale on hover */
.rh-logo { transition: transform 0.3s ease; }
.rh-banner-wrap:hover .rh-logo { transform: scale(1.05); }

/* ── Admin Tables ── */
.tbl {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.tbl th, .tbl td {
    padding: 12px 16px;
    border-bottom: 1px solid #e2e8f0;
}

.tbl th {
    background: #f8fafc;
    font-weight: 600;
    color: #475569;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.tbl tr:hover {
    background: #f1f5f9;
}

/* ── Line Clamp Utility ── */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
