/**
 * Texas DIR AI Awareness Training Platform
 * Main Stylesheet
 */

/* ==========================================================================
   Variables and Base Styles
   ========================================================================== */

:root {
    --primary-color: #0F3460;
    --accent-color: #E94560;
    --background-color: #F8F9FA;
    --text-color: #2D2D2D;
    --border-color: #E5E5E5;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --info-color: #17a2b8;
}

* {
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--background-color);
}

/* ==========================================================================
   Accessibility - Skip Link
   ========================================================================== */

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

/* ==========================================================================
   Bootstrap Overrides
   ========================================================================== */

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #0a2540;
    border-color: #0a2540;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.border-primary {
    border-color: var(--primary-color) !important;
}

/* ==========================================================================
   Header and Navigation
   ========================================================================== */

.site-header .navbar {
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.25rem;
    font-weight: 700;
}

.navbar-logo-wrap {
    width: auto;
    height: 36px;
    background: #ffffff;
    border-radius: 6px;
    padding: 3px 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Override Bootstrap navbar-dark link opacity for WCAG 2.2 AAA (7:1 contrast)
   rgba(255,255,255,1.0) on #0F3460 = 12.4:1 - passes AAA */
.navbar-dark .nav-link {
    color: rgba(255, 255, 255, 0.95) !important;
    padding: 0.5rem 1rem !important;
    transition: all 0.2s ease;
}

.navbar-dark .nav-link:hover,
.navbar-dark .nav-link:focus {
    color: #fff !important;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.navbar-dark .nav-link.active {
    color: #fff !important;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
    background: linear-gradient(135deg, #0F3460 0%, #16213E 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path d="M0,96L48,90.7C96,85,192,75,288,74.7C384,75,480,85,576,85.3C672,85,768,75,864,69.3C960,64,1056,64,1152,69.3C1248,75,1344,85,1392,90.7L1440,96L1440,120L1392,120C1344,120,1248,120,1152,120C1056,120,960,120,864,120C768,120,672,120,576,120C480,120,384,120,288,120C192,120,96,120,48,120L0,120Z" fill="rgba(255,255,255,0.05)"></path></svg>') no-repeat bottom center;
    background-size: cover;
    opacity: 0.3;
}

/* ==========================================================================
   Cards
   ========================================================================== */

.card {
    border-radius: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

/* ==========================================================================
   Badges and Status Indicators
   ========================================================================== */

.badge {
    padding: 0.35em 0.65em;
    font-weight: 500;
}

/* ==========================================================================
   Forms
   ========================================================================== */

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(15, 52, 96, 0.25);
}

.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    border-radius: 6px;
    padding: 0.5rem 1.25rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-lg {
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
}

.btn:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* ==========================================================================
   Progress Indicators
   ========================================================================== */

.progress {
    height: 24px;
    border-radius: 12px;
    background-color: #e9ecef;
}

.progress-bar {
    background-color: var(--primary-color);
    border-radius: 12px;
    transition: width 0.6s ease;
}

/* ==========================================================================
   Alerts
   ========================================================================== */

.alert {
    border-radius: 8px;
    border: none;
    padding: 1rem 1.25rem;
}

.alert i {
    margin-right: 0.5rem;
}

/* ==========================================================================
   Content Reader
   ========================================================================== */

.lesson-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.lesson-content h1,
.lesson-content h2,
.lesson-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.lesson-content p {
    margin-bottom: 1.5rem;
}

.lesson-content ul,
.lesson-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.lesson-content li {
    margin-bottom: 0.5rem;
}

.lesson-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem 0;
}

.lesson-content .alert {
    margin: 2rem 0;
}

/* ── Floating Video Mini-Player (PiP) ── */
.video-intro {
    position: relative;
}

.video-intro--pip {
    position: fixed !important;
    top: 50%;
    right: 1.25rem;
    transform: translateY(-50%);
    width: 320px;
    z-index: 1050;
    padding: 0.75rem !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35) !important;
    border-radius: 12px;
    transition: none;
}

