/*
Theme Name:         Liverpool Shopping Park - Updated
Theme URI:          http://roots.io/starter-theme/
Description:        Liverpool Shopping Park theme with the September 2026 security and asset updates. Based on Roots.
Version:            7.0.7
Author:             Roots
Author URI:         http://roots.io/

License:            MIT License
License URI:        http://opensource.org/licenses/MIT
*/

/* Layout rules previously stored in Appearance > Customise > Additional CSS
   for the original theme. Keep these with the renamed theme. */
.lsp-feature > a {
    max-height: 260px !important;
}
.home-lsp-features {
    display: flex;
    flex-wrap: wrap;
}
.home-lsp-features > .lsp-feature > a {
    height: 100%;
}
.home-lsp-features > .lsp-feature > a > img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.tab-content > #home.tab-pane div > .hover img {
    width: 250px;
    height: 250px;
    object-fit: contain;
}
@media only screen and (max-width: 991px) {
    .tab-content > #home.tab-pane div.col-md-3 {
        width: 33.3%;
        float: left;
    }
}
@media only screen and (max-width: 568px) {
    .tab-content > #home.tab-pane div.col-md-3 {
        width: 50%;
    }
    .tab-content > #home.tab-pane div > .hover img {
        height: 200px;
    }
}
@media only screen and (max-width: 430px) {
    .tab-content > #home.tab-pane div.col-md-3 {
        width: 100%;
    }
}
.n2-section-smartslider[data-ssid="2"] {
    width: 100%;
    max-width: 1600px;
    margin-inline: auto;
}

/* What’s On archive: keep cards in rows with an even image crop and caption. */
.whatson-grid {
    display: flex;
    flex-wrap: wrap;
}
.whatson-grid > .lsp-feature {
    float: none;
    width: 33.33333333%;
}
.whatson-grid > .lsp-feature > a {
    display: block;
    height: 260px;
    max-height: none !important;
}
.whatson-grid > .lsp-feature > a > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.whatson-grid .whatson-card-caption {
    position: absolute;
    z-index: 12;
    right: 20px;
    bottom: 20px;
    left: 20px;
    color: #fff;
    text-shadow: 2px 5px 15px #000;
}
.whatson-grid .whatson-card-caption h5,
.whatson-grid .whatson-card-caption span {
    position: static;
    display: block;
    margin: 0;
    padding: 0;
    color: inherit;
    opacity: 1;
    visibility: visible;
    text-shadow: inherit;
}
.whatson-grid .whatson-card-caption h5 {
    margin-bottom: 5px;
}
.whatson-grid .whatson-card-caption span {
    font-size: 18px;
    line-height: 1.35;
}
.whatson-grid > .lsp-feature > a:hover .whatson-card-caption h5,
.whatson-grid > .lsp-feature > a:hover .whatson-card-caption span {
    bottom: auto;
}
@media (max-width: 991px) {
    .whatson-grid > .lsp-feature {
        width: 50%;
    }
}
@media (max-width: 767px) {
    .whatson-grid > .lsp-feature {
        width: 100%;
    }
}
