/*
 Theme Name:   Kadence Child
 Theme URI:    https://www.kadencewp.com/kadence-theme/
 Description:  Anime Slayer bilingual Kadence child theme matching the #078fdf / #142c73 visual system.
 Author:       Anime Slayer Team
 Template:     kadence
 Version:      2.0.0
 Text Domain:  kadence-child
*/

/* ==========================================================================
   1. Global Palette & Typography Overrides
   ========================================================================== */
:root {
    --global-palette1: #078fdf;
    --global-palette2: #142c73;
    --global-palette3: #1A202C;
    --global-palette4: #2D3748;
    --global-palette5: #4A5568;
    --global-palette6: #718096;
    --global-palette7: #EDF2F7;
    --global-palette8: #F7FAFC;
    --global-palette9: #ffffff;
    --asl-gradient-header: radial-gradient(circle at center center, #0693e3 0%, #14276d 100%);
    --asl-gradient-btn: linear-gradient(86deg, #078fdf 0%, #142c73 100%);
    --asl-shadow-sm: 0 2px 8px rgba(20, 44, 115, 0.08);
    --asl-shadow-md: 0 8px 26px rgba(7, 143, 223, 0.12);
}

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

html[dir="rtl"] body,
html[lang^="ar"] body {
    font-family: 'Noto Kufi Arabic', 'Tajawal', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16.5px;
    line-height: 1.75;
    color: var(--global-palette4);
    background-color: #ffffff;
}

html[dir="ltr"] body,
html[lang^="en"] body {
    font-family: 'Plus Jakarta Sans', 'Noto Kufi Arabic', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16.5px;
    line-height: 1.7;
    color: var(--global-palette4);
    background-color: #ffffff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: inherit;
    color: var(--global-palette2);
}

/* Prevent accidental horizontal overflow across all viewports */
html, body, #wrapper {
    max-width: 100%;
    overflow-x: clip;
}

/* ==========================================================================
   2. Radial-Blue Header, Compact Brand & Responsive Navigation
   ========================================================================== */
.site-header .site-main-header-wrap > .site-header-row-container-inner {
    background: var(--asl-gradient-header) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 4px 16px rgba(20, 44, 115, 0.22);
}

.site-header .site-main-header-inner-wrap {
    min-height: 70px;
    gap: 12px;
}

/* Brand Mark Layout */
.site-branding .brand {
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    padding: 4px 0;
}

.site-branding .site-title-wrap {
    display: none !important;
}

.site-branding img.asl-header-logo-img,
.site-branding img.custom-logo {
    width: 42px !important;
    height: 42px !important;
    max-width: 42px !important;
    max-height: 42px !important;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 10px;
}

.asl-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.18;
    color: #ffffff;
}

.asl-brand-name {
    font-size: 1.08rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.asl-brand-sub {
    font-size: 0.72rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    white-space: nowrap;
}

/* Primary Menu Links */
.header-navigation .menu {
    display: flex;
    align-items: center;
    gap: 0.16rem;
    flex-wrap: nowrap;
}

.header-navigation .menu > li > a {
    color: #F7FAFC !important;
    font-size: 0.88rem;
    font-weight: 600;
    padding: 0.44rem 0.62rem !important;
    border-radius: 6px;
    transition: background-color 0.2s ease, color 0.2s ease;
    white-space: nowrap;
    position: relative;
}

.header-navigation .menu > li > a:hover,
.header-navigation .menu > li.current-menu-item > a,
.header-navigation .menu > li.current_page_item > a {
    background-color: rgba(255, 255, 255, 0.16);
    color: #ffffff !important;
}

.header-navigation .menu > li.asl-nav-lang > a {
    background-color: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: #ffffff !important;
    font-weight: 700;
    padding: 0.38rem 0.72rem !important;
    margin-inline-start: 0.28rem;
}

@media (max-width: 1180px) {
    .header-navigation .menu > li > a {
        font-size: 0.82rem;
        padding: 0.38rem 0.46rem !important;
    }

    .asl-brand-sub {
        display: none;
    }
}

.header-navigation .menu > li.asl-nav-lang > a:hover {
    background-color: #ffffff;
    color: #142c73 !important;
}

/* Mobile Header Toggle & Drawer */
.mobile-toggle-open-container .menu-toggle-open {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 8px;
    padding: 6px 10px;
}

#mobile-drawer .drawer-inner {
    background: #142c73 !important;
    color: #ffffff;
}

#mobile-drawer .drawer-header .drawer-toggle {
    color: #ffffff !important;
}

.mobile-navigation ul.menu li a {
    color: #F7FAFC !important;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.78rem 1rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-navigation ul.menu li.current-menu-item > a,
.mobile-navigation ul.menu li a:hover {
    background: #078fdf !important;
    color: #ffffff !important;
}

/* ==========================================================================
   3. Unboxed Front Page Container & Harmonized Inner Pages
   ========================================================================== */
body.home .content-area {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

body.home .site-main > article > .entry-content-wrap {
    padding: 1.75rem 0 2.5rem !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* Inner Page Titles & Card Polish */
body:not(.home) .entry-hero .entry-hero-container-inner {
    background: linear-gradient(180deg, #F7FAFC 0%, #EDF2F7 100%);
    border-bottom: 2px solid #E2E8F0;
}

body:not(.home) .entry-hero h1.entry-title {
    color: #142c73;
    font-weight: 800;
    font-size: clamp(1.5rem, 2.5vw, 2.05rem);
}

body:not(.home) .entry-content h2 {
    color: #142c73;
    border-inline-start: 4px solid #078fdf;
    padding-inline-start: 0.8rem;
    margin-top: 2rem;
}

.entry-content a {
    color: #078fdf;
}

.entry-content a:hover {
    color: #142c73;
}

/* Tables inside inner articles */
.wp-block-table table,
.entry-content table:not(.asl-wb-spec-table) {
    border-collapse: collapse;
    width: 100%;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    overflow: hidden;
    margin: 1.5rem 0;
}

.wp-block-table th,
.entry-content table:not(.asl-wb-spec-table) th {
    background: #142c73;
    color: #ffffff;
    font-weight: 700;
    padding: 0.85rem 1rem;
    text-align: start;
}

.wp-block-table td,
.entry-content table:not(.asl-wb-spec-table) td {
    padding: 0.78rem 1rem;
    border-bottom: 1px solid #EDF2F7;
}

.wp-block-table tr:nth-child(even) td,
.entry-content table:not(.asl-wb-spec-table) tr:nth-child(even) td {
    background: #F7FAFC;
}

/* Shared Legacy Classes Updated to Wayback Palette */
.asl-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.asl-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    font-size: 0.84rem;
    font-weight: 700;
    border-radius: 9999px;
    background: #E6F4FD;
    color: #142c73;
    border: 1px solid #BEE3F8;
}

.asl-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin: 1.5rem 0;
}

.asl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.82rem 1.5rem;
    font-weight: 700;
    font-size: 0.98rem;
    border-radius: 7px;
    text-decoration: none !important;
    transition: transform 0.15s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    cursor: pointer;
}

.asl-btn-primary {
    background: var(--asl-gradient-btn);
    color: #ffffff !important;
    box-shadow: 0 5px 15px rgba(7, 143, 223, 0.28);
}

.asl-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(20, 44, 115, 0.32);
    color: #ffffff !important;
}

