.iblog {
    background-color: #fff;
    padding: 50px 0;
}

.section-title-p1 {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #003655;
}

/* Carousel wrapper */
.iblog-carousel {
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;
    max-width: 1200px; /* match other sections */
    margin: 0 auto;
}

/* Hide scrollbar */
.iblog-carousel::-webkit-scrollbar {
    display: none;
}
.iblog-carousel {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Track to hold boxes in 2 rows */
.iblog-track {
    display: flex;
    flex-wrap: wrap;       /* 2 rows */
    gap: 20px;
    justify-content: center;
}

/* Blog boxes */
.iblog-box {
    flex: 0 0 calc((1200px - 40px) / 3); /* 3 boxes per row */
    max-width: calc((1200px - 40px) / 3);
    border: 1px solid #ddd;
    background-color: rgb(0, 54, 85);
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Reduce height of images */
.iblog-img {
    width: 100%;
    height: 200px; /* increased relative to container */
    overflow: hidden;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.iblog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.iblog-text {
    padding: 15px;
}

.iblog-info {
    padding-bottom: 5px;
}

.iblog-info span {
    font-size: 12px;
    color: #838383;
    display: inline-block;
}

.iblog-info span:nth-child(2) {
    border-left: 1px solid #ddd;
    padding-left: 8px;
    margin-left: 8px;
}

.iblog-box h3 {
    font-size: 20px;
    font-weight: 600;
    color: #eceffa;
    margin-bottom: 8px;
}

.iblog-box p {
    font-size: 14px;
    line-height: 22px;
    color: #838383;
    margin-bottom: 10px;
}

.iblog-box a {
    font-size: 13px;
    color: #5f88e0;
    text-transform: uppercase;
    font-weight: 600;
    display: inline-block;
    border-bottom: 2px solid #5f88e0;
    transition: all 0.5s ease;
}

.iblog-box a:hover {
    color: #000;
    border-color: #000;
}
