body {
    background: #f5f5f5 !important;
}

.guides-header {
    background: linear-gradient(90deg, #61953A, #c8da2b);
    padding: 60px 20px;
    color: #fff;
    text-align: center;
    border-radius: 10px;
    margin-bottom: 40px;
}

.guides-header h1 {
    color: #fff;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.guides-header p {
    color: #fff;
    margin-bottom: 0;
    font-size: 1.08rem;
}

.guide-card-col {
    margin-top: 1.5rem;
}

.guide-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    transition: transform .2s ease, box-shadow .2s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.guide-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.10);
}

.guide-card-image-wrap {
    display: block;
    width: 100%;
    height: 220px;
    background: #e9ecef;
    overflow: hidden;
    flex-shrink: 0;
}

.guide-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.guide-card-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.guide-card-title {
    margin-bottom: 14px;
    font-size: 1.8rem;
    line-height: 1.3;
    font-weight: 400;
    min-height: 4.7rem;
    overflow: hidden;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.guide-card-title a {
    color: #61953A;
    text-decoration: none;
}

.guide-card-title a:hover {
    color: #557f33;
    text-decoration: none;
}

.guide-card-desc {
    color: #6c757d;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
    min-height: 5.2rem;
    overflow: hidden;

    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.guide-btn {
    background: linear-gradient(90deg, #61953A, #c8da2b);
    border: none;
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    transition: opacity .2s;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
}

.guide-btn:hover {
    opacity: 0.9;
    color: #fff !important;
    text-decoration: none !important;
}

.guides-pagination {
    margin-top: 30px;
}

@media (max-width: 576px) {
    .container.guides-container {
        padding-left: 22px;
        padding-right: 22px;
    }

    .guides-header {
        padding: 35px 20px !important;
        margin-bottom: 28px;
    }

    .guides-header h1 {
        font-size: 26px !important;
        line-height: 1.3;
    }

    .guides-header p {
        font-size: 15px !important;
    }

    .guide-card-title {
        font-size: 1.45rem;
        min-height: 3.8rem;
    }

    .guide-card-desc {
        min-height: 4.8rem;
    }

    .guide-card-image-wrap {
        height: 200px;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .guides-container {
        padding-top: 65px !important;
        margin-top: 65px !important;
    }
}