/* ee-blog-cards */
.ee-blog-card {
    display: grid;
    margin-bottom: 20px;
    background: #FCFCFC;
    box-shadow: 8px 8px 10px rgba(0, 0, 0, 0.05);
    border-radius: 14px;
    overflow: hidden;
}

.ee-blog-card h2 {
    font-size: 1.5rem;
    font-weight: 700;
}

.ee-blog-card>.arrow-btn-container {
    padding: 0 10px 10px;
}

.arrow-btn-container>svg {
    width: 36px;
}

a:hover .arrow-btn-container>svg,
a:focus .arrow-btn-container>svg {
    fill: var(--highlight-blue);
}

.arrow-btn-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: end;
    min-height: 36px;
}

.blog-img {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

a:has(.blog-card-text),
a:has(.meetup-card),
.link-list a {
    font-weight: 700;
    font-family: 'Lato', sans-serif;
    color: var(--ee-black);
    -ms-word-break: normal;
    word-break: normal;
    text-decoration: none;
}

.blog-card-text {
    padding: 0 20px;
    margin: 20px 0;
}

.blog-card-text p {
    margin-bottom: 0;
    font-family: 'Nunito Sans';
    font-style: normal;
    font-weight: 600;
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.blog-card-text > p {
    display: none;
    font-family: 'Nunito Sans';
    font-style: normal;
    font-weight: 600;
    font-size: 1.125rem;
}

.blog-card-text h3 {
    color: var(--ee-black);
    font-weight: 700;
    font-size: 1.75rem;
    margin: 12px 0;
}

a:hover .ee-blog-card,
a:focus .ee-blog-card,
a:hover .meetup-card,
a:focus .meetup-card {
    text-decoration: none;
    outline: solid 4px var(--highlight-blue);
    outline-offset: -4px;
}

.ee-blog-card:hover a,
.ee-blog-card:focus a {
    fill: var(--highlight-blue);
    transform: scale(1.05);
}

.blog-posts h2 {
    text-align: center;
    margin-bottom: 48px;
}

.ee-blog-container {
    max-width: 800px;
    width: fit-content;
    margin: 0 auto;
    padding: 0px 20px;
}

.ee-blog-container:has(.short-text) {
    max-width: 1200px;
}

.ee-blog-container .short-text {
    font-family: 'Lato', sans-serif;
    font-size: 1.125rem;
    line-height: 1;
    display: -webkit-box !important;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-posts h3 {
    font-size: 1.25rem;
}

.blog-posts .blog-card-text > p {
    font-size: 1rem;
    display: block;
}

@media (min-width: 800px) {
    .ee-blog-container:not(:has(.short-text), .blog-index-more) .ee-blog-card {
        grid-template-columns: 1fr 1fr 70px;
        gap: 30px;
    }

    .ee-blog-container:not(:has(.short-text), .blog-index-more) {
        padding: 48px 20px;
    }

    .ee-blog-container:not(:has(.short-text), .blog-index-more) .blog-card-text > p {
        display: unset;
    }
    .ee-blog-container:not(:has(.short-text), .blog-index-more) .ee-blog-card>.arrow-btn-container {
        padding: 30px 20px;
    }
    .ee-blog-container:not(:has(.short-text), .blog-index-more) .blog-card-text {
        padding: 0 30px 0 0;
        margin: 30px 0;
    }

    .ee-blog-container:not(:has(.short-text), .blog-index-more) .blog-img {
        margin: 35px 0 35px 35px;
        border-radius: 10px;
        overflow: hidden;
    }
    .ee-blog-container:not(:has(.short-text), .blog-index-more) .blog-img img {
        height: 100%;
        object-fit: cover;
    }
}

@media (max-width: 799px) {
    .ee-blog-container:not(:has(.short-text), .blog-index-more) .blog-posts .blog-img {
        margin: 0;
    }

    .ee-blog-container:not(:has(.short-text), .blog-index-more) .blog-posts .blog-img img {
        object-fit: cover;
        height: 200px;
    }

    .ee-blog-container:not(:has(.short-text), .blog-index-more) .ee-blog-card {
        max-width: 340px;
    }
}

@media (min-width: 1280px) {
    .ee-blog-container:has(.short-text) .ee-blog-card {
        grid-template-columns: 1fr 1fr 70px;
        gap: 30px !important;
    }

    .ee-blog-container:has(.short-text) {
        padding: 48px 20px;
    }

    .ee-blog-container:has(.short-text) .blog-card-text > p {
        display: unset;
    }
    .ee-blog-container:has(.short-text) .ee-blog-card>.arrow-btn-container {
        padding: 30px 20px
    }
    .ee-blog-container:has(.short-text) .blog-card-text {
        padding: 0 30px 0 0;
        margin: 30px 0;
    }

    .ee-blog-container:has(.short-text) .blog-img {
        margin: 35px 0 35px 35px;
        border-radius: 10px;
        overflow: hidden;
    }
    .ee-blog-container:has(.short-text) .blog-img img {
        height: 285px;
        object-fit: cover;
    }
}

@media (max-width: 1279px) {
    .ee-blog-container:has(.short-text) .blog-posts .blog-img {
        margin: 0;
    }

    .ee-blog-container:has(.short-text) .blog-posts .blog-img img {
        object-fit: cover;
        height: 200px;
    }

    .ee-blog-container:has(.short-text) .ee-blog-card {
        max-width: 720px;
    }
}