.short-blog-posts {
    margin: 15px 0;
}

.short-blog-posts--home {
    margin: 0 !important;
}

.short-blog-posts__content {
    display: flex;
    flex-direction: column;
}

.short-blog-posts__footer {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 46px;
    margin-top: 15px;
    padding: 0 15px;
    text-align: center;
    background: #ffffff;
    border-radius: 10px;
}

.short-blog-posts__content-link {
    font-size: 14px;
    line-height: 16px;
    font-weight: 500;
}

.short-blog-post:not(:last-child) {
    margin-bottom: 15px;
}

.short-blog-post__inside {
    display: flex;
    flex-direction: column;
    position: relative;
    height: 100%;
    padding: 15px;
    background-color: #ffffff;
    border-radius: 10px;
}

.short-blog-post__label {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 15px;
    right: 15px;
    height: 20px;
    padding: 0 8px;
    font-size: 12px;
    line-height: 12px;
    font-weight: 500;
    background-color: #FFC700;
    border-radius: 4px;
}

.short-blog-post__poster {
    display: none;
}

.short-blog-post__info {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.short-blog-post__title {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 18px;
    font-weight: bold;
    text-decoration: none;
    color: #000000;
}

.short-blog-post--with-label .short-blog-post__title {
    margin-right: 60px;
}

.short-blog-post__title:hover {
    text-decoration: underline;
}

.short-blog-post__author {
    display: flex;
    align-items: center;
    margin: auto 10px 0 0;
    padding-top: 10px;
    border-top: 1px solid #F6F5F6;
}

.short-blog-post__author-photo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    margin-right: 10px;
    border-radius: 50%;
    overflow: hidden;
}

.short-blog-post__author-name {
    font-size: 14px;
    line-height: 17px;
    text-decoration: none;
    color: #000000;
}

a.short-blog-post__author-name:hover {
    text-decoration: underline;
}

.short-blog-post__author-position {
    margin-top: 2px;
    font-size: 12px;
    line-height: 18px;
    color: #808080;
}

.button--offer .tooltip__content,
.tooltip--offers .tooltip__content {
    position: fixed !important;
    top: initial !important;
    left: 0 !important;
    bottom: 0 !important;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    z-index: 100;
    box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.2);
    border-radius: 10px 10px 0 0;
    webkit-animation: slidein 0.4s ease-in-out;
    -moz-animation: slidein 0.4s ease-in-out;
    -ms-animation: slidein 0.4s ease-in-out;
    -o-animation: slidein 0.4s ease-in-out;
    animation: slidein 0.4s ease-in-out;
    overflow: hidden;
}

.button--offer .tooltip__content:before,
.tooltip--offers .tooltip__content:before {
    display: none;
}

.coin__offers {
    display: flex;
    flex-direction: column;
    position: relative;
}

.coin__offer {
    display: flex !important;
    align-items: center !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    text-decoration: none !important;
    margin: 0 !important;
    padding: 15px 20px;
    text-align: left;
}

.coin__offer:before {
    display: none !important;
}

.coin__offer:hover {
    background-color: rgba(234, 235, 242, 0.5);
}

