.bgwhite{
    background: #fff;
}
.blog-section .entry-details p{
    color: #bdbdbd;
}
.com-grid{
    border:1px solid #ccc;
    padding:1rem;
    transform-origin: top center;
    transition: all 0.3s ease-in-out;
    will-change: transform;
}
.com-img{
    aspect-ratio: 16 / 9;
    width: 100%;
    overflow: hidden;
}
.com-grid:hover {
    background: #5d4b3f;
    transform: scaleY(1.05);
    box-shadow: 4px 4px 50px rgba(0, 0, 0, 0.8);
}
.com-grid:hover::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 4px;
    background-color: #cc2127;
    transform-origin: bottom center;
    transition: transform 0.5s ease-in-out;
}
.com-grid:hover .entry-details a,.com-grid:hover .entry-details p{
    color:#fff;
}

.no-margin-x{
    margin-left: 0;
    margin-right: 0;
}
.firstimg {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    position: relative;
}
.firstimg .imgbox {
    height: 100%;
}
.firstimg .imgbox img, .firstimg .imgbox video {
    max-width: 100%;
    width: auto;
    height: 100%;
    object-fit: cover;
}
.firstimg .rightcolor{
    background: rgb(221, 214, 206);
    height: 100%;
    display: flex;
    align-items: center;
}
.firstimg .rightcolor .img-container{
    padding:1rem;
    width: 70%;
}
.firstimg .rightcolor .img-border{
    border: 1px solid var(--primary-color);
    position:absolute;
    width: 100%;
    left:-30%;
    aspect-ratio: 4 / 3;
}
.no-padding {
    padding: 0 !important;
}
.no-padding-left{
    padding-left: 0 !important;
}
.no-padding-right{
    padding-right: 0 !important;
}
.imgcenterlist .img-grid {
    margin:20px 0;
    width: calc(50%);
    float: left;
}
.img-grid div img,.img-grid div video{
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center top;
}
.pr-1{
    padding-right: 1rem !important;
}
.pl-1{
    padding-left: 1rem !important;
}
.mt-2{
    margin-top: 2rem;
}
.videobox video,.videobox img{
    width: 100%;
}
.imgrow {
    width: 150%;
    overflow: hidden;
    margin-left: -160px;
    display: flex;
}
.imgrow img,.imgrow video{
    flex-shrink: 0;
    width: 320px;
    height: 310px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    float: left;
}
@media (max-width: 999px) {
    .imgcenterlist .img-grid {
        width: 100%;
        float: left;
    }
    .pr-1{
        padding-right: 0 !important;
    }
    .pl-1{
        padding-left: 0 !important;
    }
    .imgrow {
        overflow-x:auto;
    }
}
@media (max-width: 999px) {
    .firstimg .rightcolor .img-border{
        display: none;
    }
}

.show-section {
    margin: 60px auto;
}
.show-section .container {
    background: #dfd8d0;
    justify-content: flex-start;
    padding: 0;
}
.show-section .container  .img-holder {
    max-height: 500px;
    width: 70%;
    aspect-ratio:16 / 9;
}
.show-section .container  .img-holder img {
    width: 100%;
    max-height: 100%;
}
.show-section .container  .img-text {
    position: relative;
    width: 30%;
}
.show-section .container  .img-text div {
    position: absolute;
    border: 1px solid var(--primary-color);
    top: 50%;
    transform: translateY(-50%);
    left: -10%;
    padding-left: 13%;
    padding-right: 30px;
    margin-right: 30px;
    min-height: 200px;
}
.show-section .container  .img-text div h3 {
    font-size: 1.2rem;
}
.show-section .container  .img-text div p {
    color: #777371;
    line-height: 2rem;
}
@media (max-width: 991px) {
    .show-section .container {
        flex-wrap: wrap;
    }
    .show-section .container  .img-holder {
        width: 100%;
    }
    .show-section .container  .img-text {
        position: static;
        width: 100%;
        margin-right: 0;
    }
    .show-section .container  .img-text div {
        position: static;
        transform: translateY(0);
        border: 1px solid var(--primary-color);
        padding-left: 30px;
        padding-right: 30px;
        margin: 30px;
    }

}
.mb-20{
    margin-bottom: 20px !important;
}
.mt-20{
    margin-top: 20px !important;
}