.asl-btn-secondary {
    background: #4A5568;
    color: #ffffff !important;
    border: 1px solid #2D3748;
}

.asl-btn-secondary:hover {
    background: #2D3748;
    color: #ffffff !important;
    transform: translateY(-1px);
}

.asl-callout-disclosure {
    background: #FFFBEB;
    border: 1px solid #FDE68A;
    border-inline-start: 4px solid #D97706;
    padding: 1rem 1.25rem;
    border-radius: 8px;
    margin: 1.25rem 0;
    font-size: 0.94rem;
    color: #78350F;
    line-height: 1.68;
}

/* ==========================================================================
   4. Wayback Layout Sections (.asl-wb-*)
   ========================================================================== */
.asl-wb-page {
    max-width: 1160px;
    width: 100%;
    min-width: 0;
    margin: 0 auto;
    padding-top: 10px;
    box-sizing: border-box;
}

/* Framed Hero Box */
.asl-wb-hero-frame {
    border: 1.5px solid #078fdf;
    border-radius: 10px;
    background: #ffffff;
    padding: 28px 30px;
    box-shadow: var(--asl-shadow-md);
    box-sizing: border-box;
    max-width: 100%;
    overflow: hidden;
}

.asl-wb-h1 {
    font-size: clamp(1.38rem, 2.5vw, 1.95rem);
    font-weight: 800;
    color: #142c73;
    text-align: center;
    margin: 0 0 24px !important;
    line-height: 1.4;
}

.asl-wb-hero-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 28px;
    align-items: stretch;
}

.asl-wb-hero-grid > *,
.asl-wb-split-row > *,
.asl-wb-features-grid > *,
.asl-wb-settings-grid > *,
.asl-wb-gallery > *,
.asl-wb-guides-strip > * {
    min-width: 0;
}

/* Spec Table inside Hero */
.asl-wb-spec-card {
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    max-width: 100%;
    box-shadow: 0 4px 18px rgba(20, 44, 115, 0.06);
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.asl-wb-spec-card:hover {
    box-shadow: 0 8px 24px rgba(7, 143, 223, 0.12);
    border-color: #cbd5e1;
}

.asl-spec-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    background: linear-gradient(90deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 1px solid #e2e8f0;
}

.asl-spec-card-title {
    font-size: 0.88rem;
    font-weight: 800;
    color: #142c73;
    letter-spacing: 0.02em;
}

.asl-spec-verified-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #047857;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 9999px;
    padding: 3px 10px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: default;
}

.asl-spec-verified-chip:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.25);
}

.asl-chip-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.35);
    animation: asl-dot-pulse 2s infinite ease-in-out;
}

@keyframes asl-dot-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
}

.asl-wb-spec-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    margin: 0;
    font-size: 0.92rem;
}

.asl-wb-spec-table tr {
    border-bottom: 1px solid #EDF2F7;
    transition: background 0.18s ease;
    position: relative;
}

.asl-wb-spec-table tr:last-child {
    border-bottom: none;
}

.asl-wb-spec-table tr:nth-child(odd) {
    background: #F8FAFC;
}

.asl-spec-row:hover {
    background: #f0f7ff !important;
}

html[dir="rtl"] .asl-spec-row:hover th {
    border-right: 3px solid #078fdf;
}

html[dir="ltr"] .asl-spec-row:hover th {
    border-left: 3px solid #078fdf;
}

.asl-wb-spec-table th,
.asl-wb-spec-table td {
    padding: 9px 14px;
    text-align: start;
    vertical-align: middle;
    white-space: nowrap !important;
    overflow: hidden;
    text-overflow: ellipsis;
}

.asl-wb-spec-table th {
    width: 38%;
    color: #142c73;
    font-weight: 700;
}

.asl-wb-spec-table td {
    width: 62%;
    color: #334155;
    font-weight: 600;
}

.asl-wb-spec-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.asl-row-icon {
    display: inline-flex;
    align-items: center;
    color: #078fdf;
    flex-shrink: 0;
}

.asl-row-icon svg {
    width: 15px;
    height: 15px;
}

.asl-spec-val-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    white-space: nowrap;
}

.asl-spec-val {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
}

.asl-spec-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
    border-radius: 9999px;
    padding: 2px 10px;
    font-size: 0.82rem;
    font-weight: 700;
    white-space: nowrap;
}

.asl-row-copy-btn {
    opacity: 0;
    visibility: hidden;
    background: rgba(7, 143, 223, 0.08);
    border: 1px solid rgba(7, 143, 223, 0.22);
    border-radius: 4px;
    padding: 3px 6px;
    cursor: pointer;
    color: #078fdf;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.18s ease;
    position: relative;
    flex-shrink: 0;
}

.asl-spec-row:hover .asl-row-copy-btn,
.asl-row-copy-btn:focus-visible {
    opacity: 1;
    visibility: visible;
}

.asl-row-copy-btn:hover {
    background: #078fdf;
    color: #ffffff;
    transform: scale(1.08);
}

.asl-copy-tooltip {
    position: absolute;
    bottom: calc(100% + 5px);
    left: 50%;
    transform: translateX(-50%);
    background: #0f172a;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 7px;
    border-radius: 4px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s ease;
    z-index: 10;
}

