.mobinhost-guides-grid,
.mobinhost-guides-grid * {
    box-sizing: border-box;
}

.mobinhost-guides-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    direction: rtl;
    font-family: 'Peyda';
}

.mobinhost-guide-card {
      position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 165px;
    background: #fff;
    border: 1px solid #E7E7E8;
    border-radius: 16px;
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.mobinhost-guide-card:hover {
    transform: translateY(-1px);
    border-color: #e0e3e9;
    box-shadow: 0 10px 24px rgba(26, 31, 44, .055);
}

.mobinhost-guide-card__body {
    flex: 1 1 auto;
    padding: 9px 9px 7px;
}

.mobinhost-guide-card__heading {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.mobinhost-guide-card__thumb {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 7px;
    overflow: hidden;
    background: linear-gradient(135deg, #eaf2fb 0%, #eef4fb 100%);
}

.mobinhost-guide-card__thumb img,
.mobinhost-guide-card__placeholder {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mobinhost-guide-card__placeholder {
    background: linear-gradient(135deg, #ff9b9b 0%, #f7ddea 100%);
}

.mobinhost-guide-card:nth-child(2n) .mobinhost-guide-card__placeholder {
    background: linear-gradient(135deg, #edf3fa 0%, #e5eef8 100%);
}

.mobinhost-guide-card__title {
    min-width: 0;
    margin: 0;
    font-size: 12px;
    line-height: 1.65;
    font-weight: 700;
    color: #17191f;
}

.mobinhost-guide-card__title a {
       color: #1E1F22;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
}

.mobinhost-guide-card__desc {
    margin: 14px 0px 0 0px;
    color: #404044;
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mobinhost-guide-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 31px;
    margin: 0 9px;
   border-top: 1px solid #F3F3F3;
}

.mobinhost-guide-card__stats {
       display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    color: #404044;
    white-space: nowrap;
    font-size: 12px;
    font-weight: 500;
}

.mobinhost-guide-card__dot {
    color: #404044;
    font-size: 9px;
}

.mobinhost-guide-card__more {
     display: inline-flex;
    align-items: center;
    gap: 2px;
    flex: 0 0 auto;
    color: #C93B3A;
    font-size: 9.5px;
    font-weight: 700;
    text-decoration: none;
    transition: gap .2s ease, color .2s ease;
    font-size: 16px;
}

.mobinhost-guide-card__more:hover {
    color: #ef454b;
    gap: 4px;
}

.mobinhost-guide-card__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 7px;
    height: 14px;
    line-height: 0;
    flex: 0 0 7px;
}

.mobinhost-guide-card__arrow svg {
    display: block;
    width: 7px;
    height: 14px;
}


@media (max-width: 900px) {
    .mobinhost-guides-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    html body .mobinhost-guides-grid,
    html body .mobinhost-guides-grid.mobinhost-mobile-slider-active {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        grid-template-columns: none !important;
        gap: 12px !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        padding: 0 14px 8px !important;
        margin: 0 -14px !important;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: 14px;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-x;
        scrollbar-width: none;
    }

    html body .mobinhost-guides-grid::-webkit-scrollbar,
    html body .mobinhost-guides-grid.mobinhost-mobile-slider-active::-webkit-scrollbar {
        display: none;
        width: 0;
        height: 0;
    }

    html body .mobinhost-guides-grid > .mobinhost-guide-card,
    html body .mobinhost-guides-grid.mobinhost-mobile-slider-active > .mobinhost-guide-card {
        flex: 0 0 84% !important;
        width: 84% !important;
        min-width: 84% !important;
        max-width: 84% !important;
        min-height: 124px;
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }
}
