﻿/* ============================================================
   Article.css — Ashtu Medical — قائمة المقالات
   Aesthetic: Refined Dark Medical — Editorial Luxury
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Amiri:ital,wght@0,400;0,700;1,400&family=Tajawal:wght@300;400;500;700;800;900&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
    --primary: #14b8a6;
    --primary-light: #5eead4;
    --primary-soft: #99f6e4;
    --primary-dark: #0f766e;
    --primary-darker: #134e4a;
    --accent-teal: #2dd4bf;
    --accent-emerald: #10b981;
    --accent-cyan: #06b6d4;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --text-dark: #0f172a;
    --text-body: #334155;
    --text-gray: #64748b;
    --text-light: #94a3b8;
    --border: #e2e8f0;
    --gradient-primary: linear-gradient(135deg, #14b8a6 0%, #06b6d4 100%);
    --gradient-soft: linear-gradient(135deg, #d1fae5 0%, #ccfbf1 100%);
    --gradient-dark: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    --shadow-xs: 0 1px 4px rgba(0,0,0,.04);
    --shadow-sm: 0 2px 8px rgba(0,0,0,.06);
    --shadow-md: 0 8px 24px rgba(0,0,0,.09);
    --shadow-lg: 0 20px 48px rgba(0,0,0,.12);
    --shadow-xl: 0 32px 72px rgba(0,0,0,.16);
    --shadow-glow: 0 0 32px rgba(20,184,166,.3);
    --radius-xs: 4px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg-light);
    font-family: 'Tajawal', sans-serif;
    direction: rtl;
    color: var(--text-body);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.al-hero {
    position: relative;
    background: var(--gradient-dark);
    overflow: hidden;
    padding: 100px 0 0;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

    /* top accent line */
    .al-hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: var(--gradient-primary);
        box-shadow: var(--shadow-glow);
        z-index: 3;
    }

.al-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

/* animated grid */
.al-hero-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(20,184,166,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(20,184,166,.07) 1px, transparent 1px);
    background-size: 44px 44px;
    animation: al-grid-shift 22s linear infinite;
}

@keyframes al-grid-shift {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 44px 44px;
    }
}

/* orbs */
.al-hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(65px);
    pointer-events: none;
    animation: al-orb-float 9s ease-in-out infinite;
}

.al-orb-1 {
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(20,184,166,.22), transparent 70%);
    top: -100px;
    right: -80px;
    animation-duration: 9s;
}

.al-orb-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(6,182,212,.18), transparent 70%);
    bottom: 0;
    left: -60px;
    animation-duration: 11s;
    animation-delay: -3s;
}

.al-orb-3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(16,185,129,.15), transparent 70%);
    top: 50%;
    left: 50%;
    animation-duration: 7s;
    animation-delay: -1.5s;
}

@keyframes al-orb-float {
    0%,100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-20px) scale(1.05);
    }
}

/* hero content */
.al-hero-content {
    position: relative;
    z-index: 1;
    padding-bottom: 60px;
}

/* tag */
.al-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(20,184,166,.15);
    border: 1px solid rgba(20,184,166,.3);
    border-radius: var(--radius-full);
    color: var(--primary-light);
    font-size: .8rem;
    font-weight: 700;
    padding: 6px 16px;
    margin-bottom: 20px;
    animation: al-fade-up .6s var(--ease) both;
}

    .al-hero-tag i {
        font-size: .78rem;
        animation: al-dna-spin 5s linear infinite;
    }

@keyframes al-dna-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* title */
.al-hero-title {
    font-family: 'Amiri', serif;
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 14px;
    animation: al-fade-up .65s var(--ease) .08s both;
}

