/* ==========================================================================
   Page styles: index.html
   Global/shared styles live in assets/css/style.css (and tailwind.css).
   ========================================================================== */

/* Cookie Consent Banner — fixed bottom-center */
.cookie-consent {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 520px;
    background: #18181b;
    border-radius: 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
    padding: 2rem 0;
    z-index: 99999;
    display: none;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.cookie-consent.show {
    display: block;
    animation: cookieSlideUp 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes cookieSlideUp {
    from {
        transform: translate(-50%, 120%);
        opacity: 0;
    }

    to {
        transform: translate(-50%, 0);
        opacity: 1;
    }
}

/* Newsroom Section Styles */
.tag-mint {
    background-color: #e6f4f0;
    color: #1e5c49;
}

.dark .tag-mint {
    background-color: rgba(30, 92, 73, 0.2);
    color: #4ade80;
}

.tag-pink {
    background-color: #fce7f3;
    color: #9d174d;
}

.dark .tag-pink {
    background-color: rgba(157, 23, 77, 0.2);
    color: #f472b6;
}

.tag-blue {
    background-color: #dbeafe;
    color: #1e40af;
}

.dark .tag-blue {
    background-color: rgba(30, 64, 175, 0.2);
    color: #60a5fa;
}

.tag-amber {
    background-color: #fef3c7;
    color: #92400e;
}

.dark .tag-amber {
    background-color: rgba(146, 64, 14, 0.2);
    color: #fbbf24;
}

.tag-purple {
    background-color: #f3e8ff;
    color: #6b21a8;
}

.dark .tag-purple {
    background-color: rgba(107, 33, 168, 0.2);
    color: #c084fc;
}

.tag-red {
    background-color: #fee2e2;
    color: #991b1b;
}

.dark .tag-red {
    background-color: rgba(153, 27, 27, 0.2);
    color: #f87171;
}

/* Press Navigation Links styling */
.press-nav-link {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-left: 3px solid transparent;
    color: #71717a;
    /* text-zinc-500 */
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}

.press-nav-link.active {
    color: #18181b;
    /* text-zinc-900 */
    font-weight: 800;
    border-left-color: #c41e3a;
    /* Marist Red */
}

.dark .press-nav-link.active {
    color: #ffffff;
    border-left-color: #ef4444;
    /* red-500 */
}

.press-nav-link:hover:not(.active) {
    color: #27272a;
    /* text-zinc-800 */
    border-left-color: #e4e4e7;
    /* border-zinc-200 */
}

.dark .press-nav-link:hover:not(.active) {
    color: #f4f4f5;
    border-left-color: #3f3f46;
}

/* Shimmer Skeleton */
@keyframes shimmer-news {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.shimmer-bg {
    background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 50%, #e2e8f0 75%);
    background-size: 200% 100%;
    animation: shimmer-news 1.5s infinite linear;
}

.dark .shimmer-bg {
    background: linear-gradient(90deg, #18181b 25%, #27272a 50%, #18181b 75%);
    background-size: 200% 100%;
}
