/* =============================================================
   bayani.css — CorporateWeb master stylesheet
   Three-theme system: light, dark, bayani
   Theme is set via html[data-theme="light|dark|bayani"]
   Bayani brand palette per BAYANI.AI BRAND GUIDELINES V1.0
   ============================================================= */

/* ── THEME TOKENS: BAYANI (default — brand theme) ── */
:root {
    /* Backgrounds */
    --color-bg-page: #010812;
    --color-bg-page-gradient: none;
    --color-bg-secondary: #111113;
    --color-bg-panel: rgba(19, 22, 28, 0.35);
    --color-bg-elevated: rgba(19, 22, 28, 0.60);
    --color-bg-surface: rgba(19, 22, 28, 0.92);
    --color-bg-input: rgba(19, 22, 28, 0.90);
    /* Borders */
    --color-border: #1F242D;
    --color-border-subtle: rgba(0, 255, 255, 0.15);
    --color-border-strong: rgba(31, 36, 45, 0.50);
    --color-input-border: rgba(138, 138, 138, 0.55);
    /* Accent colors — Bayani brand */
    --color-accent-primary: #00d2ff;
    --color-accent-primary-rgb: 0, 210, 255;
    --color-accent-secondary: #FFC400;
    --color-accent-secondary-rgb: 255, 196, 0;
    --color-accent-blue: #007BFF;
    --color-accent-violet: #6366F1;
    --color-accent-violet-rgb: 99, 102, 241;       /* #6366F1 */
    --color-network-cyan: #0C4D64;
    --color-network-cyan-rgb: 12, 77, 100;          /* #0C4D64 */
    --color-network-amber: #7a632b;
    --color-abstract-geo: #0A1F33;
    /* CTA button gradient */
    --color-cta-from: #00CCFF;
    --color-cta-to: #E0FFFF;
    /* Typography */
    --color-text-heading: #FFFFFF;
    --color-text-body: #C7CDD4;
    --color-text-muted: #64748B;
    --color-text-accent: #00FFFF;
    --color-text-link: #00FFFF;
    /* Shadows & Glows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-depth: 0 8px 32px rgba(0, 0, 0, 0.5);
    --glow-accent: 0 0 20px rgba(0, 210, 255, 0.3);
    --glow-accent-strong: 0 0 30px rgba(0, 210, 255, 0.8);
    /* Glass */
    --glass-blur: 16px;
    --glass-bg: rgba(19, 22, 28, 0.40);
    --glass-border: 1px solid rgba(0, 210, 255, 0.12);
    --glass-panel-bg: rgba(10, 12, 16, 0.60);
    /* Sidebar */
    --sidebar-bg: rgba(10, 12, 16, 0.95);
    --sidebar-border: rgba(0, 255, 255, 0.08);
    --sidebar-active-bg: rgba(0, 210, 255, 0.08);
    --sidebar-active-border: rgba(0, 210, 255, 0.20);
    --sidebar-hover-bg: rgba(255, 255, 255, 0.05);
    --sidebar-text: #C7CDD4;
    --sidebar-text-active: #FFFFFF;
    --sidebar-section-label: #475569;
    /* Topbar */
    --topbar-bg: rgba(10, 12, 16, 0.80);
    --topbar-border: rgba(0, 210, 255, 0.08);
    /* Cards */
    --card-bg: rgba(19, 22, 28, 0.40);
    --card-border: rgba(0, 210, 255, 0.10);
    --card-hover-border: rgba(0, 210, 255, 0.25);
    /* Tables */
    --table-header-text: #64748B;
    --table-border: rgba(255, 255, 255, 0.05);
    --table-row-hover: rgba(0, 210, 255, 0.04);
    /* Status */
    --color-status-online: #22c55e;
    --color-status-warning: #F59E0B;
    --color-status-error: #EF4444;
    /* Badge */
    --badge-bg: rgba(0, 255, 255, 0.10);
    --badge-text: #00FFFF;
    --badge-border: rgba(0, 255, 255, 0.20);
    /* Chart series */
    --color-series-1: #00FFFF;
    --color-series-2: #FFC400;
    --color-series-3: #7F6A94;
    --color-series-4: #0C4D64;
    --color-series-5: #0A1F33;
    --color-series-6: #99D4FF;
    --color-series-7: #22C55E;
    --color-series-8: #F59E0B;
    /* Chart grid & axis */
    --color-grid-line: rgba(255,255,255,0.06);
    --color-axis-line: rgba(255,255,255,0.10);
    /* Tooltip */
    --color-tooltip-bg: rgba(10,12,16,0.96);
    --color-tooltip-border: rgba(0,255,255,0.20);
    --color-tooltip-text: #FFFFFF;
    --color-tooltip-shadow: 0 4px 16px rgba(0,0,0,0.5), 0 0 12px rgba(0,255,255,0.08);
    /* Fonts — Satoshi (body) + Cabinet Grotesk (headings), loaded once in App.razor */
    --font-sans:    "Satoshi", ui-sans-serif, system-ui, sans-serif;
    --font-heading: "Cabinet Grotesk", ui-sans-serif, system-ui, sans-serif;
    /* Override Syncfusion's --e-font-name so all components inherit the site body font.
       --e-font-family resolves to var(--e-font-name), var(--e-font-sans) in the theme,
       so overriding --e-font-name is sufficient and leaves the fallback chain intact. */
    --e-font-name:  "Satoshi";
}

