div#inner-page-wrapper {
    margin: 0;
}


div#inner-page-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(../../images/custom-ip-comm-bg.png);
    background-attachment: fixed;
    background-position: center top;
    background-repeat: no-repeat;
    filter: grayscale(1);
    opacity: 0.1;
}

div#inner-page-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 12%;
    background: rgb(255,255,255);
    background: linear-gradient(0deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 50%, rgba(255,255,255,1) 100%);
}


div#inner-page-wrapper > .container {
    padding: 0;
    width: 100%;
    position: relative;
    z-index: 2;
}

p#breadcrumbs, h1.entry-title {
    display: none;
}

#content-sidebar, #content-full {
    margin: 0;
}

.breadcrumbs-wrap p, .breadcrumbs-wrap p a {
    color: #c1c1c1;
}

.breadcrumbs-wrap p {
    position: relative;
    display: inline-block;
    margin: 0 !important;
    padding: 25px 35px 25px 0;
}

.breadcrumbs-wrap p::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100vh;
    height: 100%;
    background: #000;
}

.breadcrumbs-wrap p > * {
    position: relative;
}

.breadcrumbs-wrap p span.breadcrumb_last {
    color: #fff;
}

.custom-ip-communities-feed-wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
    position: relative;
    margin: 0 -5px;
}

.custom-ip-communities-title {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 70px;
}

.title-wrap span small {
    letter-spacing: 0.087em;
    display: block;
    line-height: 1;
    font-size: 19px !important;
    text-transform: uppercase;
    font-family: var(--Poppins);
}

.title-wrap span {
    font-size: 51px;
    text-align: center;
    line-height: 1;
    font-family: 'Playfair Display';
    letter-spacing: 0.05em;
}

.title-wrap {
    position: relative;
    padding: 25px;
    margin: 35px 0;
}

.title-accent-box {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 165px;
    height: 186px;
    border: 5px solid #000;
    border-right: none;
}

.title-accent-box::before, .title-accent-box::after {
    content: '';
    position: absolute;
    height: 27px;
    width: 5px;
    background: #000;
    right: 0;
}

.title-accent-box::before {
    top: 0;
}

.title-accent-box::after {
    bottom: 0;
}

.custom-ip-communities {
    width: 100%;
    max-width: 1383px;
    margin: 0 auto;
    padding-bottom: 100px;
}

.custom-ip-communities-feed-item {
    width: calc(100% / 3);
    position: relative;
    padding: 0 5px;
    margin-bottom: 10px;
    overflow: hidden;
}

.custom-ip-communities-feed-item-photo {
    position: relative;
}

.custom-ip-communities-feed-item-photo canvas {
    display: block;
    width: 100%;
    height: auto;
}

.custom-ip-communities-feed-item-photo img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.custom-ip-communities-feed-item .overlay-elements {
    position: absolute;
    z-index: 2;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 16px;
    letter-spacing: 0.025em;
    line-height: 1.4;
    transition: all 0.3s ease-in-out;
}

.custom-ip-communities-feed-item-default {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 51.4%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    padding: 0 15px;
}

.custom-ip-communities-feed-item:hover .custom-ip-communities-feed-item-default {
    transform: translate(-50%, 100px);
}

.custom-ip-communities-feed-item-hover {
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 100%);
    width: 75%;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 15px;
    justify-content: center;
    padding: 15px;
}

.custom-ip-communities-feed-item:hover .custom-ip-communities-feed-item-hover {
    transform: translate(-50%, 0);
}

.custom-ip-communities-feed-item-hover p {
    margin: 0 !important;
    font-size: 14px;
    letter-spacing: 0.1em;
    font-family: var(--Roboto);
}

.custom-ip-communities-feed-item-hover span {
    font-size: 20px;
}

.custom-ip-communities-feed-item-hover a {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #c33430;
    width: 100%;
    max-width: 179px;
    margin: 0 auto;
    height: 53px;
    color: #fff;
    font-size: 14px;
    letter-spacing: 0.1em;
    line-height: 1.4;
    transition: all 0.3s ease-in-out;
}

.custom-ip-communities-feed-item-hover a:hover {
    background: #fff;
    color: #c33430;
}

@media only screen and (max-width: 1199px) {
    div#inner-page-wrapper::before{
        background-attachment: scroll;
    }
}

@media only screen and (max-width: 991px) {
    .custom-ip-communities-title {
        padding: 70px 15px;
    }

    .custom-ip-communities-feed-item {
        width: 100%;
        max-width: 400px;
        margin: 0 auto 10px;
    }

    .custom-ip-communities-feed-item-hover {
        width: 95%;
    }


}

@media only screen and (max-width: 480px) {
    .custom-ip-communities {
        padding: 0 15px 100px;
    }

    .title-wrap {
        padding: 25px 15px;
    }
}