/* Styles for Jesters page - mirrored from ai.css */
@media screen and (max-width: 600px) {

    .wrapper,
    .heroBox a {
        height: auto !important;
    }
}

.wrapper {
    background-color: rgb(3, 120, 124);
    /* Standard site blue theme for Jesters */
    height: 280px;
    width: 100%;
    display: flex;
    flex-direction: column;
    padding-bottom: 1rem;
}

.heroBox {
    height: 100%;
    width: 100%;
    overflow: hidden;
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.heroBox .text-decoration-none {
    position: relative;
    display: inline-block;
    height: 100%;
    width: 100%;
}

.heroBox .text-decoration-none img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8);
}

.heroBox .text-decoration-none .heroContent {
    position: absolute;
    bottom: -20px;
    left: 30px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    color: white;
    text-decoration: none;
    transform: none !important;
    pointer-events: none;
}

.heroBox a .heroContent .heroContent1 {
    font-size: 1.6rem;
    text-align: left;
    font-weight: 600 !important;
}

.afterHeroContentText {
    margin-top: auto !important;
    color: white !important;
    font-size: 1.50rem !important;
    --bs-text-opacity: 1;
    color: rgba(var(--bs-light-rgb), var(--bs-text-opacity)) !important;
    font-weight: 600 !important;
}

.afterHeroContentText a {
    color: transparent;
    font-size: 1.2rem;
    background-color: transparent;
}

.afterHeroContentText:hover a {
    color: #026d70;
    /* Standard teal hover for Jesters */
    font-size: 1rem;
    background-color: transparent;
}

.keyFeatures {
    margin-top: 1.6rem !important;
    font-size: 1.0rem !important;
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

.keyFeatures .card {
    min-width: 15%;
    background-color: #f0f9fa;
    /* Standard light blue for Jesters cards */
    width: 100% !important;
    transform-style: preserve-3d;
    transition: transform .75s cubic-bezier(.1, .2, 0, 1);
    will-change: transform;
}

.keyFeatures .card .card-header {
    background-color: rgb(3, 120, 124);
}

.keyFeatures .card:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
    border: outset 0.1rem #026d70;
    /* Standard teal border on hover */
}

.keyFeatures .card a {
    color: transparent;
    font-size: 1rem;
    background-color: transparent;
}

.keyFeatures .card:hover a {
    color: #026d70;
    font-size: 1rem;
    background-color: transparent;
}

.card-text {
    color: black !important;
}