/* ── THEME TOKENS: LIGHT ── */
html[data-theme="light"],
html[data-theme="light"] :root {
    --color-bg-page: #F8F9FB;
    --color-bg-page-gradient: none;
    --color-bg-secondary: #FFFFFF;
    --color-bg-panel: rgba(255, 255, 255, 0.92);
    --color-bg-elevated: #FFFFFF;
    --color-bg-surface: #FFFFFF;
    --color-bg-input: #FFFFFF;

    --color-border: #E5E7EB;
    --color-border-subtle: #E5E7EB;
    --color-border-strong: #D1D5DB;
    --color-input-border: #D1D5DB;

    --color-accent-primary: #007BFF;
    --color-accent-primary-rgb: 0, 123, 255;
    --color-accent-secondary: #0056B3;
    --color-accent-secondary-rgb: 0, 86, 179;
    --color-accent-blue: #007BFF;
    --color-accent-violet: #6366F1;
    --color-network-cyan: #007BFF;
    --color-network-amber: #F59E0B;
    --color-abstract-geo: #F3F4F6;

    --color-cta-from: #007BFF;
    --color-cta-to: #339DFF;

    --color-text-heading: #111827;
    --color-text-body: #4B5563;
    --color-text-muted: #9CA3AF;
    --color-text-accent: #007BFF;
    --color-text-link: #007BFF;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.10);
    --shadow-depth: 0 8px 32px rgba(0, 0, 0, 0.08);
    --glow-accent: none;
    --glow-accent-strong: none;

    --glass-blur: 0px;
    --glass-bg: rgba(255, 255, 255, 0.92);
    --glass-border: 1px solid #E5E7EB;
    --glass-panel-bg: rgba(255, 255, 255, 0.95);

    --sidebar-bg: #FFFFFF;
    --sidebar-border: #E5E7EB;
    --sidebar-active-bg: rgba(0, 123, 255, 0.08);
    --sidebar-active-border: rgba(0, 123, 255, 0.20);
    --sidebar-hover-bg: rgba(0, 0, 0, 0.04);
    --sidebar-text: #4B5563;
    --sidebar-text-active: #111827;
    --sidebar-section-label: #9CA3AF;

    --topbar-bg: rgba(255, 255, 255, 0.95);
    --topbar-border: #E5E7EB;

    --card-bg: #FFFFFF;
    --card-border: #E5E7EB;
    --card-hover-border: rgba(0, 123, 255, 0.30);

    --table-header-text: #6B7280;
    --table-border: #E5E7EB;
    --table-row-hover: rgba(0, 123, 255, 0.04);

    --badge-bg: rgba(0, 123, 255, 0.08);
    --badge-text: #007BFF;
    --badge-border: rgba(0, 123, 255, 0.20);

    /* Chart series */
    --color-series-1: #007BFF;
    --color-series-2: #F59E0B;
    --color-series-3: #22C55E;
    --color-series-4: #6366F1;
    --color-series-5: #EF4444;
    --color-series-6: #EC4899;
    --color-series-7: #14B8A6;
    --color-series-8: #F97316;

    /* Chart grid & axis */
    --color-grid-line: rgba(0,0,0,0.08);
    --color-axis-line: rgba(0,0,0,0.15);

    /* Tooltip */
    --color-tooltip-bg: rgba(255,255,255,0.96);
    --color-tooltip-border: #E5E7EB;
    --color-tooltip-text: #1F2937;
    --color-tooltip-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

/* ── THEME TOKENS: DARK ── */
html[data-theme="dark"],
html[data-theme="dark"] :root {
    --color-bg-page: #1A1A1A;
    --color-bg-page-gradient: none;
    --color-bg-secondary: #242424;
    --color-bg-panel: rgba(42, 42, 42, 0.80);
    --color-bg-elevated: #2D2D2D;
    --color-bg-surface: #2D2D2D;
    --color-bg-input: rgba(42, 42, 42, 0.90);

    --color-border: #3A3A3A;
    --color-border-subtle: #3A3A3A;
    --color-border-strong: #555555;
    --color-input-border: #555555;

    --color-accent-primary: #60A5FA;
    --color-accent-primary-rgb: 96, 165, 250;
    --color-accent-secondary: #3B82F6;
    --color-accent-secondary-rgb: 59, 130, 246;
    --color-accent-blue: #60A5FA;
    --color-accent-violet: #818CF8;
    --color-network-cyan: #60A5FA;
    --color-network-amber: #FBBF24;
    --color-abstract-geo: #2D2D2D;

    --color-cta-from: #3B82F6;
    --color-cta-to: #60A5FA;

    --color-text-heading: #FFFFFF;
    --color-text-body: #D1D5DB;
    --color-text-muted: #888888;
    --color-text-accent: #60A5FA;
    --color-text-link: #60A5FA;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-depth: 0 8px 32px rgba(0, 0, 0, 0.4);
    --glow-accent: none;
    --glow-accent-strong: none;

    --glass-blur: 12px;
    --glass-bg: rgba(42, 42, 42, 0.60);
    --glass-border: 1px solid #3A3A3A;
    --glass-panel-bg: rgba(42, 42, 42, 0.80);

    --sidebar-bg: #1E1E1E;
    --sidebar-border: #3A3A3A;
    --sidebar-active-bg: rgba(96, 165, 250, 0.10);
    --sidebar-active-border: rgba(96, 165, 250, 0.25);
    --sidebar-hover-bg: rgba(255, 255, 255, 0.05);
    --sidebar-text: #D1D5DB;
    --sidebar-text-active: #FFFFFF;
    --sidebar-section-label: #888888;

    --topbar-bg: rgba(30, 30, 30, 0.90);
    --topbar-border: #3A3A3A;

    --card-bg: #2D2D2D;
    --card-border: #3A3A3A;
    --card-hover-border: rgba(96, 165, 250, 0.30);

    --table-header-text: #888888;
    --table-border: #3A3A3A;
    --table-row-hover: rgba(96, 165, 250, 0.06);

    --badge-bg: rgba(96, 165, 250, 0.12);
    --badge-text: #60A5FA;
    --badge-border: rgba(96, 165, 250, 0.25);

    /* Chart series */
    --color-series-1: #60A5FA;
    --color-series-2: #FBBF24;
    --color-series-3: #34D399;
    --color-series-4: #A78BFA;
    --color-series-5: #F87171;
    --color-series-6: #F472B6;
    --color-series-7: #2DD4BF;
    --color-series-8: #FB923C;

    /* Chart grid & axis */
    --color-grid-line: rgba(255,255,255,0.06);
    --color-axis-line: rgba(255,255,255,0.12);

    /* Tooltip */
    --color-tooltip-bg: rgba(42,42,42,0.96);
    --color-tooltip-border: #555555;
    --color-tooltip-text: #FFFFFF;
    --color-tooltip-shadow: 0 4px 16px rgba(0,0,0,0.4);
}

/* ── Keyframes ── */
@keyframes dash {
    to { stroke-dashoffset: -100; }
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: none; }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 8px rgba(var(--color-accent-primary-rgb), 0.15); }
    50% { box-shadow: 0 0 20px rgba(var(--color-accent-primary-rgb), 0.30); }
}

