 .t4-header .logo-img{
    width: 125px;
    padding: 10px 0;
 }
 .t4-slideshow{
    border-top: 3px solid #0E4283;
    border-bottom: 3px solid #0E4283;
 }
 .home-buttons{
    gap: 2rem;
 }
 .home-buttons a{
    width: 100%;
    color: #ffffff;
 }
 .home-buttons .wf-column{
    display: flex;
    flex-direction: row;
 }
 .home-slide-button{
    border-radius: 15px 15px 0px 0px;
    width: 100%;
    height: 75px;
    background-color: #0E4283;
    text-align: center;
    align-items: center;
    align-content: center;
    margin-top: -75px;
    font-size: 25px;
 }
 .home-slide-button a{
    color: #ffffff;
 }
 .home-buttons #light{
    background-color: #3e789c;
    border-bottom: 3px solid #0E4283;
 }
.home-slide-button,
.home-buttons #light {
    transition: height 0.2s ease, margin-top 0.2s ease, background-color 0.2s ease;
}
.home-buttons a:hover .home-slide-button {
    height: 85px;                /* +10px growth */
    margin-top: -85px;           /* matches height increase, keeps bottom anchored */
    background-color: #3e789c;   /* dark -> light */
    border-bottom: 3px solid #0E4283;
}

.home-buttons a:hover #light {
    height: 85px;
    margin-top: -85px;
    background-color: #0E4283;   /* light -> dark */
}
 .t4-footnav{
    background-color: #000000;
 }
 .t4-footer{
    border-top: none;
 }
 .t4-footnav .navbar .menu-item-title{
    color: #ffffff;
 }
 .t4-footnav p{
    color: #ffffff;
 }
 .t4-footnav .module-title{
    color: #ffffff;
 }
 .t4-footnav strong{
    font-weight: normal;
 }
 .t4-footnav a{
    color: #0E4283;
    transition-duration: 0.2 ease;
 }
 .t4-footnav a:hover{
    font-weight: bold;
 }
 .home-services{
    margin: 50px 0;
 }
 .home-services .wf-column{
    box-shadow: -4px 0 6px -4px rgba(0, 0, 0, 0.3), 4px 0 6px -4px rgba(0, 0, 0, 0.3);
    border-radius: 15px;
 }
 .home-services h3{
    text-align: center;
    background-color: #0E4283;
    color: #ffffff;
    margin: 0;
    border-radius: 15px 15px 0 0;
    padding: 10px 0;
 }
 .home-services p{
    padding: 10px;
 }
 .home-services .button{
    padding: 10px 0;
    background-color: #3e789c;
    color: #ffffff;
    border-radius: 0 0 15px 15px;
 }
.home-services{
    display: flex;
    align-items: stretch; /* forces all .wf-column children to equal height */
}

.home-services .wf-column{
    display: flex;
    flex-direction: column;
    flex: 1; /* equal width columns too, remove if you don't want this */
    transition-duration: 0.2s;
}

.home-services .button{
    margin-top: auto; /* pushes button to bottom */
    text-align: center;
    transition-duration: 0.2s;   
}
.home-services .button:hover{
    background-color: #0E4283;
}
.home-services .wf-column:hover{
    transform: scale(1.01);
}
.home-section-one {
  display: flex;
  align-items: center; /* vertically centers them; change to flex-start if you prefer top-aligned */
  gap: 20px; /* spacing between the two divs, adjust/remove as needed */
}

.home-section-one > div:first-child {
  flex: 1 1 auto; /* grows to fill remaining space */
  min-width: 0; /* prevents overflow issues with long text */
}