.coin__offer-poster {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.coin__offer-poster-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.coin__offer-info {
    width: calc(100% - 50px);
}

.coin__offer-title {
    display: block;
    font-size: 16px;
    line-height: 18px;
    font-weight: bold;
    text-decoration: none;
    color: #000000;
}

.coin__offer-description {
    display: block;
    margin-top: 2px;
    font-size: 14px;
    line-height: 19px;
    font-weight: initial;
    text-decoration: none;
    color: #808080;
}

.coin__offer-description > p:last-child {
    margin-bottom: 0;
}

.coin__offer-button {
    width: 100%;
    height: 36px;
    margin-top: 10px;
    font-size: 16px;
    line-height: 18px;
}

.coin__offer-button:after {
    content: "";
    display: block;
    width: 16px;
    height: 16px;
    margin: 2px 0px 0 5px;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 17 16'%3E%3Cpath fill='%23fff' stroke='%23fff' stroke-width='.3' d='M13.15 4.497v1.104a.75.75 0 0 0 1.5 0V2.6a.747.747 0 0 0-.75-.75h-3a.75.75 0 0 0 0 1.5h1.106L7.878 7.478a.81.81 0 0 0 1.146 1.145l4.126-4.126Zm.02 9.653c.834 0 1.48-.754 1.48-1.646V9.2a.75.75 0 1 0-1.5 0v3.2c0 .162-.105.25-.191.25H4.042c-.084 0-.192-.092-.192-.25V3.6c0-.162.106-.25.192-.25H7.3a.75.75 0 0 0 0-1.5H3.83c-.834 0-1.48.754-1.48 1.645v9.01c0 .89.646 1.645 1.48 1.645h9.34Z'/%3E%3C/svg%3E");
}

.coin-offers-form {
    padding: 15px 20px;
    text-align: left;
}

.coin-offers-form__row {
    position: relative;
    margin-bottom: 15px;
}

.coin-offers-form__row--flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 36px;
}

.coin-offers-form__dropdown {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 0;
    width: calc(50% - 5px);
    max-height: 259px;
    min-height: 36px;
    background: #F6F5F6;
    border-radius: 5px;
    overflow: auto;
}

.coin-offers-form__dropdown.open {
    width: 100%;
    box-shadow: 0px 0px 5px rgb(0, 0, 0, 0.2);
    z-index: 1;
}

.coin-offers-form__dropdown:first-child {
    left: 0;
}

.coin-offers-form__dropdown:last-child {
    right: 0;
}

input.coin-offers-form__search {
    order: -1;
    display: none;
    width: 100%;
    padding: 10px 5px 10px 15px;
    font-size: 14px;
    line-height: 16px;
    background-color: transparent;
    border: 0;
    border-bottom: 1px solid #ECEBEC;
    border-radius: 0;
    outline: none;
}

.coin-offers-form__dropdown.open input.coin-offers-form__search {
    display: block;
}

.coin-offers-form__dropdown-item {
    display: none;
    align-items: center;
    min-height: 36px;
    padding: 10px 5px 10px 15px;
    font-size: 14px;
    line-height: 16px;
    text-decoration: none;
    color: #000000;
}

.coin-offers-form__dropdown-item-image {
    display: block;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin: 0 10px 0 0;
}

.coin-offers-form__dropdown.open .coin-offers-form__dropdown-item {
    display: flex;
}

.coin-offers-form__dropdown-item:hover {
    text-decoration: underline;
}

.coin-offers-form__dropdown-item:not(.active) {
    border-top: 1px solid #ECEBEC;
}

.coin-offers-form__dropdown-item.active {
    order: -1;
    display: flex;
}

.coin-offers-form__dropdown-item.active:after {
    content: "";
    display: block;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin-left: auto;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url("data:image/svg+xml,%3Csvg width='8' height='8' viewBox='0 0 8 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 8L0.5359 2L7.4641 2L4 8Z' fill='%23000000'/%3E%3C/svg%3E%0A");
}

.coin-offers-form__dropdown.open .coin-offers-form__dropdown-item.active:after {
    display: none;
}