@keyframes gradient-shift {
    to { background-position: 200% center; }
}

/* Animated gradient headline: cyan → pale cyan sweep. Apply .grad-text to any
   inline or block element. The animation loops via gradient-shift. Omit the
   span wrapper if the whole element should glow. */
.grad-text {
    background-image: linear-gradient(90deg, var(--color-cta-from), var(--color-cta-to), var(--color-cta-from));
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: gradient-shift 7s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
    .grad-text { animation: none; }
}

/* ── Base Styles ── */
html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}

body {
    background-color: var(--color-bg-page);
    background-image: var(--color-bg-page-gradient);
    color: var(--color-text-body);
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-text-heading);
}

a {
    color: var(--color-text-link);
    transition: color 0.2s ease;
}

/* ── Glass Card ── */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 2px solid var(--card-border);
    border-radius: 1rem;
    box-shadow: var(--shadow-md), var(--glow-accent);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

    .glass-card:hover {
        border-color: var(--card-hover-border);
        border: 2px solid var(--card-hover-border);
    }

/* ── Glass Panel (navbar / overlays) ── */
.glass-panel {
    background: var(--glass-panel-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-color: var(--color-border-subtle);
    transition: background-color 0.3s ease;
}

.public-site-primary-nav {
    display: flex;
    align-items: stretch;
    gap: 0;
    height: 5rem;
}

.public-site-nav-link {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 1rem;
    color: var(--color-text-body);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.public-site-nav-link:hover {
    color: var(--color-text-heading);
    background: rgba(255, 255, 255, 0.02);
}

.public-site-nav-link.active {
    color: var(--color-text-accent);
    background: rgba(var(--color-accent-primary-rgb), 0.06);
}

.public-site-nav-link.active::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-accent-primary), transparent);
    box-shadow: 0 0 10px rgba(var(--color-accent-primary-rgb), 0.9), 0 0 20px rgba(var(--color-accent-primary-rgb), 0.4);
}

.public-site-nav-link.active::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(var(--color-accent-primary-rgb), 0.09), transparent 70%);
    pointer-events: none;
}

