:root {
    --agere-green: #89B855;
    --agere-green-dark: #6A9535;
    --agere-green-light: #A7CC7B;
    --agere-secondary: #EDE8D1;
    --agere-accent: #FF7A47;
    --agere-ink: #212121;
    --agere-muted: #757575;
    --agere-surface: #F5F5F5;
    --agere-border: rgba(33, 33, 33, 0.08);
}

.blog-page {
    background: linear-gradient(180deg, #f8f9f6 0%, #ffffff 100%);
    color: var(--agere-ink);
}

.blog-hero {
    background: linear-gradient(135deg, var(--agere-green-dark) 0%, var(--agere-green) 35%, var(--agere-green-light) 100%);
}

.blog-card {
    background: #fff;
    border: 1px solid var(--agere-border);
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(33, 33, 33, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 35px rgba(33, 33, 33, 0.12);
    border-color: rgba(137, 184, 85, 0.4);
}

.blog-card img {
    transition: transform 0.35s ease;
}

.blog-card:hover img {
    transform: scale(1.03);
}

.blog-card-link {
    position: relative;
    display: block;
    color: inherit;
    text-decoration: none;
    height: 100%;
}

.blog-card-link:hover .blog-content {
    text-decoration: none;
}

.blog-card .blog-content {
    position: relative;
    z-index: 2;
}

.blog-pill {
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: white;
    padding: 0.5rem 0.9rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.blog-search input {
    border: 1px solid rgba(33, 33, 33, 0.12);
    border-radius: 9999px;
    padding: 0.95rem 1.1rem 0.95rem 3rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.blog-search input:focus {
    border-color: rgba(137, 184, 85, 0.7);
    box-shadow: 0 0 0 4px rgba(137, 184, 85, 0.12);
    outline: none;
}

.blog-pagination a,
.blog-pagination span {
    border-radius: 9999px;
    min-width: 2.5rem;
    min-height: 2.5rem;
    padding: 0.55rem 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.blog-pagination a {
    background: white;
    border: 1px solid rgba(33, 33, 33, 0.08);
    color: var(--agere-ink);
}

.blog-pagination a:hover {
    background: rgba(137, 184, 85, 0.08);
    border-color: rgba(137, 184, 85, 0.35);
}

.blog-pagination .active {
    background: var(--agere-green);
    border-color: var(--agere-green);
    color: white;
}

.blog-article {
    background: #fff;
    border: 1px solid var(--agere-border);
    border-radius: 1.5rem;
    box-shadow: 0 10px 28px rgba(33, 33, 33, 0.05);
    overflow: hidden;
}

.blog-article-header {
    background: linear-gradient(135deg, var(--agere-green-dark) 0%, var(--agere-green) 35%, var(--agere-green-light) 100%);
    padding: 2rem 2rem 1.5rem;
    color: white;
}

.blog-pill-light {
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: white;
}

.blog-article-header h1 {
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.12;
    color: white;
    margin: 1rem 0 0.6rem;
    font-weight: 800;
}

.blog-article-date {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    opacity: 0.95;
}

.blog-article-body {
    padding: 2rem;
    background: white;
}

.blog-article-image-wrap {
    margin: 0 0 1rem;
    overflow: hidden;
    background: #f6f8f3;
}

.blog-article-image {
    width: 100%;
    display: block;
    object-fit: cover;
    max-height: 520px;
}

.blog-article-content {
    background: transparent;
}

.blog-article-content h1,
.blog-article-content h2,
.blog-article-content h3,
.blog-article-content h4 {
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    color: var(--agere-ink);
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.blog-article-content p,
.blog-article-content li,
.blog-article-content blockquote {
    color: #424242;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.blog-article-content ul,
.blog-article-content ol {
    margin-left: 1.25rem;
    margin-bottom: 1rem;
}

.blog-article-content img {
    border-radius: 1rem;
    margin: 1.5rem 0;
}

.share-btn {
    border: 1px solid rgba(137, 184, 85, 0.25);
    background: white;
    color: var(--agere-ink);
    border-radius: 9999px;
    padding: 0.75rem 1.1rem;
    transition: transform 0.2s ease, background 0.2s ease;
}

.share-btn:hover {
    background: rgba(137, 184, 85, 0.08);
    transform: translateY(-1px);
}

.share-btn.primary {
    background: var(--agere-green);
    border-color: var(--agere-green);
    color: white;
}

.share-btn.primary:hover {
    background: var(--agere-green-dark);
}

@keyframes blogFadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.blog-card,
.blog-article {
    animation: blogFadeUp 0.7s ease-out both;
}

.blog-card:nth-child(2n) {
    animation-delay: 0.08s;
}

.blog-card:nth-child(3n) {
    animation-delay: 0.12s;
}

.blog-share-panel {
    background: linear-gradient(180deg, rgba(137, 184, 85, 0.04), rgba(255, 255, 255, 0.9));
    border-top: 1px solid rgba(137, 184, 85, 0.14);
    padding: 1.5rem 2rem 2rem;
}

.blog-share-panel h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--agere-ink);
    margin-bottom: 1rem;
}

.share-btn {
    border: 1px solid rgba(137, 184, 85, 0.25);
    background: linear-gradient(180deg, #ffffff 0%, #f7f9f5 100%);
    color: var(--agere-ink);
    border-radius: 9999px;
    padding: 0.8rem 1.2rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
    box-shadow: 0 8px 20px rgba(33, 33, 33, 0.04);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(33, 33, 33, 0.08);
    border-color: rgba(137, 184, 85, 0.3);
}

.share-btn.primary {
    background: linear-gradient(135deg, var(--agere-green) 0%, var(--agere-green-dark) 100%);
    border-color: var(--agere-green);
    color: white;
}

.share-btn.primary:hover {
    background: linear-gradient(135deg, var(--agere-green-dark) 0%, var(--agere-green) 100%);
}

.share-btn[data-share="facebook"] {
    background: linear-gradient(135deg, #fff 0%, #edf3ff 100%);
}

.share-btn[data-share="whatsapp"] {
    background: linear-gradient(135deg, #fff 0%, #edfff6 100%);
}

.share-btn[data-share="telegram"] {
    background: linear-gradient(135deg, #fff 0%, #eef7ff 100%);
}

.share-btn i {
    width: 1.1rem;
    display: inline-flex;
    justify-content: center;
}

@media (max-width: 768px) {
    .blog-page main {
        padding-top: 6.5rem;
    }

    .blog-hero {
        min-height: auto;
    }

    .blog-hero .container {
        padding-top: 3.5rem;
        padding-bottom: 3rem;
    }

    .blog-hero h1 {
        font-size: clamp(2.2rem, 8vw, 3rem);
        line-height: 1.15;
    }

    .blog-hero p {
        font-size: 1rem;
    }

    .blog-search {
        margin-bottom: 1.75rem;
    }

    .blog-search input {
        padding-left: 2.75rem;
        font-size: 0.95rem;
    }

    .blog-card {
        border-radius: 1rem;
    }

    .blog-card .blog-content {
        padding: 1rem 1rem 1.1rem;
    }

    .blog-card h2 {
        font-size: 1.35rem;
        line-height: 1.35;
        margin-bottom: 0.6rem;
    }

    .blog-card p {
        font-size: 0.96rem;
        line-height: 1.65;
    }

    .blog-card .relative.h-64 {
        height: 14rem;
    }

    .blog-pagination {
        gap: 0.5rem 0.65rem;
    }

    .blog-pagination a,
    .blog-pagination span {
        min-width: 2.25rem;
        min-height: 2.25rem;
        padding: 0.45rem 0.7rem;
        font-size: 0.9rem;
    }

    .blog-article-header {
        padding: 1.5rem 1.25rem 1.1rem;
    }

    .blog-article-body {
        padding: 1.25rem;
    }

    .blog-share-panel {
        padding: 1.1rem 1.25rem 1.4rem;
    }

    .blog-share-panel .flex {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }

    .share-btn {
        width: 100%;
        justify-content: center;
        padding: 0.8rem 0.75rem;
        font-size: 0.88rem;
    }
}