.al-hero-title-accent {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* subtitle */
.al-hero-sub {
    font-size: 1.05rem;
    color: rgba(255,255,255,.6);
    margin-bottom: 36px;
    max-width: 520px;
    line-height: 1.75;
    animation: al-fade-up .65s var(--ease) .15s both;
}

/* counts */
.al-hero-counts {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    animation: al-fade-up .65s var(--ease) .22s both;
}

.al-count-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.al-count-num {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.al-count-lbl {
    font-size: .75rem;
    color: rgba(255,255,255,.5);
    margin-top: 3px;
}

.al-count-sep {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,.12);
}

/* wave */
.al-hero-wave {
    position: relative;
    z-index: 1;
    line-height: 0;
    margin-top: auto;
}

    .al-hero-wave svg {
        width: 100%;
        height: 60px;
        display: block;
    }

/* ══════════════════════════════════════
   CONTROLS
══════════════════════════════════════ */
.al-controls {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    padding: 28px 0 16px;
    animation: al-fade-up .6s var(--ease) .1s both;
}

/* search */
.al-search-wrap {
    position: relative;
    flex: 1;
    min-width: 240px;
}

.al-search-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: .9rem;
    pointer-events: none;
    transition: color .2s;
}

.al-search-wrap:focus-within .al-search-icon {
    color: var(--primary);
}

.al-search-input {
    width: 100%;
    background: var(--bg-white);
    border: 1.5px solid rgba(20,184,166,.18);
    border-radius: var(--radius-full);
    color: var(--text-dark);
    font-family: 'Tajawal', sans-serif;
    font-size: .92rem;
    padding: 11px 44px 11px 44px;
    outline: none;
    box-shadow: var(--shadow-sm);
    transition: border-color .22s, box-shadow .22s;
}

    .al-search-input::placeholder {
        color: var(--text-light);
    }

    .al-search-input:focus {
        border-color: var(--primary);
        box-shadow: 0 0 0 4px rgba(20,184,166,.12), var(--shadow-sm);
    }

.al-search-clear {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    cursor: pointer;
    font-size: .85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    transition: background .2s, color .2s;
}

    .al-search-clear:hover {
        background: rgba(20,184,166,.12);
        color: var(--primary-dark);
    }

/* ══ FILTERS ══ */
.al-filters {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.al-filter {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 20px;
    background: var(--bg-white);
    border: 1.5px solid rgba(20,184,166,.15);
    border-radius: var(--radius-full);
    color: var(--text-gray);
    font-family: 'Tajawal', sans-serif;
    font-size: .83rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: all .28s var(--ease);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    isolation: isolate;
}

    /* shimmer layer */
    .al-filter::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,.35) 50%, transparent 80%);
        transform: translateX(-150%);
        transition: transform .55s var(--ease);
        pointer-events: none;
        z-index: 0;
    }

    .al-filter:hover::after {
        transform: translateX(150%);
    }

    /* gradient fill */
    .al-filter::before {
        content: '';
        position: absolute;
        inset: 0;
        background: var(--gradient-primary);
        opacity: 0;
        transform: scale(.6);
        border-radius: var(--radius-full);
        transition: opacity .3s var(--ease), transform .35s var(--spring);
        z-index: 0;
    }

    .al-filter i, .al-filter span {
        position: relative;
        z-index: 1;
    }

    .al-filter i {
        font-size: .8rem;
        transition: transform .3s var(--spring), color .25s;
    }

    .al-filter:hover {
        border-color: var(--primary);
        color: var(--primary-dark);
        transform: translateY(-3px) scale(1.03);
        box-shadow: var(--shadow-md), 0 0 18px rgba(20,184,166,.18);
    }

        .al-filter:hover i {
            transform: scale(1.25) rotate(-8deg);
        }

    .al-filter:active {
        transform: translateY(-1px) scale(.98);
    }

    /* active */
    .al-filter.active {
        border-color: transparent;
        color: #fff;
        transform: translateY(-3px) scale(1.04);
        animation: alFilterGlow 2.5s ease-in-out infinite;
    }

        .al-filter.active::before {
            opacity: 1;
            transform: scale(1);
        }

        .al-filter.active span {
            color: #fff;
        }