.public-site-mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.public-site-mobile-nav-link {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 4rem;
    padding: 0 1.5rem;
    box-shadow: inset 0 -1px 0 rgba(var(--color-accent-primary-rgb), 0.08);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    overflow: hidden;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.public-site-mobile-nav-link__accent {
    position: absolute;
    left: 0;
    top: 0.75rem;
    bottom: 0.75rem;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: var(--color-accent-primary);
    box-shadow: 0 0 8px var(--color-accent-primary), 0 0 16px rgba(var(--color-accent-primary-rgb), 0.45);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.public-site-mobile-nav-link__content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
}

.public-site-mobile-nav-link__label {
    line-height: 1;
}

.public-site-mobile-nav-link__icon {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    opacity: 0.4;
    transition: opacity 0.2s ease;
}

.public-site-mobile-nav-link__arrow {
    margin-left: auto;
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    opacity: 0.25;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.public-site-mobile-nav-link:hover {
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.02);
}

.public-site-mobile-nav-link:hover .public-site-mobile-nav-link__icon {
    opacity: 0.7;
}

.public-site-mobile-nav-link:hover .public-site-mobile-nav-link__arrow {
    opacity: 0.6;
    transform: translateX(2px);
}

.public-site-mobile-nav-link.active {
    color: #00ffff;
    background: rgba(var(--color-accent-primary-rgb), 0.06);
}

.public-site-mobile-nav-link.active::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(var(--color-accent-primary-rgb), 0.09), transparent 70%);
    pointer-events: none;
}

.public-site-mobile-nav-link.active::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-accent-primary), transparent);
    box-shadow: 0 0 10px var(--color-accent-primary), 0 0 20px rgba(var(--color-accent-primary-rgb), 0.4);
}

.public-site-mobile-nav-link.active .public-site-mobile-nav-link__accent {
    opacity: 1;
}

.public-site-mobile-nav-link.active .public-site-mobile-nav-link__icon {
    opacity: 1;
}

.public-site-mobile-nav-link.active .public-site-mobile-nav-link__arrow {
    opacity: 0.6;
    transform: translateX(2px);
}

/* Brushed-steel button — also rectangular */
.brushed-steel-btn {
    padding: 12px 24px;
    color: var(--color-accent-primary);
    border: 2px solid var(--color-border-strong);
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    background-image: linear-gradient(to right, #dcdcdc 0%, #a0a0a0 50%, #dcdcdc 100%);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.5);
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
    transition: all 0.2s ease;
}

.brushed-steel-btn:active {
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3), inset 0 1px 2px rgba(0, 0, 0, 0.5);
    transform: translateY(1px);
}

/* ── Text Gradient (replaced with solid heading color) ── */
.text-gradient {
    color: var(--color-text-heading);
}

/* Username / subtitle variant — lighter than headings */
.text-subtitle {
    color: var(--color-text-body);
}

/* ── Background Glow ── */
.bg-gradient-glow {
    background: radial-gradient(circle at center, rgba(var(--color-accent-primary-rgb), 0.12) 0%, transparent 70%);
}

/* ── Embossed text ── */
.embossed-text {
    color: var(--color-text-muted);
    text-shadow: rgba(0,0,0,0.5) -1px 0, rgba(0,0,0,0.3) 0 -1px, rgba(255,255,255,0.5) 0 1px, rgba(0,0,0,0.3) -1px -2px;
}

/* ── Text shimmer ── */
.textshimmer {
    background: linear-gradient(135deg, #ffffff, #7e8791, #ffffff);
    background-clip: text;
    color: transparent;
    background-size: 200% 100%;
    animation: shimmer 10s linear infinite;
}

/* ── Texture background with controllable opacity ── */
/*.texture-bg-section { position: relative; }

.texture-bg-section::before {*/
/*    content: '';
    position: absolute;
    inset: 0;*/
/*    background-image: url('/images/darktexturebg2.jpg');
    background-size: cover;
    background-position: center;*/
/*    opacity: 0.2;*/
/*    pointer-events: none;
    z-index: 0;*/
/*}

.texture-bg-section > * {
    position: relative;
    z-index: 1;
}*/

/* ── Hero Carousel ── */
#hero-carousel {
    position: relative;
    min-height: 40vh;
    touch-action: pan-y;
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    z-index: 0;
    transition: opacity 0.8s ease;
}

.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 10;
}

.hero-slide.leaving {
    opacity: 0;
    z-index: 5;
    pointer-events: none;
    transition: opacity 0.8s ease;
}

.hero-slide-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    transition: opacity 1s ease, transform 1s ease;
    transform: translateX(30px);
    opacity: 0;
}

.hero-slide.active .hero-slide-bg {
    transform: translateX(0);
    opacity: 1;
}

.hero-slide.leaving .hero-slide-bg {
    transform: translateX(-60px);
    opacity: 0;
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    /* No overlay — left/right vignette handled by body::after */
    background: none;
}

/* ── Full-page left/right edge vignette ── */
/* Same fixed-pixel stops as the original hero overlay so the dark bands
   are always a constant width regardless of viewport size.
   Hidden below 1280px where the transparent centre would cover content. */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    /* Below the fixed navbar (z-50 = 50) but above page content */
    z-index: 40;
    display: none;
}

