.webko-guides-wrapper {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    overflow: hidden;
    gap: 15px;
}

a.webko-guide {
    display: flex;
    align-items: stretch;
    min-width: 0;
    border: solid 1px var(--border-color);
    background: var(--grey-color);
    color: var(--text-color);
    text-decoration: none;
    border-radius: 6px;
    overflow: hidden;
    transition: .1s all;
    box-shadow: 0px 0px 0px -10px rgba(0, 0, 0, 0);
}

a.webko-guide:hover {
    box-shadow: 0px 2px 13px -10px rgba(0, 0, 0, 0.5);
}

a.webko-guide h3 {
    position: relative;
    font-size: 18px;
    color: var(--black-color);
    margin-bottom: 5px;
}

.guide-image {
    display: flex;
}

.guide-image img {
    width: 250px;
    height: 100%;
    object-fit: cover;
}

.guide-text {
    position: relative;
    display: flex;
    width: 100%;
    flex-direction: column;
    justify-content: center;
    padding: 30px;
    line-height: 1.5;
}

.guide-text:after {
    content: "";
    position: absolute;
    right: 30px;
    background: url(../images/chevron-right.svg) no-repeat;
    background-size: contain;
    width: 15px;
    height: 15px;
}

.guide-text .guide-excerpt {
    max-width: calc(100% - 80px);
}

.guide-controls {
    margin-top: 20px;
}

.guide-controls a:hover svg {
    fill: var(--white-color);
}

@media (max-width:768px) {
    a.webko-guide {
        flex-direction: column;
    }

    .guide-image img {
        width: 100%;
    }

    .guide-text {
        padding: 20px;
    }

    .guide-text .guide-excerpt,
    .guide-text h3 {
        max-width: calc(100% - 50px);
    }

    .guide-controls {
        margin-top: 20px;
        margin-bottom: 40px;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .guide-controls a {
        justify-content: space-between;
        display: flex;
        align-items: center;
    }
}