/* ASKF Premium Modern Design Overhaul */

:root {
    --askf-red: #e31e24;
    --askf-dark: #121212;
    --askf-white: #ffffff;
    --askf-bg: #f5f7fa;
    --askf-glass: rgba(255, 255, 255, 0.85);
    --askf-shadow-premium: 0 20px 50px rgba(0, 0, 0, 0.08);
    --askf-font-display: 'Montserrat', sans-serif;
    --askf-font-body: 'Inter', sans-serif;
}

.askf-premium-wrapper {
    font-family: var(--askf-font-body);
    color: var(--askf-dark);
    margin: 20px 0;
}

/* --- GRID LAYOUT --- */
.askf-premium-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
}

.askf-grid-card {
    height: 100%;
}

.askf-card-inner {
    background: var(--askf-white);
    border-radius: 24px;
    padding: 30px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: var(--askf-shadow-premium);
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.askf-card-inner::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle at top right, rgba(227, 30, 36, 0.03), transparent 70%);
    pointer-events: none;
}

.askf-grid-card:hover .askf-card-inner {
    transform: translateY(-12px);
    border-color: var(--askf-red);
    box-shadow: 0 25px 60px rgba(227, 30, 36, 0.12);
}

.askf-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.askf-type-badge {
    background: var(--askf-red);
    color: var(--askf-white);
    padding: 6px 16px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 11px;
    letter-spacing: 1.5px;
    font-family: var(--askf-font-display);
}

.askf-cat-tag {
    font-size: 12px;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    background: #f0f0f0;
    padding: 4px 12px;
    border-radius: 6px;
}

.askf-premium-title {
    font-family: var(--askf-font-display);
    font-size: 1.6rem;
    font-weight: 900;
    line-height: 1.2;
    color: var(--askf-dark);
    margin: 0 0 25px 0;
    flex-grow: 1;
}

.askf-card-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    padding-top: 25px;
}

.askf-info-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: #555;
    font-size: 14px;
    font-weight: 600;
}

.askf-info-row:last-child {
    margin-bottom: 0;
    margin-top: 15px;
    gap: 10px;
    flex-wrap: wrap;
}

.askf-info-row .dashicons {
    color: var(--askf-red);
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.askf-time-pill,
.askf-loc-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f8f9fa;
    padding: 8px 14px;
    border-radius: 12px;
    font-size: 13px;
}

.askf-time-pill {
    background: rgba(227, 30, 36, 0.05);
    color: var(--askf-red);
}

/* --- LIST LAYOUT --- */
.askf-premium-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.askf-sticky-date-header {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    position: sticky;
    top: 20px;
    z-index: 10;
    background: rgba(245, 247, 250, 0.5);
    backdrop-filter: blur(8px);
    padding: 10px 0;
}

.askf-header-day {
    font-family: var(--askf-font-display);
    font-weight: 900;
    text-transform: uppercase;
    color: var(--askf-red);
    font-size: 2.2rem;
    line-height: 1;
    letter-spacing: -1px;
}

.askf-header-full-date {
    font-size: 14px;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    margin-top: 5px;
    letter-spacing: 1px;
}

.askf-list-row {
    background: var(--askf-white);
    border-radius: 20px;
    padding: 24px;
    display: grid;
    grid-template-columns: 120px 2px 1fr;
    gap: 30px;
    align-items: center;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: all 0.4s ease;
}

.askf-list-row:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.askf-row-time {
    text-align: center;
}

.askf-digital-time {
    font-family: var(--askf-font-display);
    font-weight: 900;
    font-size: 1.8rem;
    color: var(--askf-dark);
}

.askf-row-indicator {
    background: #eee;
    height: 60%;
    width: 2px;
    border-radius: 2px;
}

.askf-list-row:hover .askf-row-indicator {
    background: var(--askf-red);
}

.askf-row-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.askf-row-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.askf-row-badge {
    color: var(--askf-red);
    font-weight: 900;
    font-size: 10px;
    letter-spacing: 2px;
    font-family: var(--askf-font-display);
}

.askf-row-category {
    font-size: 11px;
    font-weight: 700;
    color: #aaa;
    text-transform: uppercase;
}

.askf-row-title {
    font-family: var(--askf-font-display);
    font-size: 1.3rem;
    font-weight: 800;
    margin: 4px 0;
    color: var(--askf-dark);
}

.askf-row-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #666;
    font-weight: 600;
}

.askf-row-footer .dashicons {
    color: #ccc;
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.askf-no-events {
    text-align: center;
    padding: 80px 20px;
    background: #fff;
    border-radius: 30px;
    border: 2px dashed #eee;
    color: #999;
    font-weight: 700;
    font-family: var(--askf-font-display);
}

/* Animations */
@keyframes askfSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.askf-grid-card,
.askf-list-row {
    animation: askfSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Staggered load */
.askf-premium-wrapper>*:nth-child(1) {
    animation-delay: 0.1s;
}

.askf-premium-wrapper>*:nth-child(2) {
    animation-delay: 0.2s;
}

.askf-premium-wrapper>*:nth-child(3) {
    animation-delay: 0.3s;
}

.askf-premium-wrapper>*:nth-child(4) {
    animation-delay: 0.4s;
}

.askf-premium-wrapper>*:nth-child(5) {
    animation-delay: 0.5s;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .askf-list-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .askf-row-indicator {
        display: none;
    }

    .askf-row-time {
        text-align: left;
    }

    .askf-header-day {
        font-size: 1.8rem;
    }
}