.asl-copy-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 4px;
    border-style: solid;
    border-color: #0f172a transparent transparent transparent;
}

.asl-row-copy-btn.is-copied .asl-copy-tooltip {
    opacity: 1;
    visibility: visible;
}

/* Action Panel & App Visual Card */
.asl-wb-action-panel {
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: space-between;
}

.asl-wb-emblem-box {
    background: radial-gradient(circle at center top, #0693e3 0%, #14276d 100%);
    border-radius: 12px;
    padding: 24px 20px;
    text-align: center;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex: 1;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 4px 18px rgba(20, 44, 115, 0.15);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.asl-wb-emblem-box:hover {
    transform: translateY(-2px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 8px 24px rgba(7, 143, 223, 0.22);
}

.asl-wb-emblem-box img {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.asl-wb-emblem-box:hover img {
    transform: scale(1.08) rotate(-2deg);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32);
}

.asl-wb-emblem-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.01em;
}

.asl-wb-emblem-meta {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 9999px;
    padding: 4px 12px;
    color: #ffffff;
    transition: background 0.2s ease, transform 0.2s ease;
}

.asl-wb-emblem-box:hover .asl-wb-emblem-meta {
    background: rgba(255, 255, 255, 0.24);
    transform: translateY(-1px);
}

.asl-wb-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 13px 16px;
    border-radius: 7px;
    font-weight: 700;
    font-size: 0.96rem;
    text-decoration: none !important;
    text-align: center;
    transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.asl-wb-cta-download {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #078fdf 0%, #0284c7 45%, #1e40af 100%);
    background-size: 220% 220%;
    background-position: 0% 50%;
    color: #ffffff !important;
    font-size: 1.05rem;
    font-weight: 800;
    padding: 15px 22px;
    border-radius: 8px;
    box-shadow: 0 6px 22px rgba(7, 143, 223, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.3) inset;
    border: 1px solid rgba(255, 255, 255, 0.38);
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1), 
                box-shadow 0.25s ease, 
                background-position 0.4s ease,
                background-color 0.3s ease;
    animation: asl-download-breathe 3s infinite ease-in-out;
}

@keyframes asl-download-breathe {
    0%, 100% {
        box-shadow: 0 6px 20px rgba(7, 143, 223, 0.42), 0 0 0 1px rgba(255, 255, 255, 0.28) inset;
        background-position: 0% 50%;
    }
    50% {
        box-shadow: 0 10px 32px rgba(7, 143, 223, 0.72), 0 0 0 2px rgba(56, 189, 248, 0.75) inset;
        background-position: 100% 50%;
    }
}

/* Interactive Shimmer Sweep Effect */
.asl-wb-cta-download::before {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.38) 50%, transparent 100%);
    transform: skewX(-25deg);
    pointer-events: none;
    animation: asl-shimmer-sweep 4.5s infinite;
}

@keyframes asl-shimmer-sweep {
    0% { left: -120%; }
    20%, 100% { left: 180%; }
}

.asl-wb-cta-download:hover {
    background-position: 100% 100%;
    background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 50%, #1d4ed8 100%);
    transform: translateY(-3px) scale(1.025);
    box-shadow: 0 12px 34px rgba(7, 143, 223, 0.65), 0 0 0 2px rgba(255, 255, 255, 0.55) inset;
    color: #ffffff !important;
}

.asl-wb-cta-download:active {
    transform: translateY(1px) scale(0.985);
    box-shadow: 0 3px 12px rgba(2, 132, 199, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
    background: linear-gradient(135deg, #1e40af 0%, #172554 100%);
}

.asl-wb-cta-download:focus-visible {
    outline: 3px solid #38bdf8;
    outline-offset: 3px;
}

.asl-wb-cta-download .asl-cta-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    stroke: currentColor;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.25));
    transition: transform 0.25s ease;
}

.asl-wb-cta-download:hover .asl-cta-icon {
    animation: asl-download-arrow-bounce 0.75s infinite alternate ease-in-out;
}

@keyframes asl-download-arrow-bounce {
    from { transform: translateY(0); }
    to { transform: translateY(4px); }
}

/* Click Ripple Element */
.asl-cta-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    transform: scale(0);
    animation: asl-ripple-effect 0.6s linear;
    pointer-events: none;
}

@keyframes asl-ripple-effect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Target Section Interactive Flash on Scroll */
.asl-target-highlight {
    animation: asl-section-flash 2.4s ease-out;
}

@keyframes asl-section-flash {
    0% {
        box-shadow: 0 0 0 4px rgba(7, 143, 223, 0.75), 0 8px 32px rgba(7, 143, 223, 0.35);
        background-color: rgba(7, 143, 223, 0.09);
        border-radius: 10px;
    }
    40% {
        box-shadow: 0 0 0 6px rgba(7, 143, 223, 0.45), 0 10px 36px rgba(7, 143, 223, 0.2);
        background-color: rgba(7, 143, 223, 0.04);
    }
    100% {
        box-shadow: none;
        background-color: transparent;
    }
}

.asl-wb-cta-primary {
    background: var(--asl-gradient-btn);
    color: #ffffff !important;
    box-shadow: 0 5px 16px rgba(7, 143, 223, 0.28);
}

.asl-wb-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(20, 44, 115, 0.34);
    color: #ffffff !important;
}

.asl-wb-cta-secondary {
    background: #4A5568;
    color: #ffffff !important;
}

.asl-wb-cta-secondary:hover {
    background: #2D3748;
    transform: translateY(-1px);
    color: #ffffff !important;
}

.asl-wb-intro {
    margin: 22px 0 8px;
    font-size: 1.02rem;
    color: #2D3748;
    line-height: 1.8;
}

/* Radial Blue Showcase Banner + 3-Phone Mockup */
.asl-wb-banner {
    background: var(--asl-gradient-header);
    border-radius: 12px;
    padding: 34px 24px 0;
    margin: 26px 0 38px;
    text-align: center;
    color: #ffffff;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(20, 44, 115, 0.22);
}

