.lhse-home-sections {
    --lhse-columns: 4;
    --lhse-gap: 20px;
    position: relative;
    width: 100%;
    padding: 10px 0;
    background-repeat: repeat;
    background-size: auto;
}

.lhse-rtl { direction: rtl; }

.lhse-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 34px;
    line-height: 1.2;
}

.lhse-align-center { justify-content: center; text-align: center; }
.lhse-align-right { justify-content: flex-start; text-align: right; }
.lhse-align-left { justify-content: flex-end; text-align: left; }

.lhse-heading-title {
    font-size: 19px;
    font-weight: 700;
    letter-spacing: .2px;
}

.lhse-heading--decorated:before,
.lhse-heading--decorated:after {
    content: "";
    display: inline-block;
    width: 100px;
    height: 18px;
    max-width: 28vw;
    background-image: repeating-linear-gradient(110deg, #164d4f 0 12px, transparent 12px 22px);
    background-repeat: repeat-x;
    background-size: auto 100%;
}

.lhse-cards-grid {
    display: grid;
    grid-template-columns: repeat(var(--lhse-columns), minmax(0, 1fr));
    gap: var(--lhse-gap, 20px);
    align-items: stretch;
}

.lhse-card,
.lhse-card:hover,
.lhse-card:focus,
.lhse-card:visited {
    color: #ffffff !important;
}

.lhse-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    overflow: hidden;
    isolation: isolate;
    text-decoration: none !important;
    background: #123;
    color: #fff;
    transform: translateZ(0);
    transition: transform .28s ease, box-shadow .28s ease, filter .28s ease;
}

.lhse-card:before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.45) 55%, rgba(0,0,0,.72) 100%);
    transition: opacity .28s ease;
}

.lhse-card:after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    z-index: 2;
    height: 52%;
    background: linear-gradient(0deg, rgba(15,76,75,.45) 0%, rgba(15,76,75,0) 100%);
    pointer-events: none;
}

.lhse-card-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: transform .45s ease, filter .35s ease;
}

.lhse-card-content {
    position: relative;
    z-index: 3;
    width: 100%;
    padding: 30px 22px 44px;
    text-align: center;
    text-shadow: 0 2px 10px rgba(0,0,0,.35);
}

.lhse-card-title {
    margin: 0 0 10px;
    color: #ffffff !important;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.25;
}

.lhse-card-subtitle {
    margin: 0;
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    opacity: .95;
}

.lhse-card-plus {
    position: absolute;
    z-index: 4;
    right: 18px;
    bottom: 18px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #e6a512;
    background: rgba(20, 33, 39, .86);
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
    transition: transform .25s ease, background .25s ease;
}

.lhse-card-shine {
    position: absolute;
    z-index: 5;
    top: 0;
    left: -75%;
    width: 55%;
    height: 100%;
    transform: skewX(-22deg);
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.22), transparent);
    opacity: 0;
    pointer-events: none;
}

.lhse-card:hover,
.lhse-card:focus-visible {
    transform: translateY(-5px);
    filter: saturate(1.06);
}

.lhse-card:hover .lhse-card-image,
.lhse-card:focus-visible .lhse-card-image {
    transform: scale(1.08);
    filter: contrast(1.04);
}

.lhse-card:hover .lhse-card-plus,
.lhse-card:focus-visible .lhse-card-plus {
    transform: rotate(90deg) scale(1.08);
    background: rgba(20, 33, 39, .96);
}

.lhse-card:hover .lhse-card-shine,
.lhse-card:focus-visible .lhse-card-shine {
    opacity: 1;
    animation: lhse-shine .75s ease forwards;
}

.lhse-rendered-template {
    margin: 24px 0;
}

@keyframes lhse-shine {
    from { left: -75%; }
    to { left: 125%; }
}

@media (max-width: 1024px) {
    .lhse-home-sections { --lhse-columns: 2; }
    .lhse-card-title { font-size: 24px; }
}

@media (max-width: 767px) {
    .lhse-home-sections { --lhse-columns: 1; }
    .lhse-heading--decorated:before,
    .lhse-heading--decorated:after { width: 56px; }
    .lhse-card { min-height: 230px; }
    .lhse-card-title { font-size: 23px; }
    .lhse-card-subtitle { font-size: 15px; }
}