.home-section-one > div:last-child {
  flex: 0 0 auto; /* shrinks/stays sized to its content, won't grow */
  white-space: nowrap; /* keeps the button text/box from wrapping and shrinking oddly */
}
.home-section-one h2{
    margin: 0;
}
.t4-section-1:has(.home-section-one){
    background-color: #0E4283;
    padding: 50px 0;
    color: #ffffff;
    /*background-image: url(https://damp.identitytest.co.uk/images/backdrop-ark.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: scroll;
    background-position: 50% 50%;*/
}
.home-section-one a{
    padding: 10px;
    color: #3e789c;
    background-color: #ffffff;
    border-radius: 10px;
    font-weight: bold;
}
.home-main-content{
    margin: 50px 0;
    border-radius: 15px;
    box-shadow: -4px 0 6px -4px rgba(0, 0, 0, 0.3), 4px 0 6px -4px rgba(0, 0, 0, 0.3);
}
.home-main-content .heading{
    background-color: #3e789c;
    color: #ffffff;
    padding: 0 15px;
    border-radius: 15px 15px 0 0;
}
.home-main-content .content .wf-column:first-of-type{
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.t4-module{
    margin: 0;
}
.t4-masthead{
    background-color: #0E4283;
    padding: 15px 0;
}
.t4-masthead h1{
    font-size: 24px;
    line-height: 24px;
    margin: 0;
    color: #ffffff;
    font-family: roboto;
}
.PIV-content{
    margin: 50px 0;
}
.PIV-content .content{
    padding: 15px;
}
.PIV-content .heading{
    background-color: #3e789c;
    color: #ffffff;
    padding: 0 15px;
    border-radius: 15px 15px 0 0;
}
.PIV-content .boxes{
    border-radius: 15px;
    box-shadow: -4px 0 6px -4px rgba(0, 0, 0, 0.3), 4px 0 6px -4px rgba(0, 0, 0, 0.3);
}
.PIV-content .boxes .content .wf-column:first-of-type{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.PIV-main-content .content .wf-column{
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.PIV-main-content .heading{
    background-color: #3e789c;
    color: #ffffff;
    padding: 0 15px;
    border-radius: 15px 15px 0 0;
}
.PIV-main-content{
    margin: 50px 0;
    border-radius: 15px;
    box-shadow: -4px 0 6px -4px rgba(0, 0, 0, 0.3), 4px 0 6px -4px rgba(0, 0, 0, 0.3);
}





.damp-page-content{
    margin: 50px 0;
}
.damp-page-content .content{
    padding: 15px;
}
.damp-page-content .heading{
    background-color: #3e789c;
    color: #ffffff;
    padding: 0 15px;
    border-radius: 15px 15px 0 0;
}
.damp-page-content .boxes{
    border-radius: 15px;
    box-shadow: -4px 0 6px -4px rgba(0, 0, 0, 0.3), 4px 0 6px -4px rgba(0, 0, 0, 0.3);
}
.damp-page-content .boxes .content .wf-column:first-of-type{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.damp-page-content .content .wf-column{
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.damp-page-content .heading{
    background-color: #3e789c;
    color: #ffffff;
    padding: 0 15px;
    border-radius: 15px 15px 0 0;
}
.damp-page-content{
    margin: 50px 0;
    border-radius: 15px;
    box-shadow: -4px 0 6px -4px rgba(0, 0, 0, 0.3), 4px 0 6px -4px rgba(0, 0, 0, 0.3);
}
.contactFormBox{
    padding: 25px;
    border-radius: 15px;
    border: 1px solid #0E4283;
    box-shadow: -4px 0 6px -4px rgba(0, 0, 0, 0.3), 4px 0 6px -4px rgba(0, 0, 0, 0.3);
}
.the-form{
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.form-control{
    max-width: none;
}
.rsform-submit-button{
    width: 100%;
    background-color: #0E4283 !important;
    border: none !important;
}
.form-label{
    color: #0E4283;
}
.blog-items .item, .blog-item{
    padding-top: 0;
    border-radius: 15px;
    border: 1px solid #0E4283;
    margin-bottom: 2rem;
    box-shadow: -4px 0 6px -4px rgba(0, 0, 0, 0.3), 4px 0 6px -4px rgba(0, 0, 0, 0.3);

}
.blog-items .item img, .blog-item img{
    border-radius: 15px 15px 0 0;
}
.blog-items .item .system-unpublished, .blog-item .system-unpublished{
    padding: 0 10px;
}
.t4-header .menu-item-title{
    text-transform: uppercase;
}
.navbar-toggler{
    display: none;
}
@media screen and (max-width: 768px) {
.home-slide-button {
    margin-top: 10px;
}
.home-buttons {
  gap: 0;
}
}