.coin-offers-form__dropdown-item > span {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.coin-offers-form__label,
.coin-offers-form__agree-label {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 16px;
    font-weight: 500;
    cursor: pointer;
}

input.coin-offers-form__field {
    width: 100%;
    font-size: 14px;
    line-height: 16px;
    background-color: #F6F5F6;
    border: 0;
}

.coin-offers-form__agree-input {
    position: absolute;
    top: 15px;
    left: 7px;
    width: 1px;
    height: 1px;
}

.coin-offers-form__agree-label {
    font-size: 12px;
    font-weight: normal;
}

.coin-offers-form__agree-label:before {
    content: "";
    display: inline-block;
    position: relative;
    width: 14px;
    height: 14px;
    margin-right: 5px;
    vertical-align: middle;
    background-color: #F6F5F6;
    border-radius: 2px;
    z-index: 1;
}

.coin-offers-form__agree-input:checked + .coin-offers-form__agree-label:before {
    background-color: #207ACD;
    -webkit-mask-image: url("/wp-content/themes/yelly/assets/images/icons/check.svg");
    mask-image: url("/wp-content/themes/yelly/assets/images/icons/check.svg");
}

input.coin-offers-form__submit {
    height: 40px;
    margin: 0 auto;
    color: #000000;
    background-color: #FFC700;
}

input.coin-offers-form__submit:Hover {
    background-color: #FFD02B;
}

.coin-offers-form__result {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 20px;
    font-size: 16px;
    line-height: 1.5;
    text-align: center;
    background-color: #ffffff;
    z-index: 1;
}

.coin-offers-form.submitted .coin-offers-form__result {
    display: flex;
}

.coin-offers-form__result p {
    font-weight: 500;
    margin-bottom: 5px;
}

.coin-offers-form__result-link {
    font-weight: normal;
}

/*** Responsive ***/

@media (min-width: 768px) {

    .short-blog-posts__content {
        flex-direction: row;
        flex-wrap: wrap;
        margin: 0 -8px;
    }

    .short-blog-post {
        width: 33.33%;
        padding: 0 8px;
        margin-bottom: 15px;
    }

    .short-blog-post:nth-last-child(1),
    .short-blog-post:nth-last-child(2) {
        width: 50%;
        margin-bottom: 0;
    }

    .short-blog-post:nth-last-child(1) .short-blog-post__inside,
    .short-blog-post:nth-last-child(2) .short-blog-post__inside {
        flex-direction: row;
        align-items: flex-start;
    }

    .short-blog-post__label {
        right: initial;
        top: 25px;
        left: 25px;
        height: 28px;
        padding: 0 10px;
        font-size: 18px;
        line-height: 18px;
        z-index: 1;
    }

    .short-blog-post__poster {
        display: block;
        flex-shrink: 0;
        width: 100%;
        margin-bottom: 10px;
        border-radius: 10px;
        overflow: hidden;
    }

    .short-blog-post:nth-last-child(1) .short-blog-post__poster,
    .short-blog-post:nth-last-child(2) .short-blog-post__poster {
        width: 134px;
        margin: 0 15px 0 0;
    }

    .short-blog-post__poster-link {
        display: block;
        position: relative;
        width: 100%;
        height: 0;
        padding-top: 62.5%;
        overflow: hidden;
    }

    .short-blog-post__poster-image {
        display: block;
        position: absolute;
        top: 50%;
        left: 50%;
        min-height: 100%;
        min-width: 100%;
        width: 100%;
        height: 100%;
        transform: translate(-50%, -50%);
        object-fit: cover;
    }

    .short-blog-post__title {
        display: -webkit-box;
        margin-right: 0 !important;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .button--offer .tooltip__content,
    .tooltip--offers .tooltip__content {
        position: absolute !important;
        top: 100% !important;
        left: initial !important;
        bottom: initial !important;
        width: initial;
        margin: 10px 0 0 0;
        padding: 0;
        border: 0;
        z-index: 100;
        border: 0;
        border-radius: 10px;
        webkit-animation: initial;
        -moz-animation: initial;
        -ms-animation: initial;
        -o-animation: initial;
        animation: initial;
    }
}

@media (min-width: 1024px) {

    .short-blog-post__title {
        font-size: 16px;
        line-height: 24px;
    }

    .short-blog-post:nth-last-child(1) .short-blog-post__poster,
    .short-blog-post:nth-last-child(2) .short-blog-post__poster {
        width: 180px;
    }

    .coin-offers-form {
        min-width: 370px;
    }
}

@media (min-width: 1280px) {

    .short-blog-posts {
        margin: 30px 0;
    }
}