.asl-wb-banner-title {
    font-size: clamp(1.35rem, 2.2vw, 1.85rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 6px;
}

.asl-wb-banner-sub {
    font-size: 0.98rem;
    color: rgba(255, 255, 255, 0.88);
    max-width: 680px;
    margin: 0 auto 28px;
}

.asl-wb-phones {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 16px;
    max-width: 820px;
    margin: 0 auto;
    padding-top: 8px;
}

.asl-phone-frame {
    background: #1A202C;
    border-radius: 24px 24px 0 0;
    padding: 10px 8px 0;
    width: 225px;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.28);
    border: 2px solid rgba(255, 255, 255, 0.22);
    border-bottom: none;
    text-align: start;
}

.asl-phone-frame.is-center {
    width: 246px;
    z-index: 2;
    transform: translateY(0);
    border-color: rgba(255, 255, 255, 0.45);
}

.asl-phone-screen {
    background: #ffffff;
    border-radius: 16px 16px 0 0;
    min-height: 210px;
    overflow: hidden;
    color: #1A202C;
    font-size: 0.78rem;
}

.asl-phone-screen.is-splash {
    background: linear-gradient(180deg, #078fdf 0%, #142c73 100%);
    color: #ffffff;
    min-height: 248px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    padding: 18px 14px;
}

.asl-phone-bar {
    background: #078fdf;
    color: #ffffff;
    padding: 9px 12px;
    font-weight: 700;
    font-size: 0.76rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.asl-phone-body {
    padding: 10px 11px 14px;
}

.asl-mock-row {
    background: #F7FAFC;
    border: 1px solid #EDF2F7;
    border-radius: 6px;
    padding: 7px 9px;
    margin-bottom: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #142c73;
}

.asl-mock-pill {
    background: #E6F4FD;
    color: #078fdf;
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 0.68rem;
    font-weight: 700;
}

/* Full-width Navy H2 Bars */
.asl-wb-h2-bar {
    background: #142c73 !important;
    color: #ffffff !important;
    padding: 15px 22px !important;
    font-size: clamp(1.12rem, 2vw, 1.38rem) !important;
    font-weight: 700 !important;
    text-align: center;
    border-inline-start: 6px solid #078fdf !important;
    border-radius: 5px;
    margin: 38px 0 22px !important;
    box-shadow: var(--asl-shadow-sm);
}

/* 3x3 Feature Cards Grid */
.asl-wb-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin: 20px 0 32px;
}

.asl-wb-feature-card {
    background: #F7FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    padding: 22px 18px;
    text-align: center;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.asl-wb-feature-card:hover {
    border-color: #078fdf;
    transform: translateY(-2px);
    box-shadow: var(--asl-shadow-md);
}

.asl-wb-feature-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    border-radius: 10px;
    background: #E6F4FD;
    color: #078fdf;
    display: flex;
    align-items: center;
    justify-content: center;
}

.asl-wb-feature-icon svg {
    width: 26px;
    height: 26px;
}

.asl-wb-feature-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #142c73;
    margin: 0 0 8px !important;
}

.asl-wb-feature-card p {
    font-size: 0.92rem;
    color: #4A5568;
    margin: 0;
    line-height: 1.65;
}

/* Cyan H3 Bars */
.asl-wb-h3-bar {
    background: #078fdf !important;
    color: #ffffff !important;
    padding: 11px 18px !important;
    font-size: 1.08rem !important;
    font-weight: 700 !important;
    border-inline-start: 8px solid #142c73 !important;
    border-radius: 5px;
    margin: 26px 0 18px !important;
}

/* Alternating 2-Column Rows (Install Steps & Device Guides) */
.asl-wb-split-row {
    display: grid;
    grid-template-columns: 1.45fr 1fr;
    gap: 28px;
    align-items: center;
    padding: 20px 24px;
    border: 1px solid #EDF2F7;
    border-radius: 10px;
    background: #ffffff;
    margin-bottom: 18px;
    box-shadow: 0 2px 10px rgba(20, 44, 115, 0.04);
}

.asl-wb-split-row.is-reversed .asl-wb-split-visual {
    order: -1;
}

.asl-wb-split-content h4 {
    font-size: 1.08rem;
    font-weight: 700;
    color: #142c73;
    border-inline-start: 4px solid #078fdf;
    padding-inline-start: 10px;
    margin: 0 0 10px;
}

.asl-wb-split-content p {
    margin: 0 0 10px;
    color: #2D3748;
}

.asl-wb-split-content ul {
    margin: 0 0 10px;
    padding-inline-start: 20px;
}

.asl-wb-split-content li {
    margin-bottom: 5px;
}

.asl-wb-split-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.asl-wb-split-visual img {
    max-width: 260px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid #EDF2F7;
}

/* Inline Phone Guide Frame (Steps / How to Watch) */
.asl-mini-device {
    width: 230px;
    background: #1A202C;
    border-radius: 22px;
    padding: 9px;
    box-shadow: 0 8px 22px rgba(20, 44, 115, 0.16);
}

.asl-mini-screen {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    font-size: 0.78rem;
}

.asl-mini-head {
    background: var(--asl-gradient-header);
    color: #ffffff;
    padding: 10px 12px;
    font-weight: 700;
    text-align: center;
}

.asl-mini-body {
    padding: 12px;
}

.asl-mini-step-badge {
    display: inline-block;
    background: #078fdf;
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 9px;
    border-radius: 9999px;
    margin-bottom: 6px;
}

.asl-mini-card {
    background: #F7FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 7px;
    padding: 8px 10px;
    margin-top: 6px;
    color: #2D3748;
    font-weight: 600;
}

/* Gallery Showcase Strip */
.asl-wb-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    background: #F7FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 24px 20px;
    margin: 20px 0 32px;
    justify-items: center;
}

.asl-wb-gallery-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.asl-wb-gallery-cap {
    font-size: 0.88rem;
    font-weight: 700;
    color: #142c73;
}

/* Numbered Step Timeline */
.asl-wb-steps-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.asl-wb-step-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #F7FAFC;
    border: 1px solid #EDF2F7;
    border-radius: 8px;
    padding: 14px 16px;
}

.asl-wb-step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #078fdf;
    color: #ffffff;
    font-weight: 800;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* 2x2 Settings Grid */
.asl-wb-settings-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 20px 0 32px;
}

.asl-wb-setting-card {
    background: #F7FAFC;
    border: 1px solid #E2E8F0;
    border-top: 4px solid #078fdf;
    border-radius: 8px;
    padding: 20px 22px;
}