@keyframes alFilterGlow {
    0%,100% {
        box-shadow: 0 6px 22px rgba(20,184,166,.42), 0 0 0 0 rgba(20,184,166,.25);
    }

    50% {
        box-shadow: 0 8px 28px rgba(20,184,166,.62), 0 0 0 7px rgba(20,184,166,.0);
    }
}

/* unique icon animation per active filter */
.al-filter[data-filter="all"].active i {
    animation: alIconBounce 1.8s ease-in-out infinite;
}

.al-filter[data-filter="article"].active i {
    animation: alIconPulse 2s ease-in-out infinite;
}

.al-filter[data-filter="research"].active i {
    animation: alIconShake 1.6s ease-in-out infinite;
}

.al-filter[data-filter="study"].active i {
    animation: alIconFlip 2.2s ease-in-out infinite;
}

.al-filter[data-filter="report"].active i {
    animation: alIconGrow 1.9s ease-in-out infinite;
}

.al-filter[data-filter="scientificreview"].active i {
    animation: alIconSpin 3s linear infinite;
}

@keyframes alIconBounce {
    0%,100% {
        transform: scale(1) translateY(0);
    }

    40% {
        transform: scale(1.35) translateY(-4px);
    }

    60% {
        transform: scale(1.15) translateY(-1px);
    }
}

@keyframes alIconPulse {
    0%,100% {
        transform: scale(1);
        filter: drop-shadow(0 0 0px rgba(255,255,255,.5));
    }

    50% {
        transform: scale(1.35);
        filter: drop-shadow(0 0 7px rgba(255,255,255,.9));
    }
}

@keyframes alIconShake {
    0%,100% {
        transform: rotate(0deg) scale(1.1);
    }

    20% {
        transform: rotate(-14deg) scale(1.25);
    }

    40% {
        transform: rotate(14deg) scale(1.25);
    }

    60% {
        transform: rotate(-7deg) scale(1.15);
    }

    80% {
        transform: rotate(7deg) scale(1.15);
    }
}

@keyframes alIconFlip {
    0%,100% {
        transform: rotateY(0deg) scale(1.1);
    }

    50% {
        transform: rotateY(180deg) scale(1.1);
    }
}

@keyframes alIconGrow {
    0%,100% {
        transform: scaleY(1) scale(1.1);
    }

    50% {
        transform: scaleY(1.4) scale(1.1);
    }
}

@keyframes alIconSpin {
    from {
        transform: rotate(0deg) scale(1.15);
    }

    to {
        transform: rotate(360deg) scale(1.15);
    }
}

/* ══ Results bar ══ */
.al-results-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0 20px;
    font-size: .84rem;
    color: var(--text-gray);
    font-family: 'Tajawal', sans-serif;
}

.al-sort-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.al-sort-label {
    font-weight: 600;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 5px;
}

    .al-sort-label i {
        color: var(--primary);
    }

.al-sort-select {
    background: var(--bg-white);
    border: 1.5px solid rgba(20,184,166,.18);
    border-radius: var(--radius-md);
    color: var(--text-dark);
    font-family: 'Tajawal', sans-serif;
    font-size: .82rem;
    font-weight: 700;
    padding: 7px 12px;
    outline: none;
    cursor: pointer;
    transition: border-color .2s;
    box-shadow: var(--shadow-xs);
}

    .al-sort-select:focus {
        border-color: var(--primary);
    }

/* ══════════════════════════════════════
   GRID
══════════════════════════════════════ */
.al-main {
    padding-bottom: 80px;
}

.al-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

/* ══ CARD ══ */
.al-card {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid rgba(20,184,166,.08);
    opacity: 0;
    transform: translateY(28px);
    transition: box-shadow .3s var(--ease), transform .3s var(--ease), border-color .3s;
}

    .al-card.al-card-in {
        animation: al-card-enter .55s var(--ease) both;
    }

