/*
 * D7C-13B_HOME_GUIDE_CSS
 * Home · Guía Segurillanta
 */

.sg-home-guide {
    background: #f6f6f6;
    border-top: 1px solid #ededed;
    padding: 54px 0 58px;
}

.sg-home-guide-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 28px;
}

.sg-home-guide-heading {
    max-width: 720px;
}

.sg-home-guide-eyebrow {
    color: #d71920;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    line-height: 1.2;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.sg-home-guide-title {
    color: #171717;
    font-size: 32px;
    font-weight: 900;
    letter-spacing: -0.5px;
    line-height: 1.1;
    margin: 0 0 9px;
}

.sg-home-guide-intro {
    color: #656565;
    font-size: 14px;
    line-height: 1.65;
    margin: 0;
    max-width: 620px;
}

.sg-home-guide-all {
    align-items: center;
    background: #171717;
    border: 1px solid #171717;
    border-radius: 4px;
    color: #fff !important;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 12px;
    font-weight: 700;
    gap: 10px;
    justify-content: center;
    letter-spacing: .3px;
    min-height: 42px;
    padding: 10px 18px;
    transition:
        background .2s ease,
        border-color .2s ease;
}

.sg-home-guide-all:hover,
.sg-home-guide-all:focus {
    background: #d71920;
    border-color: #d71920;
    color: #fff !important;
}

.sg-home-guide-grid {
    display: grid;
    gap: 22px;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
}

.sg-home-guide-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 7px;
    box-shadow:
        0 8px 24px rgba(0, 0, 0, .045);
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    transition:
        box-shadow .2s ease,
        transform .2s ease;
}

.sg-home-guide-card:hover {
    box-shadow:
        0 14px 34px rgba(0, 0, 0, .085);
    transform: translateY(-3px);
}

.sg-home-guide-media {
    aspect-ratio: 2 / 1;
    background: #e8e8e8;
    display: block;
    overflow: hidden;
}

.sg-home-guide-media img {
    display: block;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
    width: 100%;
}

.sg-home-guide-card:hover
.sg-home-guide-media img {
    transform: scale(1.025);
}

.sg-home-guide-card-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 19px 20px 20px;
}

.sg-home-guide-kicker {
    color: #d71920;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .9px;
    line-height: 1.3;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.sg-home-guide-card-title {
    color: #171717;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.32;
    margin: 0 0 10px;
}

.sg-home-guide-card-title a {
    color: #171717;
}

.sg-home-guide-card-title a:hover,
.sg-home-guide-card-title a:focus {
    color: #d71920;
}

.sg-home-guide-excerpt {
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    color: #707070;
    display: -webkit-box;
    font-size: 13px;
    line-height: 1.55;
    margin: 0 0 16px;
    overflow: hidden;
}

.sg-home-guide-read {
    align-items: center;
    color: #171717 !important;
    display: inline-flex;
    font-size: 11px;
    font-weight: 800;
    gap: 7px;
    letter-spacing: .4px;
    margin-top: auto;
    text-transform: uppercase;
}

.sg-home-guide-read span,
.sg-home-guide-all span {
    font-size: 16px;
    line-height: 1;
    transition: transform .2s ease;
}

.sg-home-guide-read:hover {
    color: #d71920 !important;
}

.sg-home-guide-read:hover span,
.sg-home-guide-all:hover span {
    transform: translateX(3px);
}

@media (max-width: 991px) {

    .sg-home-guide {
        padding: 46px 0 50px;
    }

    .sg-home-guide-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 767px) {

    .sg-home-guide {
        padding: 38px 0 42px;
    }

    .sg-home-guide-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
        margin-bottom: 22px;
    }

    .sg-home-guide-title {
        font-size: 27px;
    }

    .sg-home-guide-all {
        width: 100%;
    }

    .sg-home-guide-grid {
        grid-template-columns: 1fr;
        gap: 17px;
    }

    .sg-home-guide-card-body {
        padding: 17px 18px 19px;
    }

    .sg-home-guide-card-title {
        font-size: 17px;
    }

    .sg-home-guide-excerpt {
        -webkit-line-clamp: 2;
    }

}

@media (prefers-reduced-motion: reduce) {

    .sg-home-guide-card,
    .sg-home-guide-media img,
    .sg-home-guide-read span,
    .sg-home-guide-all span {
        transition: none;
    }

    .sg-home-guide-card:hover,
    .sg-home-guide-card:hover
    .sg-home-guide-media img {
        transform: none;
    }

}