.asl-wb-setting-card h3 {
    font-size: 1.08rem;
    font-weight: 700;
    color: #142c73;
    margin: 0 0 10px !important;
}

.asl-wb-setting-card ul {
    margin: 0;
    padding-inline-start: 20px;
}

.asl-wb-setting-card li {
    margin-bottom: 6px;
    font-size: 0.94rem;
}

/* Interactive FAQ Accordion */
.asl-wb-faq {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 18px 0 32px;
}

.asl-wb-faq-item {
    border: 1px solid #E2E8F0;
    border-radius: 7px;
    overflow: hidden;
    background: #ffffff;
}

.asl-wb-faq-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    background: #f2f2f2;
    color: #142c73;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    padding: 15px 18px;
    border: none;
    cursor: pointer;
    text-align: start;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.asl-wb-faq-btn:hover {
    background: #E6F4FD;
    color: #142c73;
}

.asl-wb-faq-item.is-open .asl-wb-faq-btn {
    background: #078fdf;
    color: #ffffff;
}

.asl-wb-faq-icon {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.asl-wb-faq-item.is-open .asl-wb-faq-icon {
    transform: rotate(45deg);
}

.asl-wb-faq-panel {
    padding: 16px 20px;
    color: #2D3748;
    font-size: 0.96rem;
    line-height: 1.75;
    border-top: 1px solid #EDF2F7;
    background: #ffffff;
}

/* Guide Quick Cards at Bottom */
.asl-wb-guides-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin: 18px 0 10px;
}

.asl-wb-guide-link {
    display: block;
    background: #ffffff;
    border: 1px solid #CBD5E0;
    border-inline-start: 4px solid #078fdf;
    border-radius: 8px;
    padding: 14px 16px;
    text-decoration: none !important;
    transition: border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.asl-wb-guide-link:hover {
    border-color: #142c73;
    transform: translateY(-2px);
    box-shadow: var(--asl-shadow-sm);
}

.asl-wb-guide-link strong {
    display: block;
    color: #142c73;
    font-size: 0.96rem;
    margin-bottom: 4px;
}

.asl-wb-guide-link span {
    display: block;
    color: #4A5568;
    font-size: 0.85rem;
    line-height: 1.5;
}

/* ==========================================================================
   5. Deep Navy #142c73 Footer (Preserving Full Bilingual Links)
   ========================================================================== */
.asl-footer-wrap {
    background: #142c73 !important;
    color: #EDF2F7;
    padding: 3.25rem 1.5rem 1.75rem;
    font-size: 0.94rem;
    line-height: 1.7;
    border-top: 4px solid #078fdf;
}

.asl-footer-container {
    max-width: 1180px;
    margin: 0 auto;
}

.asl-footer-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 2.25rem;
}

.asl-footer-logo-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #ffffff;
    font-weight: 800;
    font-size: 1.15rem;
    margin-bottom: 0.85rem;
}

.asl-footer-logo-link img {
    width: 46px;
    height: 46px;
    border-radius: 10px;
}

.asl-footer-brand p {
    color: #E2E8F0;
    margin: 0.5rem 0 0;
    font-size: 0.9rem;
}

.asl-footer-badge {
    font-size: 0.8rem !important;
    color: #BEE3F8 !important;
    background: rgba(7, 143, 223, 0.16);
    padding: 0.55rem 0.85rem;
    border-radius: 6px;
    border: 1px solid rgba(7, 143, 223, 0.4);
    margin-top: 0.85rem !important;
}

/* Footer Social Media Channels */
.asl-footer-social {
    margin-top: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.asl-footer-social-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #E2E8F0;
    letter-spacing: 0.02em;
}

.asl-footer-social-links {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.asl-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #CBD5E0 !important;
    text-decoration: none !important;
    transition: transform 0.18s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.asl-social-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    display: block;
}

.asl-social-btn:hover {
    transform: translateY(-2px);
    color: #ffffff !important;
}

.asl-social-telegram:hover {
    background: #229ED9;
    border-color: #229ED9;
    box-shadow: 0 4px 14px rgba(34, 158, 217, 0.45);
}

.asl-social-x:hover {
    background: #000000;
    border-color: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.55);
}

.asl-social-facebook:hover {
    background: #1877F2;
    border-color: #1877F2;
    box-shadow: 0 4px 14px rgba(24, 119, 242, 0.45);
}

.asl-social-youtube:hover {
    background: #FF0000;
    border-color: #FF0000;
    box-shadow: 0 4px 14px rgba(255, 0, 0, 0.45);
}

.asl-social-instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(220, 39, 67, 0.45);
}

.asl-social-pinterest:hover {
    background: #E60023;
    border-color: #E60023;
    box-shadow: 0 4px 14px rgba(230, 0, 35, 0.45);
}

.asl-social-btn:focus-visible {
    outline: 2px solid #10b981;
    outline-offset: 2px;
}

.asl-footer-col h4 {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 1rem;
    padding-bottom: 0.55rem;
    border-bottom: 2px solid #078fdf;
}

.asl-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.asl-footer-links li {
    margin-bottom: 0.52rem;
}

.asl-footer-links a {
    color: #E2E8F0;
    text-decoration: none;
    transition: color 0.18s ease, padding-inline-start 0.18s ease;
    display: inline-block;
}

.asl-footer-links a:hover {
    color: #38BDF8;
    text-decoration: underline;
}

.asl-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 1.35rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-size: 0.85rem;
    color: #CBD5E0;
}

.asl-footer-bottom a {
    color: #CBD5E0;
    text-decoration: none;
}

.asl-footer-bottom a:hover {
    color: #38BDF8;
    text-decoration: underline;
}

.asl-footer-icon {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: block;
    object-fit: cover;
}

.asl-footer-logo-link {
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

/* ==========================================================================
   5b. Recovered Wayback Screenshots, Walkthrough & Device Figures
   ========================================================================== */
.asl-wb-hero-icon {
    width: 92px !important;
    height: 92px !important;
    border-radius: 20px !important;
    border: 2px solid rgba(255, 255, 255, 0.45);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
    object-fit: cover;
}

.asl-banner-shot {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 14px;
    background: #ffffff;
}

.asl-phone-shot-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    max-width: 100%;
}