@keyframes al-card-enter {
    from {
        opacity: 0;
        transform: translateY(28px) scale(.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.al-card:hover {
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    transform: translateY(-5px);
    border-color: rgba(20,184,166,.2);
}

/* accent top line */
.al-card-accent {
    height: 3px;
    width: 100%;
    transition: height .25s;
}

.al-card:hover .al-card-accent {
    height: 4px;
}

.al-accent-article {
    background: var(--gradient-primary);
}

.al-accent-research {
    background: linear-gradient(90deg, #06b6d4, #0ea5e9);
}

.al-accent-study {
    background: linear-gradient(90deg, #10b981, #34d399);
}

.al-accent-report {
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
}

.al-accent-scientificreview {
    background: linear-gradient(90deg, #8b5cf6, #a78bfa);
}

/* image */
.al-card-img-wrap {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.al-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .55s var(--ease);
}

.al-card:hover .al-card-img {
    transform: scale(1.06);
}

.al-card-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,23,42,.3), transparent 60%);
}

/* placeholder */
.al-card-placeholder {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.al-placeholder-article {
    background: linear-gradient(135deg, #ccfbf1, #d1fae5);
}

.al-placeholder-research {
    background: linear-gradient(135deg, #cffafe, #e0f2fe);
}

.al-placeholder-study {
    background: linear-gradient(135deg, #d1fae5, #dcfce7);
}

.al-placeholder-report {
    background: linear-gradient(135deg, #fef9c3, #fef3c7);
}

.al-placeholder-scientificreview {
    background: linear-gradient(135deg, #ede9fe, #f3e8ff);
}

.al-placeholder-icon {
    font-size: 2.8rem;
    opacity: .35;
    position: relative;
    z-index: 1;
    transition: opacity .3s, transform .3s var(--spring);
}

.al-card:hover .al-placeholder-icon {
    opacity: .5;
    transform: scale(1.1);
}

.al-placeholder-article .al-placeholder-icon {
    color: var(--primary-dark);
}

.al-placeholder-research .al-placeholder-icon {
    color: #0284c7;
}

.al-placeholder-study .al-placeholder-icon {
    color: #059669;
}

.al-placeholder-report .al-placeholder-icon {
    color: #b45309;
}

.al-placeholder-scientificreview .al-placeholder-icon {
    color: #6d28d9;
}

/* rings */
.al-placeholder-rings {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.al-ring {
    position: absolute;
    border-radius: 50%;
    border: 1.5px solid rgba(0,0,0,.06);
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    animation: al-ring-pulse 3s ease-in-out infinite;
}

.al-ring-1 {
    width: 100px;
    height: 100px;
}

.al-ring-2 {
    width: 160px;
    height: 160px;
    animation-delay: -1.5s;
}

@keyframes al-ring-pulse {
    0%,100% {
        opacity: .5;
        transform: translate(-50%,-50%) scale(1);
    }

    50% {
        opacity: .2;
        transform: translate(-50%,-50%) scale(1.06);
    }
}

/* card body */
.al-card-body {
    display: flex;
    flex-direction: column;
    padding: 22px 24px 20px;
    flex: 1;
    gap: 12px;
}

/* meta */
.al-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.al-type-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: .72rem;
    font-weight: 700;
    white-space: nowrap;
}

.al-chip-article {
    background: rgba(20,184,166,.1);
    color: var(--primary-dark);
    border: 1px solid rgba(20,184,166,.2);
}

.al-chip-research {
    background: rgba(6,182,212,.1);
    color: #0369a1;
    border: 1px solid rgba(6,182,212,.2);
}

.al-chip-study {
    background: rgba(16,185,129,.1);
    color: #065f46;
    border: 1px solid rgba(16,185,129,.2);
}

.al-chip-report {
    background: rgba(245,158,11,.1);
    color: #92400e;
    border: 1px solid rgba(245,158,11,.2);
}

.al-chip-scientificreview {
    background: rgba(139,92,246,.1);
    color: #4c1d95;
    border: 1px solid rgba(139,92,246,.2);
}

.al-pub-chip {
    color: var(--accent-emerald);
    font-size: .8rem;
    background: rgba(16,185,129,.08);
    border: 1px solid rgba(16,185,129,.2);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.al-date-chip {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: .72rem;
    font-family: 'IBM Plex Mono', monospace;
    color: var(--text-light);
    margin-right: auto;
}

    .al-date-chip i {
        color: var(--primary);
        font-size: .68rem;
    }

/* title */
.al-card-title {
    font-family: 'Amiri', serif;
    font-size: 1.18rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.5;
    margin: 0;
}

.al-title-link {
    color: var(--text-dark) !important;
    text-decoration: none !important;
    transition: color .2s;
}

    .al-title-link:hover {
        color: var(--primary-dark) !important;
    }

/* summary */
.al-card-summary {
    font-size: .9rem;
    line-height: 1.75;
    color: var(--text-gray);
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* footer */
.al-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 14px;
    border-top: 1px solid rgba(20,184,166,.08);
    flex-wrap: wrap;
}

.al-read-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient-primary);
    color: #fff !important;
    text-decoration: none !important;
    font-size: .84rem;
    font-weight: 700;
    font-family: 'Tajawal', sans-serif;
    padding: 9px 20px;
    border-radius: var(--radius-full);
    box-shadow: 0 3px 12px rgba(20,184,166,.3);
    transition: transform .2s var(--spring), box-shadow .2s;
    position: relative;
    overflow: hidden;
}

    .al-read-btn::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,.2) 50%, transparent 80%);
        transform: translateX(-130%);
        transition: transform .5s var(--ease);
        pointer-events: none;
    }

    .al-read-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(20,184,166,.42);
    }

        .al-read-btn:hover::before {
            transform: translateX(130%);
        }

    .al-read-btn i {
        font-size: .8rem;
        transition: transform .2s;
    }

    .al-read-btn:hover i {
        transform: translateX(-3px);
    }

.al-slug-chip {
    font-family: 'IBM Plex Mono', monospace;
    font-size: .68rem;
    color: var(--text-light);
    background: rgba(20,184,166,.06);
    border: 1px solid rgba(20,184,166,.12);
    border-radius: var(--radius-sm);
    padding: 4px 9px;
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ══ Empty state ══ */
.al-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 80px 20px;
    text-align: center;
}

.al-empty-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary-dark);
    box-shadow: var(--shadow-glow);
    animation: al-orb-float 3s ease-in-out infinite;
}

.al-empty h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-dark);
}

.al-empty p {
    font-size: .9rem;
    color: var(--text-gray);
}

.al-empty-reset {
    display: flex;
    align-items: center;
    gap: 7px;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-full);
    color: #fff;
    font-family: 'Tajawal', sans-serif;
    font-size: .88rem;
    font-weight: 700;
    padding: 11px 24px;
    cursor: pointer;
    box-shadow: var(--shadow-glow);
    transition: transform .2s, box-shadow .2s;
    margin-top: 6px;
}

    .al-empty-reset:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(20,184,166,.4);
    }

/* ══ Animations ══ */
@keyframes al-fade-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1024px) {
    .al-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .al-hero {
        padding-top: 80px;
    }

    .al-hero-title {
        font-size: 2rem;
    }

    .al-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .al-filters {
        justify-content: flex-start;
    }

    .al-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .al-results-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .al-hero-counts {
        flex-direction: row;
        gap: 14px;
    }

    .al-filter span {
        display: none;
    }

    .al-filter {
        padding: 9px 12px;
    }

    .al-card-body {
        padding: 18px 18px 16px;
    }

    .al-slug-chip {
        display: none;
    }
}
