/* ============================================
   NewsHub — Modern News Platform
   Complete Design System (Tailwind-inspired)
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    background-color: #F8FAFC;
    color: #0F172A;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ============================================
   COLORS
   ============================================ */
.text-white { color: #FFFFFF; }
.text-black { color: #000000; }
.text-slate-100 { color: #F1F5F9; }
.text-slate-200 { color: #E2E8F0; }
.text-slate-300 { color: #CBD5E1; }
.text-slate-400 { color: #94A3B8; }
.text-slate-500 { color: #64748B; }
.text-slate-600 { color: #475569; }
.text-slate-700 { color: #334155; }
.text-slate-800 { color: #1E293B; }
.text-slate-900 { color: #0F172A; }
.text-blue-100 { color: #DBEAFE; }
.text-blue-400 { color: #60A5FA; }
.text-blue-500 { color: #3B82F6; }
.text-blue-600 { color: #2563EB; }
.text-blue-700 { color: #1D4ED8; }
.text-blue-900 { color: #1E3A8A; }
.text-red-300 { color: #FCA5A5; }
.text-red-400 { color: #F87171; }
.text-red-500 { color: #EF4444; }
.text-red-600 { color: #DC2626; }
.text-emerald-500 { color: #10B981; }
.text-emerald-600 { color: #059669; }
.text-emerald-700 { color: #047857; }
.text-amber-500 { color: #F59E0B; }
.text-amber-600 { color: #D97706; }
.text-amber-700 { color: #B45309; }
.text-amber-800 { color: #92400E; }
.text-amber-900 { color: #78350F; }
.text-purple-500 { color: #8B5CF6; }
.text-purple-600 { color: #7C3AED; }

/* Background Colors */
.bg-white { background-color: #FFFFFF; }
.bg-black { background-color: #000000; }
.bg-slate-50 { background-color: #F8FAFC; }
.bg-slate-100 { background-color: #F1F5F9; }
.bg-slate-200 { background-color: #E2E8F0; }
.bg-slate-800 { background-color: #1E293B; }
.bg-slate-900 { background-color: #0F172A; }
.bg-blue-50 { background-color: #EFF6FF; }
.bg-blue-100 { background-color: #DBEAFE; }
.bg-blue-500 { background-color: #3B82F6; }
.bg-blue-600 { background-color: #2563EB; }
.bg-blue-700 { background-color: #1D4ED8; }
.bg-red-50 { background-color: #FEF2F2; }
.bg-red-500 { background-color: #EF4444; }
.bg-red-600 { background-color: #DC2626; }
.bg-red-700 { background-color: #B91C1C; }
.bg-emerald-100 { background-color: #D1FAE5; }
.bg-emerald-500 { background-color: #10B981; }
.bg-emerald-600 { background-color: #059669; }
.bg-amber-50 { background-color: #FFFBEB; }
.bg-amber-100 { background-color: #FEF3C7; }
.bg-amber-500 { background-color: #F59E0B; }
.bg-amber-600 { background-color: #D97706; }
.bg-purple-100 { background-color: #EDE9FE; }
.bg-purple-600 { background-color: #7C3AED; }
.bg-black\/50 { background-color: rgba(0,0,0,0.5); }

/* Border Colors */
.border-white { border-color: #FFFFFF; }
.border-slate-100 { border-color: #F1F5F9; }
.border-slate-200 { border-color: #E2E8F0; }
.border-slate-300 { border-color: #CBD5E1; }
.border-slate-800 { border-color: #1E293B; }
.border-blue-200 { border-color: #BFDBFE; }
.border-blue-500 { border-color: #3B82F6; }
.border-blue-600 { border-color: #2563EB; }
.border-amber-200 { border-color: #FDE68A; }

/* ============================================
   TYPOGRAPHY
   ============================================ */
.font-black { font-weight: 900; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.font-normal { font-weight: 400; }
.font-serif { font-family: 'Merriweather', Georgia, serif; }

.italic { font-style: italic; }
.not-italic { font-style: normal; }

.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.text-8xl { font-size: 6rem; line-height: 1; }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.leading-tight { line-height: 1.25; }
.leading-snug { line-height: 1.375; }
.leading-normal { line-height: 1.5; }
.leading-relaxed { line-height: 1.625; }

.tracking-tight { letter-spacing: -0.025em; }
.tracking-wider { letter-spacing: 0.05em; }

.uppercase { text-transform: uppercase; }
.capitalize { text-transform: capitalize; }

.whitespace-nowrap { white-space: nowrap; }

/* ============================================
   SPACING
   ============================================ */
.m-0 { margin: 0; }
.mx-auto { margin-left: auto; margin-right: auto; }
.ml-auto { margin-left: auto; }
.mr-2 { margin-right: 0.5rem; }
.mr-auto { margin-right: auto; }
.ml-2 { margin-left: 0.5rem; }
.ml-4 { margin-left: 1rem; }
.mt-0\.5 { margin-top: 0.125rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-1\.5 { margin-top: 0.375rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mt-16 { margin-top: 4rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-1\.5 { margin-bottom: 0.375rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.my-5 { margin-top: 1.25rem; margin-bottom: 1.25rem; }
.my-8 { margin-top: 2rem; margin-bottom: 2rem; }
.-mx-4 { margin-left: -1rem; margin-right: -1rem; }

.p-0 { padding: 0; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.p-12 { padding: 3rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-2\.5 { padding-left: 0.625rem; padding-right: 0.625rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-0\.5 { padding-top: 0.125rem; padding-bottom: 0.125rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-0 { padding-top: 0; padding-bottom: 0; }
.pt-2 { padding-top: 0.5rem; }
.pt-4 { padding-top: 1rem; }
.pt-6 { padding-top: 1.5rem; }
.pb-6 { padding-bottom: 1.5rem; }
.pl-6 { padding-left: 1.5rem; }
.pl-9 { padding-left: 2.25rem; }
.pl-12 { padding-left: 3rem; }
.pr-4 { padding-right: 1rem; }

/* ============================================
   LAYOUT
   ============================================ */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.inline { display: inline; }
.block { display: block; }
.inline-block { display: inline-block; }
.hidden { display: none; }

.flex-1 { flex: 1 1 0%; }
.flex-shrink-0 { flex-shrink: 0; }

.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }

.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }

.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }

.gap-1 { gap: 0.25rem; }
.gap-1\.5 { gap: 0.375rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

.space-y-1 > * + * { margin-top: 0.25rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-5 > * + * { margin-top: 1.25rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }

.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }

/* ============================================
   WIDTH & HEIGHT
   ============================================ */
.w-1 { width: 0.25rem; }
.w-1\.5 { width: 0.375rem; }
.w-2 { width: 0.5rem; }
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-8 { width: 2rem; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.w-16 { width: 4rem; }
.w-20 { width: 5rem; }
.w-24 { width: 6rem; }
.w-48 { width: 12rem; }
.w-full { width: 100%; }

.h-1\.5 { height: 0.375rem; }
.h-2 { height: 0.5rem; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-8 { height: 2rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }
.h-24 { height: 6rem; }
.h-32 { height: 8rem; }

.max-w-sm { max-width: 24rem; }
.max-w-md { max-width: 28rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-7xl { max-width: 80rem; }
.max-w-none { max-width: none; }

.min-h-screen { min-height: 100vh; }
.min-h-\[80vh\] { min-height: 80vh; }

.h-full { height: 100%; }

/* ============================================
   BORDERS & RADIUS
   ============================================ */
.border { border: 1px solid #E2E8F0; }
.border-0 { border: 0; }
.border-2 { border-width: 2px; }
.border-t { border-top: 1px solid #E2E8F0; }
.border-b { border-bottom: 1px solid #E2E8F0; }
.border-l-4 { border-left-width: 4px; }
.border-dashed { border-style: dashed; }

.rounded { border-radius: 0.25rem; }
.rounded-full { border-radius: 9999px; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-r-xl { border-top-right-radius: 0.75rem; border-bottom-right-radius: 0.75rem; }
.first\:rounded-t-xl:first-child { border-top-left-radius: 0.75rem; border-top-right-radius: 0.75rem; }
.last\:rounded-b-xl:last-child { border-bottom-left-radius: 0.75rem; border-bottom-right-radius: 0.75rem; }

/* ============================================
   SHADOWS
   ============================================ */
.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05); }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1); }

/* ============================================
   POSITION & Z-INDEX
   ============================================ */
.sticky { position: sticky; top: 0; }
.fixed { position: fixed; }
.relative { position: relative; }
.absolute { position: absolute; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; }
.top-4 { top: 1rem; }
.top-20 { top: 5rem; }
.top-full { top: 100%; }
.top-1\/2 { top: 50%; }
.right-0 { right: 0; }
.right-4 { right: 1rem; }
.left-0 { left: 0; }
.left-3 { left: 0.75rem; }
.left-4 { left: 1rem; }
.-translate-y-1\/2 { transform: translateY(-50%); }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }

/* ============================================
   OVERFLOW
   ============================================ */
.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }

/* ============================================
   OBJECT FIT
   ============================================ */
.object-cover { object-fit: cover; }

/* ============================================
   ASPECT RATIO
   ============================================ */
.aspect-square { aspect-ratio: 1 / 1; }
.aspect-\[2\/1\] { aspect-ratio: 2 / 1; }
.aspect-\[16\/9\] { aspect-ratio: 16 / 9; }

/* ============================================
   INTERACTIVE STATES
   ============================================ */
.cursor-pointer { cursor: pointer; }

.hover\:bg-slate-50:hover { background-color: #F8FAFC; }
.hover\:bg-slate-200:hover { background-color: #E2E8F0; }
.hover\:bg-blue-50:hover { background-color: #EFF6FF; }
.hover\:bg-blue-700:hover { background-color: #1D4ED8; }
.hover\:bg-red-50:hover { background-color: #FEF2F2; }
.hover\:bg-emerald-50:hover { background-color: #ECFDF5; }
.hover\:bg-emerald-700:hover { background-color: #047857; }
.hover\:bg-slate-100:hover { background-color: #F1F5F9; }

.hover\:text-white:hover { color: #FFFFFF; }
.hover\:text-blue-300:hover { color: #93C5FD; }
.hover\:text-blue-600:hover { color: #2563EB; }
.hover\:text-blue-700:hover { color: #1D4ED8; }
.hover\:text-purple-600:hover { color: #7C3AED; }
.hover\:text-amber-600:hover { color: #D97706; }
.hover\:text-slate-700:hover { color: #334155; }
.hover\:text-slate-900:hover { color: #0F172A; }

.hover\:shadow-md:hover { box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1); }
.hover\:shadow-lg:hover { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1); }

.hover\:underline:hover { text-decoration: underline; }

.hover\:border-blue-500:hover { border-color: #3B82F6; }

/* ============================================
   FOCUS
   ============================================ */
.focus\:outline-none:focus { outline: none; }
.focus\:ring-0:focus { box-shadow: none; }
.focus\:ring-2:focus { box-shadow: 0 0 0 2px rgba(59,130,246,0.5); }
.focus\:ring-4:focus { box-shadow: 0 0 0 4px #BFDBFE; }
.focus\:ring-blue-200:focus { box-shadow: 0 0 0 4px #BFDBFE; }
.focus\:ring-blue-500:focus { box-shadow: 0 0 0 2px rgba(59,130,246,0.5); }
.focus\:border-blue-500:focus { border-color: #3B82F6; }
.focus\:bg-white:focus { background-color: #FFFFFF; }

/* ============================================
   PLACEHOLDER
   ============================================ */
.placeholder-slate-300::placeholder { color: #CBD5E1; }

/* ============================================
   TRANSITIONS
   ============================================ */
.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4,0,0.2,1); }
.transition-colors { transition-property: color, background-color, border-color; transition-timing-function: cubic-bezier(0.4,0,0.2,1); }
.transition-opacity { transition-property: opacity; transition-timing-function: cubic-bezier(0.4,0,0.2,1); }
.transition-transform { transition-property: transform; transition-timing-function: cubic-bezier(0.4,0,0.2,1); }
.duration-150 { transition-duration: 150ms; }
.duration-200 { transition-duration: 200ms; }
.duration-300 { transition-duration: 300ms; }
.duration-500 { transition-duration: 500ms; }

/* ============================================
   OPACITY & VISIBILITY
   ============================================ */
.opacity-0 { opacity: 0; }
.opacity-100 { opacity: 1; }
.invisible { visibility: hidden; }
.visible { visibility: visible; }

.group:hover .group-hover\:opacity-100 { opacity: 1; }
.group:hover .group-hover\:visible { visibility: visible; }
.group:hover .group-hover\:scale-105 { transform: scale(1.05); }
.group:hover .group-hover\:text-blue-600 { color: #2563EB; }

/* ============================================
   DIVIDE
   ============================================ */
.divide-y > * + * { border-top: 1px solid #F1F5F9; }
.divide-slate-100 > * + * { border-color: #F1F5F9; }

/* ============================================
   TABLES
   ============================================ */
table { border-collapse: collapse; width: 100%; }

/* ============================================
   RESIZE
   ============================================ */
.resize-y { resize: vertical; }

/* ============================================
   LIST STYLE
   ============================================ */
.list-disc { list-style-type: disc; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (min-width: 640px) {
    .sm\:flex { display: flex; }
    .sm\:hidden { display: none; }
    .sm\:w-32 { width: 8rem; }
    .sm\:h-32 { height: 8rem; }
    .sm\:mx-0 { margin-left: 0; margin-right: 0; }
    .sm\:flex-row { flex-direction: row; }
    .sm\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
    .sm\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
    .sm\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
}

@media (min-width: 768px) {
    .md\:col-span-2 { grid-column: span 2 / span 2; }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
    .md\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1024px) {
    .lg\:flex { display: flex; }
    .lg\:hidden { display: none; }
    .lg\:col-span-2 { grid-column: span 2 / span 2; }
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
    .lg\:grid-cols-5 { grid-template-columns: repeat(5, 1fr); }
    .lg\:grid-cols-6 { grid-template-columns: repeat(6, 1fr); }
    .lg\:text-5xl { font-size: 3rem; line-height: 1; }
}

@media (max-width: 640px) {
    .prose { font-size: 16px; }
    .prose p { line-height: 1.7; }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes slide-in {
    from { opacity: 0; transform: translateX(100%); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.animate-slide-in { animation: slide-in 0.3s ease-out; }
.animate-marquee { animation: marquee 30s linear infinite; }
.animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
.animate-spin { animation: spin 1s linear infinite; }

/* ============================================
   LINE CLAMP
   ============================================ */
.line-clamp-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

/* ============================================
   SCROLLBAR
   ============================================ */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #F1F5F9; }
::-webkit-scrollbar-thumb { background: #CBD5E1; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #94A3B8; }

/* ============================================
   SELECTION
   ============================================ */
::selection { background-color: #DBEAFE; color: #1E40AF; }

/* ============================================
   PROSE (Article body)
   ============================================ */
.prose { font-family: 'Merriweather', Georgia, serif; }
.prose p { margin-bottom: 1.25rem; line-height: 1.8; }
.prose h2 { font-family: 'Inter', system-ui, sans-serif; margin-top: 2.5rem; margin-bottom: 1rem; }
.prose blockquote { font-style: italic; margin: 1.5rem 0; padding-left: 1.5rem; border-left: 4px solid #E2E8F0; }
.prose img { border-radius: 0.75rem; margin: 2rem auto; }
.prose ul, .prose ol { margin: 1rem 0; padding-left: 1.5rem; }
.prose li { margin-bottom: 0.5rem; }

/* ============================================
   MISC
   ============================================ */
.flash-message { max-width: 400px; word-wrap: break-word; }

.skeleton {
    background: linear-gradient(90deg, #F1F5F9 25%, #E2E8F0 50%, #F1F5F9 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
}

.min-w-0 { min-width: 0; }

/* ============================================
   PRINT
   ============================================ */
@media print {
    header, footer, .breaking-banner, .flash-message { display: none !important; }
    body { background: white !important; color: black !important; }
    .prose { max-width: 100% !important; }
}
/* ============================================
   NewsHub — Complete Design System
   Covers: Homepage, Articles, Auth, Admin, Editor, Media
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: #1A1A1A;
    background: #FFFFFF;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

/* ============================================
   HEADER — Premium Navigation
   ============================================ */
.site-header {
    background: #FFFFFF;
    border-bottom: 1px solid #EBEBEB;
    position: sticky;
    top: 0;
    z-index: 40;
}

.header-top-bar {
    background: #1A1A1A;
    color: #999;
    font-size: 0.6875rem;
    padding: 0.375rem 0;
}

.header-top-bar a {
    color: #999;
    transition: color 0.2s ease;
}

.header-top-bar a:hover {
    color: #FFFFFF;
}

.header-top-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-top-left {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.header-top-left svg {
    width: 0.75rem;
    height: 0.75rem;
    color: #666;
}

.header-top-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-top-right a {
    font-size: 0.6875rem;
    font-weight: 500;
}

.header-main {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
}

/* Logo */
.header-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    margin-left: 1rem;
}

.header-logo-icon {
    width: 32px;
    height: 32px;
    background: #1A1A1A;
    color: #FFFFFF;
    font-weight: 900;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
}

.header-logo-text {
    font-size: 1.25rem;
    font-weight: 900;
    color: #1A1A1A;
    letter-spacing: -0.02em;
}

/* Desktop Navigation */
.header-nav-desktop {
    display: none;
    align-items: center;
    gap: 0.25rem;
}

@media (min-width: 1024px) {
    .header-nav-desktop {
        display: flex;
    }
}

.header-nav-desktop a {
    padding: 0.5rem 0.75rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #555;
    border-radius: 6px;
    transition: all 0.15s ease;
    letter-spacing: -0.01em;
}

.header-nav-desktop a:hover {
    color: #1A1A1A;
    background: #F5F5F5;
}

.header-nav-desktop a.active {
    color: #1A1A1A;
    background: #F0F0F0;
}

/* Nav dropdown */
.header-nav-dropdown {
    position: relative;
}

.header-nav-dropdown > button {
    padding: 0.5rem 0.75rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #555;
    background: none;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: inherit;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.header-nav-dropdown > button:hover {
    color: #1A1A1A;
    background: #F5F5F5;
}

.header-nav-dropdown > button svg {
    width: 0.75rem;
    height: 0.75rem;
    transition: transform 0.2s ease;
}

.header-nav-dropdown:hover > button svg {
    transform: rotate(180deg);
}

.header-nav-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: #FFFFFF;
    border: 1px solid #EBEBEB;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    min-width: 180px;
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 50;
}

.header-nav-dropdown:hover .header-nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    margin-top: 0.25rem;
}

.header-nav-dropdown-menu a {
    display: block;
    padding: 0.5rem 0.75rem;
    font-size: 0.8125rem;
    color: #555;
    border-radius: 6px;
    transition: background 0.15s ease;
}

.header-nav-dropdown-menu a:hover {
    background: #F5F5F5;
    color: #1A1A1A;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.header-search {
    display: none;
}

@media (min-width: 640px) {
    .header-search {
        display: flex;
    }
}

.header-search form {
    position: relative;
}

.header-search input {
    width: 180px;
    padding: 0.5rem 0.75rem 0.5rem 2.25rem;
    font-size: 0.8125rem;
    background: #F5F5F5;
    border: 1px solid transparent;
    border-radius: 8px;
    color: #1A1A1A;
    outline: none;
    transition: all 0.2s ease;
    font-family: inherit;
}

.header-search input:focus {
    background: #FFFFFF;
    border-color: #CCC;
    width: 220px;
}

.header-search input::placeholder {
    color: #AAA;
}

.header-search-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    width: 0.875rem;
    height: 0.875rem;
    color: #AAA;
    pointer-events: none;
}

/* Mobile menu button */
.header-mobile-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    background: none;
    cursor: pointer;
    color: #555;
    border-radius: 8px;
    transition: background 0.15s ease;
}

.header-mobile-btn:hover {
    background: #F5F5F5;
}

@media (min-width: 1024px) {
    .header-mobile-btn {
        display: none;
    }
}

.header-mobile-btn svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* Mobile Navigation */
.header-nav-mobile {
    display: none;
    border-top: 1px solid #EBEBEB;
    background: #FFFFFF;
    padding: 0.75rem 1rem;
}

.header-nav-mobile.open {
    display: block;
}

.header-nav-mobile a {
    display: block;
    padding: 0.625rem 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #555;
    border-radius: 6px;
    transition: background 0.15s ease;
}

.header-nav-mobile a:hover {
    background: #F5F5F5;
    color: #1A1A1A;
}

.header-nav-mobile form {
    margin-top: 0.5rem;
}

.header-nav-mobile input {
    width: 100%;
    padding: 0.625rem 0.75rem;
    font-size: 0.875rem;
    background: #F5F5F5;
    border: 1px solid #EBEBEB;
    border-radius: 8px;
    outline: none;
    font-family: inherit;
}

.header-nav-mobile input:focus {
    border-color: #CCC;
}

/* ============================================
   BREAKING NEWS BAR
   ============================================ */
.breaking-bar {
    background: #DC2626;
}

.breaking-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.125rem 0.625rem;
    background: #B91C1C;
    color: #FFFFFF;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 4px;
    flex-shrink: 0;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.breaking-dot {
    width: 0.375rem;
    height: 0.375rem;
    background: #FFFFFF;
    border-radius: 9999px;
}

.breaking-scroll {
    display: flex;
    gap: 1.5rem;
    animation: marquee 30s linear infinite;
    white-space: nowrap;
}

.breaking-link {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #FFFFFF;
    flex-shrink: 0;
}

.breaking-link:hover {
    text-decoration: underline;
}

.breaking-separator {
    color: #FCA5A5;
    flex-shrink: 0;
}

/* ============================================
   HERO / LEAD STORY (CNN Style)
   ============================================ */
.hero-section {
    margin-bottom: 2rem;
    padding-top: 1.5rem;
}

.hero-container {
    display: block;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    height: 420px;
    overflow: hidden;
    background: #1A1A1A;
}

@media (max-width: 768px) {
    .hero-image-wrapper {
        height: 300px;
    }
}

@media (max-width: 640px) {
    .hero-image-wrapper {
        height: 220px;
    }
}

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease-out;
}

.hero-placeholder {
    background: #2A2A2A;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        transparent 20%,
        rgba(0,0,0,0.12) 40%,
        rgba(0,0,0,0.4) 60%,
        rgba(0,0,0,0.75) 100%
    );
    z-index: 1;
}

.hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2.5rem 2rem 2rem;
    z-index: 2;
    max-width: 750px;
}

@media (max-width: 640px) {
    .hero-content {
        padding: 1.25rem 1rem 1.25rem;
    }
}

.hero-category {
    display: inline-block;
    padding: 0.2rem 0.625rem;
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #FFFFFF;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 9999px;
    margin-bottom: 0.75rem;
}

.hero-headline {
    font-size: 2.25rem;
    font-weight: 900;
    color: #FFFFFF;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

@media (max-width: 768px) {
    .hero-headline {
        font-size: 1.5rem;
    }
}

@media (max-width: 640px) {
    .hero-headline {
        font-size: 1.25rem;
    }
}

.hero-subtitle {
    font-size: 1rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.55;
    margin-bottom: 1rem;
    max-width: 550px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.25);
}

@media (max-width: 640px) {
    .hero-subtitle {
        display: none;
    }
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.7);
    font-size: 0.8125rem;
}

.hero-author-avatar {
    width: 1.75rem;
    height: 1.75rem;
    background: rgba(255,255,255,0.2);
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-weight: 700;
    font-size: 0.6875rem;
    flex-shrink: 0;
}

.hero-author-name {
    font-weight: 600;
    color: rgba(255,255,255,0.9);
}

.hero-meta-separator {
    color: rgba(255,255,255,0.35);
}

/* ============================================
   PAGE BACKGROUND
   ============================================ */
.page-bg {
    background: #FFFFFF;
    padding-bottom: 3rem;
}

/* ============================================
   SECTIONS (Homepage)
   ============================================ */
.section-block {
    padding: 2rem 0;
    border-top: 1px solid #EBEBEB;
}

.section-block:first-of-type {
    border-top: none;
    padding-top: 0;
}

.section-alt {
    background: #F8F8F8;
    margin-left: -1rem;
    margin-right: -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 768px) {
    .section-alt {
        margin-left: -1.5rem;
        margin-right: -1.5rem;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .section-alt {
        margin-left: -2rem;
        margin-right: -2rem;
        padding-left: 2rem;
        padding-right: 2rem;
        border-radius: 6px;
    }
}

.section-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.section-accent {
    width: 3px;
    height: 1.25rem;
    border-radius: 9999px;
    flex-shrink: 0;
}

.section-accent-red { background: #DC2626; }
.section-accent-amber { background: #E5A100; }
.section-accent-blue { background: #2563EB; }
.section-accent-grey { background: #666; }

.section-title {
    font-size: 1.0625rem;
    font-weight: 800;
    color: #1A1A1A;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    flex: 1;
}

.section-more {
    font-size: 0.8125rem;
    font-weight: 600;
    flex-shrink: 0;
    transition: opacity 0.15s ease;
}

.section-more:hover {
    opacity: 0.65;
}

/* ============================================
   BBC-STYLE GRID & ITEMS
   ============================================ */
.bbc-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

@media (min-width: 768px) {
    .bbc-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
}

@media (min-width: 1024px) {
    .bbc-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

.bbc-grid-4 {
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .bbc-grid-4 {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .bbc-grid-4 {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}

.bbc-item {
    display: flex;
    gap: 0.875rem;
    padding: 0.875rem 0;
    border-bottom: 1px solid #F0F0F0;
    transition: background 0.15s ease;
}

.bbc-item:last-child {
    border-bottom: none;
}

.bbc-item:hover {
    background: #FAFAFA;
    margin-left: -0.5rem;
    margin-right: -0.5rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    border-radius: 6px;
}

.bbc-item-vertical {
    flex-direction: column;
    gap: 0.625rem;
    padding: 0;
    border-bottom: none;
}

.bbc-item-vertical:hover {
    background: transparent;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    border-radius: 0;
}

.bbc-thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
    background: #F5F5F5;
}

.bbc-thumb-landscape {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: 6px;
    overflow: hidden;
}

.bbc-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease-out;
}

.bbc-thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F5F5F5;
}

.bbc-text {
    flex: 1;
    min-width: 0;
}

.bbc-category {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.25rem;
}

.bbc-headline {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #1A1A1A;
    line-height: 1.38;
    margin-bottom: 0.375rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.15s ease;
}

.bbc-headline:hover {
    color: #2563EB;
}

.bbc-excerpt {
    font-size: 0.8125rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 0.375rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bbc-meta {
    font-size: 0.75rem;
    color: #999;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

/* ============================================
   ARTICLE PAGE
   ============================================ */
.article-container {
    max-width: 720px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.article-category-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.article-type-badge {
    padding: 0.2rem 0.625rem;
    font-size: 0.6875rem;
    font-weight: 700;
    color: #FFFFFF;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.article-type-news { background: #DC2626; }
.article-type-feature { background: #059669; }
.article-type-opinion { background: #D97706; }
.article-type-article { background: #2563EB; }

.article-category-link {
    font-size: 0.8125rem;
    font-weight: 700;
    transition: opacity 0.15s ease;
}

.article-category-link:hover {
    opacity: 0.65;
}

.article-headline {
    font-size: 2rem;
    font-weight: 900;
    color: #1A1A1A;
    line-height: 1.12;
    letter-spacing: -0.02em;
    margin-bottom: 0.625rem;
}

@media (max-width: 640px) {
    .article-headline {
        font-size: 1.5rem;
    }
}

.article-subtitle {
    font-size: 1.125rem;
    color: #666;
    line-height: 1.55;
    margin-bottom: 1.25rem;
}

.article-meta-row {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #EBEBEB;
    margin-bottom: 1.5rem;
}

.article-author-avatar {
    width: 2.5rem;
    height: 2.5rem;
    background: #1A1A1A;
    color: #FFFFFF;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.article-author-name {
    font-weight: 700;
    font-size: 0.875rem;
    color: #1A1A1A;
}

.article-author-role {
    font-size: 0.75rem;
    color: #999;
}

.article-meta-separator {
    color: #CCC;
}

.article-meta-time {
    font-size: 0.8125rem;
    color: #999;
}

.article-featured-image {
    margin-bottom: 1.5rem;
    margin-left: -1rem;
    margin-right: -1rem;
}

@media (min-width: 640px) {
    .article-featured-image {
        margin-left: 0;
        margin-right: 0;
    }
}

.article-featured-image img {
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: contain;
    border-radius: 0;
    background: #F5F5F5;
}

@media (min-width: 640px) {
    .article-featured-image img {
        border-radius: 6px;
    }
}

.article-featured-caption {
    margin-top: 0.5rem;
    font-size: 0.8125rem;
    color: #999;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .article-featured-caption {
        padding: 0;
    }
}

/* Article Content / Prose */
.article-body {
    font-family: 'Merriweather', Georgia, 'Times New Roman', serif;
    font-size: 1.0625rem;
    line-height: 1.75;
    color: #2A2A2A;
}

.article-body p {
    margin-bottom: 1.25rem;
}

.article-body h2 {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1A1A1A;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.article-body h3 {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1A1A1A;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.article-body img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    border-radius: 6px;
    margin: 1.5rem 0;
    background: #F5F5F5;
}

.article-body figure {
    margin: 1.5rem -1rem;
}

@media (min-width: 640px) {
    .article-body figure {
        margin: 1.5rem 0;
    }
}

.article-body figcaption {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.8125rem;
    color: #999;
    margin-top: 0.5rem;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .article-body figcaption {
        padding: 0;
    }
}

.article-body blockquote {
    border-left: 3px solid #1A1A1A;
    padding-left: 1.25rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #555;
}

.article-body blockquote cite {
    display: block;
    font-style: normal;
    font-size: 0.875rem;
    color: #999;
    margin-top: 0.5rem;
    font-family: 'Inter', system-ui, sans-serif;
}

.article-body ul, .article-body ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.article-body li {
    margin-bottom: 0.375rem;
}

.article-body a {
    color: #2563EB;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.article-body a:hover {
    color: #1D4ED8;
}

/* Recommended / Related inline */
.article-recommended {
    background: linear-gradient(135deg, #F8F8F8 0%, #FFFFFF 100%);
    border: 1px solid #EBEBEB;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
}

.article-recommended-label {
    font-size: 0.6875rem;
    font-weight: 700;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.625rem;
}

.article-recommended-link {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
}

.article-recommended-link:hover .article-recommended-title {
    color: #2563EB;
}

.article-recommended-thumb {
    width: 100px;
    height: 64px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
    background: #F0F0F0;
}

.article-recommended-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-recommended-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: #1A1A1A;
    line-height: 1.35;
    transition: color 0.15s ease;
}

.article-recommended-meta {
    font-size: 0.75rem;
    color: #999;
    margin-top: 0.25rem;
}

/* Article share */
.article-share {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 0;
    border-top: 1px solid #EBEBEB;
    border-bottom: 1px solid #EBEBEB;
    margin: 1.5rem 0;
}

.article-share-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #666;
    margin-right: 0.25rem;
}

.article-share-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F5F5F5;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    color: #555;
    transition: all 0.15s ease;
}

.article-share-btn:hover {
    background: #EBEBEB;
    color: #1A1A1A;
}

.article-share-btn svg {
    width: 1rem;
    height: 1rem;
}

/* Article nav (prev/next) */
.article-nav {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid #EBEBEB;
}

.article-nav-link {
    flex: 1;
    min-width: 0;
}

.article-nav-label {
    font-size: 0.6875rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.25rem;
}

.article-nav-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: #1A1A1A;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.15s ease;
}

.article-nav-link:hover .article-nav-title {
    color: #2563EB;
}

/* Related articles section (bottom) */
.related-section {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid #EBEBEB;
}

.related-section-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #1A1A1A;
    margin-bottom: 1.25rem;
}

.related-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 640px) {
    .related-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .related-grid {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}

.related-card {
    display: block;
}

.related-card:hover .related-card-title {
    color: #2563EB;
}

.related-card-thumb {
    aspect-ratio: 16/9;
    border-radius: 6px;
    overflow: hidden;
    background: #F5F5F5;
    margin-bottom: 0.625rem;
}

.related-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease-out;
}

.related-card:hover .related-card-thumb img {
    transform: scale(1.03);
}

.related-card-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: #1A1A1A;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.15s ease;
}

/* AI Summary box */
.ai-summary {
    background: #F0F5FF;
    border-left: 3px solid #2563EB;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    border-radius: 0 6px 6px 0;
}

.ai-summary-label {
    font-size: 0.6875rem;
    font-weight: 700;
    color: #2563EB;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.375rem;
}

.ai-summary-text {
    font-size: 0.875rem;
    color: #1A1A1A;
    line-height: 1.55;
    font-weight: 500;
}

/* ============================================
   AUTH PAGES (Login / Register)
   ============================================ */
.auth-page {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.auth-card {
    width: 100%;
    max-width: 420px;
    background: #FFFFFF;
    border: 1px solid #EBEBEB;
    border-radius: 12px;
    padding: 2.5rem 2rem;
}

.auth-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.auth-logo-icon {
    width: 40px;
    height: 40px;
    background: #1A1A1A;
    color: #FFFFFF;
    font-weight: 900;
    font-size: 1.125rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.auth-logo-text {
    font-size: 1.375rem;
    font-weight: 900;
    color: #1A1A1A;
    letter-spacing: -0.02em;
}

.auth-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: #1A1A1A;
    text-align: center;
    margin-bottom: 0.375rem;
}

.auth-subtitle {
    font-size: 0.875rem;
    color: #999;
    text-align: center;
    margin-bottom: 1.5rem;
}

.auth-form-group {
    margin-bottom: 1rem;
}

.auth-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #555;
    margin-bottom: 0.375rem;
}

.auth-input {
    width: 100%;
    padding: 0.625rem 0.875rem;
    font-size: 0.875rem;
    border: 1px solid #DDD;
    border-radius: 8px;
    color: #1A1A1A;
    background: #FAFAFA;
    outline: none;
    transition: all 0.15s ease;
    font-family: inherit;
}

.auth-input:focus {
    border-color: #2563EB;
    background: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.08);
}

.auth-input::placeholder {
    color: #BBB;
}

.auth-remember {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: #666;
    cursor: pointer;
}

.auth-remember input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    accent-color: #2563EB;
    cursor: pointer;
}

.auth-submit {
    width: 100%;
    padding: 0.75rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: #FFFFFF;
    background: #2563EB;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s ease;
    font-family: inherit;
    margin-top: 0.5rem;
}

.auth-submit:hover {
    background: #1D4ED8;
}

.auth-footer {
    text-align: center;
    font-size: 0.8125rem;
    color: #999;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid #F0F0F0;
}

.auth-footer a {
    color: #2563EB;
    font-weight: 600;
}

.auth-footer a:hover {
    color: #1D4ED8;
}

/* ============================================
   CATEGORY & SEARCH PAGES
   ============================================ */
.page-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.page-header {
    margin-bottom: 2rem;
}

.page-header-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.page-header-accent {
    width: 3px;
    height: 1.5rem;
    border-radius: 9999px;
}

.page-header-title {
    font-size: 1.75rem;
    font-weight: 900;
    color: #1A1A1A;
    letter-spacing: -0.02em;
}

.page-header-desc {
    font-size: 1rem;
    color: #999;
}

/* Search bar */
.search-bar {
    max-width: 500px;
    position: relative;
    margin-bottom: 2rem;
}

.search-bar input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.75rem;
    font-size: 1rem;
    border: 1px solid #DDD;
    border-radius: 10px;
    color: #1A1A1A;
    background: #FAFAFA;
    outline: none;
    transition: all 0.15s ease;
    font-family: inherit;
}

.search-bar input:focus {
    border-color: #2563EB;
    background: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.08);
}

.search-bar-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.125rem;
    height: 1.125rem;
    color: #BBB;
}

.search-results-count {
    font-size: 0.875rem;
    color: #999;
    margin-bottom: 1.25rem;
}

.search-results-count strong {
    color: #1A1A1A;
}

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.pagination a,
.pagination span {
    padding: 0.5rem 0.875rem;
    font-size: 0.8125rem;
    font-weight: 600;
    border: 1px solid #EBEBEB;
    border-radius: 6px;
    color: #555;
    background: #FFFFFF;
    transition: all 0.15s ease;
}

.pagination a:hover {
    background: #F5F5F5;
    color: #1A1A1A;
}

.pagination .current {
    background: #2563EB;
    color: #FFFFFF;
    border-color: #2563EB;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: #1A1A1A;
    color: #FFFFFF;
    margin-top: auto;
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 3rem 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-brand-icon {
    width: 32px;
    height: 32px;
    background: #2563EB;
    color: #FFFFFF;
    font-weight: 900;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
}

.footer-brand-text {
    font-size: 1.25rem;
    font-weight: 900;
    color: #FFFFFF;
    letter-spacing: -0.02em;
}

.footer-desc {
    font-size: 0.8125rem;
    color: #999;
    line-height: 1.6;
    max-width: 400px;
}

.footer-heading {
    font-size: 0.75rem;
    font-weight: 700;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    font-size: 0.8125rem;
    color: #999;
    transition: color 0.15s ease;
}

.footer-links a:hover {
    color: #FFFFFF;
}

.footer-bottom {
    border-top: 1px solid #333;
    margin-top: 2rem;
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

@media (min-width: 640px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.footer-bottom p {
    font-size: 0.75rem;
    color: #777;
}

/* ============================================
   ADMIN LAYOUT
   ============================================ */
.admin-layout {
    background: #F8F8F8;
    min-height: 100vh;
}

.admin-topbar {
    background: #FFFFFF;
    border-bottom: 1px solid #EBEBEB;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 30;
}

.admin-topbar-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.admin-topbar-back {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    border-radius: 6px;
    transition: all 0.15s ease;
}

.admin-topbar-back:hover {
    background: #F0F0F0;
    color: #1A1A1A;
}

.admin-topbar-back svg {
    width: 1.125rem;
    height: 1.125rem;
}

.admin-topbar-title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #1A1A1A;
}

.admin-topbar-status {
    font-size: 0.6875rem;
    padding: 0.15rem 0.5rem;
    border-radius: 9999px;
    font-weight: 600;
}

.admin-status-draft { background: #FFF7ED; color: #C2410C; }
.admin-status-published { background: #ECFDF5; color: #047857; }
.admin-status-review { background: #EFF6FF; color: #1D4ED8; }

.admin-topbar-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.admin-btn {
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: inherit;
    border: none;
}

.admin-btn-ghost {
    background: #FFFFFF;
    border: 1px solid #DDD;
    color: #555;
}

.admin-btn-ghost:hover {
    background: #F5F5F5;
    color: #1A1A1A;
}

.admin-btn-primary {
    background: #DC2626;
    color: #FFFFFF;
}

.admin-btn-primary:hover {
    background: #B91C1C;
}

.admin-btn-blue {
    background: #2563EB;
    color: #FFFFFF;
}

.admin-btn-blue:hover {
    background: #1D4ED8;
}

.admin-main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.5rem 1rem;
    display: flex;
    gap: 1.5rem;
}

@media (max-width: 1024px) {
    .admin-main {
        flex-direction: column;
    }
}

.admin-editor-area {
    flex: 1;
    min-width: 0;
}

.admin-sidebar {
    width: 280px;
    flex-shrink: 0;
}

@media (max-width: 1024px) {
    .admin-sidebar {
        width: 100%;
    }
}

.admin-card {
    background: #FFFFFF;
    border: 1px solid #EBEBEB;
    border-radius: 10px;
    padding: 1.25rem;
    margin-bottom: 1rem;
}

.admin-card-title {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 1rem;
}

.admin-form-group {
    margin-bottom: 0.875rem;
}

.admin-label {
    display: block;
    font-size: 0.6875rem;
    font-weight: 700;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.admin-input {
    width: 100%;
    padding: 0.5rem 0.75rem;
    font-size: 0.8125rem;
    border: 1px solid #EBEBEB;
    border-radius: 6px;
    color: #1A1A1A;
    outline: none;
    transition: all 0.15s ease;
    font-family: inherit;
    background: #FAFAFA;
}

.admin-input:focus {
    border-color: #2563EB;
    background: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.06);
}

.admin-select {
    width: 100%;
    padding: 0.5rem 0.75rem;
    font-size: 0.8125rem;
    border: 1px solid #EBEBEB;
    border-radius: 6px;
    color: #1A1A1A;
    background: #FAFAFA;
    outline: none;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.15s ease;
}

.admin-select:focus {
    border-color: #2563EB;
    background: #FFFFFF;
}

.admin-textarea {
    width: 100%;
    padding: 0.75rem;
    font-size: 0.9375rem;
    border: none;
    outline: none;
    resize: vertical;
    color: #1A1A1A;
    font-family: inherit;
    line-height: 1.7;
    min-height: 120px;
}

.admin-checkbox-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.25rem 0;
}

.admin-checkbox-label {
    font-size: 0.8125rem;
    color: #555;
    cursor: pointer;
}

.admin-checkbox {
    width: 1rem;
    height: 1rem;
    accent-color: #2563EB;
    cursor: pointer;
}

/* Content type selector */
.admin-type-selector {
    display: flex;
    gap: 0.375rem;
    flex-wrap: wrap;
}

.admin-type-btn {
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: inherit;
    background: #F0F0F0;
    color: #666;
}

.admin-type-btn:hover {
    background: #E5E5E5;
}

.admin-type-btn.active-news { background: #DC2626; color: #FFFFFF; }
.admin-type-btn.active-article { background: #2563EB; color: #FFFFFF; }
.admin-type-btn.active-feature { background: #059669; color: #FFFFFF; }
.admin-type-btn.active-opinion { background: #D97706; color: #FFFFFF; }

/* Content blocks */
.admin-block {
    background: #FFFFFF;
    border: 1px solid #EBEBEB;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 0.75rem;
}

.admin-block-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.admin-block-type {
    font-size: 0.6875rem;
    font-weight: 700;
    color: #BBB;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.admin-block-remove {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: none;
    cursor: pointer;
    color: #CCC;
    border-radius: 4px;
    font-size: 1rem;
    transition: all 0.15s ease;
}

.admin-block-remove:hover {
    background: #FEE2E2;
    color: #EF4444;
}

.admin-block-input {
    width: 100%;
    padding: 0.5rem;
    font-size: 0.875rem;
    border: 1px solid #EBEBEB;
    border-radius: 6px;
    color: #1A1A1A;
    background: #FAFAFA;
    outline: none;
    font-family: inherit;
    margin-bottom: 0.375rem;
}

.admin-block-input:focus {
    border-color: #2563EB;
    background: #FFFFFF;
}

.admin-block-textarea {
    width: 100%;
    padding: 0.5rem;
    font-size: 0.9375rem;
    border: none;
    outline: none;
    resize: vertical;
    min-height: 80px;
    color: #1A1A1A;
    font-family: inherit;
    line-height: 1.7;
    background: transparent;
}

.admin-add-block-row {
    display: flex;
    gap: 0.375rem;
    flex-wrap: wrap;
    padding-top: 0.5rem;
}

.admin-add-block-btn {
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    background: #FFFFFF;
    border: 1px solid #EBEBEB;
    border-radius: 6px;
    color: #666;
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: inherit;
}

.admin-add-block-btn:hover {
    background: #F5F5F5;
    color: #1A1A1A;
    border-color: #DDD;
}

/* Featured image preview */
.admin-image-preview {
    border-radius: 6px;
    overflow: hidden;
    background: #F5F5F5;
    margin-bottom: 0.75rem;
}

.admin-image-preview img {
    width: 100%;
    height: auto;
    max-height: 150px;
    object-fit: contain;
}

/* Block image preview */
.admin-block-image {
    border-radius: 6px;
    overflow: hidden;
    background: #F5F5F5;
    margin-bottom: 0.5rem;
}

.admin-block-image img {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: contain;
}

/* Link button in editor */
.admin-link-btn {
    font-size: 0.75rem;
    color: #2563EB;
    font-weight: 600;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem 0;
    font-family: inherit;
}

.admin-link-btn:hover {
    color: #1D4ED8;
}

/* ============================================
   ADMIN DASHBOARD PAGE
   ============================================ */
.dashboard-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.dashboard-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1A1A1A;
}

.dashboard-actions {
    display: flex;
    gap: 0.5rem;
}

.stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .stat-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .stat-grid {
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    }
}

.stat-card {
    background: #FFFFFF;
    border: 1px solid #EBEBEB;
    border-radius: 10px;
    padding: 1.25rem;
}

.stat-label {
    font-size: 0.6875rem;
    font-weight: 700;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: #1A1A1A;
}

.stat-label-green { color: #059669; }
.stat-label-amber { color: #D97706; }
.stat-label-blue { color: #2563EB; }
.stat-label-purple { color: #7C3AED; }

.nav-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .nav-cards {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .nav-cards {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

.nav-card {
    background: #FFFFFF;
    border: 1px solid #EBEBEB;
    border-radius: 10px;
    padding: 1.5rem;
    display: block;
    transition: all 0.15s ease;
}

.nav-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    border-color: #DDD;
}

.nav-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.nav-card-icon-blue { background: #EFF6FF; color: #2563EB; }
.nav-card-icon-purple { background: #F5F3FF; color: #7C3AED; }
.nav-card-icon-amber { background: #FFF7ED; color: #D97706; }

.nav-card-icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

.nav-card h3 {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 0.25rem;
}

.nav-card p {
    font-size: 0.8125rem;
    color: #999;
}

/* Articles table */
.admin-table {
    background: #FFFFFF;
    border: 1px solid #EBEBEB;
    border-radius: 10px;
    overflow: hidden;
}

.admin-table-header {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #EBEBEB;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #1A1A1A;
}

.admin-table-list {
    list-style: none;
}

.admin-table-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.875rem 1.25rem;
    border-bottom: 1px solid #F5F5F5;
    transition: background 0.15s ease;
}

.admin-table-row:last-child {
    border-bottom: none;
}

.admin-table-row:hover {
    background: #FAFAFA;
}

.admin-table-title {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #1A1A1A;
    transition: color 0.15s ease;
    flex: 1;
    min-width: 0;
    padding-right: 1rem;
}

.admin-table-title:hover {
    color: #2563EB;
}

.admin-table-meta {
    font-size: 0.75rem;
    color: #999;
    flex-shrink: 0;
}

/* Status badges */
.status-badge {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    font-size: 0.6875rem;
    font-weight: 600;
    border-radius: 9999px;
    flex-shrink: 0;
    margin-right: 0.75rem;
}

.status-published { background: #ECFDF5; color: #047857; }
.status-draft { background: #FFF7ED; color: #C2410C; }
.status-review { background: #EFF6FF; color: #1D4ED8; }
.status-archived { background: #F5F5F5; color: #999; }

/* ============================================
   MEDIA LIBRARY
   ============================================ */
.media-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 640px) {
    .media-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

@media (min-width: 1280px) {
    .media-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

.media-item {
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    background: #F5F5F5;
    position: relative;
    cursor: pointer;
}

.media-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-item-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.media-item:hover .media-item-overlay {
    opacity: 1;
}

.media-copy-btn {
    padding: 0.5rem 1rem;
    background: #FFFFFF;
    color: #1A1A1A;
    border: none;
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
}

/* Upload area */
.upload-zone {
    border: 2px dashed #DDD;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #FAFAFA;
}

.upload-zone:hover {
    border-color: #2563EB;
    background: #F0F5FF;
}

.upload-zone-icon {
    width: 48px;
    height: 48px;
    background: #EFF6FF;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    color: #2563EB;
}

.upload-zone-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1A1A1A;
    margin-bottom: 0.25rem;
}

.upload-zone-subtitle {
    font-size: 0.8125rem;
    color: #999;
}

/* ============================================
   EMPTY STATE
   ============================================ */
.empty-state {
    text-align: center;
    padding: 4rem 1rem;
}

.empty-icon-circle {
    width: 64px;
    height: 64px;
    background: #F5F5F5;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.empty-icon-circle svg {
    width: 1.5rem;
    height: 1.5rem;
    color: #CCC;
}

.empty-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 0.5rem;
}

.empty-subtitle {
    font-size: 0.9375rem;
    color: #999;
    margin-bottom: 1.5rem;
}

/* ============================================
   FLASH MESSAGES
   ============================================ */
.flash-container {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 380px;
}

.flash-message {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    animation: flashIn 0.3s ease-out;
}

.flash-success { background: #059669; }
.flash-error { background: #DC2626; }
.flash-info { background: #2563EB; }
.flash-warning { background: #D97706; }

.flash-message button {
    margin-left: auto;
    background: none;
    border: none;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    font-size: 1rem;
    padding: 0;
    line-height: 1;
}

.flash-message button:hover {
    color: #FFFFFF;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes flashIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.animate-marquee {
    animation: marquee 30s linear infinite;
}

.fade-in {
    animation: fadeInUp 0.5s ease-out both;
}

.section-block:nth-child(2) { animation-delay: 0.05s; }
.section-block:nth-child(3) { animation-delay: 0.1s; }
.section-block:nth-child(4) { animation-delay: 0.15s; }
.section-block:nth-child(5) { animation-delay: 0.2s; }
.section-block:nth-child(6) { animation-delay: 0.25s; }
.section-block:nth-child(7) { animation-delay: 0.3s; }
.section-block:nth-child(8) { animation-delay: 0.35s; }

.group-hover\:scale-105:hover {
    transform: scale(1.05);
}

/* ============================================
   SCROLLBAR
   ============================================ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #DDD; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #CCC; }

/* ============================================
   SELECTION
   ============================================ */
::selection { background: #DBEAFE; color: #1E40AF; }

/* ============================================
   PRINT
   ============================================ */
@media print {
    .breaking-bar, .site-header, .site-footer, .flash-container,
    .article-share, .article-nav, .related-section, .ai-summary {
        display: none !important;
    }
    body { background: #FFFFFF !important; color: #000000 !important; }
    .article-body { font-size: 12pt; }
}

/* ============================================
   RESPONSIVE OVERRIDES
   ============================================ */
@media (max-width: 640px) {
    .hero-content { padding: 1rem; }
    .auth-card { padding: 1.5rem 1.25rem; }
    .dashboard-container { padding: 1rem 0.75rem; }
}

/* ============================================
   FOOTER — Premium Dark Footer
   ============================================ */
.site-footer {
    background: #0F172A;
    color: #FFFFFF;
    margin-top: auto;
    padding: 4rem 1.5rem 2rem;
}

.footer-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

@media (min-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 1rem;
}

.footer-logo {
    width: 36px;
    height: 36px;
    background: #3B82F6;
    color: #FFFFFF;
    font-weight: 900;
    font-size: 1.125rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    flex-shrink: 0;
}

.footer-logo-text {
    font-size: 1.375rem;
    font-weight: 900;
    color: #FFFFFF;
    letter-spacing: -0.025em;
}

.footer-description {
    font-size: 0.875rem;
    color: #94A3B8;
    line-height: 1.7;
    max-width: 420px;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 0.625rem;
}

.footer-social-link {
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.06);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94A3B8;
    transition: all 0.2s ease;
}

.footer-social-link:hover {
    background: #3B82F6;
    color: #FFFFFF;
    transform: translateY(-2px);
}

.footer-social-link svg {
    width: 1rem;
    height: 1rem;
}

.footer-column-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.25rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.footer-links a {
    font-size: 0.875rem;
    color: #94A3B8;
    transition: color 0.15s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #FFFFFF;
}

.footer-divider {
    max-width: 1280px;
    margin: 2.5rem auto 0;
    border: none;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-bottom {
    max-width: 1280px;
    margin: 1.5rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
}

@media (min-width: 640px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: #64748B;
}

.footer-bottom-links {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
}

@media (min-width: 640px) {
    .footer-bottom-links {
        justify-content: flex-end;
    }
}

.footer-bottom-links a {
    font-size: 0.8125rem;
    color: #64748B;
    transition: color 0.15s ease;
}

.footer-bottom-links a:hover {
    color: #FFFFFF;
}

/* ============================================
   ARTICLE / STORY PAGE — Premium Reading
   ============================================ */

.story {
    max-width: 680px;
    margin: 0 auto;
    padding: 0 1.25rem 4rem;
}

/* --- Header --- */
.story-header {
    padding: 2.5rem 0 1.5rem;
}

.story-header-inner {
    max-width: 100%;
}

.story-badges {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.story-badge {
    display: inline-block;
    padding: 0.2rem 0.75rem;
    font-size: 0.6875rem;
    font-weight: 700;
    color: #FFFFFF;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.story-badge-news { background: #DC2626; }
.story-badge-feature { background: #059669; }
.story-badge-opinion { background: #D97706; }

.story-category {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #2563EB;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: opacity 0.15s ease;
}

.story-category:hover { opacity: 0.65; }

.story-breaking {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.2rem 0.625rem;
    background: #FEF2F2;
    color: #DC2626;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-radius: 4px;
    animation: pulse 2s infinite;
}

.story-breaking-dot {
    width: 0.375rem;
    height: 0.375rem;
    background: #DC2626;
    border-radius: 9999px;
}

.story-headline {
    font-size: 2.5rem;
    font-weight: 900;
    color: #111111;
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin-bottom: 0.875rem;
}

@media (max-width: 640px) {
    .story-headline { font-size: 1.75rem; }
}

.story-standfirst {
    font-size: 1.125rem;
    color: #555555;
    line-height: 1.55;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

/* --- Meta --- */
.story-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #E5E5E5;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.story-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.story-author-avatar {
    width: 44px;
    height: 44px;
    background: #111111;
    color: #FFFFFF;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.story-author-info {
    display: flex;
    flex-direction: column;
}

.story-author-name {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #111111;
}

.story-author-role {
    font-size: 0.75rem;
    color: #888888;
}

.story-meta-details {
    font-size: 0.8125rem;
    color: #888888;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.story-meta-sep { color: #CCCCCC; }

/* --- Featured Image --- */
.story-featured-image {
    margin: 0 -1.25rem 2.5rem;
}

@media (min-width: 680px) {
    .story-featured-image { margin: 0 0 2.5rem; }
}

.story-featured-image img {
    width: 100%;
    max-height: 500px;
    object-fit: contain;
    background: #F5F5F5;
    display: block;
}

.story-featured-caption {
    margin-top: 0.625rem;
    padding: 0 1.25rem;
    font-size: 0.8125rem;
    color: #888888;
    line-height: 1.5;
}

@media (min-width: 680px) {
    .story-featured-caption { padding: 0; }
}

.story-featured-credit { color: #AAAAAA; }

/* --- Body Content --- */
.story-body {
    font-family: 'Georgia', 'Times New Roman', 'Merriweather', serif;
    font-size: 1.125rem;
    line-height: 1.8;
    color: #222222;
}

.story-paragraph {
    margin-bottom: 1.5rem;
}

.story-paragraph a {
    color: #2563EB;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.story-paragraph a:hover { color: #1D4ED8; }

.story-subheading {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #111111;
    margin: 2.5rem 0 1rem;
    line-height: 1.3;
}

.story-figure {
    margin: 2rem 0;
}

.story-figure img {
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: contain;
    background: #F5F5F5;
    display: block;
}

.story-figure figcaption {
    margin-top: 0.5rem;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.8125rem;
    color: #888888;
    line-height: 1.5;
}

.story-figure-credit { color: #AAAAAA; }

/* Video */
.story-video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background: #000000;
}

.story-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Quote */
.story-quote {
    border-left: 3px solid #111111;
    padding-left: 1.5rem;
    margin: 2rem 0;
}

.story-quote p {
    font-size: 1.25rem;
    font-style: italic;
    color: #444444;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.story-quote cite {
    font-family: 'Inter', system-ui, sans-serif;
    font-style: normal;
    font-size: 0.875rem;
    color: #888888;
}

/* Pullquote */
.story-pullquote {
    border-top: 2px solid #111111;
    border-bottom: 2px solid #111111;
    padding: 1.5rem 0;
    margin: 2rem 0;
    text-align: center;
}

.story-pullquote p {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 1.375rem;
    font-weight: 700;
    color: #111111;
    line-height: 1.4;
}

/* List */
.story-list {
    margin: 1.25rem 0;
    padding-left: 1.25rem;
}

.story-list li {
    margin-bottom: 0.5rem;
    padding-left: 0.375rem;
}

.story-list li::marker { color: #2563EB; }

/* --- Summary Box --- */
.story-summary {
    background: #F8FAFD;
    border-left: 3px solid #2563EB;
    padding: 1.25rem 1.5rem;
    margin-bottom: 2rem;
}

.story-summary-label {
    display: block;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.6875rem;
    font-weight: 700;
    color: #2563EB;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
}

.story-summary p {
    font-size: 1rem;
    font-weight: 500;
    color: #333333;
    line-height: 1.6;
}

/* --- Recommended / Related Inline --- */
.story-related {
    background: #F9F9F9;
    border: 1px solid #EBEBEB;
    padding: 1.25rem;
    margin: 2rem 0;
}

.story-related-label {
    display: block;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.6875rem;
    font-weight: 700;
    color: #999999;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.875rem;
}

.story-related-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.story-related-card:hover .story-related-title { color: #2563EB; }

.story-related-thumb {
    width: 120px;
    height: 72px;
    border-radius: 2px;
    overflow: hidden;
    flex-shrink: 0;
    background: #EBEBEB;
}

.story-related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-related-content {
    flex: 1;
    min-width: 0;
}

.story-related-title {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #111111;
    line-height: 1.35;
    transition: color 0.15s ease;
    margin-bottom: 0.25rem;
}

.story-related-meta {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.75rem;
    color: #999999;
}

.story-related-arrow {
    width: 1.25rem;
    height: 1.25rem;
    color: #CCCCCC;
    flex-shrink: 0;
    transition: color 0.15s ease;
}

.story-related-card:hover .story-related-arrow { color: #2563EB; }

/* --- Share Bar --- */
.story-share {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 0;
    margin: 2rem 0;
    border-top: 1px solid #E5E5E5;
    border-bottom: 1px solid #E5E5E5;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.story-share > span {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    color: #555555;
}

.story-share-buttons {
    display: flex;
    gap: 0.375rem;
}

.story-share-buttons button {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F5F5F5;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: #555555;
    transition: all 0.15s ease;
}

.story-share-buttons button:hover { background: #E5E5E5; color: #111111; }
.story-share-buttons button svg { width: 1.125rem; height: 1.125rem; }

/* --- Prev / Next Nav --- */
.story-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 1rem;
}

.story-nav-link {
    text-decoration: none;
    min-width: 0;
}

.story-nav-next { text-align: right; }

.story-nav-label {
    display: block;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.6875rem;
    font-weight: 700;
    color: #AAAAAA;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.375rem;
}

.story-nav-title {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #111111;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.15s ease;
}

.story-nav-link:hover .story-nav-title { color: #2563EB; }

/* --- Responsive --- */
@media (max-width: 640px) {
    .story { padding: 0 1rem 3rem; }
    .story-header { padding: 1.5rem 0 1rem; }
    .story-headline { font-size: 1.75rem; }
    .story-body { font-size: 1.0625rem; }
    .story-meta { flex-direction: column; align-items: flex-start; }
    .story-related-card { flex-wrap: wrap; }
    .story-related-thumb { width: 100%; height: 180px; }
    .story-nav { grid-template-columns: 1fr; gap: 1rem; }
    .story-nav-next { text-align: left; }
}
/* ============================================
   STORY ACTIONS (Like + Save)
   ============================================ */
.story-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 0;
    border-top: 1px solid #E5E5E5;
    margin-bottom: 0;
}

.story-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #555;
    background: #F5F5F5;
    border: 1px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: 'Inter', system-ui, sans-serif;
}

.story-action-btn:hover { background: #EBEBEB; color: #111; }
.story-action-btn.active { background: #FEF2F2; color: #DC2626; border-color: #FECACA; }
.story-action-btn.active svg { color: #DC2626; }
.story-action-btn svg { width: 1.125rem; height: 1.125rem; }

/* ============================================
   COMMENTS
   ============================================ */
.story-comments {
    padding: 2rem 0;
    border-top: 1px solid #E5E5E5;
}

.story-comments-title {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 1.5rem;
}

.story-comments-title span {
    font-weight: 400;
    color: #999;
    font-size: 1rem;
}

.story-comment-form {
    margin-bottom: 2rem;
}

.story-comment-form textarea {
    width: 100%;
    padding: 0.875rem;
    font-size: 0.9375rem;
    font-family: 'Inter', system-ui, sans-serif;
    border: 1px solid #DDD;
    border-radius: 8px;
    resize: vertical;
    outline: none;
    transition: border-color 0.15s ease;
    background: #FAFAFA;
    color: #111;
}

.story-comment-form textarea:focus {
    border-color: #2563EB;
    background: #FFF;
}

.story-comment-submit {
    margin-top: 0.625rem;
    padding: 0.625rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #FFF;
    background: #2563EB;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Inter', system-ui, sans-serif;
    transition: background 0.15s ease;
}

.story-comment-submit:hover { background: #1D4ED8; }

.story-comment-login-prompt {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem;
    background: #F9FAFB;
    border: 1px solid #EBEBEB;
    border-radius: 8px;
    font-size: 0.875rem;
    color: #666;
    flex-wrap: wrap;
}

.story-comment-register-btn {
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #FFF;
    background: #2563EB;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-family: 'Inter', system-ui, sans-serif;
}

.story-comment-login-btn {
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #2563EB;
    background: none;
    border: 1px solid #2563EB;
    border-radius: 6px;
    cursor: pointer;
    font-family: 'Inter', system-ui, sans-serif;
}

/* Comment Items */
.story-comments-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.story-comments-empty {
    color: #999;
    font-size: 0.9375rem;
    text-align: center;
    padding: 2rem;
}

.story-comment-item {
    display: flex;
    gap: 0.875rem;
}

.story-comment-avatar {
    width: 40px;
    height: 40px;
    background: #111;
    color: #FFF;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    flex-shrink: 0;
    font-family: 'Inter', system-ui, sans-serif;
}

.story-comment-body {
    flex: 1;
    min-width: 0;
}

.story-comment-header {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 0.25rem;
}

.story-comment-author {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    color: #111;
}

.story-comment-time {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.75rem;
    color: #AAA;
}

.story-comment-text {
    font-size: 0.9375rem;
    color: #444;
    line-height: 1.6;
}

/* ============================================
   MORE TO READ
   ============================================ */
.more-to-read {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #111;
}

.more-to-read-title {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 1.375rem;
    font-weight: 800;
    color: #111;
    margin-bottom: 1.5rem;
}

.more-to-read-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 480px) {
    .more-to-read-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 768px) {
    .more-to-read-grid {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}

.more-to-read-card {
    display: block;
    text-decoration: none;
    transition: opacity 0.15s ease;
}

.more-to-read-card:hover { opacity: 0.8; }

.more-to-read-thumb {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #F5F5F5;
    margin-bottom: 0.625rem;
}

.more-to-read-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.more-to-read-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F5F5F5;
}

.more-to-read-placeholder svg {
    width: 1.5rem;
    height: 1.5rem;
}

.more-to-read-headline {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    color: #111;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0.25rem;
}

.more-to-read-meta {
    font-size: 0.75rem;
    color: #999;
}

/* ============================================
   MODAL
   ============================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    padding: 1rem;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-box {
    background: #FFF;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    max-width: 440px;
    width: 100%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 32px;
    height: 32px;
    border: none;
    background: #F5F5F5;
    border-radius: 9999px;
    font-size: 1.25rem;
    cursor: pointer;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

.modal-close:hover { background: #EBEBEB; color: #111; }

.modal-title {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: #111;
    text-align: center;
    margin-bottom: 0.375rem;
}

.modal-subtitle {
    font-size: 0.9375rem;
    color: #888;
    text-align: center;
    margin-bottom: 1.5rem;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.modal-input {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    font-family: 'Inter', system-ui, sans-serif;
    border: 1px solid #DDD;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.15s ease;
    background: #FAFAFA;
    color: #111;
}

.modal-input:focus { border-color: #2563EB; background: #FFF; }

.modal-submit {
    width: 100%;
    padding: 0.75rem;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #FFF;
    background: #2563EB;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Inter', system-ui, sans-serif;
    margin-top: 0.25rem;
    transition: background 0.15s ease;
}

.modal-submit:hover { background: #1D4ED8; }

.modal-switch {
    text-align: center;
    font-size: 0.875rem;
    color: #888;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid #F0F0F0;
}

.modal-switch a {
    color: #2563EB;
    font-weight: 600;
}

.modal-switch a:hover { text-decoration: underline; }
/* ============================================
   CATEGORY PAGE
   ============================================ */
.category-page {
    background: #FFFFFF;
    min-height: 60vh;
}

.category-container {
    max-width: 960px;
    margin: 0 auto;
    padding: 2.5rem 1.25rem 3rem;
}

/* Header */
.category-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #EBEBEB;
}

.category-header-accent {
    width: 4px;
    height: 2.5rem;
    border-radius: 9999px;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.category-title {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 2rem;
    font-weight: 900;
    color: #111;
    letter-spacing: -0.025em;
}

.category-desc {
    font-size: 0.9375rem;
    color: #888;
    margin-top: 0.375rem;
    line-height: 1.5;
}

/* Lead Story */
.category-lead {
    margin-bottom: 2rem;
}

.category-lead-card {
    display: grid;
    grid-template-columns: 1fr;
    text-decoration: none;
    border-bottom: 1px solid #EBEBEB;
    padding-bottom: 2rem;
}

@media (min-width: 640px) {
    .category-lead-card {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

.category-lead-image {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #F5F5F5;
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .category-lead-image {
        margin-bottom: 0;
    }
}

.category-lead-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease-out;
}

.category-lead-card:hover .category-lead-image img {
    transform: scale(1.03);
}

.category-lead-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F5F5F5;
}

.category-lead-placeholder svg {
    width: 3rem;
    height: 3rem;
}

.category-lead-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.category-lead-headline {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: #111;
    line-height: 1.2;
    margin-bottom: 0.625rem;
    transition: color 0.15s ease;
}

.category-lead-card:hover .category-lead-headline {
    color: #2563EB;
}

.category-lead-excerpt {
    font-size: 0.9375rem;
    color: #666;
    line-height: 1.55;
    margin-bottom: 1rem;
}

.category-lead-meta {
    font-size: 0.8125rem;
    color: #999;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

/* Grid */
.category-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

@media (min-width: 768px) {
    .category-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0;
    }
}

/* Grid Item */
.cat-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #F0F0F0;
}

@media (min-width: 768px) {
    .cat-item {
        padding: 1rem;
    }
    .cat-item:nth-child(odd) {
        padding-left: 0;
    }
    .cat-item:nth-child(even) {
        border-left: 1px solid #F0F0F0;
        padding-right: 0;
    }
}

.cat-item-thumb {
    width: 100px;
    height: 80px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
    background: #F5F5F5;
}

.cat-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease-out;
}

.cat-item-thumb:hover img {
    transform: scale(1.05);
}

.cat-item-thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F5F5F5;
}

.cat-item-thumb-placeholder svg {
    width: 1.25rem;
    height: 1.25rem;
}

.cat-item-content {
    flex: 1;
    min-width: 0;
}

.cat-item-headline {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.38;
    margin-bottom: 0.375rem;
}

.cat-item-headline a {
    color: #111;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.15s ease;
}

.cat-item-headline a:hover {
    color: #2563EB;
}

.cat-item-excerpt {
    font-size: 0.8125rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 0.375rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 480px) {
    .cat-item-excerpt {
        display: none;
    }
}

.cat-item-meta {
    font-size: 0.75rem;
    color: #999;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

/* Load More */
.category-load-more {
    text-align: center;
    padding: 2rem 0 1rem;
}

.category-load-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #FFF;
    background: #111;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Inter', system-ui, sans-serif;
    transition: all 0.15s ease;
}

.category-load-btn:hover {
    background: #2563EB;
}

.category-load-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.category-load-btn svg {
    width: 1rem;
    height: 1rem;
}

/* Total count */
.category-total {
    text-align: center;
    font-size: 0.8125rem;
    color: #AAA;
    margin-top: 1rem;
}

/* ============================================
   ADMIN PANEL — Complete Design System
   ============================================ */

.admin-layout {
    background: #F8F9FA;
    min-height: 100vh;
}

.admin-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1.5rem;
}

/* Header */
.admin-page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.admin-page-title {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    color: #111;
}

.admin-page-subtitle {
    font-size: 0.875rem;
    color: #888;
    margin-top: 0.25rem;
}

.admin-header-actions {
    display: flex;
    gap: 0.5rem;
}

/* Buttons */
.admin-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Inter', system-ui, sans-serif;
    border: none;
    text-decoration: none;
    transition: all 0.15s ease;
}

.admin-btn-ghost {
    background: #FFF;
    border: 1px solid #DDD;
    color: #555;
}

.admin-btn-ghost:hover { background: #F5F5F5; color: #111; }

.admin-btn-blue {
    background: #2563EB;
    color: #FFF;
}

.admin-btn-blue:hover { background: #1D4ED8; }

.admin-btn-primary {
    background: #DC2626;
    color: #FFF;
}

.admin-btn-primary:hover { background: #B91C1C; }

.admin-btn-text {
    background: none;
    border: none;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Inter', system-ui, sans-serif;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: all 0.15s ease;
}

.admin-btn-text-red { color: #DC2626; }
.admin-btn-text-red:hover { background: #FEF2F2; }
.admin-btn-text-green { color: #059669; }
.admin-btn-text-green:hover { background: #ECFDF5; }

/* Stat Grid */
.admin-stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .admin-stat-grid { grid-template-columns: 1fr 1fr 1fr; }
}

@media (min-width: 1024px) {
    .admin-stat-grid { grid-template-columns: 1fr 1fr 1fr 1fr 1fr; }
}

.admin-stat-card {
    background: #FFF;
    border: 1px solid #EBEBEB;
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: box-shadow 0.15s ease;
}

.admin-stat-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.04); }

.admin-stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.admin-stat-icon svg { width: 1.25rem; height: 1.25rem; }
.admin-stat-icon-blue { background: #EFF6FF; color: #2563EB; }
.admin-stat-icon-green { background: #ECFDF5; color: #059669; }
.admin-stat-icon-amber { background: #FFF7ED; color: #D97706; }
.admin-stat-icon-purple { background: #F5F3FF; color: #7C3AED; }
.admin-stat-icon-red { background: #FEF2F2; color: #DC2626; }

.admin-stat-value {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    color: #111;
    line-height: 1;
}

.admin-stat-label {
    font-size: 0.75rem;
    color: #888;
    font-weight: 500;
}

/* Quick Nav */
.admin-quick-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .admin-quick-nav { grid-template-columns: 1fr 1fr 1fr 1fr; }
}

.admin-quick-card {
    background: #FFF;
    border: 1px solid #EBEBEB;
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: #111;
    text-decoration: none;
    transition: all 0.15s ease;
    position: relative;
}

.admin-quick-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.04); border-color: #2563EB; }
.admin-quick-card span { display: block; font-size: 1.5rem; margin-bottom: 0.25rem; }

.admin-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #DC2626;
    color: #FFF;
    font-size: 0.625rem;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Grid */
.admin-grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .admin-grid-2 { grid-template-columns: 1fr 1fr; }
}

/* Card */
.admin-card {
    background: #FFF;
    border: 1px solid #EBEBEB;
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.admin-card-title {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 1rem;
}

.admin-empty-text {
    font-size: 0.875rem;
    color: #AAA;
    text-align: center;
    padding: 2rem;
}

/* Trending */
.admin-trending-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.admin-trending-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.625rem;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.15s ease;
}

.admin-trending-item:hover { background: #F8F9FA; }

.admin-trending-rank {
    width: 28px;
    height: 28px;
    background: #F0F0F0;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #666;
    flex-shrink: 0;
}

.admin-trending-item:nth-child(1) .admin-trending-rank { background: #FEF3C7; color: #D97706; }
.admin-trending-item:nth-child(2) .admin-trending-rank { background: #E5E7EB; color: #666; }
.admin-trending-item:nth-child(3) .admin-trending-rank { background: #FDE8E8; color: #C2410C; }

.admin-trending-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #111;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.admin-trending-meta {
    font-size: 0.75rem;
    color: #AAA;
    display: block;
    margin-top: 0.125rem;
}

/* Activity */
.admin-activity-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.admin-activity-item {
    display: flex;
    gap: 0.75rem;
}

.admin-activity-avatar {
    width: 32px;
    height: 32px;
    background: #111;
    color: #FFF;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.admin-activity-text {
    font-size: 0.8125rem;
    color: #555;
    line-height: 1.4;
}

.admin-activity-text strong { color: #111; }

.admin-activity-time {
    font-size: 0.6875rem;
    color: #BBB;
}

/* Authors */
.admin-authors-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .admin-authors-grid { grid-template-columns: 1fr 1fr 1fr 1fr 1fr; }
}

.admin-author-card {
    text-align: center;
    padding: 1rem;
}

.admin-author-avatar-lg {
    width: 48px;
    height: 48px;
    background: #111;
    color: #FFF;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0 auto 0.5rem;
}

.admin-author-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: #111;
    display: block;
}

.admin-author-count {
    font-size: 0.75rem;
    color: #999;
}

/* Table */
.admin-table {
    border: 1px solid #F0F0F0;
    border-radius: 8px;
    overflow: hidden;
}

.admin-table-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #F5F5F5;
    transition: background 0.15s ease;
}

.admin-table-row:last-child { border-bottom: none; }
.admin-table-row:hover { background: #FAFAFA; }

.admin-table-main {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    min-width: 0;
    flex: 1;
}

.admin-table-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: #111;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-table-link:hover { color: #2563EB; }

.admin-table-meta {
    font-size: 0.75rem;
    color: #999;
    flex-shrink: 0;
    margin-left: 1rem;
}

/* Filters */
.admin-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    align-items: center;
}

.admin-search-form {
    position: relative;
    flex: 1;
    min-width: 200px;
    max-width: 350px;
}

.admin-search-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1rem;
    height: 1rem;
    color: #BBB;
}

.admin-search-input {
    width: 100%;
    padding: 0.5rem 0.75rem 0.5rem 2.25rem;
    font-size: 0.8125rem;
    border: 1px solid #DDD;
    border-radius: 8px;
    font-family: 'Inter', system-ui, sans-serif;
    outline: none;
    transition: all 0.15s ease;
    background: #FFF;
}

.admin-search-input:focus { border-color: #2563EB; box-shadow: 0 0 0 3px rgba(37,99,235,0.06); }

.admin-filter-chips {
    display: flex;
    gap: 0.375rem;
    flex-wrap: wrap;
}

.admin-chip {
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 9999px;
    text-decoration: none;
    color: #666;
    background: #F0F0F0;
    transition: all 0.15s ease;
}

.admin-chip:hover { background: #E0E0E0; }
.admin-chip.active { background: #111; color: #FFF; }

.admin-filter-row {
    display: flex;
    gap: 0.5rem;
}

.admin-filter-select {
    padding: 0.5rem 0.75rem;
    font-size: 0.8125rem;
    border: 1px solid #DDD;
    border-radius: 8px;
    font-family: 'Inter', system-ui, sans-serif;
    outline: none;
    background: #FFF;
    cursor: pointer;
}

.admin-filter-select-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
}

/* Bulk Bar */
.admin-bulk-bar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: #EFF6FF;
    border: 1px solid #BFDBFE;
    border-radius: 8px;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.admin-bulk-count {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #2563EB;
}

/* Article List */
.admin-article-list {
    border: 1px solid #EBEBEB;
    border-radius: 10px;
    overflow: hidden;
    background: #FFF;
}

.admin-article-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid #F5F5F5;
    transition: background 0.15s ease;
}

.admin-article-row:last-child { border-bottom: none; }
.admin-article-row:hover { background: #FAFAFA; }

.admin-checkbox {
    width: 1rem;
    height: 1rem;
    accent-color: #2563EB;
    cursor: pointer;
    flex-shrink: 0;
}

.admin-article-thumb {
    width: 56px;
    height: 40px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
    background: #F5F5F5;
}

.admin-article-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.admin-article-thumb-empty {
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-article-thumb-empty svg {
    width: 1rem;
    height: 1rem;
}

.admin-article-info {
    flex: 1;
    min-width: 0;
}

.admin-article-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.admin-article-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #111;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-article-title:hover { color: #2563EB; }

.admin-article-meta {
    font-size: 0.75rem;
    color: #999;
}

.admin-article-stats {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.25rem;
    font-size: 0.6875rem;
    color: #AAA;
}

.admin-article-actions {
    display: flex;
    gap: 0.25rem;
    flex-shrink: 0;
}

.admin-action-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.15s ease;
}

.admin-action-btn:hover { background: #F0F0F0; }
.admin-action-delete:hover { background: #FEF2F2; }

/* Status Badge */
.admin-status-badge {
    padding: 0.15rem 0.5rem;
    font-size: 0.625rem;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    flex-shrink: 0;
}

.admin-status-published { background: #ECFDF5; color: #047857; }
.admin-status-draft { background: #FFF7ED; color: #C2410C; }
.admin-status-review { background: #EFF6FF; color: #1D4ED8; }

/* Comments List */
.admin-comments-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid #EBEBEB;
    border-radius: 10px;
    overflow: hidden;
    background: #FFF;
}

.admin-comment-row {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid #F5F5F5;
}

.admin-comment-row:last-child { border-bottom: none; }

.admin-comment-avatar {
    width: 36px;
    height: 36px;
    background: #111;
    color: #FFF;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8125rem;
    font-weight: 700;
    flex-shrink: 0;
}

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

.admin-comment-header {
    font-size: 0.8125rem;
    color: #666;
    margin-bottom: 0.375rem;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    flex-wrap: wrap;
}

.admin-comment-header strong { color: #111; }

.admin-comment-article-link {
    color: #2563EB;
    text-decoration: none;
    font-weight: 500;
}

.admin-comment-article-link:hover { text-decoration: underline; }

.admin-comment-body {
    font-size: 0.875rem;
    color: #444;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.admin-comment-actions {
    display: flex;
    gap: 0.5rem;
}

/* Users Grid */
.admin-users-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 480px) { .admin-users-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 768px) { .admin-users-grid { grid-template-columns: 1fr 1fr 1fr; } }
@media (min-width: 1024px) { .admin-users-grid { grid-template-columns: 1fr 1fr 1fr 1fr; } }

.admin-user-card {
    background: #FFF;
    border: 1px solid #EBEBEB;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.15s ease;
}

.admin-user-card.inactive { opacity: 0.5; }

.admin-user-avatar-xl {
    width: 56px;
    height: 56px;
    background: #111;
    color: #FFF;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 auto 0.75rem;
}

.admin-user-name {
    font-size: 1rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 0.125rem;
}

.admin-user-email {
    font-size: 0.75rem;
    color: #999;
    margin-bottom: 0.75rem;
}

.admin-user-role-badge {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    font-size: 0.6875rem;
    font-weight: 600;
    background: #EFF6FF;
    color: #2563EB;
    border-radius: 4px;
    margin: 0 0.25rem;
}

.admin-user-stats {
    display: flex;
    justify-content: center;
    gap: 1rem;
    font-size: 0.75rem;
    color: #AAA;
    margin: 0.75rem 0;
}

.admin-user-actions {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    align-items: center;
}

.admin-user-role-form { display: inline; }

/* Pagination */
.admin-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    font-size: 0.875rem;
}

.admin-pagination a {
    padding: 0.5rem 1rem;
    background: #FFF;
    border: 1px solid #DDD;
    border-radius: 8px;
    text-decoration: none;
    color: #555;
    font-weight: 600;
    transition: all 0.15s ease;
}

.admin-pagination a:hover { background: #F5F5F5; color: #111; }

.admin-empty-full {
    text-align: center;
    padding: 3rem;
    color: #999;
}

.admin-empty-full a { color: #2563EB; font-weight: 600; }

/* Modal — Small */
.modal-box-sm { max-width: 380px; padding: 1.5rem; }

.modal-confirm-text {
    font-size: 1rem;
    font-weight: 600;
    color: #111;
    margin-bottom: 1.25rem;
    text-align: center;
}

.modal-confirm-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
}
/* ============================================
   ADMIN DATA TABLE
   ============================================ */
.admin-table-wrapper {
    background: #FFF;
    border: 1px solid #EBEBEB;
    border-radius: 10px;
    overflow: hidden;
    overflow-x: auto;
}

.admin-data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8125rem;
}

.admin-data-table thead {
    background: #F8F9FA;
    border-bottom: 1px solid #EBEBEB;
}

.admin-data-table th {
    padding: 0.75rem 1rem;
    text-align: left;
    font-size: 0.6875rem;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.admin-data-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #F5F5F5;
    vertical-align: middle;
}

.admin-data-table tr:last-child td { border-bottom: none; }
.admin-data-table tr:hover td { background: #FAFAFA; }

.admin-user-cell {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.admin-avatar-sm {
    width: 36px;
    height: 36px;
    border-radius: 9999px;
    overflow: hidden;
    flex-shrink: 0;
    background: #F0F0F0;
}

.admin-avatar-sm img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.admin-avatar-sm-text {
    background: #111;
    color: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8125rem;
}

.admin-user-name-text {
    font-weight: 600;
    color: #111;
    white-space: nowrap;
}

.admin-email-text {
    color: #666;
    font-size: 0.8125rem;
}

.admin-role-select {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    border: 1px solid #DDD;
    border-radius: 6px;
    font-family: 'Inter', system-ui, sans-serif;
    background: #FFF;
    cursor: pointer;
    outline: none;
}

.admin-role-select:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.admin-role-form {
    display: inline;
}

.admin-row-actions {
    display: flex;
    gap: 0.25rem;
}

.admin-empty-cell {
    text-align: center;
    padding: 3rem !important;
    color: #999;
}
.story-author-avatar {
    width: 44px;
    height: 44px;
    background: #111111;
    color: #FFFFFF;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
    overflow: hidden;  /* ADD THIS */
}

.story-author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-author-avatar {
    width: 1.75rem;
    height: 1.75rem;
    background: rgba(255,255,255,0.2);
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-weight: 700;
    font-size: 0.6875rem;
    flex-shrink: 0;
    overflow: hidden;  /* ADD THIS */
}

.hero-author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* ============================================
   ADMIN DASHBOARD — Premium Design
   ============================================ */

.dash-layout {
    background: #F7F8FA;
    min-height: 100vh;
}

.dash-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

/* Header */
.dash-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.dash-title {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    color: #0F172A;
    letter-spacing: -0.025em;
}

.dash-subtitle {
    font-size: 0.875rem;
    color: #64748B;
    margin-top: 0.25rem;
}

.dash-header-actions {
    display: flex;
    gap: 0.625rem;
}

/* Buttons */
.dash-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5625rem 1.125rem;
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: 8px;
    font-family: 'Inter', system-ui, sans-serif;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.15s ease;
}

.dash-btn-primary {
    background: #2563EB;
    color: #FFF;
}

.dash-btn-primary:hover {
    background: #1D4ED8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37,99,235,0.2);
}

.dash-btn-outline {
    background: #FFF;
    border: 1px solid #E2E8F0;
    color: #475569;
}

.dash-btn-outline:hover {
    background: #F8FAFC;
    border-color: #CBD5E1;
}

/* Stat Cards */
.dash-stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .dash-stat-grid { grid-template-columns: 1fr 1fr 1fr; }
}

@media (min-width: 1024px) {
    .dash-stat-grid { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
}

.dash-stat-card {
    background: #FFF;
    border: 1px solid #F1F5F9;
    border-radius: 14px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.2s ease;
    cursor: default;
}

.dash-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
    border-color: #E2E8F0;
}

.dash-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: transform 0.2s ease;
}

.dash-stat-card:hover .dash-stat-icon {
    transform: scale(1.1);
}

.dash-stat-icon-indigo { background: #EEF2FF; color: #4F46E5; }
.dash-stat-icon-emerald { background: #ECFDF5; color: #059669; }
.dash-stat-icon-amber { background: #FFF7ED; color: #EA580C; }
.dash-stat-icon-violet { background: #F5F3FF; color: #7C3AED; }
.dash-stat-icon-rose { background: #FFF1F2; color: #E11D48; }

.dash-stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #0F172A;
    line-height: 1;
    margin-bottom: 0.375rem;
    letter-spacing: -0.02em;
}

.dash-stat-label {
    font-size: 0.8125rem;
    color: #94A3B8;
    font-weight: 500;
}

/* Quick Actions */
.dash-quick-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 480px) {
    .dash-quick-row { grid-template-columns: 1fr 1fr 1fr 1fr; }
}

.dash-quick-card {
    background: #FFF;
    border: 1px solid #F1F5F9;
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #475569;
    text-decoration: none;
    position: relative;
    transition: all 0.2s ease;
    cursor: pointer;
}

.dash-quick-card:hover {
    background: #F8FAFC;
    border-color: #CBD5E1;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.dash-quick-card svg { flex-shrink: 0; }

.dash-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 20px;
    height: 20px;
    background: #EF4444;
    color: #FFF;
    font-size: 0.625rem;
    font-weight: 700;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
}

/* Two Column */
.dash-two-col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .dash-two-col { grid-template-columns: 1fr 1fr; }
}

/* Panel */
.dash-panel {
    background: #FFF;
    border: 1px solid #F1F5F9;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.dash-panel-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #F8FAFC;
}

.dash-panel-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: #0F172A;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dash-panel-title svg { color: #2563EB; flex-shrink: 0; }

/* Trending */
.dash-trending {
    padding: 0.5rem;
}

.dash-trending-item {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.15s ease;
}

.dash-trending-item:hover { background: #F8FAFC; }

.dash-rank {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8125rem;
    font-weight: 700;
    background: #F1F5F9;
    color: #64748B;
    flex-shrink: 0;
}

.dash-rank-gold { background: #FEF3C7; color: #D97706; }
.dash-rank-silver { background: #F1F5F9; color: #64748B; }
.dash-rank-bronze { background: #FEE2E2; color: #DC2626; }

.dash-trending-title {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #0F172A;
    line-height: 1.4;
}

.dash-trending-meta {
    display: block;
    font-size: 0.6875rem;
    color: #94A3B8;
    margin-top: 0.125rem;
}

/* Activity */
.dash-activity {
    padding: 0.75rem 1.5rem;
}

.dash-activity-item {
    display: flex;
    gap: 0.75rem;
    padding: 0.625rem 0;
    position: relative;
}

.dash-activity-item:not(:last-child) {
    border-left: 2px solid #F1F5F9;
    margin-left: 3px;
    padding-left: 1rem;
}

.dash-activity-dot {
    width: 8px;
    height: 8px;
    background: #2563EB;
    border-radius: 50%;
    position: absolute;
    left: -5px;
    top: 14px;
    flex-shrink: 0;
}

.dash-activity-text {
    font-size: 0.8125rem;
    color: #475569;
    line-height: 1.4;
}

.dash-activity-text strong { color: #0F172A; }
.dash-activity-action { color: #2563EB; font-weight: 500; }
.dash-activity-target { color: #94A3B8; }
.dash-activity-detail { color: #94A3B8; font-size: 0.75rem; display: block; margin-top: 0.125rem; }

.dash-activity-time {
    font-size: 0.6875rem;
    color: #CBD5E1;
    margin-top: 0.125rem;
    display: block;
}

/* Authors */
.dash-authors {
    padding: 0.75rem 1.5rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 480px) { .dash-authors { grid-template-columns: 1fr 1fr; } }
@media (min-width: 768px) { .dash-authors { grid-template-columns: 1fr 1fr 1fr; } }

.dash-author-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.dash-author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #0F172A;
    color: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8125rem;
    flex-shrink: 0;
    overflow: hidden;
}

.dash-author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dash-author-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: #0F172A;
    display: block;
}

.dash-author-role {
    font-size: 0.6875rem;
    color: #94A3B8;
}

.dash-author-count {
    margin-left: auto;
    font-size: 0.75rem;
    color: #94A3B8;
    font-weight: 500;
}

/* Article List */
.dash-article-list {
    padding: 0.25rem;
}

.dash-article-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.25rem;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.15s ease;
}

.dash-article-row:hover { background: #F8FAFC; }

.dash-status {
    padding: 0.2rem 0.5rem;
    font-size: 0.625rem;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    flex-shrink: 0;
}

.dash-status-published { background: #ECFDF5; color: #047857; }
.dash-status-draft { background: #FFF7ED; color: #C2410C; }
.dash-status-review { background: #EEF2FF; color: #4338CA; }

.dash-article-title {
    flex: 1;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #0F172A;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dash-article-meta {
    font-size: 0.75rem;
    color: #94A3B8;
    flex-shrink: 0;
    white-space: nowrap;
}

.dash-article-row svg {
    flex-shrink: 0;
    color: #CBD5E1;
    transition: transform 0.15s ease;
}

.dash-article-row:hover svg {
    transform: translateX(2px);
    color: #2563EB;
}

/* Empty */
.dash-empty {
    padding: 2rem;
    text-align: center;
    font-size: 0.875rem;
    color: #94A3B8;
}

.dash-empty-state {
    padding: 3rem;
    text-align: center;
}

.dash-empty-state svg { margin: 0 auto 0.75rem; }
.dash-empty-state p { font-size: 0.875rem; color: #94A3B8; margin-bottom: 0.5rem; }
.dash-empty-state a { font-size: 0.875rem; color: #2563EB; font-weight: 600; text-decoration: none; }
.dash-empty-state a:hover { text-decoration: underline; }

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeInUp 0.5s ease-out both;
}

.animate-delay-1 { animation-delay: 0.05s; }
.animate-delay-2 { animation-delay: 0.1s; }
.animate-delay-3 { animation-delay: 0.15s; }
.animate-delay-4 { animation-delay: 0.2s; }
/* ============================================
   ADMIN ARTICLES PAGE
   ============================================ */

.dash-panel-body {
    padding: 1.25rem;
}

/* Filter Form */
.dash-filter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.dash-search-wrap {
    position: relative;
    flex: 1;
    min-width: 200px;
    max-width: 320px;
}

.dash-search-icon-svg {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94A3B8;
}

.dash-search-input {
    width: 100%;
    padding: 0.5625rem 0.75rem 0.5625rem 2.25rem;
    font-size: 0.8125rem;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    font-family: 'Inter', system-ui, sans-serif;
    background: #FFF;
    outline: none;
    color: #0F172A;
    transition: all 0.15s ease;
}

.dash-search-input:focus {
    border-color: #2563EB;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.06);
}

.dash-search-input::placeholder { color: #CBD5E1; }

/* Chips */
.dash-chips {
    display: flex;
    gap: 0.375rem;
    flex-wrap: wrap;
}

.dash-chip {
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    color: #64748B;
    background: #F1F5F9;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.dash-chip:hover { background: #E2E8F0; color: #0F172A; }

.dash-chip-active {
    background: #0F172A;
    color: #FFF;
}

.dash-chip-active:hover {
    background: #1E293B;
    color: #FFF;
}

/* Selects */
.dash-select-row {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.dash-select {
    padding: 0.5rem 0.75rem;
    font-size: 0.8125rem;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    font-family: 'Inter', system-ui, sans-serif;
    background: #FFF;
    outline: none;
    cursor: pointer;
    color: #0F172A;
    transition: all 0.15s ease;
}

.dash-select:focus { border-color: #2563EB; }

.dash-select-sm {
    padding: 0.375rem 0.625rem;
    font-size: 0.75rem;
}

/* Bulk Bar */
.dash-bulk-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.25rem;
    background: #EEF2FF;
    border: 1px solid #C7D2FE;
    border-radius: 10px;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.dash-bulk-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #4338CA;
}

.dash-bulk-count {
    font-size: 0.8125rem;
    color: #4338CA;
}

.dash-bulk-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.dash-btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
}

/* Article Table */
.dash-article-table {
    border-radius: 0;
}

.dash-article-item {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #F1F5F9;
    transition: background 0.15s ease;
}

.dash-article-item:last-child { border-bottom: none; }
.dash-article-item:hover { background: #F8FAFC; }

/* Checkbox */
.dash-checkbox-wrap {
    cursor: pointer;
    flex-shrink: 0;
    position: relative;
}

.dash-checkbox {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.dash-checkbox-visual {
    width: 20px;
    height: 20px;
    border: 2px solid #CBD5E1;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
    background: #FFF;
}

.dash-checkbox-visual svg {
    opacity: 0;
    transform: scale(0);
    transition: all 0.15s ease;
    color: #FFF;
}

.dash-checkbox:checked + .dash-checkbox-visual {
    background: #2563EB;
    border-color: #2563EB;
}

.dash-checkbox:checked + .dash-checkbox-visual svg {
    opacity: 1;
    transform: scale(1);
}

/* Thumbnail */
.dash-article-thumb {
    width: 56px;
    height: 40px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    background: #F1F5F9;
}

.dash-article-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dash-article-thumb-empty {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Main Content */
.dash-article-main {
    flex: 1;
    min-width: 0;
}

.dash-article-top {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.dash-article-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: #0F172A;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.15s ease;
}

.dash-article-link:hover { color: #2563EB; }

.dash-article-info {
    font-size: 0.75rem;
    color: #94A3B8;
    display: flex;
    align-items: center;
    gap: 0.125rem;
    flex-wrap: wrap;
}

.dash-info-sep { color: #CBD5E1; margin: 0 0.125rem; }

.dash-article-type-badge {
    padding: 0.1rem 0.375rem;
    background: #F1F5F9;
    border-radius: 4px;
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #64748B;
}

/* Mini Stats */
.dash-article-stats {
    display: flex;
    gap: 1rem;
    margin-top: 0.375rem;
}

.dash-stat-mini {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.6875rem;
    color: #94A3B8;
}

.dash-stat-mini svg { color: #CBD5E1; }

/* Actions */
.dash-article-actions {
    display: flex;
    gap: 0.25rem;
    flex-shrink: 0;
}

.dash-icon-btn {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid transparent;
    background: transparent;
    cursor: pointer;
    color: #94A3B8;
    text-decoration: none;
    transition: all 0.15s ease;
}

.dash-icon-btn:hover {
    background: #F1F5F9;
    color: #0F172A;
    border-color: #E2E8F0;
}

.dash-icon-btn-green:hover {
    background: #ECFDF5;
    color: #059669;
    border-color: #A7F3D0;
}

.dash-icon-btn-red:hover {
    background: #FEF2F2;
    color: #DC2626;
    border-color: #FECACA;
}

/* Danger Button */
.dash-btn-danger {
    background: #DC2626;
    color: #FFF;
    padding: 0.5rem 1.25rem;
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-family: 'Inter', system-ui, sans-serif;
    transition: all 0.15s ease;
}

.dash-btn-danger:hover {
    background: #B91C1C;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220,38,38,0.2);
}

/* Empty State */
.dash-empty-title {
    font-size: 1rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 0.25rem;
}

.dash-empty-desc {
    font-size: 0.875rem;
    color: #94A3B8;
    margin-bottom: 1rem;
}

/* Pagination */
.dash-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.dash-page-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #475569;
    background: #FFF;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.15s ease;
}

.dash-page-btn:hover { background: #F8FAFC; border-color: #CBD5E1; }

.dash-page-numbers {
    display: flex;
    gap: 0.25rem;
}

.dash-page-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #475569;
    text-decoration: none;
    transition: all 0.15s ease;
}

.dash-page-link:hover { background: #F1F5F9; }

.dash-page-current {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 700;
    background: #0F172A;
    color: #FFF;
}

.dash-page-dots {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #CBD5E1;
}

/* ============================================
   CONFIRMATION MODAL
   ============================================ */
.modal-box-confirm {
    max-width: 420px;
    padding: 2rem;
    text-align: center;
}

.modal-confirm-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #FEF2F2;
    color: #DC2626;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.modal-confirm-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 0.5rem;
}

.modal-confirm-text {
    font-size: 0.875rem;
    color: #64748B;
    line-height: 1.5;
    margin-bottom: 0.25rem;
}

.modal-confirm-article {
    font-size: 0.8125rem;
    color: #94A3B8;
    font-style: italic;
    margin-bottom: 1.5rem;
}
/* ============================================
   EDITOR — Premium Writing Experience
   ============================================ */

.editor-layout {
    background: #F7F8FA;
    min-height: 100vh;
}

/* Topbar */
.editor-topbar {
    background: #FFF;
    border-bottom: 1px solid #E2E8F0;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 30;
}

.editor-topbar-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.editor-back-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #64748B;
    transition: all 0.15s ease;
    text-decoration: none;
}

.editor-back-btn:hover { background: #F1F5F9; color: #0F172A; }

.editor-title {
    font-size: 1rem;
    font-weight: 700;
    color: #0F172A;
}

.editor-status-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.125rem;
}

.editor-status-badge {
    padding: 0.15rem 0.5rem;
    font-size: 0.625rem;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.editor-status-published { background: #ECFDF5; color: #047857; }
.editor-status-draft { background: #FFF7ED; color: #C2410C; }
.editor-status-review { background: #EEF2FF; color: #4338CA; }

.editor-word-count {
    font-size: 0.75rem;
    color: #94A3B8;
}

.editor-auto-save {
    font-size: 0.6875rem;
    font-weight: 600;
    color: #059669;
}

.editor-topbar-right {
    display: flex;
    gap: 0.5rem;
}

/* Buttons */
.editor-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Inter', system-ui, sans-serif;
    border: none;
    transition: all 0.15s ease;
}

.editor-btn-ghost {
    background: #FFF;
    border: 1px solid #E2E8F0;
    color: #475569;
}

.editor-btn-ghost:hover { background: #F8FAFC; border-color: #CBD5E1; }

.editor-btn-primary {
    background: #DC2626;
    color: #FFF;
}

.editor-btn-primary:hover { background: #B91C1C; }

.editor-btn-sm { padding: 0.375rem 0.75rem; font-size: 0.75rem; }

/* Main */
.editor-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem;
    display: flex;
    gap: 1.5rem;
}

@media (max-width: 1024px) {
    .editor-main { flex-direction: column; }
}

/* Writing Area */
.editor-writing-area {
    flex: 1;
    min-width: 0;
}

/* Type Row */
.editor-type-row {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    margin-bottom: 1rem;
    background: #FFF;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 0.5rem;
}

.editor-type-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #94A3B8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-right: 0.5rem;
}

.editor-type-btn {
    padding: 0.375rem 0.875rem;
    font-size: 0.75rem;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-family: 'Inter', system-ui, sans-serif;
    background: transparent;
    color: #64748B;
    transition: all 0.15s ease;
}

.editor-type-btn:hover { background: #F1F5F9; }

.editor-type-active-news { background: #FEF2F2; color: #DC2626; }
.editor-type-active-article { background: #EFF6FF; color: #2563EB; }
.editor-type-active-feature { background: #ECFDF5; color: #059669; }
.editor-type-active-opinion { background: #FFF7ED; color: #D97706; }

/* Title */
.editor-title-box {
    background: #FFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.editor-headline-input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 1.75rem;
    font-weight: 800;
    font-family: 'Inter', system-ui, sans-serif;
    color: #0F172A;
    resize: none;
    line-height: 1.25;
    background: transparent;
}

.editor-headline-input::placeholder { color: #CBD5E1; }

.editor-subtitle-input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 0.9375rem;
    font-family: 'Inter', system-ui, sans-serif;
    color: #64748B;
    margin-top: 0.5rem;
    background: transparent;
}

.editor-subtitle-input::placeholder { color: #CBD5E1; }

/* Blocks */
.editor-blocks-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.editor-block {
    background: #FFF;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 1.25rem;
    transition: border-color 0.15s ease;
}

.editor-block:hover { border-color: #CBD5E1; }

.editor-block-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.editor-block-type {
    font-size: 0.625rem;
    font-weight: 700;
    color: #94A3B8;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.editor-block-remove {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    border-radius: 6px;
    cursor: pointer;
    color: #CBD5E1;
    transition: all 0.15s ease;
}

.editor-block-remove:hover { background: #FEF2F2; color: #EF4444; }

/* Paragraph */
.editor-para-toolbar {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #F1F5F9;
    margin-bottom: 0.5rem;
}

.editor-format-btn {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    border-radius: 4px;
    cursor: pointer;
    color: #64748B;
    font-size: 0.75rem;
    font-family: 'Inter', system-ui, sans-serif;
    transition: all 0.15s ease;
}

.editor-format-btn:hover { background: #F1F5F9; color: #0F172A; }

.editor-format-sep {
    width: 1px;
    height: 16px;
    background: #E2E8F0;
    margin: 0 0.25rem;
}

.editor-para-content {
    min-height: 100px;
    outline: none;
    font-size: 0.9375rem;
    line-height: 1.75;
    color: #334155;
    font-family: 'Georgia', 'Times New Roman', serif;
    padding: 0.25rem 0;
}

.editor-para-content:empty::before {
    content: 'Write your paragraph...';
    color: #CBD5E1;
}

.editor-para-content a { color: #2563EB; text-decoration: underline; }

/* Heading */
.editor-heading-input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 1.25rem;
    font-weight: 700;
    font-family: 'Inter', system-ui, sans-serif;
    color: #0F172A;
    background: transparent;
}

.editor-heading-input::placeholder { color: #CBD5E1; }

/* Image Block */
.editor-image-block { display: flex; flex-direction: column; gap: 0.5rem; }

.editor-block-image {
    border-radius: 8px;
    overflow: hidden;
    background: #F1F5F9;
}

.editor-block-image img {
    width: 100%;
    max-height: 300px;
    object-fit: contain;
}

.editor-video-preview {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    background: #000;
}

.editor-video-preview iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.editor-image-row {
    display: flex;
    gap: 0.5rem;
}

.editor-input-flex {
    flex: 1;
    padding: 0.5rem 0.75rem;
    font-size: 0.8125rem;
    border: 1px solid #E2E8F0;
    border-radius: 6px;
    font-family: 'Inter', system-ui, sans-serif;
    outline: none;
}

.editor-input-flex:focus { border-color: #2563EB; }

.editor-image-empty {
    border: 2px dashed #E2E8F0;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    color: #CBD5E1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
}

.editor-hidden-input { display: none; }

/* Quote */
.editor-quote-input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 1.125rem;
    font-style: italic;
    font-family: 'Georgia', serif;
    color: #334155;
    resize: vertical;
    min-height: 80px;
    background: transparent;
}

.editor-quote-input::placeholder { color: #CBD5E1; }

/* List */
.editor-list-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.editor-list-bullet { color: #2563EB; font-weight: 700; }

.editor-list-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 0.9375rem;
    font-family: 'Inter', system-ui, sans-serif;
    color: #334155;
    background: transparent;
}

.editor-list-remove {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    cursor: pointer;
    color: #CBD5E1;
    border-radius: 4px;
    font-size: 1rem;
}

.editor-list-remove:hover { background: #FEF2F2; color: #EF4444; }

.editor-add-list-item {
    background: none;
    border: none;
    color: #2563EB;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Inter', system-ui, sans-serif;
    padding: 0.25rem 0;
}

.editor-add-list-item:hover { text-decoration: underline; }

/* Pullquote */
.editor-pullquote-input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 1.25rem;
    font-weight: 700;
    font-family: 'Inter', system-ui, sans-serif;
    color: #0F172A;
    resize: vertical;
    min-height: 60px;
    text-align: center;
    background: transparent;
}

/* Add Block Row */
.editor-add-row {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.editor-add-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 0.875rem;
    font-size: 0.75rem;
    font-weight: 600;
    background: #FFF;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    cursor: pointer;
    color: #64748B;
    font-family: 'Inter', system-ui, sans-serif;
    transition: all 0.15s ease;
}

.editor-add-btn:hover { background: #F8FAFC; border-color: #CBD5E1; color: #0F172A; }

/* Sidebar */
.editor-sidebar {
    width: 300px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (max-width: 1024px) {
    .editor-sidebar { width: 100%; }
}

.editor-panel {
    background: #FFF;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 1.25rem;
}

.editor-panel-title {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #F1F5F9;
}

.editor-field {
    margin-bottom: 1rem;
}

.editor-field:last-child { margin-bottom: 0; }

.editor-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748B;
    margin-bottom: 0.375rem;
}

.editor-input {
    width: 100%;
    padding: 0.5rem 0.75rem;
    font-size: 0.8125rem;
    border: 1px solid #E2E8F0;
    border-radius: 6px;
    font-family: 'Inter', system-ui, sans-serif;
    outline: none;
    color: #0F172A;
    transition: all 0.15s ease;
    background: #FAFAFA;
}

.editor-input:focus { border-color: #2563EB; background: #FFF; }
.editor-input-mt { margin-top: 0.5rem; }

.editor-select {
    width: 100%;
    padding: 0.5rem 0.75rem;
    font-size: 0.8125rem;
    border: 1px solid #E2E8F0;
    border-radius: 6px;
    font-family: 'Inter', system-ui, sans-serif;
    outline: none;
    background: #FAFAFA;
    cursor: pointer;
}

.editor-textarea {
    width: 100%;
    padding: 0.5rem 0.75rem;
    font-size: 0.8125rem;
    border: 1px solid #E2E8F0;
    border-radius: 6px;
    font-family: 'Inter', system-ui, sans-serif;
    outline: none;
    resize: vertical;
    min-height: 50px;
    background: #FAFAFA;
}

.editor-help {
    display: block;
    font-size: 0.6875rem;
    color: #94A3B8;
    margin-top: 0.25rem;
}

.editor-meta-text {
    font-size: 0.75rem;
    color: #94A3B8;
    line-height: 1.6;
}

/* Switch */
.editor-switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 22px;
    cursor: pointer;
}

.editor-switch input { opacity: 0; width: 0; height: 0; }

.editor-switch-slider {
    position: absolute;
    inset: 0;
    background: #CBD5E1;
    border-radius: 9999px;
    transition: all 0.2s ease;
}

.editor-switch-slider::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    left: 2px;
    bottom: 2px;
    background: #FFF;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.editor-switch input:checked + .editor-switch-slider { background: #2563EB; }
.editor-switch input:checked + .editor-switch-slider::before { transform: translateX(18px); }

/* Image Preview */
.editor-image-preview {
    border-radius: 8px;
    overflow: hidden;
    background: #F1F5F9;
    margin-bottom: 0.75rem;
}

.editor-image-preview img {
    width: 100%;
    max-height: 160px;
    object-fit: contain;
}

.editor-image-empty {
    padding: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.editor-image-empty span { font-size: 0.75rem; color: #CBD5E1; }

.editor-image-actions {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}
/* ============================================
   BREAKING NEWS STRIP — BBC Style
   ============================================ */

.breaking-strip {
    background: #DC2626;
    border-bottom: 1px solid #B91C1C;
}

.breaking-strip-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.breaking-strip-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5625rem 0;
    text-decoration: none;
    transition: opacity 0.15s ease;
}

.breaking-strip-link:hover {
    opacity: 0.9;
}

.breaking-strip-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.2rem 0.625rem;
    background: #B91C1C;
    color: #FFF;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-radius: 3px;
    flex-shrink: 0;
    white-space: nowrap;
}

.breaking-strip-dot {
    width: 0.375rem;
    height: 0.375rem;
    background: #FFF;
    border-radius: 50%;
    animation: breakingPulse 1.5s ease-in-out infinite;
}

@keyframes breakingPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.7); }
}

.breaking-strip-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: #FFF;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    min-width: 0;
}

.breaking-strip-more {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    white-space: nowrap;
    flex-shrink: 0;
}

.breaking-strip-time {
    font-size: 0.6875rem;
    color: rgba(255,255,255,0.55);
    white-space: nowrap;
    flex-shrink: 0;
}

@media (max-width: 640px) {
    .breaking-strip-more,
    .breaking-strip-time {
        display: none;
    }
    
    .breaking-strip-text {
        font-size: 0.8125rem;
    }
}
.editor-duration-row {
    display: flex;
    gap: 0.375rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

.editor-duration-btn {
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid #E2E8F0;
    border-radius: 6px;
    background: #FFF;
    color: #64748B;
    cursor: pointer;
    font-family: 'Inter', system-ui, sans-serif;
    transition: all 0.15s ease;
}

.editor-duration-btn:hover {
    background: #F1F5F9;
    color: #0F172A;
}

.editor-duration-active {
    background: #DC2626;
    color: #FFF;
    border-color: #DC2626;
}

.editor-duration-active:hover {
    background: #B91C1C;
    color: #FFF;
}

.editor-duration-custom {
    display: flex;
    gap: 0.375rem;
    align-items: center;
}

.editor-duration-custom .editor-input {
    padding: 0.375rem 0.5rem;
    font-size: 0.75rem;
}

/* ============================================
   BREAKING NEWS TICKER — Vertical Rotation
   ============================================ */

.breaking-ticker {
    background: #DC2626;
    border-bottom: 1px solid #B91C1C;
    position: relative;
    overflow: hidden;
}

.breaking-ticker-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.breaking-ticker-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    text-decoration: none;
    min-height: 36px;
    cursor: pointer;
    transition: opacity 0.15s ease;
}

.breaking-ticker-link:hover {
    opacity: 0.9;
}

.breaking-ticker-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.2rem 0.625rem;
    background: #B91C1C;
    color: #FFF;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-radius: 3px;
    flex-shrink: 0;
    white-space: nowrap;
}

.breaking-ticker-dot {
    width: 0.375rem;
    height: 0.375rem;
    background: #FFF;
    border-radius: 50%;
    animation: breakingPulse 1.5s ease-in-out infinite;
}

@keyframes breakingPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.7); }
}

/* Text container — holds all headlines, only one visible */
.breaking-ticker-text-container {
    position: relative;
    flex: 1;
    min-width: 0;
    height: 20px;
    overflow: hidden;
}

.breaking-ticker-text {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: #FFF;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.breaking-ticker-text.active {
    opacity: 1;
    transform: translateY(0);
}

.breaking-ticker-text.exit-up {
    opacity: 0;
    transform: translateY(-100%);
}

.breaking-ticker-count {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255,255,255,0.65);
    white-space: nowrap;
    flex-shrink: 0;
}

@media (max-width: 640px) {
    .breaking-ticker-text {
        font-size: 0.8125rem;
    }
    
    .breaking-ticker-count {
        display: none;
    }
}

.editor-format-active {
    background: #2563EB !important;
    color: #FFF !important;
}
/* Hero Slides */
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    pointer-events: none;
    text-decoration: none;
    display: block;
}

.hero-slide.active {
    opacity: 1;
    pointer-events: all;
}

.hero-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 420px;
    background: #1A1A1A;
}

@media (max-width: 768px) {
    .hero-container { height: 300px; }
}

@media (max-width: 640px) {
    .hero-container { height: 220px; }
}

/* Hero Dots */
.hero-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: #CBD5E1;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.hero-dot.active {
    background: #2563EB;
    width: 24px;
    border-radius: 4px;
}

.hero-dot:hover {
    background: #94A3B8;
}
.hero-image-zoom {
    transition: transform 2s ease-out;
}

.hero-slide.active:hover .hero-image-zoom {
    transform:scale(1.1)
}

@keyframes heroZoom {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}
/* ============================================
   FOOTER — BBC-Style Horizontal
   ============================================ */

.site-footer {
    background: #F5F5F5;
    border-top: 1px solid #E5E5E5;
    margin-top: auto;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding-right:2rem;
}

/* Brand */
.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
}

.footer-logo-box {
    width: 32px;
    height: 32px;
    background: #2563EB;
    color: #FFF;
    font-weight: 900;
    font-size: 0.9375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    flex-shrink: 0;
}

.footer-logo-text {
    font-size: 1.125rem;
    font-weight: 800;
    color: #1A1A1A;
    letter-spacing: -0.02em;
}

/* Horizontal Nav */
.footer-nav {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
}

.footer-navs {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-bottom: 0.1rem;
    padding-bottom: 0.1rem;
}

.footer-nav a {
    font-size: 0.8125rem;
    color: #555;
    text-decoration: none;
    transition: color 0.15s ease;
    font-weight: 500;
}

.footer-navs a {
    font-size: 0.8125rem;
    color: #555;
    text-decoration: none;
    transition: color 0.15s ease;
    font-weight: 500;
}

.footer-nav a:hover {
    color: #2563EB;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Social */
.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;

}
.footer-social-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #555;
    margin-right: 0.5rem;
}

.footer-social-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #E0E0E0;
    border-radius: 50%;
    color: #555;
    transition: all 0.2s ease;
}

.footer-social-icon:hover {
    background: #2563EB;
    color: #FFF;
}

/* Bottom */
.footer-bottom p {
    font-size: 0.75rem;
    color: #888;
    line-height: 1.6;
}

.footer-bottom a {
    color: #2563EB;
    text-decoration: none;
    font-weight: 500;
}

.footer-bottom a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}
/* Social Row */
.footer-social-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 0.9rem;
    margin-bottom: 0.9rem;
    flex-wrap: wrap;
}

.footer-follow-text {
    font-size: 1.075rem;
    font-weight: 600;
    color: #555;
    white-space: nowrap;
}

.footer-social-icons {
    display: flex;
    gap: 0.5rem;
}
/* Links inside article content */
.story-body p a {
    color: #2563EB;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
    transition: color 0.15s ease;
}

.story-body  a:hover {
    color: #1D4ED8;
}

/* Visited links */
.story-body a:visited {
    color: #7C3AED;
}
.story-related-card{
    text-decoration: none;
    color: inherit;
}
/* ============================================
   MEDIA LIBRARY
   ============================================ */

.upload-zone {
    border: 2px dashed #DDD;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #FAFAFA;
}

.upload-zone:hover {
    border-color: #2563EB;
    background: #F0F5FF;
}

.upload-zone-icon {
    width: 52px;
    height: 52px;
    background: #EFF6FF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: #2563EB;
}

.upload-zone-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #0F172A;
    margin-bottom: 0.25rem;
}

.upload-zone-subtitle {
    font-size: 0.8125rem;
    color: #94A3B8;
}

/* Media Grid */
.media-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

@media (min-width: 480px) {
    .media-grid { grid-template-columns: repeat(3, 1fr); }
}

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

@media (min-width: 1024px) {
    .media-grid { grid-template-columns: repeat(6, 1fr); }
}

.media-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #F1F5F9;
    cursor: pointer;
    transition: all 0.2s ease;
}

.media-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.media-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
}

.media-card-placeholder {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F8FAFC;
}

.media-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.media-card:hover .media-card-overlay {
    opacity: 1;
}

.media-copy-text {
    background: #FFF;
    color: #0F172A;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
}

.media-card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.5rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    opacity: 0;
    transition: opacity 0.2s ease;
}

.media-card:hover .media-card-info {
    opacity: 1;
}

.media-card-name {
    display: block;
    font-size: 0.6875rem;
    color: #FFF;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.media-card-dims {
    font-size: 0.625rem;
    color: rgba(255,255,255,0.7);
}
/* ============================================
   MEDIA MODAL
   ============================================ */

.modal-box-wide {
    max-width: 850px;
    width: 95%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #F1F5F9;
    margin-bottom: 0.75rem;
    flex-shrink: 0;
}

.modal-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #0F172A;
}

.modal-close {
    width: 32px;
    height: 32px;
    border: none;
    background: #F1F5F9;
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
    color: #64748B;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

.modal-close:hover { background: #E2E8F0; color: #0F172A; }

.modal-search {
    position: relative;
    margin-bottom: 0.75rem;
    flex-shrink: 0;
}

.modal-search svg {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94A3B8;
}

.modal-search input {
    width: 100%;
    padding: 0.625rem 0.75rem 0.625rem 2.25rem;
    font-size: 0.875rem;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    font-family: 'Inter', system-ui, sans-serif;
    outline: none;
}

.modal-search input:focus { border-color: #2563EB; }

.modal-media-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    overflow-y: auto;
    flex: 1;
    padding: 0.25rem;
    align-content: start;
}

@media (min-width: 500px) {
    .modal-media-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 700px) {
    .modal-media-grid { grid-template-columns: repeat(5, 1fr); }
}

.modal-media-item {
    aspect-ratio: 1 / 1;
    width: 100%;
    border-radius: 6px;
    cursor: pointer;
    border: 2px solid #E2E8F0;
    transition: all 0.15s ease;
    background: #F1F5F9;
}

.modal-media-item:hover {
    border-color: #2563EB;
    transform: scale(1.03);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.modal-media-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.modal-media-load {
    text-align: center;
    padding-top: 0.75rem;
    border-top: 1px solid #F1F5F9;
    margin-top: 0.5rem;
    flex-shrink: 0;
}
.story-comment-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.story-comment-action-btn {
    font-size: 0.6875rem;
    font-weight: 600;
    color: #64748B;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-family: 'Inter', system-ui, sans-serif;
    transition: all 0.15s ease;
}

.story-comment-action-btn:hover {
    background: #F1F5F9;
    color: #0F172A;
}

.story-comment-action-delete:hover {
    background: #FEF2F2;
    color: #DC2626;
}

.story-comment-edit-input {
    width: 100%;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    font-family: 'Inter', system-ui, sans-serif;
    border: 1px solid #E2E8F0;
    border-radius: 6px;
    outline: none;
    resize: vertical;
    background: #FAFAFA;
}

.story-comment-edit-input:focus {
    border-color: #2563EB;
    background: #FFF;
}

.story-comment-cancel-btn {
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748B;
    background: #F1F5F9;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-family: 'Inter', system-ui, sans-serif;
}

.story-comment-cancel-btn:hover {
    background: #E2E8F0;
}
/* ============================================
   MY ACCOUNT PAGE
   ============================================ */

.account-profile {
    background: #FFF;
    border: 1px solid #EBEBEB;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.account-avatar-section {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.account-avatar-large {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #0F172A;
    color: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.account-avatar-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.account-avatar-upload {
    position: absolute;
    bottom: -4px;
    right: -4px;
}

.account-avatar-upload-btn {
    width: 28px;
    height: 28px;
    background: #2563EB;
    color: #FFF;
    border: 2px solid #FFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
    overflow: auto;
}

.account-avatar-upload-btn:hover {
    background: #1D4ED8;
    transform: scale(1.1);
}

.account-profile-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.account-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0F172A;
}

.account-email {
    font-size: 0.875rem;
    color: #64748B;
}

.account-role-badge {
    display: inline-block;
    padding: 0.2rem 0.625rem;
    font-size: 0.6875rem;
    font-weight: 700;
    background: #EFF6FF;
    color: #2563EB;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    width: fit-content;
    margin-top: 0.25rem;
}

.account-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 2rem;
    border-bottom: 1px solid #EBEBEB;
}

.account-tab {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #888;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    font-family: 'Inter', system-ui, sans-serif;
    transition: all 0.15s ease;
}

.account-tab:hover { color: #0F172A; }
.account-tab.active { color: #0F172A; border-bottom-color: #0F172A; }
.account-tab-content.hidden { display: none; }
.account-avatar-wrapper {
    position: relative;
    flex-shrink: 0;
}

.account-avatar-large {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #0F172A;
    color: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    overflow: hidden;
}

.account-avatar-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.account-avatar-upload-btn {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 28px;
    height: 28px;
    background: #2563EB;
    color: #FFF;
    border: 2px solid #FFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
    padding: 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.account-avatar-upload-btn:hover {
    background: #1D4ED8;
    transform: scale(1.1);
}
/* ============================================
   AUTH PAGES — Modern Design
   ============================================ */

.auth-page-wrap {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    background: #F8FAFC;
}

.auth-card-new {
    width: 100%;
    max-width: 420px;
    background: #FFF;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.03);
}

/* Brand */
.auth-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
}

.auth-brand-icon {
    width: 36px;
    height: 36px;
    background: #DC2626;
    color: #FFF;
    font-weight: 900;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.auth-brand-text {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0F172A;
    letter-spacing: -0.02em;
}

/* Headings */
.auth-heading {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0F172A;
    text-align: center;
    margin-bottom: 0.25rem;
}

.auth-subtitle {
    font-size: 0.875rem;
    color: #64748B;
    text-align: center;
    margin-bottom: 1.5rem;
}

/* Google Button */
.auth-google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.625rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #0F172A;
    background: #FFF;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.15s ease;
    cursor: pointer;
}

.auth-google-btn:hover {
    background: #F8FAFC;
    border-color: #CBD5E1;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

/* Divider */
.auth-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #E2E8F0;
}

.auth-divider span {
    font-size: 0.75rem;
    color: #94A3B8;
    white-space: nowrap;
}

/* Form */
.auth-form-new {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.auth-field {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.auth-field label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #475569;
}

.auth-field-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.auth-forgot {
    font-size: 0.75rem;
    color: #2563EB;
    text-decoration: none;
    font-weight: 500;
}

.auth-forgot:hover {
    text-decoration: underline;
}

.auth-field input {
    padding: 0.625rem 0.875rem;
    font-size: 0.875rem;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    color: #0F172A;
    background: #FAFAFA;
    outline: none;
    font-family: 'Inter', system-ui, sans-serif;
    transition: all 0.15s ease;
}

.auth-field input:focus {
    border-color: #2563EB;
    background: #FFF;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.06);
}

.auth-field input::placeholder {
    color: #CBD5E1;
}

/* Checkbox */
.auth-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: #64748B;
    cursor: pointer;
}

.auth-checkbox input {
    width: 1rem;
    height: 1rem;
    accent-color: #2563EB;
    cursor: pointer;
}

/* Submit */
.auth-submit-btn {
    padding: 0.75rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: #FFF;
    background: #0F172A;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-family: 'Inter', system-ui, sans-serif;
    transition: all 0.15s ease;
    margin-top: 0.25rem;
}

.auth-submit-btn:hover {
    background: #1E293B;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Footer */


.auth-footer-text a {
    color: #2563EB;
    font-weight: 600;
    text-decoration: none;
}

.auth-footer-text a:hover {
    text-decoration: underline;
}
.header-logo-img {
    height: 63px;
    width: auto;
}

.auth-brand-logo {
    height: 90px;
    width: auto;
    
}

.footer-brand-logo {
    height: 80px;
    width: auto;
}
/* ============================================
   ADVERTISEMENTS
   ============================================ */

.ad-container {
    position: relative;
    overflow: hidden;
    background: #F8FAFC;
    margin: 0 auto;
    max-width: 1280px;
}

.ad-header {
    margin-top: 1rem;
    margin-bottom: 0;
    border-radius: 0;
}

.ad-slides {
    position: relative;
}

.ad-slide {
    display: none;
    width: 100%;
}

.ad-slide.active {
    display: block;
    animation: adFadeIn 0.5s ease;
}

.ad-slide img {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    display: block;
}

.ad-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem;
}

.ad-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: #CBD5E1;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.ad-dot.active {
    background: #DC2626;
    width: 24px;
    border-radius: 4px;
}

.ad-label {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: rgba(0,0,0,0.6);
    color: #FFF;
    font-size: 0.625rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@keyframes adFadeIn {
    from { opacity: 0; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1); }
}
/* ============================================
   ADVERTISEMENT ROTATOR
   ============================================ */

.ad-wrapper {
    position: relative;
    overflow: hidden;
    background: #F1F5F9;
    max-width: 1280px;
    margin: 1.5rem auto 0;
    border-radius: 0;
}

.ad-slides-container {
    position: relative;
    width: 100%;
}

.ad-slide-link {
    display: none;
    width: 100%;
    cursor: pointer;
}

.ad-slide-link.active {
    display: block;
    animation: adFade 0.6s ease;
}

.ad-slide-link img {
    width: 100%;
    max-height: 180px;
    object-fit: cover;
    display: block;
}

/* Navigation Dots */
.ad-nav-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem;
    background: #FFF;
}

.ad-nav-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: #CBD5E1;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.ad-nav-dot.active {
    background: #DC2626;
    width: 26px;
    border-radius: 4px;
}

.ad-nav-dot:hover {
    background: #94A3B8;
}

/* Ad Tag */
.ad-tag {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: rgba(0,0,0,0.55);
    color: #FFF;
    font-size: 0.625rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    pointer-events: none;
    z-index: 2;
}

/* Animation */
@keyframes adFade {
    from { opacity: 0; }
    to { opacity: 1; }
}
/* ============================================
   ADVERTISEMENT ROTATOR — Flexible Sizing
   ============================================ */

.ad-wrapper {
    position: relative;
    overflow: hidden;
    background: #F8FAFC;
    max-width: 1280px;
    margin: 1.5rem auto 0;
    border-radius: 0;
}

.ad-slides-container {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #F1F5F9;
    min-height: 60px;
    max-height: 400px;
}

.ad-slide-link {
    display: none;
    width: 100%;
    text-align: center;
    cursor: pointer;
}

.ad-slide-link.active {
    display: block;
    animation: adFade 0.6s ease;
}

.ad-slide-link img {
    max-width: 100%;
    max-height: 250px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: inline-block;
}

/* Header ad — shorter */
#ad-header .ad-slide-link img,
#ad-sections .ad-slide-link img {
    max-height: 120px;
}

/* Inline / Bottom ads — taller allowed */
#ad-inline .ad-slide-link img,
#ad-bottom .ad-slide-link img {
    max-height: 300px;
}

/* Navigation Dots */
.ad-nav-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background: #FFF;
}

.ad-nav-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: #CBD5E1;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.ad-nav-dot.active {
    background: #DC2626;
    width: 26px;
    border-radius: 4px;
}

/* Ad Tag */
.ad-tag {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: rgba(0,0,0,0.55);
    color: #FFF;
    font-size: 0.625rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    z-index: 2;
}

@keyframes adFade {
    from { opacity: 0; }
    to { opacity: 1; }
}