.asl-phone-shot-img {
    width: 100%;
    max-width: 196px;
    height: auto;
    aspect-ratio: 480 / 1000;
    object-fit: contain;
    border-radius: 18px;
    border: 1px solid #CBD5E0;
    background: #F7FAFC;
    box-shadow: 0 8px 20px rgba(20, 44, 115, 0.12);
}

.asl-shot-caption {
    font-size: 0.78rem;
    font-weight: 600;
    color: #4A5568;
    text-align: center;
    line-height: 1.45;
    max-width: 240px;
}

.asl-wb-historical-note {
    background: #EFF6FF;
    border: 1px solid #BFDBFE;
    border-inline-start: 4px solid #078fdf;
    border-radius: 8px;
    padding: 12px 16px;
    margin: 0 0 18px;
    font-size: 0.9rem;
    color: #1E3A8A;
    line-height: 1.65;
}

/* 6-Step Compact Installation Walkthrough Grid */
.asl-wb-walkthrough-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin: 16px 0 28px;
}

.asl-wb-walk-card {
    background: #ffffff;
    border: 1px solid #E2E8F0;
    border-top: 3px solid #078fdf;
    border-radius: 10px;
    padding: 16px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    box-shadow: 0 2px 10px rgba(20, 44, 115, 0.05);
    min-width: 0;
}

.asl-wb-walk-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.asl-wb-walk-step {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #142c73;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 9999px;
}

.asl-wb-walk-tag {
    display: inline-block;
    background: #FEF3C7;
    color: #92400E;
    border: 1px solid #FDE68A;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 9999px;
}

.asl-wb-walk-card img {
    width: 100%;
    max-width: 175px;
    height: auto;
    aspect-ratio: 500 / 1000;
    object-fit: contain;
    border-radius: 16px;
    border: 1px solid #CBD5E0;
    background: #F7FAFC;
    box-shadow: 0 6px 16px rgba(20, 44, 115, 0.1);
}

.asl-wb-walk-card h4 {
    font-size: 0.98rem;
    font-weight: 700;
    color: #142c73;
    margin: 2px 0 0 !important;
    line-height: 1.4;
}

.asl-wb-walk-card p {
    font-size: 0.85rem;
    color: #4A5568;
    margin: 0;
    line-height: 1.55;
}

/* Real App Gallery Card Image */
.asl-wb-gallery-item img {
    width: 100%;
    max-width: 185px;
    height: auto;
    aspect-ratio: 480 / 1000;
    object-fit: contain;
    border-radius: 16px;
    border: 1px solid #CBD5E0;
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(20, 44, 115, 0.1);
}

.asl-wb-gallery-sub {
    font-size: 0.78rem;
    color: #4A5568;
    line-height: 1.45;
}

/* Settings Two-Screenshot Showcase */
.asl-wb-settings-visuals {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin: 18px 0 22px;
}

.asl-wb-setting-shot {
    background: #F7FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 18px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    min-width: 0;
}

.asl-wb-setting-shot img {
    width: 100%;
    max-width: 190px;
    height: auto;
    aspect-ratio: 480 / 1000;
    object-fit: contain;
    border-radius: 16px;
    border: 1px solid #CBD5E0;
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(20, 44, 115, 0.1);
}

.asl-wb-setting-shot figcaption {
    font-size: 0.86rem;
    color: #2D3748;
    line-height: 1.55;
    max-width: 340px;
}

/* Inner Device & Install Guide Figure Cards */
.asl-inner-device-figure {
    display: flex;
    align-items: center;
    gap: 22px;
    background: #F7FAFC;
    border: 1px solid #E2E8F0;
    border-inline-start: 4px solid #078fdf;
    border-radius: 10px;
    padding: 18px 20px;
    margin: 1.5rem 0;
}

.asl-inner-device-figure img {
    width: 190px;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    flex-shrink: 0;
    background: #ffffff;
    border: 1px solid #EDF2F7;
    padding: 6px;
}

.asl-inner-device-caption h3,
.asl-inner-device-caption h4 {
    margin: 0 0 8px !important;
    color: #142c73;
    font-size: 1.05rem;
}

.asl-inner-device-caption p {
    margin: 0;
    font-size: 0.92rem;
    color: #2D3748;
    line-height: 1.65;
}

/* ==========================================================================
   5b. Phase 4 Interactive Modules, Navigation, Search, Breadcrumbs & Related
   ========================================================================== */
[id] {
    scroll-margin-top: 94px;
}

/* Quick Section Navigation Strip & Guide Search */
.asl-quick-nav-wrap {
    background: #F7FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    padding: 16px 20px;
    margin: 18px auto 26px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: var(--asl-shadow-sm);
}

.asl-quick-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

.asl-quick-pill {
    display: inline-flex;
    align-items: center;
    padding: 7px 14px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #CBD5E0;
    color: #142c73;
    font-size: 0.87rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.18s ease;
    white-space: nowrap;
}

.asl-quick-pill:hover,
.asl-quick-pill:focus-visible {
    background: var(--asl-gradient-btn);
    color: #ffffff;
    border-color: #142c73;
    transform: translateY(-1px);
    outline: 2px solid #078fdf;
    outline-offset: 2px;
}

.asl-guide-search-form {
    display: flex;
    align-items: stretch;
    gap: 8px;
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
}

.asl-guide-search-form input[type="search"] {
    flex: 1 1 auto;
    min-width: 0;
    padding: 10px 14px;
    border-radius: 9px;
    border: 1px solid #CBD5E0;
    background: #ffffff;
    color: #1A202C;
    font-size: 0.94rem;
    font-family: inherit;
}

.asl-guide-search-form input[type="search"]:focus {
    outline: 2px solid #078fdf;
    border-color: #078fdf;
}

.asl-guide-search-form button[type="submit"] {
    flex-shrink: 0;
    padding: 10px 20px;
    border: none;
    border-radius: 9px;
    background: var(--asl-gradient-btn);
    color: #ffffff;
    font-size: 0.94rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: opacity 0.18s ease;
}

.asl-guide-search-form button[type="submit"]:hover {
    opacity: 0.92;
}