.video-pip-close {
    display: none;
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    width: 1.75rem;
    height: 1.75rem;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: none;
    background: var(--primary-color, #0F3460);
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    z-index: 1;
}
.video-intro--pip .video-pip-close {
    display: flex;
}
.video-intro--pip .video-pip-close:hover,
.video-intro--pip .video-pip-close:focus {
    background: var(--accent-color, #E94560);
}
.video-intro--pip .video-pip-close:focus-visible {
    outline: 3px solid var(--accent-color, #E94560);
    outline-offset: 2px;
}

/* Hide title row in mini-player */
.video-intro--pip > div:first-child {
    display: none;
}

.video-intro--dismissed {
    display: none !important;
}

@media (max-width: 576px) {
    .video-intro--pip {
        width: calc(100% - 1.5rem);
        left: 0.75rem;
        right: 0.75rem;
        top: auto;
        bottom: 0.75rem;
        transform: none;
    }
}

@media (min-width: 577px) and (max-width: 768px) {
    .video-intro--pip {
        width: 280px;
    }
}

@media print {
    .video-intro--pip {
        position: static !important;
        width: 100% !important;
        transform: none !important;
    }
    .video-pip-close {
        display: none !important;
    }
}

.lesson-content table {
    width: 100%;
    margin-bottom: 1.5rem;
    border-collapse: collapse;
}

.lesson-content table th,
.lesson-content table td {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
}

.lesson-content table th {
    background-color: var(--background-color);
    font-weight: 600;
}

/* ==========================================================================
   Reading Timer
   ========================================================================== */

.reading-timer {
    background: var(--primary-color);
    color: #fff;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.reading-timer__label {
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
}

.reading-timer__countdown {
    font-size: 1.125rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    min-width: 3.5rem;
    text-align: center;
}

.reading-timer__bar {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 3px;
    overflow: hidden;
}

.reading-timer__fill {
    height: 100%;
    background: #fff;
    border-radius: 3px;
    width: 0%;
    transition: width 1s linear;
}

.reading-timer--done {
    background: var(--success-color);
    background-color: #0d5c38;
}

.reading-timer--done .reading-timer__fill {
    width: 100%;
}

@media (max-width: 576px) {
    .reading-timer {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .reading-timer__bar {
        order: 3;
        width: 100%;
        flex: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .reading-timer__fill {
        transition: none;
    }
}

/* ==========================================================================
   Text-to-Speech Toolbar
   ========================================================================== */

.tts-toolbar {
    position: sticky;
    top: 0;
    z-index: 10;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.tts-toolbar .btn {
    white-space: nowrap;
}

.tts-toolbar .btn i {
    margin-right: 0;
}

/* Hide TTS toolbar when speech synthesis is not supported */
.no-tts .tts-toolbar {
    display: none !important;
}

/* ==========================================================================
   Quiz Styles
   ========================================================================== */

.quiz-question {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.quiz-question.correct {
    border-color: var(--success-color);
    background-color: #f8fff8;
}

.quiz-question.incorrect {
    border-color: var(--danger-color);
    background-color: #fff8f8;
}

.quiz-choice {
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    margin-bottom: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.quiz-choice:hover {
    border-color: var(--primary-color);
    background-color: #f0f4ff;
}

.quiz-choice input[type="radio"] {
    margin-right: 0.75rem;
}

.quiz-choice.selected {
    border-color: var(--primary-color);
    background-color: #e6f0ff;
}

.quiz-choice.correct {
    border-color: var(--success-color);
    background-color: #e6f8e6;
}

.quiz-choice.incorrect {
    border-color: var(--danger-color);
    background-color: #ffe6e6;
}

.quiz-explanation {
    background-color: #f0f8ff;
    border-left: 4px solid var(--info-color);
    padding: 1rem 1.5rem;
    margin-top: 1rem;
    border-radius: 4px;
}

/* ==========================================================================
   Certificate Styles
   ========================================================================== */

.certificate-preview {
    border: 8px solid var(--primary-color);
    border-radius: 12px;
    padding: 3rem;
    background: white;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.certificate-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.certificate-recipient {
    font-size: 2rem;
    font-weight: 600;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
    margin: 2rem 0;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    margin-top: 4rem;
}

.site-footer a {
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.site-footer a:hover,
.site-footer a:focus {
    opacity: 0.8;
    text-decoration: underline;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 0;
    }

    .display-4,
    .display-5,
    .display-6 {
        font-size: 1.75rem;
    }

    .lead {
        font-size: 1rem;
    }

    .btn-lg {
        padding: 0.5rem 1.5rem;
        font-size: 1rem;
    }

    .card-body {
        padding: 1.5rem;
    }

    .lesson-content {
        padding: 1rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .display-4,
    .display-5,
    .display-6 {
        font-size: 1.5rem;
    }
}

/* ==========================================================================
   Print Styles
   ========================================================================== */

@media print {
    .site-header,
    .site-footer,
    .btn,
    .navbar,
    .no-print {
        display: none !important;
    }

    body {
        background: white;
    }

    .container {
        max-width: 100%;
    }

    .card {
        border: 1px solid #ddd;
        box-shadow: none;
        page-break-inside: avoid;
    }
}

/* ==========================================================================
   Accessibility Enhancements
   ========================================================================== */

/* Focus indicators */
*:focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

*:focus:not(:focus-visible) {
    outline: none;
}

*:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .card {
        border: 2px solid var(--text-color);
    }

    .btn {
        border-width: 2px;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Screen reader only content */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ==========================================================================
   WCAG 2.2 AAA Contrast Overrides
   Bootstrap default .text-muted (#6c757d on #fff) = 4.8:1 - FAILS AAA 7:1
   Override to #495057 on #fff = 7.77:1 - PASSES AAA
   ========================================================================== */

.text-muted {
    color: #495057 !important;
}

/* Bootstrap .text-secondary (#6c757d) also fails AAA */
.text-secondary {
    color: #495057 !important;
}

/* Ensure .opacity-75 text still meets AAA - avoid on informational text */
.text-white.opacity-75 {
    opacity: 1 !important;
    color: rgba(255, 255, 255, 0.95) !important;
}

/* Footer link overrides for AAA on bg-dark (#212529) */
.site-footer .text-light {
    color: #dee2e6 !important;
}

.site-footer .text-light:hover,
.site-footer .text-light:focus {
    color: #fff !important;
}

/* Badge AAA overrides - ensure white text on dark backgrounds >= 7:1 */
.badge.bg-success {
    background-color: #0d5c38 !important;
    color: #fff !important;
}

.badge.bg-danger {
    background-color: #8b1a1a !important;
    color: #fff !important;
}

.badge.bg-warning {
    background-color: #6b5000 !important;
    color: #fff !important;
}

.badge.bg-info {
    background-color: #065868 !important;
    color: #fff !important;
}

.badge.bg-secondary {
    background-color: #495057 !important;
    color: #fff !important;
}

.badge.bg-primary {
    background-color: #0F3460 !important;
    color: #fff !important;
}

/* Alert text overrides for AAA */
.alert-success {
    color: #0d3b22 !important;
    border: 1px solid #0d5c38 !important;
}

.alert-danger {
    color: #58151c !important;
    border: 1px solid #8b1a1a !important;
}

.alert-warning {
    color: #4a3800 !important;
    border: 1px solid #6b5000 !important;
}

.alert-info {
    color: #04404b !important;
    border: 1px solid #065868 !important;
}

/* Button outline AAA overrides */
.btn-outline-success {
    color: #0d5c38;
    border-color: #0d5c38;
}

.btn-outline-success:hover,
.btn-outline-success:focus {
    background-color: #0d5c38;
    border-color: #0d5c38;
    color: #fff;
}

.btn-outline-danger {
    color: #8b1a1a;
    border-color: #8b1a1a;
}

.btn-outline-danger:hover,
.btn-outline-danger:focus {
    background-color: #8b1a1a;
    border-color: #8b1a1a;
    color: #fff;
}

.btn-outline-warning {
    color: #6b5000;
    border-color: #6b5000;
}

.btn-outline-warning:hover,
.btn-outline-warning:focus {
    background-color: #6b5000;
    border-color: #6b5000;
    color: #fff;
}

.btn-outline-info {
    color: #065868;
    border-color: #065868;
}

.btn-outline-info:hover,
.btn-outline-info:focus {
    background-color: #065868;
    border-color: #065868;
    color: #fff;
}

.btn-outline-secondary {
    color: #495057;
    border-color: #495057;
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus {
    background-color: #495057;
    border-color: #495057;
    color: #fff;
}

/* Ensure .text-success meets AAA on white: #0d5c38 = 7.47:1 */
.text-success {
    color: #0d5c38 !important;
}

/* Ensure .text-danger meets AAA on white: #8b1a1a = 8.5:1 */
.text-danger {
    color: #8b1a1a !important;
}

/* Ensure .text-warning meets AAA on white: #6b5000 = 7.2:1 */
.text-warning {
    color: #6b5000 !important;
}

/* Ensure .text-info meets AAA on white: #065868 = 7.6:1 */
.text-info {
    color: #065868 !important;
}

/* Live region for screen reader announcements */
.sr-live {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ==========================================================================
   Loading States
   ========================================================================== */

.spinner {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spinner 0.6s linear infinite;
}

@keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.text-small {
    font-size: 0.875rem;
}

.text-large {
    font-size: 1.25rem;
}

.shadow-soft {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.rounded-lg {
    border-radius: 12px;
}

.border-thick {
    border-width: 2px !important;
}

/* ==========================================================================
   Supplementary Materials Notice (top-of-page)
   ========================================================================== */

.supplementary-notice {
    margin-bottom: 1.5rem;
    border: 1px solid rgba(15, 52, 96, 0.12);
    background: linear-gradient(135deg, rgba(15, 52, 96, 0.04) 0%, rgba(15, 52, 96, 0.02) 100%);
    border-radius: 6px;
    overflow: hidden;
    text-align: center;
}

.supplementary-notice__link {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    color: var(--text-color);
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.supplementary-notice__link:hover,
.supplementary-notice__link:focus {
    background-color: rgba(15, 52, 96, 0.06);
    color: var(--text-color);
    text-decoration: none;
}

.supplementary-notice__link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: -2px;
}

.supplementary-notice__label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-color);
}

.supplementary-notice__formats {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.supplementary-notice__format {
    font-size: 0.8rem;
    color: #555;
    white-space: nowrap;
}

.supplementary-notice__format i {
    font-size: 0.85rem;
    margin-right: 0.15rem;
}

.supplementary-notice__cta {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--primary-color);
    white-space: nowrap;
}

@media (max-width: 575.98px) {
    .supplementary-notice__link {
        flex-direction: column;
        gap: 0.25rem;
    }
}

/* ==========================================================================
   Blog Styles
   ========================================================================== */

.blog-article {
    max-width: 100%;
    line-height: 1.8;
}

.blog-article h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.3;
    margin-bottom: 1rem;
}

.blog-article h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e9ecef;
}

.blog-article .card-header.bg-primary h2 {
    color: #fff;
}

.blog-article h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.blog-article p {
    margin-bottom: 1.25rem;
    color: var(--text-color);
}

.blog-article ul,
.blog-article ol {
    margin-bottom: 1.5rem;
    padding-left: 1.75rem;
}

.blog-article li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.blog-article blockquote {
    border-left: 4px solid var(--primary-color);
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    background: #f8f9fa;
    border-radius: 0 8px 8px 0;
    font-style: italic;
}

.blog-article .alert {
    margin: 2rem 0;
}

.blog-article a {
    color: var(--primary-color);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.blog-article a:hover,
.blog-article a:focus {
    color: #0a2540;
}

/* Blog share bar */
.blog-share-bar {
    padding: 1.25rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

/* Blog floating social sidebar */
.blog-share-sidebar {
    position: fixed;
    left: calc(50% - 500px);
    top: 50%;
    transform: translateY(-50%);
    flex-direction: column;
    gap: 0.5rem;
    z-index: 100;
}

.blog-share-sidebar__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    background: #fff;
    color: var(--primary-color);
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.blog-share-sidebar__btn:hover,
.blog-share-sidebar__btn:focus {
    background: var(--primary-color);
    color: #fff;
    text-decoration: none;
}

@media (max-width: 1399px) {
    .blog-share-sidebar {
        left: 1rem;
    }
}

/* Blog author bio */
.blog-author-bio {
    border-left: 4px solid var(--primary-color);
}

/* Blog CTA */
.blog-cta {
    background: linear-gradient(135deg, #0F3460 0%, #16213E 100%);
}

/* Blog article cards on index */
.blog-article-card .card-title a {
    transition: color 0.2s ease;
}

.blog-article-card .card-title a:hover {
    color: var(--primary-color) !important;
}

/* Copy link toast notification */
.blog-copy-toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 0.875rem;
    z-index: 9999;
    animation: fadeInUp 0.3s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Blog reading progress bar */
.blog-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--accent-color);
    z-index: 9999;
    transition: width 0.1s linear;
}

@media (prefers-reduced-motion: reduce) {
    .blog-progress-bar {
        transition: none;
    }
    .blog-copy-toast {
        animation: none;
    }
}

@media print {
    .blog-share-bar,
    .blog-share-sidebar,
    .blog-cta,
    .blog-progress-bar {
        display: none !important;
    }
}