@media (min-width: 1280px) {
    body::after {
        display: block;
        background: linear-gradient(to right,
            #000000 0%,
            #000000 max(0px, calc(50% - 1000px)),
            transparent calc(50% - 600px),
            transparent calc(50% + 600px),
            #000000 min(100%, calc(50% + 1000px)),
            #000000 100%);
    }
}

.hero-slide-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-top: clamp(4.5rem, 9vw, 7rem);
    padding-bottom: clamp(5.5rem, 10vw, 7rem);
    transform: translateX(40px);
    transition: transform 0.8s ease 0.2s;
}

.hero-slide-copy {
    max-width: min(100%, 42rem);
}

.hero-slide-title {
    max-width: 11ch;
    text-wrap: balance;
}

.hero-slide-body {
    max-width: 34rem;
}

.hero-slide-actions {
    align-items: flex-start;
}

.hero-slide-cta {
    align-self: flex-start;
}

.hero-slide-dots {
    bottom: 2rem;
}

.hero-slide.active .hero-slide-content {
    transform: translateX(0);
}

.hero-slide.leaving .hero-slide-content {
    transform: translateX(-40px);
    transition: transform 0.5s ease;
}

/* Dot indicators — rectangular with soft corners */
.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 4px;
    background: rgba(var(--color-accent-primary-rgb), 0.25);
    border: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.hero-dot:hover {
    background: rgba(var(--color-accent-primary-rgb), 0.40);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(0, 0, 0, 0.3);
}

.hero-dot.active {
    background: var(--color-accent-primary);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 10px rgba(var(--color-accent-primary-rgb), 0.4), 0 2px 6px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(0, 0, 0, 0.25);
    width: 32px;
}

@media (max-width: 639px) {
    #hero-carousel {
        min-height: 30rem;
    }

    .hero-slide {
        align-items: flex-start;
    }

    .hero-slide-bg {
        background-position: 62% center;
    }

    .hero-slide-content {
        padding-top: 1.75rem;
        padding-bottom: 4.5rem;
    }

    .hero-slide-copy {
        max-width: min(100%, 21rem);
        gap: 1.25rem;
    }

    .hero-slide-title {
        max-width: none;
        font-size: clamp(2.2rem, 9vw, 2.8rem);
        line-height: 1.05;
        letter-spacing: -0.05em;
    }

    /* Override Tailwind space-y-8 for tighter mobile element spacing */
    #hero-carousel .hero-slide-copy > * + * {
        margin-top: 1.25rem;
    }

    .hero-slide-body {
        max-width: 18.75rem;
        font-size: 1rem;
        line-height: 1.6;
    }

    .hero-slide-actions {
        gap: 0.875rem;
        padding-top: 0.25rem;
    }

    .hero-slide-cta {
        width: auto;
        max-width: 100%;
        min-width: 15.5rem;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        font-size: 1rem;
    }

    .hero-slide-dots {
        bottom: 1.5rem;
        gap: 0.625rem;
    }

    .hero-dot.active {
        width: 28px;
    }
}

/* ── Service Cards (frontpage) — original gradient design ── */
.service-card {
    position: relative;
    padding-top: 2rem;
    padding-bottom: 1rem;
    border-radius: 1rem;
    overflow: hidden;
    cursor: pointer;
    /*background: linear-gradient(rgba(19, 22, 28, 0.35), rgba(19, 22, 28, 0.35)) padding-box, linear-gradient(135deg, rgba(255, 255, 255, 0.35) 0%, transparent 50%, rgba(31, 36, 45, 0.6) 100%) border-box;*/
    backdrop-filter: blur(6px);
    border: 1px solid transparent;
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.45), 0 8px 32px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

    .service-card:hover {
        background: linear-gradient(rgba(19, 22, 28, 0.35), rgba(19, 22, 28, 0.35)) padding-box, linear-gradient(135deg, rgba(0, 210, 255, 0.5) 0%, transparent 50%, rgba(0, 123, 255, 0.3) 100%) border-box;
        border: 1px solid transparent;
        transform: scale(1.01);
        transition: all 0.3s ease;
    }

.service-card:hover::before {
    background: radial-gradient(circle, rgba(0, 210, 255, 0.14) 0%, transparent 50%);
}

.service-card .service-card-icon {
    transition: transform 0.3s ease;
}

.service-card:hover .service-card-icon {
    transform: scale(1.3);
}

/* ── Gradient Shadow ── */
.gradient-shadow {
    position: relative;
    z-index: 1;
    filter: drop-shadow(0px 2px 6px rgba(0, 0, 0, 1)) drop-shadow(4px 8px 20px rgba(0, 0, 0, 0.95));
}

.gradient-shadow::after {
/*    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    background: linear-gradient(to right, var(--color-accent-primary), var(--color-accent-violet));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: blur(10px);
    opacity: 0.1;*/
}

.public-site-shell h1,
.public-site-shell h2,
.public-site-shell h3 {
    filter: drop-shadow(8px 8px 8px rgba(0, 0, 0, 1.5));
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--public-heading-reveal-delay, 0ms);
    will-change: opacity, transform;
}

