@import '_content/Microsoft.AspNetCore.Components.QuickGrid/Microsoft.AspNetCore.Components.QuickGrid.25o87uqmvr.bundle.scp.css';
@import '_content/Microsoft.FluentUI.AspNetCore.Components/Microsoft.FluentUI.AspNetCore.Components.lcdo7z9xd2.bundle.scp.css';

/* /Components/Pages/FacultyPages/Layout/FacLayout.razor.rz.scp.css */
/* === Faculty Layout — Mobile Safe Area & Tap Feedback === */

.pb-safe[b-fb55nh5kw1] {
    padding-bottom: env(safe-area-inset-bottom, 0.5rem);
}

/* Mobile pill tap feedback — subtle scale-down on press */
.mobile-pill:active[b-fb55nh5kw1] {
    transform: scale(0.9);
    transition: transform 0.15s ease;
}
/* /Components/Pages/FacultyPages/Timetables.razor.rz.scp.css */
/* Timetable Table Responsive & Print Styling */

.timetable-wrapper[b-bfhs1xr1km] {
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

[b-bfhs1xr1km] .timetable-table {
    width: 100%;
    min-width: 700px;
    table-layout: auto;
    border-collapse: collapse;
    font-size: 0.8125rem;
    line-height: 1.4;
    text-align: center;
}

[b-bfhs1xr1km] .timetable-table thead th {
    background: #f8fafc;
    color: #0f172a;
    font-weight: 800;
    font-size: 0.75rem;
    padding: 10px 12px;
    border: 1px solid #cbd5e1;
    text-align: center;
    vertical-align: middle;
    white-space: pre-line;
    position: sticky;
    top: 0;
    z-index: 2;
    box-shadow: inset 0 -1px 0 #cbd5e1;
}

[b-bfhs1xr1km] .timetable-table tbody th {
    background: #f8fafc;
    color: #0f172a;
    font-weight: 800;
    font-size: 0.75rem;
    padding: 10px 12px;
    border: 1px solid #cbd5e1;
    text-align: center;
    vertical-align: middle;
    white-space: pre-line;
}

[b-bfhs1xr1km] .timetable-table tbody td {
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    text-align: center;
    vertical-align: middle;
    color: #1e293b;
    font-size: 0.75rem;
    white-space: pre-line;
    min-width: 110px;
    background-color: #ffffff;
    transition: background-color 0.15s ease;
}

[b-bfhs1xr1km] .timetable-table tbody tr:nth-child(even) td {
    background-color: #fbfcfd;
}

[b-bfhs1xr1km] .timetable-table tbody tr:hover td {
    background-color: #f0f7ff;
}

[b-bfhs1xr1km] .timetable-table td.matched-cell,
[b-bfhs1xr1km] .timetable-table th.matched-cell {
    background-color: #fef3c7 !important;
    color: #92400e !important;
    font-weight: 800;
    outline: 2px solid #f59e0b;
    outline-offset: -2px;
}

/* Print Optimization */
@media print {
    aside[b-bfhs1xr1km],
    nav[b-bfhs1xr1km],
    header[b-bfhs1xr1km],
    footer[b-bfhs1xr1km],
    .no-print[b-bfhs1xr1km],
    .search-container[b-bfhs1xr1km],
    .action-buttons[b-bfhs1xr1km] {
        display: none !important;
    }

    body[b-bfhs1xr1km],
    .min-h-screen[b-bfhs1xr1km],
    main[b-bfhs1xr1km],
    .container[b-bfhs1xr1km] {
        padding: 0 !important;
        margin: 0 !important;
        background: transparent !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .timetable-wrapper[b-bfhs1xr1km] {
        overflow: visible !important;
        border: none !important;
        box-shadow: none !important;
    }

    [b-bfhs1xr1km] .timetable-table {
        min-width: 100% !important;
        width: 100% !important;
        font-size: 8pt !important;
        page-break-inside: auto;
    }

    [b-bfhs1xr1km] .timetable-table thead th,
    [b-bfhs1xr1km] .timetable-table tbody th,
    [b-bfhs1xr1km] .timetable-table tbody td {
        padding: 4px 6px !important;
        border: 1px solid #000000 !important;
        font-size: 8pt !important;
        color: #000000 !important;
    }

    [b-bfhs1xr1km] .timetable-table thead th {
        background-color: #e2e8f0 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}
/* /Components/Pages/MainPages/Landing.razor.rz.scp.css */
[b-whmmrzbhp8] [id^="grainient"] {
    border-radius: 0 !important;
    corner-shape: unset;
}

[data-reveal-el][b-whmmrzbhp8] {
    opacity: 0;
    will-change: transform, opacity;
}

[data-anim="rise"][b-whmmrzbhp8],
[data-reveal-el]:not([data-anim])[b-whmmrzbhp8] {
    transform: translateY(40px);
}

[data-anim="pop"][b-whmmrzbhp8] {
    transform: translateY(14px) scale(0.82);
}

[data-anim="slide"][b-whmmrzbhp8] {
    transform: translateX(48px);
}

[data-anim="slide"][data-from="end"][b-whmmrzbhp8] {
    transform: translateX(-48px);
}

.landing-root[dir="rtl"] [data-anim="slide"]:not([data-from="end"])[b-whmmrzbhp8] {
    transform: translateX(-48px);
}

.landing-root[dir="rtl"] [data-anim="slide"][data-from="end"][b-whmmrzbhp8] {
    transform: translateX(48px);
}

@media (prefers-reduced-motion: reduce) {
    [data-reveal-el][b-whmmrzbhp8] {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        will-change: auto;
    }
}

.landing-root[b-whmmrzbhp8] {
    --landing-bg: #0a0f1a;
    --landing-accent: #7ec8ff;
    --landing-muted: rgba(255, 255, 255, 0.72);
    background: var(--landing-bg);
    color: #fff;
    height: 100dvh;
    width: 100%;
    position: relative;
    overflow: hidden;
    font-family: 'Cairo', '8sans', system-ui, sans-serif !important;
}

.landing-slide-gold[b-whmmrzbhp8] {
    --landing-accent: #ffe08a;
}

.landing-slide-green[b-whmmrzbhp8] {
    --landing-accent: #a7f3d0;
}

.landing-slide-green .landing-chip[b-whmmrzbhp8],
.landing-slide-green .landing-value[b-whmmrzbhp8] {
    border-color: rgba(167, 243, 208, 0.45);
    background: rgba(5, 150, 105, 0.22);
    color: #a7f3d0;
}

.landing-slide-gold .landing-chip[b-whmmrzbhp8],
.landing-slide-gold .landing-value[b-whmmrzbhp8] {
    border-color: rgba(255, 224, 138, 0.45);
    background: rgba(255, 196, 24, 0.14);
    color: #ffe08a;
}

.landing-slide-gold .landing-card[b-whmmrzbhp8] {
    border-color: rgba(255, 224, 138, 0.4);
    background: rgba(61, 40, 0, 0.28);
}

.landing-slide-gold .landing-vm-col[b-whmmrzbhp8] {
    border-color: rgba(255, 224, 138, 0.35);
    background: rgba(61, 40, 0, 0.32);
}

.landing-slide-gold .landing-fac-item[b-whmmrzbhp8] {
    border-bottom-color: rgba(255, 224, 138, 0.35);
}

.landing-slide-gold .landing-btn-ghost[b-whmmrzbhp8] {
    border-color: rgba(255, 224, 138, 0.45);
    color: #ffe08a !important;
}

.landing-slide-gold .landing-btn-primary[b-whmmrzbhp8] {
    background: #ffe08a;
    color: #3d2800 !important;
}

.landing-scroller[b-whmmrzbhp8] {
    height: 100dvh;
    overflow: hidden;
    overscroll-behavior: none;
    touch-action: pan-y;
    scrollbar-width: none;
}

.landing-scroller[b-whmmrzbhp8]::-webkit-scrollbar {
    display: none;
}

.landing-slide[b-whmmrzbhp8] {
    min-height: 100dvh;
}

.landing-slide-inner[b-whmmrzbhp8] {
    min-height: 100dvh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    padding-top: 6.25rem;
    padding-bottom: 4.75rem;
    padding-left: max(1.5rem, env(safe-area-inset-left));
    padding-right: max(1.5rem, env(safe-area-inset-right));
    padding-inline-end: max(2.8rem, env(safe-area-inset-right), env(safe-area-inset-left));
}

.landing-slide-copy[b-whmmrzbhp8] {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 56rem;
    margin-inline: auto;
}

.landing-copy-wide[b-whmmrzbhp8] {
    max-width: 72rem;
}

.landing-copy-center[b-whmmrzbhp8] {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.landing-copy-center .landing-sub[b-whmmrzbhp8] {
    margin-inline: auto;
}

.landing-fifty[b-whmmrzbhp8] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    margin-bottom: 0.35rem;
}

.landing-plus[b-whmmrzbhp8] {
    font-family: '8sans', 'Cairo', system-ui, sans-serif !important;
    font-weight: 900;
    font-size: clamp(3.4rem, 13vw, 7.2rem);
    line-height: 0.9;
    color: #fff;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.28);
}

.landing-intro-title[b-whmmrzbhp8] {
    margin-top: 5rem;
    margin-bottom: 1.25rem;
}

.landing-vm[b-whmmrzbhp8] {
    display: grid;
    gap: 2rem;
}

.landing-vm-col[b-whmmrzbhp8] {
    padding: 1.75rem 1.6rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(0, 40, 90, 0.28);
    backdrop-filter: blur(10px);
    border-radius: 1.5rem;
}

.landing-vm-label[b-whmmrzbhp8] {
    font-weight: 900;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--landing-accent);
    margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
    .landing-vm[b-whmmrzbhp8] {
        grid-template-columns: 1fr 1fr;
        gap: 2.25rem;
        align-items: stretch;
    }

    .landing-vm-col[b-whmmrzbhp8] {
        min-height: 16rem;
    }
}

.landing-slide-photo[b-whmmrzbhp8] {
    position: relative;
    overflow: hidden;
}

.landing-photo[b-whmmrzbhp8] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.landing-parallax[b-whmmrzbhp8] {
    transform: scale(1.12);
}

.landing-photo-shade[b-whmmrzbhp8] {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to top,
        rgba(10, 15, 26, 0.94) 0%,
        rgba(10, 15, 26, 0.58) 48%,
        rgba(10, 15, 26, 0.32) 100%
    );
}

.landing-num[b-whmmrzbhp8],
.landing-headline[b-whmmrzbhp8] {
    font-family: '8sans', 'Cairo', system-ui, sans-serif !important;
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.22;
}

.landing-num[b-whmmrzbhp8] {
    font-size: clamp(3.8rem, 14vw, 8.2rem);
    color: #fff;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.28);
}

.landing-headline[b-whmmrzbhp8] {
    font-size: clamp(2.15rem, 6.2vw, 4rem);
    line-height: 1.25;
    font-weight: 900;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.22);
}

.landing-headline-sm[b-whmmrzbhp8] {
    font-size: clamp(1.15rem, 3vw, 1.7rem);
    line-height: 1.7;
    letter-spacing: -0.01em;
    font-weight: 800;
}

.landing-sub[b-whmmrzbhp8] {
    font-size: clamp(1.05rem, 2.2vw, 1.35rem);
    color: var(--landing-muted);
    font-weight: 600;
    line-height: 1.8;
    max-width: 38rem;
}

.landing-chrome[b-whmmrzbhp8] {
    position: absolute;
    top: 0;
    inset-inline: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: max(0.7rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) 0.5rem max(1rem, env(safe-area-inset-left));
    pointer-events: none;
}

.landing-chrome > *[b-whmmrzbhp8] {
    pointer-events: auto;
}

.landing-home[b-whmmrzbhp8] {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none !important;
    color: #fff !important;
}

.landing-logo-disc[b-whmmrzbhp8] {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    flex-shrink: 0;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
}

.landing-logo-disc img[b-whmmrzbhp8] {
    width: 76%;
    height: 76%;
    object-fit: contain;
    object-position: center;
}

.landing-logo-disc-sm[b-whmmrzbhp8] {
    width: 2.75rem;
    height: 2.75rem;
}

.landing-logo-disc-md[b-whmmrzbhp8] {
    width: 5.75rem;
    height: 5.75rem;
}

.landing-logo-disc-lg[b-whmmrzbhp8] {
    width: 8.25rem;
    height: 8.25rem;
}

@media (min-width: 768px) {
    .landing-logo-disc-lg[b-whmmrzbhp8] {
        width: 9.5rem;
        height: 9.5rem;
    }
}

.landing-langs[b-whmmrzbhp8] {
    display: flex;
    gap: 0.3rem;
    padding: 0.22rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.landing-lang[b-whmmrzbhp8] {
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    cursor: pointer;
    line-height: 1;
}

.landing-lang.is-active[b-whmmrzbhp8] {
    background: #fff;
    color: #0a0f1a;
}

.landing-lang:focus-visible[b-whmmrzbhp8],
.landing-dot:focus-visible[b-whmmrzbhp8],
.landing-btn:focus-visible[b-whmmrzbhp8],
.landing-home:focus-visible[b-whmmrzbhp8] {
    outline: 2px solid var(--landing-accent);
    outline-offset: 3px;
}

.landing-rail[b-whmmrzbhp8] {
    position: absolute;
    top: 50%;
    inset-inline-end: max(0.7rem, env(safe-area-inset-right));
    transform: translateY(-50%);
    z-index: 30;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
}

.landing-progress-track[b-whmmrzbhp8] {
    width: 2px;
    height: 7.5rem;
    background: rgba(255, 255, 255, 0.16);
    border-radius: 99px;
    overflow: hidden;
    position: relative;
}

.landing-progress-bar[b-whmmrzbhp8] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: var(--landing-accent);
    transition: height 0.45s ease;
}

.landing-dots[b-whmmrzbhp8] {
    display: flex;
    flex-direction: column;
    gap: 0.42rem;
    align-items: center;
}

.landing-dot[b-whmmrzbhp8] {
    width: 8px;
    height: 8px;
    padding: 0;
    border-radius: 99px;
    border: 0;
    background: rgba(255, 255, 255, 0.32);
    cursor: pointer;
    transition: transform 0.25s ease, background 0.25s ease, height 0.25s ease;
}

.landing-dot.is-active[b-whmmrzbhp8] {
    background: var(--landing-accent);
    height: 18px;
}

.landing-hint[b-whmmrzbhp8] {
    position: absolute;
    bottom: max(1.1rem, env(safe-area-inset-bottom));
    left: 50%;
    transform: translateX(-50%);
    z-index: 30;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.landing-hint.is-hidden[b-whmmrzbhp8] {
    opacity: 0;
}

.landing-hint-chevron[b-whmmrzbhp8] {
    width: 0.7rem;
    height: 0.7rem;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    animation: landing-bounce-b-whmmrzbhp8 1.6s ease-in-out infinite;
}

.landing-chip[b-whmmrzbhp8],
.landing-value[b-whmmrzbhp8] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(8px);
    border-radius: 999px;
    padding: 0.4rem 0.85rem;
    font-size: 0.8rem;
    font-weight: 700;
}

.landing-chip.is-hot[b-whmmrzbhp8] {
    border-color: var(--landing-accent);
    color: var(--landing-accent);
    background: rgba(126, 200, 255, 0.14);
}

.landing-card[b-whmmrzbhp8] {
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(8px);
    border-radius: 1.25rem;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    font-weight: 700;
}

.landing-stat[b-whmmrzbhp8] {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.landing-stat-num[b-whmmrzbhp8] {
    font-family: '8sans', 'Cairo', system-ui, sans-serif !important;
    font-weight: 900;
    font-size: clamp(2.6rem, 8vw, 4.6rem);
    line-height: 1;
    letter-spacing: -0.03em;
}

.landing-stat-unit[b-whmmrzbhp8] {
    color: var(--landing-accent);
    font-weight: 800;
    font-size: 0.95rem;
}

.landing-stat-label[b-whmmrzbhp8] {
    color: var(--landing-muted);
    font-size: 0.85rem;
    font-weight: 600;
}

.landing-tl[b-whmmrzbhp8] {
    display: grid;
    gap: 1.85rem;
}

.landing-tl-item[b-whmmrzbhp8] {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.25rem;
    align-items: start;
}

.landing-fac-grid[b-whmmrzbhp8] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem 1.4rem;
}

.landing-fac-item[b-whmmrzbhp8] {
    font-weight: 700;
    font-size: clamp(0.82rem, 1.7vw, 1.05rem);
    line-height: 1.55;
    padding: 0.55rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

@media (min-width: 768px) {
    .landing-fac-grid[b-whmmrzbhp8] {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 1rem 1.75rem;
    }
}

.landing-tl-year[b-whmmrzbhp8] {
    font-family: '8sans', 'Cairo', system-ui, sans-serif !important;
    font-weight: 900;
    font-size: clamp(2rem, 6vw, 3.2rem);
    line-height: 1;
    color: var(--landing-accent);
}

.landing-btn[b-whmmrzbhp8] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border-radius: 999px;
    padding: 0.7rem 1.25rem;
    font-weight: 800;
    font-size: 0.9rem;
    text-decoration: none !important;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform 0.2s ease, background 0.2s ease;
}

.landing-btn:hover[b-whmmrzbhp8] {
    transform: translateY(-1px);
}

.landing-btn-primary[b-whmmrzbhp8] {
    background: #fff;
    color: #0a0f1a !important;
}

.landing-btn-ghost[b-whmmrzbhp8] {
    background: rgba(255, 255, 255, 0.08);
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.16);
}

