/* Global Reset and Settings */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

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

/* Rich Prose for Articles */
.prose { max-w-[80ch]; margin: 0 auto; color: #374151; line-height: 1.8; }
.prose h1 { font-size: 2.25rem; font-weight: 800; margin-top: 2rem; margin-bottom: 1rem; color: #111827; }
.prose h2 { font-size: 1.875rem; font-weight: 700; margin-top: 2rem; margin-bottom: 1rem; color: #111827; }
.prose h3 { font-size: 1.5rem; font-weight: 700; margin-top: 1.5rem; margin-bottom: 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; padding-left: 1rem; font-style: italic; background: #f3f4f6; padding: 1rem; border-radius: 0.5rem; }
.prose img { border-radius: 0.75rem; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); margin: 2rem 0; width: 100%; height: auto; }

/* Banner Animation Configuration */
@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;
}

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

/* Table overrides targeting Admin */
.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; tracking: wider; }
.tbl tr:hover { background: #f1f5f9; }

/* Ad Slots Helper Defaults */
.rh-logo { transition: transform 0.3s ease; }
.rh-banner-wrap:hover .rh-logo { transform: scale(1.05); }
