/* Nordic Education Portal — Custom styles */

/* Prose styles for page content */
.prose h1 { font-size: 2rem; font-weight: 800; margin-bottom: 1rem; color: #1a1a2e; }
.prose h2 { font-size: 1.5rem; font-weight: 700; margin-top: 2rem; margin-bottom: 0.75rem; color: #1a1a2e; }
.prose h3 { font-size: 1.25rem; font-weight: 600; margin-top: 1.5rem; margin-bottom: 0.5rem; color: #1a1a2e; }
.prose p  { margin-bottom: 1.25rem; line-height: 1.75; color: #374151; }
.prose ul, .prose ol { margin-bottom: 1.25rem; padding-left: 1.5rem; }
.prose li { margin-bottom: 0.5rem; line-height: 1.7; color: #374151; }
.prose blockquote {
    border-left: 4px solid #e94560;
    padding-left: 1.25rem;
    margin: 1.5rem 0;
    color: #6b7280;
    font-style: italic;
}
.prose table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.prose th { background: #1a1a2e; color: white; padding: 0.75rem 1rem; text-align: left; font-weight: 600; }
.prose td { border: 1px solid #e5e7eb; padding: 0.75rem 1rem; }
.prose tr:nth-child(even) td { background: #f9fafb; }
.prose img { max-width: 100%; height: auto; border-radius: 0.75rem; margin: 1.5rem 0; box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.prose a { color: #e94560; text-decoration: none; }
.prose a:hover { text-decoration: underline; }
.prose iframe { max-width: 100%; border-radius: 0.75rem; }
.prose .highlight-box {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 0.75rem;
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
}

/* Responsive video embeds */
.prose .video-wrapper,
.video-responsive {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 0.75rem;
    margin: 1.5rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}
.prose .video-wrapper iframe,
.video-responsive iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 0.75rem;
}

/* Scrollbar styling */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

/* Focus visible */
*:focus-visible { outline: 2px solid #e94560; outline-offset: 2px; }

/* Print */
@media print {
    header, footer, #edit-bar, #inline-save-bar { display: none !important; }
}