.landing-map[b-whmmrzbhp8] {
    width: min(14rem, 46vw);
    height: auto;
    opacity: 0.28;
    position: absolute;
    inset-inline-end: 4%;
    bottom: 12%;
    pointer-events: none;
}

.landing-toast[b-whmmrzbhp8] {
    position: absolute;
    bottom: max(1.4rem, env(safe-area-inset-bottom));
    left: 50%;
    transform: translateX(-50%);
    z-index: 40;
    background: rgba(255, 255, 255, 0.92);
    color: #0a0f1a;
    font-weight: 800;
    font-size: 0.8rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
}

@keyframes landing-bounce-b-whmmrzbhp8 {
    0%, 100% { transform: rotate(45deg) translateY(0); }
    50% { transform: rotate(45deg) translateY(5px); }
}

@media (max-width: 640px) {
    .landing-home span[b-whmmrzbhp8] {
        display: none;
    }

    .landing-map[b-whmmrzbhp8] {
        display: none;
    }

    .landing-slide-inner[b-whmmrzbhp8] {
        padding-top: 5.2rem;
        padding-bottom: 3.5rem;
    }

    .landing-rail[b-whmmrzbhp8] {
        inset-inline-end: 0.45rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .landing-hint-chevron[b-whmmrzbhp8] {
        animation: none;
    }

    .landing-progress-bar[b-whmmrzbhp8],
    .landing-dot[b-whmmrzbhp8],
    .landing-btn[b-whmmrzbhp8] {
        transition: none;
    }
}
/* /Components/Pages/PostPages/View.razor.rz.scp.css */
/*
 * Rich Text (Quill) Content Styles & Premium Animations
 * Scoped to View.razor via Blazor CSS Isolation
 */

/* -- Page entry: staggered fade-up -- */
@keyframes fadeUpIn-b-znc6i7pwd2 {
    0%   { opacity: 0; transform: translateY(24px); }
    100% { opacity: 1; transform: translateY(0); }
}

.anim-fade-up[b-znc6i7pwd2] {
    animation: fadeUpIn-b-znc6i7pwd2 0.65s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.anim-delay-1[b-znc6i7pwd2] { animation-delay: 0.05s; }
.anim-delay-2[b-znc6i7pwd2] { animation-delay: 0.12s; }
.anim-delay-3[b-znc6i7pwd2] { animation-delay: 0.19s; }
.anim-delay-4[b-znc6i7pwd2] { animation-delay: 0.26s; }
.anim-delay-5[b-znc6i7pwd2] { animation-delay: 0.33s; }
.anim-delay-6[b-znc6i7pwd2] { animation-delay: 0.40s; }

/* -- Scale reveal for images -- */
@keyframes scaleReveal-b-znc6i7pwd2 {
    0%   { opacity: 0; transform: scale(0.92); }
    100% { opacity: 1; transform: scale(1); }
}

.anim-scale-reveal[b-znc6i7pwd2] {
    animation: scaleReveal-b-znc6i7pwd2 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}



.image-row[b-znc6i7pwd2] {
    display: flex;
    gap: 0.5rem;
    width: 100%;
}

.image-row > button[b-znc6i7pwd2] {
    flex: 1;
    min-width: 0;
}

@media (max-width: 1023px) {
    .image-row > button[b-znc6i7pwd2] {
        height: 12rem !important; /* h-48 on mobile */
    }
}


/*  Base paragraph  */
[b-znc6i7pwd2] .prose p {
    font-size: 1.05rem;
    line-height: 1.85;
    margin-bottom: 1.2em;
    /* text-align: justify; */
}

/*  Headings  */
[b-znc6i7pwd2] .prose h1 { font-size: 2.5rem;  line-height: 1.40; font-weight: bolder; margin: 1.6em 0 0.6em;  }
[b-znc6i7pwd2] .prose h2 { font-size: 1.4rem;  line-height: 1.45; font-weight: bolder; margin: 1.4em 0 0.5em;  }
[b-znc6i7pwd2] .prose h3 { font-size: 1.15rem; line-height: 1.50;  margin: 1.2em 0 0.4em;  }

[b-znc6i7pwd2] .prose h1:first-child,
[b-znc6i7pwd2] .prose h2:first-child,
[b-znc6i7pwd2] .prose h3:first-child {
    margin-top: 0;
}

/*  Lists  */
[b-znc6i7pwd2] .prose ul,
[b-znc6i7pwd2] .prose ol {
    padding-inline-start: 1.5rem;
    margin-bottom: 1.2em;
}

[b-znc6i7pwd2] .prose li {
    margin-bottom: 0.35em;
    line-height: 1.75;
}

[b-znc6i7pwd2] .prose li > ul,
[b-znc6i7pwd2] .prose li > ol {
    margin-top: 0.25em;
    margin-bottom: 0;
}

/*  Blockquote  */
[b-znc6i7pwd2] .prose blockquote {
    border-inline-start: 4px solid #0A78CC;
    padding: 0.75rem 1.25rem;
    margin: 1.2em 0;
    background: #f6f9fc;
    border-radius: 0 0.5rem 0.5rem 0;
    color: #4a5568;
    font-style: italic;
}

/*  Links  */
[b-znc6i7pwd2] .prose a {
    color: #0A78CC;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.15s;
}

[b-znc6i7pwd2] .prose a:hover {
    color: #065b9c;
}

/*  Inline formatting  */
[b-znc6i7pwd2] .prose strong { font-weight: bolder; color: #1a1a1a; }
[b-znc6i7pwd2] .prose em { font-style: italic; }

/*  Code  */
[b-znc6i7pwd2] .prose code {
    background: #f1f3f5;
    padding: 0.15em 0.4em;
    border-radius: 4px;
    font-size: 0.9em;
    font-family: 'SF Mono', 'Cascadia Code', 'Fira Code', monospace;
    color: #d6336c;
}

[b-znc6i7pwd2] .prose pre {
    background: #1e1e1e;
    color: #e0e0e0;
    padding: 1rem 1.25rem;
    border-radius: 0.75rem;
    overflow-x: auto;
    margin: 1.2em 0;
    font-size: 0.875rem;
    line-height: 1.65;
}

[b-znc6i7pwd2] .prose pre code {
    background: none;
    padding: 0;
    color: inherit;
    font-size: inherit;
}

/*  Images inside rich text  */
[b-znc6i7pwd2] .prose img {
    max-width: 100%;
    height: auto;
    border-radius: 0.75rem;
    margin: 1em 0;
}

/*  Horizontal rule  */
[b-znc6i7pwd2] .prose hr {
    border: none;
    border-top: 1px solid #e2e8f0;
    margin: 2em 0;
}

/*  RTL support  */
[dir="rtl"][b-znc6i7pwd2]  .prose blockquote {
    border-inline-start: none;
    border-inline-end: 4px solid #0A78CC;
    border-radius: 0.5rem 0 0 0.5rem;
}

/*  Responsive: smaller screens  */
@media (max-width: 1023px) {
    [b-znc6i7pwd2] .prose p  { font-size: 1rem; line-height: 1.8; }
    [b-znc6i7pwd2] .prose h1 { font-size: 1.5rem; }
    [b-znc6i7pwd2] .prose h2 { font-size: 1.25rem; }
    [b-znc6i7pwd2] .prose h3 { font-size: 1.1rem; }
}

/* qassas art */

/* /Components/Shared/Lightbox.razor.rz.scp.css */
/*
 * Shared Lightbox Component Styles
 * Scoped via Blazor CSS Isolation
 */

/* =============================================
   BACKDROP
   ============================================= */

.lightbox-backdrop[b-ltj7y3djuv] {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: rgba(0, 0, 0, 0.88);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: lb-backdropIn-b-ltj7y3djuv 0.3s ease-out both;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    outline: none;
}

@keyframes lb-backdropIn-b-ltj7y3djuv {
    0%   { opacity: 0; }
    100% { opacity: 1; }
}

/* =============================================
   IMAGE
   ============================================= */

.lightbox-image[b-ltj7y3djuv] {
    max-width: 92vw;
    max-height: calc(100vh - 100px);
    object-fit: contain;
    border-radius: 1.25rem;
    animation: lb-modalImageIn-b-ltj7y3djuv 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
    box-shadow: 0 25px 60px rgba(0,0,0,0.5);
    user-select: none;
    -webkit-user-select: none;
}

@keyframes lb-modalImageIn-b-ltj7y3djuv {
    0%   { opacity: 0; transform: scale(0.88); }
    100% { opacity: 1; transform: scale(1); }
}

/* =============================================
   FLOATING ACTION BUTTONS (close / download)
   ============================================= */

.lightbox-action[b-ltj7y3djuv] {
    position: absolute;
    top: 16px;
    width: 40px;
    height: 40px;
    border-radius: 9999px;
    background: rgba(255,255,255,0.12);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    border: none;
    outline: none;
    font-size: 1.25rem;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    text-decoration: none;
}
.lightbox-action:hover[b-ltj7y3djuv] {
    background: rgba(255,255,255,0.22);
    transform: scale(1.1);
}
.lightbox-action:active[b-ltj7y3djuv] {
    transform: scale(0.92);
}

.lightbox-close-btn[b-ltj7y3djuv] { right: 16px; }
.lightbox-download[b-ltj7y3djuv]  { right: 64px; }

/* =============================================
   NAVIGATION ARROWS (desktop)
   ============================================= */

.lightbox-nav[b-ltj7y3djuv] {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 9999px;
    background: rgba(255,255,255,0.12);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    border: none;
    outline: none;
    font-size: 1.5rem;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.lightbox-nav:hover[b-ltj7y3djuv] {
    background: rgba(255,255,255,0.22);
    transform: translateY(-50%) scale(1.08);
}
.lightbox-nav:active[b-ltj7y3djuv] {
    transform: translateY(-50%) scale(0.95);
}
.lightbox-nav-prev[b-ltj7y3djuv] { left: 16px; }
.lightbox-nav-next[b-ltj7y3djuv] { right: 16px; }

/* =============================================
   DESKTOP COUNTER
   ============================================= */

.lightbox-counter[b-ltj7y3djuv] {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.7);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* =============================================
   MOBILE BOTTOM BAR
   ============================================= */

.lightbox-mobile-bar[b-ltj7y3djuv] {
    display: none;
}

.lightbox-mobile-btn[b-ltj7y3djuv] {
    width: 44px;
    height: 44px;
    border-radius: 9999px;
    background: rgba(255,255,255,0.12);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    border: none;
    outline: none;
    font-size: 1.25rem;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    text-decoration: none;
}
.lightbox-mobile-btn:hover[b-ltj7y3djuv] {
    background: rgba(255,255,255,0.22);
}
.lightbox-mobile-btn:active[b-ltj7y3djuv] {
    transform: scale(0.92);
}
.lightbox-mobile-btn:disabled[b-ltj7y3djuv] {
    opacity: 0.3;
    cursor: default;
    pointer-events: none;
}

.lightbox-mobile-counter[b-ltj7y3djuv] {
    color: rgba(255,255,255,0.7);
    font-size: 0.875rem;
    font-weight: 500;
    min-width: 60px;
    text-align: center;
}

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 1023px) {
    .lightbox-image[b-ltj7y3djuv] {
        max-width: 96vw;
        max-height: calc(100vh - 140px);
        border-radius: 1rem;
    }

    /* Hide desktop floating elements */
    .lightbox-nav[b-ltj7y3djuv],
    .lightbox-counter[b-ltj7y3djuv],
    .lightbox-action[b-ltj7y3djuv] {
        display: none;
    }

    /* Show mobile bottom bar */
    .lightbox-mobile-bar[b-ltj7y3djuv] {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 14px 16px;
        padding-bottom: max(14px, env(safe-area-inset-bottom));
        background: rgba(0,0,0,0.65);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        z-index: 10;
    }
}