.public-site-shell h1.public-heading-in-view,
.public-site-shell h2.public-heading-in-view,
.public-site-shell h3.public-heading-in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Prevent browser-applied selection/focus chrome from drawing a visible box
   around public-site H1 hero headlines on direct-entry loads. */
.public-site-shell h1:focus,
.public-site-shell h1:focus-visible {
    outline: none;
    box-shadow: none;
}

.public-site-shell h1::selection,
.public-site-shell h1 *::selection,
.public-site-shell h1::target-text,
.public-site-shell h1 *::target-text {
    background: transparent;
    color: inherit;
    text-shadow: inherit;
}

.public-site-shell h1::-moz-selection,
.public-site-shell h1 *::-moz-selection {
    background: transparent;
    color: inherit;
    text-shadow: inherit;
}

#hero-carousel .hero-slide h1,
#hero-carousel .hero-slide h2,
#hero-carousel .hero-slide h3 {
    opacity: 0;
    transform: translateY(18px);
}

#hero-carousel .hero-slide.active h1.public-heading-in-view,
#hero-carousel .hero-slide.active h2.public-heading-in-view,
#hero-carousel .hero-slide.active h3.public-heading-in-view {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .public-site-shell h1,
    .public-site-shell h2,
    .public-site-shell h3,
    .public-site-shell h1.public-heading-in-view,
    .public-site-shell h2.public-heading-in-view,
    .public-site-shell h3.public-heading-in-view,
    #hero-carousel .hero-slide h1,
    #hero-carousel .hero-slide h2,
    #hero-carousel .hero-slide h3,
    #hero-carousel .hero-slide.active h1.public-heading-in-view,
    #hero-carousel .hero-slide.active h2.public-heading-in-view,
    #hero-carousel .hero-slide.active h3.public-heading-in-view {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ── Scroll-reveal: section content fades up when entering the viewport ── */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.in {
    opacity: 1;
    transform: translateY(0);
}
.reveal.d1 { transition-delay: 0.10s; }
.reveal.d2 { transition-delay: 0.22s; }
.reveal.d3 { transition-delay: 0.38s; }

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ── Portal / Dashboard Theme Helpers ── */

/* ── Portal shell: fixed full-viewport flex row ── */
.portal-shell {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: row;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

/* ── Portal SfSidebar ── */
.e-sidebar.portal-sidebar {
    background: var(--sidebar-bg) !important;
    border-right: 1px solid var(--sidebar-border) !important;
    box-shadow: none !important;
    height: 100% !important;
    top: 0 !important;
}

/* No backdrop for push-type sidebar */
.e-sidebar-overlay {
    display: none !important;
}

/* ── Portal content area ── */
.portal-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    height: 100vh;
    overflow: hidden;
    transition: margin-left 0.25s ease;
}

.portal-main {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 1.5rem;
    scroll-behavior: smooth;
}

/* Reserve scrollbar gutter so opening Syncfusion modals does not shift page layout. */
html,
body,
.e-dlg-target,
.e-dlg-target.e-scroll-disabled {
    scrollbar-gutter: stable;
}

/* ── Shared portal/public scrollbar styling ── */
#portal-body,
.sidebar-scroll {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}

#portal-body::-webkit-scrollbar,
.sidebar-scroll::-webkit-scrollbar {
    width: 6px;
}

#portal-body::-webkit-scrollbar-track,
.sidebar-scroll::-webkit-scrollbar-track {
    background: transparent;
}

#portal-body::-webkit-scrollbar-thumb,
.sidebar-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
}

#portal-body::-webkit-scrollbar-thumb:hover,
.sidebar-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* ── SfAppBar portal topbar ── */
.e-appbar.portal-topbar,
.e-appbar.portal-topbar.e-light,
.e-appbar.portal-topbar.e-dark,
.e-appbar.portal-topbar.e-primary,
.e-appbar.portal-topbar.e-inherit {
    background: var(--topbar-bg) !important;
    border-bottom: 1px solid var(--topbar-border) !important;
    backdrop-filter: blur(var(--glass-blur));
    color: var(--color-text-body) !important;
    height: 4rem;
    z-index: 20;
    flex-shrink: 0;
}

/* Inherit-mode buttons inside the portal AppBar */
.e-appbar.portal-topbar .e-btn.e-inherit {
    background: transparent !important;
    color: var(--sidebar-text) !important;
    box-shadow: none !important;
    border: none !important;
}

.e-appbar.portal-topbar .e-btn.e-inherit:hover {
    background: var(--sidebar-hover-bg) !important;
    color: var(--sidebar-text-active) !important;
}

/* ── Dashboard Welcome Card ── */
.dashboard-welcome-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 1rem;
    backdrop-filter: blur(var(--glass-blur));
    box-shadow: var(--shadow-md), var(--glow-accent);
    position: relative;
    overflow: hidden;
}

html[data-theme="bayani"] .dashboard-welcome-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

html[data-theme="bayani"] .dashboard-welcome-card::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 196, 0, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

