/* Blog cards: shared by the homepage section, the blog page and related posts */
.i2e-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 2.5rem auto 0;
    padding: 0 24px;
}
.i2e-blog-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px -14px rgba(11, 6, 32, 0.25);
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.i2e-blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px -14px rgba(11, 6, 32, 0.3);
}
.i2e-blog-card-img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}
.i2e-blog-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0d2a42, #0C90E3);
    color: #fff;
    font-size: 2.5rem;
    font-weight: 700;
}
.i2e-blog-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1.25rem 1.25rem 1.5rem;
}
.i2e-blog-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.7rem;
    font-size: 0.78rem;
    color: #6b7080;
}
.i2e-blog-cat {
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    background: #E7F3FD;
    color: #0877be;
    font-size: 0.72rem;
    font-weight: 700;
}
.i2e-blog-card-title {
    margin: 0 0 0.55rem;
    font-size: 1.08rem;
    font-weight: 600;
    line-height: 1.35;
    color: #12141d;
    overflow-wrap: anywhere;
}
.i2e-blog-card-excerpt {
    display: -webkit-box;
    margin: 0 0 1rem;
    overflow: hidden;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #5d6170;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
}
.i2e-blog-card-link {
    margin-top: auto;
    font-size: 0.88rem;
    font-weight: 700;
    color: #0877be;
}
.i2e-blog-more { margin-top: 2.5rem; text-align: center; }
.i2e-blog-more-btn {
    display: inline-block;
    padding: 0.8rem 1.75rem;
    border-radius: 999px;
    background: #0C90E3;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease;
}
.i2e-blog-more-btn:hover { background: #0877be; color: #fff; }

/* Blog page */
.i2e-bl-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.i2e-bl-section { padding: clamp(3rem, 6vw, 5.5rem) 0; }
.i2e-bl-eyebrow {
    display: block;
    margin-bottom: 0.9rem;
    color: #0877be;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-align: center;
    text-transform: uppercase;
}
.i2e-bl-heading {
    max-width: 760px;
    margin: 0 auto;
    color: #12141d;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.8rem, 1.6vw + 1.3rem, 2.6rem);
    font-weight: 700;
    line-height: 1.15;
    text-align: center;
}
.i2e-bl-sub { max-width: 640px; margin: 1rem auto 0; color: #5d6170; font-size: 1.02rem; line-height: 1.65; text-align: center; }
.i2e-bl-search { display: flex; gap: 0.5rem; max-width: 480px; margin: 2rem auto 0; }
.i2e-bl-search input {
    flex: 1;
    min-width: 0;
    padding: 0.7rem 1.1rem;
    border: 1px solid #dcdce6;
    border-radius: 999px;
    font: inherit;
}
.i2e-bl-search button {
    padding: 0.7rem 1.4rem;
    border: 0;
    border-radius: 999px;
    background: #0C90E3;
    color: #fff;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}
.i2e-bl-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-top: 1.25rem; }
.i2e-bl-chip {
    padding: 0.35rem 0.95rem;
    border-radius: 999px;
    background: #F1F0F4;
    color: #4a4d5a;
    font-size: 0.85rem;
    text-decoration: none;
}
.i2e-bl-chip:hover { background: #E7F3FD; color: #0877be; }
.i2e-bl-chip.is-active { background: #0C90E3; color: #fff; }
.i2e-bl-filter-note { margin-top: 1rem; color: #5d6170; font-size: 0.9rem; text-align: center; }
.i2e-bl-empty { margin: 3rem auto 0; color: #5d6170; text-align: center; }
.i2e-bl-pagination { display: flex; justify-content: center; align-items: center; gap: 1.25rem; margin-top: 3rem; color: #5d6170; font-size: 0.92rem; }
.i2e-bl-pagination a { color: #0877be; font-weight: 600; text-decoration: none; }

/* Single post */
.i2e-post { max-width: 780px; margin: 0 auto; padding: clamp(2.5rem, 5vw, 4.5rem) 24px; }
.i2e-post-notice {
    margin-bottom: 1.5rem;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    background: #fff4e0;
    color: #7a4a00;
    font-size: 0.92rem;
}
.i2e-post-back { color: #0877be; font-size: 0.9rem; font-weight: 600; text-decoration: none; }
.i2e-post-title {
    margin: 1rem 0 0.9rem;
    color: #12141d;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.7rem, 2vw + 1.1rem, 2.6rem);
    font-weight: 700;
    line-height: 1.2;
    overflow-wrap: anywhere;
}
.i2e-post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; color: #5d6170; font-size: 0.88rem; }
.i2e-post-cover { display: block; width: 100%; margin-top: 1.75rem; border-radius: 16px; }
.i2e-post-body { margin-top: 2rem; color: #2a2c36; font-size: 1.05rem; line-height: 1.8; overflow-wrap: anywhere; }
.i2e-post-body h2, .i2e-post-body h3, .i2e-post-body h4 { margin: 2rem 0 0.75rem; color: #12141d; line-height: 1.3; }
.i2e-post-body p { margin: 0 0 1.15rem; }
.i2e-post-body ul, .i2e-post-body ol { margin: 0 0 1.15rem; padding-left: 1.5rem; }
.i2e-post-body li { margin-bottom: 0.35rem; }
.i2e-post-body a { color: #0877be; text-decoration: underline; }
.i2e-post-body img { display: block; max-width: 100%; height: auto; margin: 1.5rem auto; border-radius: 12px; }
.i2e-post-body blockquote { margin: 1.5rem 0; padding: 0.5rem 0 0.5rem 1.25rem; border-left: 4px solid #0C90E3; color: #4a4d5a; font-style: italic; }
.i2e-post-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2rem; }
.i2e-post-share { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid #ecebf2; font-size: 0.9rem; }
.i2e-post-share a { color: #0877be; font-weight: 600; text-decoration: none; }
.i2e-post-related { padding: 0 0 clamp(3rem, 6vw, 5rem); }
.i2e-post-related h2 { margin: 0; color: #12141d; font-size: 1.5rem; text-align: center; }

@media (max-width: 900px) {
    .i2e-blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .i2e-blog-grid { grid-template-columns: 1fr; }
}