/* Editable Verified Version Module */
.asl-version-module {
    background: #ffffff;
    border: 1px solid #E2E8F0;
    border-top: 4px solid #078fdf;
    border-radius: 14px;
    padding: 20px 22px;
    margin: 20px 0 12px;
    box-shadow: var(--asl-shadow-sm);
}

.asl-version-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
}

.asl-version-pill {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    color: #06639e;
    background: #EBF8FF;
    border: 1px solid #BEE3F8;
    border-radius: 999px;
    padding: 3px 11px;
    margin-bottom: 6px;
}

.asl-version-header h3 {
    margin: 0 !important;
    font-size: 1.15rem;
    color: #142c73;
}

.asl-version-date {
    font-size: 0.85rem;
    font-weight: 600;
    color: #4A5568;
    background: #F7FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    padding: 5px 11px;
}

.asl-version-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}

.asl-ver-cell {
    background: #F7FAFC;
    border: 1px solid #EDF2F7;
    border-radius: 10px;
    padding: 11px 13px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.asl-ver-k {
    font-size: 0.78rem;
    color: #4A5568;
    font-weight: 600;
}

.asl-ver-v {
    font-size: 0.92rem;
    color: #1A202C;
    line-height: 1.45;
    overflow-wrap: break-word;
}

.asl-version-note {
    margin: 0 0 12px;
    font-size: 0.91rem;
    color: #2D3748;
    line-height: 1.65;
}

.asl-version-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.asl-version-links a {
    font-size: 0.88rem;
    font-weight: 700;
    color: #078fdf;
    text-decoration: none;
    padding: 5px 12px;
    background: #F0F9FF;
    border: 1px solid #BEE3F8;
    border-radius: 8px;
}

.asl-version-links a:hover {
    background: #142c73;
    color: #ffffff;
    border-color: #142c73;
}

/* Interactive Feature A & Feature B Cards */
.asl-interactive-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 16px;
}

.asl-interactive-card {
    background: #ffffff;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    padding: 20px;
    box-shadow: var(--asl-shadow-sm);
    display: flex;
    flex-direction: column;
}

.asl-inter-eyebrow {
    display: inline-block;
    font-size: 0.77rem;
    font-weight: 700;
    color: #06639e;
    background: #EBF8FF;
    border-radius: 999px;
    padding: 3px 10px;
    margin-bottom: 6px;
}

.asl-inter-head h3 {
    margin: 0 0 12px !important;
    font-size: 1.12rem;
    color: #142c73;
    line-height: 1.45;
}

.asl-tabs-row {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 14px;
}

.asl-tab-btn {
    padding: 7px 12px;
    border-radius: 8px;
    border: 1px solid #CBD5E0;
    background: #F7FAFC;
    color: #1A202C;
    font-size: 0.84rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.16s ease;
}

.asl-tab-btn:hover,
.asl-tab-btn:focus-visible {
    border-color: #078fdf;
    color: #142c73;
    outline: 2px solid #078fdf;
    outline-offset: 1px;
}

.asl-tab-btn.is-active {
    background: var(--asl-gradient-btn);
    color: #ffffff;
    border-color: #142c73;
}

.asl-tab-panel {
    background: #F7FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 15px 16px;
    flex: 1 1 auto;
}

.asl-tab-panel[hidden] {
    display: none;
}

.asl-panel-title {
    margin: 0 0 10px !important;
    font-size: 1rem;
    color: #142c73;
}

.asl-panel-status {
    display: inline-block;
    font-size: 0.84rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.asl-panel-status.is-ok {
    background: #E6FFFA;
    color: #234E52;
    border: 1px solid #81E6D9;
}

.asl-panel-status.is-info {
    background: #EBF8FF;
    color: #1A365D;
    border: 1px solid #90CDF4;
}

.asl-panel-status.is-warn {
    background: #FFFBEB;
    color: #744210;
    border: 1px solid #F6E05E;
}

.asl-panel-list {
    margin: 0 0 12px;
    padding-inline-start: 1.25rem;
    font-size: 0.91rem;
    color: #2D3748;
    line-height: 1.65;
}

.asl-panel-list li + li {
    margin-top: 6px;
}

.asl-panel-caveat {
    margin: 0 0 14px;
    padding: 9px 12px;
    background: #ffffff;
    border-inline-start: 3px solid #078fdf;
    border-radius: 6px;
    font-size: 0.85rem;
    color: #2D3748;
}

.asl-panel-caveat.is-warn {
    border-inline-start-color: #D69E2E;
    background: #FFFBEB;
    color: #744210;
}

.asl-panel-cta {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 8px;
    background: var(--asl-gradient-btn);
    color: #ffffff !important;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
}

.asl-panel-cta:hover {
    opacity: 0.92;
}

/* 4-Device Compact Summary Cards & 5-Card Troubleshooting Overview Grid */
.asl-devices-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 18px 0 10px;
}

.asl-device-mini-card,
.asl-trouble-card {
    background: #ffffff;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 16px;
    box-shadow: var(--asl-shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.asl-device-mini-card h3,
.asl-trouble-card h3 {
    margin: 0 !important;
    font-size: 1rem;
    color: #142c73;
}

.asl-device-mini-card p,
.asl-trouble-card p {
    margin: 0;
    font-size: 0.87rem;
    color: #4A5568;
    line-height: 1.55;
    flex: 1 1 auto;
}

.asl-device-badge {
    align-self: flex-start;
    font-size: 0.74rem;
    font-weight: 700;
    padding: 2px 9px;
    border-radius: 999px;
    background: #EBF8FF;
    color: #142c73;
}

.asl-device-badge.is-warn {
    background: #FFFBEB;
    color: #744210;
}

.asl-mini-link {
    font-size: 0.86rem;
    font-weight: 700;
    color: #078fdf;
    text-decoration: none;
}

.asl-mini-link:hover {
    color: #142c73;
    text-decoration: underline;
}

.asl-trouble-overview-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 16px;
}

/* Latest Guides Grid [asl_latest_guides] */
.asl-latest-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 16px;
}

.asl-latest-card {
    background: #ffffff;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--asl-shadow-sm);
    display: flex;
    flex-direction: column;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.asl-latest-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--asl-shadow-md);
}

.asl-latest-thumb {
    display: block;
    background: linear-gradient(135deg, #EBF8FF 0%, #F7FAFC 100%);
    aspect-ratio: 16 / 10;
    padding: 10px;
    overflow: hidden;
    border-bottom: 1px solid #EDF2F7;
}

.asl-latest-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 6px;
}

