.tips-showcase {
    position: relative;
    overflow: hidden;
    background: #f7f8fa;
}

.tips-showcase::before {
    position: absolute;
    top: -8rem;
    right: -8rem;
    width: 22rem;
    height: 22rem;
    border: 1px solid rgba(236, 92, 32, .12);
    border-radius: 50%;
    content: "";
}

.tips-heading,
.tips-list {
    position: relative;
    z-index: 1;
}

.tips-heading {
    max-width: 680px;
    margin-bottom: 1rem;
}

.tips-heading > span,
.tips-card-category {
    display: block;
    color: #EC5C20;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.tips-heading > span {
    margin-bottom: .65rem;
}

.tips-heading .title-l {
    margin-bottom: .7rem;
    color: #022B45;
}

.tips-heading p {
    max-width: 570px;
    margin: 0;
    color: #64717b;
    line-height: 1.7;
}

.tips-list {
    align-items: stretch;
}

.tips-card-col {
    display: flex;
}

.tips-card {
    display: flex;
    width: 100%;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(2, 43, 69, .08);
    border-radius: 1.25rem !important;
    background: #fff;
    box-shadow: 0 .8rem 2rem rgba(2, 43, 69, .06);
    transition: transform .35s ease, box-shadow .35s ease;
}

.tips-card:hover {
    box-shadow: 0 1.4rem 2.5rem rgba(2, 43, 69, .14);
    transform: translateY(-.5rem);
}

.tips-card-media {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 1.45;
    background: #022B45;
}

.tips-card-media .card-img-top {
    width: 100%;
    height: 100%;
    border-radius: 0 !important;
    object-fit: cover;
    transition: transform .6s ease;
}

.tips-card:hover .tips-card-media .card-img-top {
    transform: scale(1.07);
}

.tips-card-overlay {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    display: grid;
    width: 2.7rem;
    height: 2.7rem;
    place-items: center;
    color: #022B45;
    border-radius: 50%;
    background: #EC5C20;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .2);
    opacity: 0;
    transform: translateY(.5rem);
    transition: opacity .35s ease, transform .35s ease;
}

.tips-card:hover .tips-card-overlay {
    opacity: 1;
    transform: translateY(0);
}

.tips-card-body {
    display: flex;
    min-height: 13rem;
    flex: 1;
    flex-direction: column;
    padding: 1.25rem 1.35rem 1.35rem;
}

.tips-card-category {
    margin-bottom: .55rem;
}

.tips-card .card-title {
    margin-bottom: .55rem;
    font-size: 1.15rem;
    line-height: 1.3;
}

.tips-card .card-title a {
    color: #022B45;
    text-decoration: none;
}

.tips-card .card-title a:hover {
    color: #EC5C20;
}

.tips-card .card-text {
    flex-grow: 1;
    margin-bottom: 1.2rem;
    color: #64717b;
    font-size: .85rem;
    line-height: 1.65;
}

.tips-card-link {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-top: auto;
    color: #022B45;
    font-size: .75rem;
    font-weight: 700;
    text-decoration: none;
}

.tips-card-link:hover {
    color: #EC5C20;
}

@media (max-width: 575px) {
    .tips-card-body {
        min-height: 12rem;
        padding: 1rem;
    }

    .tips-card .card-title {
        font-size: .95rem;
    }

    .tips-card .card-text {
        font-size: .75rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tips-card,
    .tips-card-media .card-img-top,
    .tips-card-overlay {
        transition: none;
    }
}
