/* =============================================================================
   Blog
   ========================================================================= */

.blog-wrapper {
    display: grid;
    width: 100%;
    gap: 2rem;
    z-index: 5;
    position: relative;
    grid-template-columns: repeat(1, 1fr);
    padding:15px;
}

@media (min-width: 640px) {
    .blog-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1000px) {
    .blog-wrapper {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Blog list + pager */
.blog-list__pager {
    display: flex;
    flex-direction: row;
    margin: 2rem 16px;
}

.blog-list__pager__prev {
    justify-self: flex-start;
}

.blog-list__pager__next {
    justify-self: flex-end;
    margin-left: auto;
}

/* Card wrappers */
.blog-wrap {
    position: relative;
    overflow: hidden;
    transition: 0.3s;
    border-radius: 20px;
    background-color: #efefef;
    display: flex;
}

    .blog-wrap:hover {
        z-index: 10;
    }

.blog-card {
    width: 100%;
    display: flex;
    flex-direction: column;
  
    background-color: #001e60;
}

.blog-card__image {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    background: #ccc url(/assets/images/imo-logo2.png) no-repeat center center;
    background-size:70%;
}

.blog-card__image:has(img) {
        background:#001e60;
}

    .blog-card__image img {
        width: 100%;
        height: auto;
        aspect-ratio: 16/9;
        object-fit: cover;
        vertical-align: bottom;
    }

.blog-card__content {
    padding: 0 2rem 0rem 2rem;
    overflow: hidden;
    border-top:1px solid #fff;
}

.blog-card__title {
    text-align: left;
    margin: 2rem 0 2rem 0;
    font-size: 2rem;
    font-family: "co-headline-regular";
    font-weight: 400;
    color: #ffffff;
    line-height: 1.4;
    text-wrap:pretty;
}

.blog-card__title__link {
    color: #fff;
}

.blog-card__teaser {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.blog-card__read {
    margin-top: auto;
    padding: 0 2rem 2rem 2rem;
    background-color: #001e60;
}



.blog-card__btn {
    display: inline-block;
    padding: 1.2rem 2rem;
    background-color: #001e60;
    color: #ffffff;
    transition: all ease-in-out .3s;
    border: none;
    text-align: center;
    line-height: 1;
    text-wrap: nowrap;
    font-size: 1.5rem;
    outline: 0;
    will-change: background-color;
    font-family: "co-headline-regular";
    letter-spacing:2px;
    border:1px solid #fff;

}




.blog-card__btn:hover {
    background-color: #fff;
    color: #001e60;
}




.blog-list__pager__btn {
    display: inline-block;
    padding: 0;
    color: #001e60;
    border: none;
    text-align: center;
    line-height: 1;
    text-wrap: nowrap;
    font-size: 1.5rem;
    outline: 0;
    font-family: "co-headline-regular";
    letter-spacing: 2px;
    border: 1px solid #fff;
}

.blog-list__pager__btn:hover {
    color: #001e60;
}



.blog-post__btn {
    display: grid;
    place-self:center;
    padding: 1.2rem 2rem;
    background-color: #001e60;
    color: #ffffff;
    transition: all ease-in-out .3s;
    border: none;
    text-align: center;
    line-height: 1;
    text-wrap: nowrap;
    font-size: 1.5rem;
    outline: 0;
    will-change: background-color;
    font-family: "co-headline-regular";
    letter-spacing: 2px;
    border: 1px solid #fff;
}

    .blog-card__btn:hover {
 
        color: #001e60;
    }


.banner__image--blog{
    background-position:center center;
}

.heading--blog{
    padding:0 20%;
    text-wrap:pretty;
}


@media (max-width: 1200px) {
    .heading--blog {
        padding: 0 10%;
    }
}


.share {
    border-top: 1px solid #ccc;
    margin-top: 2em;
    padding-top: 2em;
}


/* .share__ul */
.share__ul {
 
    margin: 0;
    padding: 0;
    list-style-type: none;
    text-align: center;
    display: flex;
    justify-content:center;
    align-items:center;
    margin-inline:auto;
    gap:8px;

    transform:translateX(-20px);
}

/* .share__link (all link states) */
.share__link:link,
.share__link:visited,
.share__link:hover,
.share__link:active {
    display: inline-block;
    color: #000;
    font-size: 48px;
    line-height: normal;
    outline: none;
    text-decoration: none;

}

.share__link--reddit {
   
}

/* Icons inside .share__link */
.share__link .fa-brands,
.share__link .fa {
    --fa-width: 48px;
    color: #000;
    display: block;
    text-align: center;
    transition: opacity ease-in-out 0.2s;
    margin: 0;
}

.share__link .fa-square-reddit {
    color: #FF4500;
}

.share__link .fa-square-linkedin {
    color: #0A66C2;
}

.share__link .fa-square-x-twitter {
    color: rgb(0, 0, 0);
}

.share__link .fa-square-facebook {
    color: #1877F2;
}

.share__link .fa-square-envelope {
    color: #ccc;
}

.share__link:hover i {
    opacity: 0.8; /* 1.0 = normal, higher = lighter */
}
/* .share__li */
.share__li {
    padding: 0;
    list-style-type: none;
    text-align: center;
}

.share__li--title {
    font-size: 16px;
}

@media (max-width: 767px) {
    .share__li--title {
        display: none;
    }
}








    .videoWrapper {
        position: relative;
        padding-bottom: 56.25%; /* 16:9 */
        padding-top: 25px;
        height: 0;
    }

    .videoWrapper iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
}

    .video-wrapper iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
    