.asl-search-refine-bar {
    max-width: 1200px;
    margin: 12px auto 0;
    padding: 0 20px;
}

.asl-latest-body {
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.asl-latest-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    font-size: 0.76rem;
    color: #4A5568;
    margin-bottom: 8px;
}

.asl-latest-cat {
    font-weight: 700;
    color: #06639e;
    background: #EBF8FF;
    padding: 2px 8px;
    border-radius: 999px;
}

.asl-latest-body h3 {
    margin: 0 0 8px !important;
    font-size: 1rem;
    line-height: 1.45;
}

.asl-latest-body h3 a {
    color: #142c73;
    text-decoration: none;
}

.asl-latest-body h3 a:hover {
    color: #078fdf;
}

.asl-latest-body p {
    margin: 0 0 12px;
    font-size: 0.87rem;
    color: #4A5568;
    line-height: 1.55;
    flex: 1 1 auto;
}

.asl-latest-more {
    font-size: 0.86rem;
    font-weight: 700;
    color: #078fdf;
    text-decoration: none;
}

.asl-latest-footer {
    text-align: center;
    margin-top: 22px;
}

/* Inner Breadcrumbs & Contextual Related Guides (Feature E) */
.asl-breadcrumb {
    max-width: 1200px;
    margin: 14px auto 0;
    padding: 0 20px;
}

.asl-bc-list {
    list-style: none;
    margin: 0;
    padding: 8px 14px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    background: #F7FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    font-size: 0.84rem;
}

.asl-bc-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.asl-bc-item a {
    color: #06639e;
    font-weight: 600;
    text-decoration: none;
}

.asl-bc-item a:hover {
    text-decoration: underline;
}

.asl-bc-sep {
    color: #718096;
}

.asl-bc-current {
    color: #2D3748;
    font-weight: 600;
}

.asl-related-wrap {
    margin-top: 2.25rem;
    padding-top: 1.5rem;
    border-top: 2px solid #EDF2F7;
}

.asl-related-heading {
    margin: 0 0 14px !important;
    font-size: 1.25rem;
    color: #142c73;
}

.asl-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.asl-related-card {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 12px;
    background: #F7FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    text-decoration: none;
    transition: border-color 0.16s ease;
}

.asl-related-card:hover {
    border-color: #078fdf;
}

.asl-related-thumb {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
}

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

.asl-related-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.asl-related-meta strong {
    font-size: 0.9rem;
    color: #142c73;
    line-height: 1.35;
}

.asl-related-meta span {
    font-size: 0.79rem;
    color: #4A5568;
    line-height: 1.45;
}

.asl-related-search-mini {
    background: #F0F9FF;
    border: 1px solid #BEE3F8;
    border-radius: 10px;
    padding: 14px;
}

/* ==========================================================================
   6. Responsive Rules (Tablet <= 960px, Mobile <= 640px)
   ========================================================================== */
@media (max-width: 960px) {
    .asl-wb-hero-grid {
        display: flex;
        flex-direction: column;
    }

    .asl-wb-hero-grid .asl-wb-action-panel {
        order: -1;
    }

    .asl-wb-split-row,
    .asl-wb-settings-grid {
        grid-template-columns: 1fr;
    }

    .asl-wb-split-row.is-reversed .asl-wb-split-visual {
        order: 0;
    }

    .asl-wb-features-grid,
    .asl-wb-gallery,
    .asl-wb-walkthrough-grid,
    .asl-wb-guides-strip,
    .asl-version-grid,
    .asl-devices-summary-grid,
    .asl-trouble-overview-grid,
    .asl-latest-grid,
    .asl-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .asl-interactive-grid {
        grid-template-columns: 1fr;
    }

    .asl-wb-phones {
        gap: 10px;
    }

    .asl-phone-frame {
        width: 180px;
    }

    .asl-phone-frame.is-center {
        width: 205px;
    }

    .asl-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .asl-wb-page {
        padding-top: 4px;
    }

    .asl-wb-hero-frame {
        padding: 16px 12px;
    }

    .asl-wb-spec-table th,
    .asl-wb-spec-table th,
    .asl-wb-spec-table td {
        padding: 8px 10px;
        font-size: 0.84rem;
        white-space: nowrap !important;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .asl-wb-spec-table th {
        width: 38%;
        white-space: nowrap !important;
    }

    .asl-wb-spec-table td {
        width: 62%;
        white-space: nowrap !important;
    }

    .asl-wb-spec-label {
        align-items: center;
        white-space: nowrap !important;
        gap: 6px;
    }

    .asl-brand-name {
        font-size: 0.98rem;
    }

    .asl-brand-sub {
        font-size: 0.68rem;
    }

    .asl-wb-features-grid,
    .asl-wb-gallery,
    .asl-wb-walkthrough-grid,
    .asl-wb-settings-visuals,
    .asl-wb-guides-strip,
    .asl-version-grid,
    .asl-devices-summary-grid,
    .asl-trouble-overview-grid,
    .asl-latest-grid,
    .asl-related-grid,
    .asl-footer-grid {
        grid-template-columns: 1fr;
    }

    .asl-quick-nav-wrap,
    .asl-version-module,
    .asl-interactive-card {
        padding: 14px 12px;
    }

    .asl-quick-nav {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        padding-bottom: 4px;
    }

    .asl-quick-pill {
        font-size: 0.81rem;
        padding: 7px 12px;
        min-height: 36px;
        flex-shrink: 0;
    }

    .asl-guide-search-form {
        flex-direction: column;
    }

    .asl-guide-search-form button[type="submit"] {
        width: 100%;
    }

    .asl-breadcrumb {
        padding: 0 12px;
    }

    .asl-inner-device-figure {
        flex-direction: column;
        text-align: center;
        padding: 16px 14px;
    }

    .asl-wb-phones .asl-phone-frame:not(.is-center) {
        display: none;
    }

    .asl-phone-frame.is-center {
        width: 235px;
    }

    .asl-wb-split-row {
        padding: 16px 14px;
    }

    .asl-footer-wrap {
        padding: 2.25rem 1rem 1.5rem;
        text-align: start;
    }

    .asl-footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}