/* ── Skeleton Loading ── */
.skeleton {
    background: linear-gradient(90deg,
        var(--color-border) 25%,
        rgba(var(--color-accent-primary-rgb), 0.08) 50%,
        var(--color-border) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s ease-in-out infinite;
    border-radius: 8px;
}

/* ── Utility: Fade-in animation ── */
.animate-fade-in {
    animation: fadeInUp 0.5s ease both;
}

.animate-fade-in-delay-1 { animation-delay: 0.1s; }
.animate-fade-in-delay-2 { animation-delay: 0.2s; }
.animate-fade-in-delay-3 { animation-delay: 0.3s; }
.animate-fade-in-delay-4 { animation-delay: 0.4s; }
.animate-fade-in-delay-5 { animation-delay: 0.5s; }
.animate-fade-in-delay-6 { animation-delay: 0.6s; }

/* =============================================================
   REUSABLE SERVICE CARD WITH IMAGE — .bayani-service-card
   =============================================================
   Usage:
     <a href="/portal/agents" class="bayani-service-card">
       <div class="bayani-service-card__image">
         <img src="/images/card-agents.jpg" alt="AI Agents" />
       </div>
       <div class="bayani-service-card__body">
         <h4 class="bayani-service-card__title">AI Agents</h4>
         <p class="bayani-service-card__metric">12</p>
         <p class="bayani-service-card__sub">Configured agents</p>
       </div>
     </a>

   Variants:
     .bayani-service-card--compact  — smaller card for Quick Access grids
   Works across all 3 themes (light, dark, bayani).
   ============================================================= */

.bayani-service-card {
    display: flex;
    flex-direction: column;
    border-radius: 1rem;
    overflow: hidden;
    background: var(--card-bg);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.bayani-service-card:hover {
    border-color: var(--card-hover-border);
    box-shadow: var(--shadow-md), var(--glow-accent);
    transform: translateY(-4px) scale(1.02);
    color: inherit;
    text-decoration: none;
}

/* Image area — 60% of card height on standard cards */
.bayani-service-card__image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.bayani-service-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.bayani-service-card:hover .bayani-service-card__image img {
    transform: scale(1.05);
}

/* Gradient overlay at bottom of image for text readability */
.bayani-service-card__image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, var(--color-bg-page) 0%, transparent 100%);
    pointer-events: none;
    opacity: 0.6;
}

/* Body / info area — 40% of card */
.bayani-service-card__body {
    padding: 1rem 1.25rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.bayani-service-card__title {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-text-heading);
    margin: 0;
}

.bayani-service-card__metric {
    font-family: var(--font-sans);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--color-text-heading);
    margin: 0.25rem 0 0;
}

.bayani-service-card__sub {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin: 0;
}

.bayani-service-card__action {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-accent-primary);
    margin-top: auto;
    padding-top: 0.5rem;
    transition: gap 0.2s ease;
}

.bayani-service-card:hover .bayani-service-card__action {
    gap: 0.625rem;
}

/* ── Compact variant for Quick Access grid ── */
.bayani-service-card--compact .bayani-service-card__image {
    aspect-ratio: 2 / 1;
}

.bayani-service-card--compact .bayani-service-card__body {
    padding: 0.75rem 1rem 1rem;
}

.bayani-service-card--compact .bayani-service-card__title {
    font-size: 0.75rem;
}

.bayani-service-card--compact .bayani-service-card__metric {
    font-size: 1.25rem;
}

/* ── Theme-specific overrides ── */

/* Light theme: solid background, visible shadows, no glow */
html[data-theme="light"] .bayani-service-card {
    background: #FFFFFF;
    border-color: #E5E7EB;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

html[data-theme="light"] .bayani-service-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-color: rgba(0, 123, 255, 0.30);
}

