.imt-blog
{
    min-height:100vh;
    padding-bottom:80px;
    background-color:#f4f7fb;
    color:#152238;
}

.imt-blog-hero
{
    position:relative;
    width:100%;
    height:420px;
    overflow:hidden;
    background-color:#102a43;
}

.imt-blog-hero > img
{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform 0.8s ease;
}

.imt-blog-hero:hover > img
{
    transform:scale(1.03);
}

.imt-blog-hero-overlay
{
    display:flex;
    align-items:flex-end;
    position:absolute;
    inset:0;
    padding:70px max(24px, calc((100% - 1200px) / 2));
    background:linear-gradient(
        90deg,
        rgba(8, 29, 51, 0.92) 0%,
        rgba(8, 29, 51, 0.7) 45%,
        rgba(8, 29, 51, 0.15) 100%
    );
}

.imt-blog-hero-content
{
    width:min(650px, 100%);
    color:white;
}

.imt-blog-hero-label,
.imt-blog-heading-label
{
    display:inline-block;
    margin-bottom:12px;
    color:#2d83d5;
    font-size:0.78rem;
    font-weight:800;
    letter-spacing:0.14em;
    text-transform:uppercase;
}

.imt-blog-hero-label
{
    padding:8px 14px;
    border:1px solid rgba(255, 255, 255, 0.35);
    border-radius:50px;
    color:white;
    background-color:rgba(255, 255, 255, 0.12);
    backdrop-filter:blur(8px);
}

.imt-blog-hero-content h1
{
    margin:0;
    font-size:clamp(2.2rem, 5vw, 4rem);
    line-height:1.05;
}

.imt-blog-hero-content p
{
    max-width:580px;
    margin:20px 0 0;
    color:rgba(255, 255, 255, 0.88);
    font-size:1.08rem;
    line-height:1.7;
}

.imt-blog-container
{
    width:min(calc(100% - 40px), 1200px);
    margin:0 auto;
    padding-top:60px;
}

.imt-blog-heading
{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:24px;
    margin-bottom:32px;
}

.imt-blog-heading h2
{
    margin:0;
    color:#102a43;
    font-size:clamp(1.8rem, 4vw, 2.5rem);
    line-height:1.15;
}

.imt-blog-count
{
    flex-shrink:0;
    padding:10px 16px;
    border:1px solid #d9e2ec;
    border-radius:50px;
    color:#486581;
    background-color:white;
    font-size:0.88rem;
    font-weight:700;
}

.imt-blog-grid
{
    display:grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:28px;
}

.imt-blog-card
{
    display:flex;
    flex-direction:column;
    min-width:0;
    overflow:hidden;
    border:1px solid #e2e8f0;
    border-radius:20px;
    background-color:white;
    box-shadow:0 10px 35px rgba(15, 41, 64, 0.08);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.imt-blog-card:hover
{
    transform:translateY(-7px);
    border-color:#b8d6f1;
    box-shadow:0 20px 45px rgba(15, 41, 64, 0.14);
}

.imt-blog-card-image
{
    position:relative;
    width:100%;
    aspect-ratio:16 / 10;
    overflow:hidden;
    background-color:#d9e2ec;
}

.imt-blog-card-image > img
{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform 0.45s ease;
}

.imt-blog-card:hover .imt-blog-card-image > img
{
    transform:scale(1.06);
}

.imt-blog-card-placeholder
{
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
    height:100%;
    color:#829ab1;
    background:linear-gradient(
        135deg,
        #eaf2f8,
        #d9e7f2
    );
    font-size:0.9rem;
    font-weight:700;
}

.imt-blog-card-badge
{
    position:absolute;
    top:16px;
    left:16px;
    padding:7px 12px;
    border-radius:50px;
    color:white;
    background-color:rgba(16, 42, 67, 0.86);
    font-size:0.7rem;
    font-weight:800;
    letter-spacing:0.08em;
    text-transform:uppercase;
    backdrop-filter:blur(7px);
}

.imt-blog-card-content
{
    display:flex;
    flex:1;
    flex-direction:column;
    padding:25px;
}

.imt-blog-card-date
{
    display:flex;
    align-items:center;
    gap:8px;
    margin-bottom:14px;
    color:#627d98;
    font-size:0.82rem;
    font-weight:600;
}

.imt-blog-card-date-icon
{
    width:8px;
    height:8px;
    border-radius:50%;
    background-color:#2d83d5;
    box-shadow:0 0 0 4px rgba(45, 131, 213, 0.12);
}

.imt-blog-card-title
{
    margin:0;
    color:#102a43;
    font-size:1.35rem;
    line-height:1.35;
    transition:color 0.2s ease;
}

.imt-blog-card:hover .imt-blog-card-title
{
    color:#1769aa;
}

.imt-blog-card-subtitle
{
    margin:12px 0 0;
    color:#334e68;
    font-size:0.98rem;
    font-weight:700;
    line-height:1.5;
}

.imt-blog-card-description
{
    display:-webkit-box;
    margin:16px 0 24px;
    overflow:hidden;
    color:#627d98;
    font-size:0.94rem;
    line-height:1.7;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:4;
}

.imt-blog-card-link
{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    width:100%;
    margin-top:auto;
    padding-top:18px;
    border-top:1px solid #edf2f7;
    color:#1769aa;
    font-size:0.9rem;
    font-weight:800;
    text-decoration:none;
}

.imt-blog-card-arrow
{
    display:flex;
    align-items:center;
    justify-content:center;
    width:34px;
    height:34px;
    border-radius:50%;
    color:white;
    background-color:#1769aa;
    font-size:1.15rem;
    transition:
        transform 0.2s ease,
        background-color 0.2s ease;
}

.imt-blog-card-link:hover .imt-blog-card-arrow
{
    transform:translateX(4px);
    background-color:#102a43;
}

.imt-blog-empty
{
    padding:70px 30px;
    border:1px dashed #bcccdc;
    border-radius:20px;
    text-align:center;
    background-color:white;
}

.imt-blog-empty-icon
{
    display:flex;
    align-items:center;
    justify-content:center;
    width:56px;
    height:56px;
    margin:0 auto 20px;
    border-radius:50%;
    color:white;
    background-color:#2d83d5;
    font-family:Georgia, serif;
    font-size:1.7rem;
    font-weight:bold;
}

.imt-blog-empty h2
{
    margin:0;
    color:#102a43;
}

.imt-blog-empty p
{
    margin:12px 0 0;
    color:#627d98;
}

@media screen and (max-width:1000px)
{
    .imt-blog-grid
    {
        grid-template-columns:repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width:700px)
{
    .imt-blog
    {
        padding-bottom:50px;
    }

    .imt-blog-hero
    {
        height:360px;
    }

    .imt-blog-hero-overlay
    {
        align-items:center;
        padding:40px 24px;
        background:rgba(8, 29, 51, 0.72);
    }

    .imt-blog-container
    {
        width:min(calc(100% - 28px), 1200px);
        padding-top:40px;
    }

    .imt-blog-heading
    {
        align-items:flex-start;
        flex-direction:column;
        gap:15px;
    }

    .imt-blog-grid
    {
        grid-template-columns:1fr;
        gap:22px;
    }

    .imt-blog-card-content
    {
        padding:22px;
    }
}

@media screen and (max-width:420px)
{
    .imt-blog-hero
    {
        height:330px;
    }

    .imt-blog-hero-content p
    {
        font-size:0.95rem;
    }

    .imt-blog-card
    {
        border-radius:16px;
    }
}