/* Landing page */
.lp-logo img {
    padding: 20px 30px;
    background: var(--wp--preset--color--custom-primary);
}

.lp-text {
    max-width: clamp(43.75rem, 23.087rem + 40.816vw, 56.25rem);
}

.lp-contact {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #ffffff;
    font-size: clamp(0.875rem, 0.731rem + 0.638vw, 1.25rem);
    font-weight: bold;
}

.lp-contact a {
    color: #ffffff;
    text-decoration: none;
}

/* Seperator - Short */
.short-seperator {
    max-width: clamp(3.125rem, 1.449rem + 7.447vw, 7.5rem);
}

.short-seperator.wp-block-separator {
    opacity: 1;
    border-top-width: 5px;
}

/* Flip Box */
.flipbox {
    height: 400px;
    padding: 5px;
    perspective: 1000px;
    cursor: pointer;
}

.flipbox_inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.front,
.back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    padding: 15px;
}

.front {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover !important;
    justify-content: flex-start;
}

.back {
    background-color: #2d4059;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.left:hover .flipbox_inner {
    transform: rotateY(180deg);
}

.left:hover .flip-front-title {
    display: none !important;
}

.right:hover .flipbox_inner {
    transform: rotateY(-180deg);
}

.up:hover .flipbox_inner {
    transform: rotateX(180deg);
}

.down:hover .flipbox_inner {
    transform: rotateX(-180deg);
}

.left .flipbox_inner .back,
.right .flipbox_inner .back {
    transform: rotateY(180deg);
}

.up .flipbox_inner .back,
.down .flipbox_inner .back {
    transform: rotateX(180deg);
}

.wp-block-cover:first-child() {
    justify-content: start !important;
    align-items: baseline !important;
}

.flip-box-container {
    display: grid !important;
    gap: 1.125rem;
    /* Adjust spacing between flipboxes */
    grid-template-columns: repeat(1, 1fr);
    /* Mobile default */
}

@media (min-width: 768px) {
    .flip-box-container {
        grid-template-columns: repeat(2, 1fr);
        /* Tablet */
    }
}

@media (min-width: 1160px) {
    .flip-box-container {
        grid-template-columns: repeat(4, 1fr);
        /* Desktop */
    }
}


/* Common Classes */
.short-width-text {
    max-width: clamp(43.75rem, 23.087rem + 40.816vw, 56.25rem);
}

.fluid-img img {
    height: clamp(11.75rem, 7.872rem + 17.234vw, 21.875rem) !important;
}

@media (max-width: 781px) {
    .fluid-img img {
        width: 100% !important;
        object-fit: cover;
    }
}

.features {
    gap: 2rem;
    grid-template-columns: repeat(1, 1fr);
}

.features img {
    height: 80px;
    width: auto;
    margin-left: 2rem;
}

@media (min-width: 960px) {
    .features {
        grid-template-columns: repeat(2, 1fr);
    }

    .features img {
        height: 100%;
        width: 100%;
        margin-left: 0;
    }
}

.absolute-image-container {
    position: relative;
}

.absolute-image-container p {
    position: relative;
}

.absolute-image {
    position: absolute;
    bottom: -15px;
    right: 0;
    z-index: 2;
    opacity: 0.37;
}

.z-index-10 {
    z-index: 10 !important;
}

.cp-contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 30px;
}

.cp-contact-details__item {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.cp-contact-details__item img {
    width: 35px;
}

.cp-contact-details__item a {
    text-decoration: none;
    font-size: 1rem;
    color: var(--wp--preset--color--custom-text);
    font-weight: bold;
}

.cp-contact-details__item a:hover {
    color: var(--wp--preset--color--custom-secondary);
}