html[data-theme="light"] .bayani-service-card__image::after {
    background: linear-gradient(to top, #FFFFFF 0%, transparent 100%);
}

/* Bayani theme: deep space glow on hover */
html[data-theme="bayani"] .bayani-service-card:hover {
    box-shadow: var(--shadow-lg), 0 0 30px rgba(0, 255, 255, 0.2);
    border-color: rgba(0, 255, 255, 0.30);
}

/* =============================================================
   DASHBOARD WELCOME CARD WITH BACKGROUND IMAGE
   ============================================================= */
.dashboard-home-shell {
    width: 100%;
}

.dashboard-home-stack {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.dashboard-home-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.dashboard-home-section--hero {
    min-height: 0;
}

.dashboard-home-section__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.dashboard-home-section__title,
.dashboard-home-heading,
.dashboard-home-table-heading {
    color: var(--color-text-heading);
}

.dashboard-home-section__title {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.4;
}

.dashboard-home-copy {
    color: var(--color-text-body);
}

.dashboard-home-copy-muted {
    color: var(--color-text-muted);
}

.dashboard-home-grid {
    display: grid;
    gap: 1.5rem;
}

.dashboard-home-grid--services,
.dashboard-home-grid--status,
.dashboard-home-grid--usage,
.dashboard-home-grid--quick-access {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.dashboard-home-card-link {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.dashboard-home-card-link:hover {
    text-decoration: none;
}

.dashboard-home-card-link .bc-card {
    height: 100%;
}

.dashboard-home-section--hero .bc-card__footer {
    border-top: 0;
    padding-top: 0;
}

.dashboard-home-grid--services .bc-card__body,
.dashboard-home-grid--quick-access .bc-card__body {
    padding-top: 0.25rem;
}

.dashboard-home-grid--services .bc-card__footer,
.dashboard-home-grid--quick-access .bc-card__footer {
    color: var(--color-accent-primary);
    font-weight: 600;
}

.dashboard-card-copy {
    margin: 0;
    color: var(--color-text-body);
}

.dashboard-card-copy + .dashboard-card-copy {
    margin-top: 0.5rem;
}

.dashboard-card-copy--muted {
    color: var(--color-text-muted);
}

.dashboard-card-copy--success {
    color: #4ADE80;
}

.dashboard-card-copy--warning {
    color: #FACC15;
}

.dashboard-card-copy--danger {
    color: #F87171;
}

@media (min-width: 768px) {
    .dashboard-home-grid--status {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-home-grid--usage {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-home-grid--quick-access {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .dashboard-home-grid--services {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .dashboard-home-grid--usage {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .dashboard-home-grid--quick-access {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

.dashboard-welcome-card--image .welcome-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    pointer-events: none;
}

.dashboard-welcome-card--image .welcome-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, var(--color-bg-page) 5%, rgba(10, 12, 16, 0.45) 50%, rgba(10, 12, 16, 0.15) 100%);
    pointer-events: none;
}

/* =============================================================
   SYNCFUSION DASHBOARD HOME LAYOUT
   ============================================================= */

.dashboard-home-shell {
    width: 100%;
    min-width: 0;
}

.dashboard-card-skeleton-overlay {
    position: absolute;
    inset: 0;
    border-radius: 1rem;
}

.dashboard-copy-compact {
    margin-top: 0.125rem;
}

.dashboard-dashed-panel {
    background: var(--color-bg-panel);
    border: 1px dashed var(--color-border);
}

.dashboard-form-actions {
    border-top: 1px solid var(--color-border);
}

.dashboard-skeleton-row {
    background: var(--color-bg-panel);
}

.dashboard-home-section--tabs-card > [data-bayani-component="card"].bc-card.e-card > .e-card-content > .bc-card__body {
    padding: 0;
}

.dashboard-home-section--tabs-card > [data-bayani-component="card"].bc-card.e-card > .e-card-content {
    display: contents;
    padding: 0;
    background: transparent;
    border: 0;
}

.dashboard-home-section--tabs-card > [data-bayani-component="card"].bc-card.e-card.bc-panel {
    background: var(--color-bg-elevated) !important;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-md) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.dashboard-home-section--tabs-card .bc-card {
    width: 100%;
}

html[data-theme="light"] .dashboard-welcome-card--image .welcome-overlay {
    background: linear-gradient(to right, #F8F9FB 5%, rgba(248, 249, 251, 0.6) 50%, rgba(248, 249, 251, 0.2) 100%);
}

html[data-theme="dark"] .dashboard-welcome-card--image .welcome-overlay {
    background: linear-gradient(to right, #1A1A1A 5%, rgba(26, 26, 26, 0.45) 50%, rgba(26, 26, 26, 0.15) 100%);
}

.public-site-shell {
    position: relative;
    isolation: isolate;
/*    --public-site-background-image: url('/images/backgrounds/sectionbgv5_2048.jpg');
    --public-site-background-mobile-image: url('/images/backgrounds/sectionbgv5_2048.jpg');*/
    --public-site-background-max-width: 2000px;
    --public-site-background-position-x: center;
    --public-site-background-position-y: 0;
    --public-site-background-mobile-position-x: center;
    --public-site-background-mobile-position-y: 0;
    --public-site-background-mobile-size: cover;
}

.public-site-shell::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 50%;
    width: min(100%, var(--public-site-background-max-width));
    transform: translateX(-50%);
    background-image: var(--public-site-background-image);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: var(--public-site-background-position-x) var(--public-site-background-position-y);
    pointer-events: none;
    z-index: 0;
}

.public-site-shell > * {
    position: relative;
    z-index: 1;
}

@media (max-width: 767.98px) {
    .public-site-shell::before {
        inset: 0;
        width: 100%;
        transform: none;
        background-image: var(--public-site-background-mobile-image);
        background-size: var(--public-site-background-mobile-size);
        background-position: var(--public-site-background-mobile-position-x) var(--public-site-background-mobile-position-y);
    }
}

.FooterBg {
/*    background: var(--glass-panel-bg);
    backdrop-filter: blur(4px);*/
    -webkit-backdrop-filter: blur(4px);
    border-color: var(--color-border);
    transition: background-color 0.3s ease;
}
.articleContentfloatLeft {
    float: left;
    margin-right: 1.5rem;
    margin-bottom: 0.5rem;
}
.articleContentfloatRight {
    float: right;
    margin-left: 1.5rem;
    margin-bottom: 0.5rem;
}
