/* ===============================
   Blog Content – Text Styles Only
================================ */

/* Title */
.blog-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.6rem;
    animation: titleFadeUp 0.7s ease both;
}

.blog-content h3 a {
    color: #0f172a;
    text-decoration: none;
    background-image: linear-gradient(
        transparent 70%,
        rgba(37, 99, 235, 0.15) 0
    );
    background-size: 0% 100%;
    background-repeat: no-repeat;
    transition: background-size 0.4s ease, color 0.3s ease;
}

.blog-content h3 a:hover {
    background-size: 100% 100%;
    color: #2563eb;
}

/* ===============================
   Meta Author & Date
================================ */

.author,
.date {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
    position: relative;
    animation: metaFade 0.8s ease both;
}

/* subtle dot before date */
.date {
    padding-left: 14px;
}

.date::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 50%;
    width: 4px;
    height: 4px;
    background: #cbd5f5;
    border-radius: 50%;
    transform: translateY(-50%);
}

/* hover emphasis */
.author:hover,
.date:hover {
    color: #0f172a;
}

/* ===============================
   Excerpt
================================ */

.blog-content p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 1rem;
    animation: textFade 0.9s ease both;
}

/* ===============================
   Animations
================================ */

@keyframes titleFadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes metaFade {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes textFade {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* ===============================
   Pagination
================================ */

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 4rem;
    animation: paginationReveal 0.8s ease both;
}

/* ===============================
   Page Buttons
================================ */

.page-btn {
    position: relative;
    padding: 10px 16px;
    min-width: 42px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #334155;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        color 0.3s ease,
        background 0.3s ease,
        border-color 0.3s ease;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

/* Hover */
.page-btn:hover {
    transform: translateY(-3px);
    border-color: #2563eb;
    color: #2563eb;
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.25);
}

/* ===============================
   Active Page
================================ */

.page-btn.active {
    background: linear-gradient(135deg, #2563eb, #38bdf8);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 14px 36px rgba(37, 99, 235, 0.45);
    pointer-events: none;
}

/* subtle glow */
.page-btn.active::after {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: inherit;
    background: radial-gradient(
        circle,
        rgba(37, 99, 235, 0.35),
        transparent 60%
    );
    z-index: -1;
}

/* ===============================
   Prev / Next Buttons
================================ */

.page-btn:first-child,
.page-btn:last-child {
    padding: 10px 18px;
}

/* ===============================
   Disabled State (optional)
================================ */

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    box-shadow: none;
}

/* ===============================
   Animations
================================ */

@keyframes paginationReveal {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===============================
   Responsive
================================ */

@media (max-width: 480px) {
    .pagination {
        gap: 6px;
        flex-wrap: wrap;
    }

    .page-btn {
        padding: 8px 12px;
        font-size: 13px;
    }
}
