.post {
    position: relative;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(81, 95, 113, 0.2);
}

.post:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.post .title {
    position: relative;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    font-size: 14px;
    line-height: 1.18;
    color: #fff;
    margin-bottom: 15px;
    padding-left: 56px;
    font-family: "trendabold", sans-serif;
}

.post .title::before {
    content: "";
    position: absolute;
    left: -30px;
    top: 2px;
    background: url("/wp-content/themes/wh/img/title-decor-white-small.png") 0 0 no-repeat;
    background-size: contain;
    height: 11px;
    width: 50px;
}

.post time {
    text-transform: uppercase;
    margin-bottom: 10px;
    font-size: 10px;
    letter-spacing: 0.5px;
    color: #fff;
    display: block;
    font-family: "trendabold", sans-serif;
}

@media (min-width: 1440px) {
    .post time {
        font-size: 13px;
    }
}

.post h6,
.post .h6 {
    font-family: "trendasemibold", sans-serif;
    font-size: 18px;
    line-height: 1.3;
    color: #fff;
    margin: 0;
}

.post h6 a,
.post .h6 a {
    color: #fff;
    text-decoration: none;
}

@media (min-width: 768px) {
    .post h6,
    .post .h6 {
        font-size: 20px;
    }
}

@media (min-width: 1024px) {
    .post h6,
    .post .h6 {
        font-size: 22px;
    }
}

.post-inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    flex: 1;
    position: relative;
    z-index: 3;
    padding: 20px 30px;
    min-height: 200px;
}

@media (min-width: 1024px) {
    .post-inner {
        padding: 30px 30px 25px;
        min-height: 250px;
    }
}

@media (min-width: 1440px) {
    .post-inner {
        padding: 40px 30px 30px;
        min-height: 300px;
    }
    
    .post .title {
        font-size: 16px;
    }
    
    .post .title::before {
        left: -30px;
    }
}

.post .info {
    width: 100%;
}

.post > a {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    text-decoration: none;
}

.post .image {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    transition: transform 0.8s ease;
    z-index: 1;
    overflow: hidden;
}

.post .image img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.post::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 2;
    transition: background 0.8s ease;
}

.no-touch .post:hover::before,
.post:hover::before {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.8) 100%);
}

.no-touch .post > a:hover + .image img,
.post > a:hover + .image img,
.no-touch .post:hover .image img,
.post:hover .image img {
    transform: scale(1.1);
}

.posts-grid {
    margin-bottom: -20px;
}

@media (min-width: 568px) {
    .posts-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        margin: 0 -10px -20px;
    }
}

@media (min-width: 1024px) {
    .posts-grid {
        margin-bottom: -50px;
    }
}

@media (min-width: 1800px) {
    .posts-grid {
        margin-bottom: -80px;
    }
}

.posts-grid .post {
    display: flex;
    flex-direction: column;
    position: relative;
    margin-bottom: 30px;
    overflow: hidden;
    min-height: 300px;
    border-bottom: none;
    padding-bottom: 0;
}

@media (min-width: 568px) {
    .posts-grid .post {
        width: calc(50% - 20px);
        margin: 0 10px 30px;
    }
}

@media (min-width: 1024px) {
    .posts-grid .post {
        width: calc(33.33% - 20px);
        margin: 0 10px 30px;
    }
}

@media (min-width: 1200px) {
    .posts-grid .post {
        min-height: 360px;
    }
}

@media (min-width: 1440px) {
    .posts-grid .post {
        min-height: 400px;
    }
}

@media (min-width: 1800px) {
    .posts-grid .post {
        min-height: 600px;
        margin-bottom: 30px;
    }
}

.team-list {
    position: relative;
    z-index: 20;
    overflow: hidden;
    margin-bottom: -35px;
}

@media (min-width: 768px) {
    .team-list {
        display: flex;
        flex-wrap: wrap;
        margin-left: -20px;
    }
}

.team-list .item {
    margin-bottom: 35px;
}

@media (min-width: 768px) {
    .team-list .item {
        width: calc(50% - 20px);
        margin: 0 0 35px 20px;
    }
}

@media (min-width: 1024px) {
    .team-list .item {
        width: calc(33.333% - 20px);
    }
}

@media (min-width: 1200px) {
    .team-list .item {
        width: calc(25% - 20px);
    }
}

.team-list .photo-holder {
    position: relative;
    z-index: 20;
    overflow: hidden;
    height: 330px;
}

@media (min-width: 1200px) {
    .team-list .photo-holder {
        height: 370px;
    }
}

@media (min-width: 1440px) {
    .team-list .photo-holder {
        height: 410px;
    }
}

@media (min-width: 1800px) {
    .team-list .photo-holder {
        height: 480px;
    }
}

.team-list .photo-holder img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.75s ease-in-out;
}

.no-touch .team-list .photo-holder:hover img,
.team-list .photo-holder:hover img {
    transform: scale(1.05);
}

.team-list .add-info {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    padding: 24px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    font-size: 18px;
    line-height: 142%;
    color: #fff;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    pointer-events: none;
}

@media (min-width: 1800px) {
    .team-list .add-info {
        font-size: 22px;
    }
}

.team-list .add-info p {
    margin-bottom: 0;
    display: block;
    transition: opacity 0.5s ease-in-out;
}

.team-list .add-info p:after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    z-index: -1;
    background: linear-gradient(1deg, #000 0.66%, rgba(0, 0, 0, 0.5) 24.15%, rgba(0, 0, 0, 0) 99.8%);
}

.team-list .add-info p + p {
    margin-top: 101px;
}

.team-list .add-info p + p:after {
    display: none;
}

.no-touch .team-list .photo-holder:hover .add-info,
.team-list .photo-holder:hover .add-info {
    opacity: 1;
}


.team-list h6,
.team-list .h6 {
    padding-top: 25px;
    text-transform: uppercase;
    transition: color 0.5s ease-in-out;
    font-size: 18px;
	    font-family: "trendasemibold", sans-serif!important;
		

	
}

@media (min-width: 1440px) {
    .team-list h6,
    .team-list .h6 {
        padding-top: 35px;
        font-size: 16px;
    }
}

.no-touch .team-list .photo-holder:hover + h6,
.no-touch .team-list .photo-holder:hover + .h6,
.team-list .photo-holder:hover + h6,
.team-list .photo-holder:hover + .h6 {
    color: #DC1F34;
}

.video-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 100px 20px 20px;
    box-sizing: border-box;
}

@media (min-width: 783px) {
    .admin-bar .video-modal-overlay {
        padding-top: 132px;
    }
}

@media (max-width: 782px) {
    .admin-bar .video-modal-overlay {
        padding-top: 146px;
    }
}

body.video-modal-open {
    overflow: hidden;
}

.video-modal-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    padding: 10px;
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
    z-index: 10000;
    font-family: Arial, sans-serif;
    font-weight: normal;
}

.video-modal-close:hover {
    opacity: 0.7;
}

.video-modal-content {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background-color: #000;
    border-radius: 4px;
}

.video-modal-iframe,
.video-modal-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-modal-video {
    object-fit: contain;
}

@media (max-width: 768px) {
    .video-modal-overlay {
        padding: 70px 15px 15px;
    }
    
    .video-modal-container {
        width: 100%;
    }
    
    .video-modal-close {
        top: -50px;
        font-size: 20px;
        padding: 8px;
    }
    
    .video-modal-content {
        border-radius: 0;
    }
}

@media (max-width: 480px) {
    .video-modal-overlay {
        padding: 60px 10px 10px;
    }
    
    .video-modal-close {
        top: -45px;
        font-size: 18px;
        padding: 6px;
    }
}

/* Simple Popup Modal Styles */
.popup-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9998;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 50px 20px;
    overflow-y: auto;
}

body.popup-modal-open {
    overflow: hidden;
}

.popup-modal-container {
    position: relative;
    width: 100%;
    max-width: 750px;
    background-color: #fff;
    padding: 50px;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    margin: auto;
}

.popup-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: #333;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    padding: 5px 10px;
    width: auto;
    height: auto;
    font-family: Arial, sans-serif;
    font-weight: normal;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.popup-modal-close:hover {
    opacity: 0.7;
}

.popup-modal-content {
    position: relative;
    width: 100%;
}

.popup-modal-content * {
    max-width: 100%;
}

.popup-modal-content img {
    height: auto;
}

@media (max-width: 768px) {
    .popup-modal-overlay {
        padding: 20px 15px;
    }
    
    .popup-modal-container {
        padding: 30px 20px;
        max-width: 100%;
    }
    
    .popup-modal-close {
        top: 10px;
        right: 10px;
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .popup-modal-overlay {
        padding: 15px 10px;
    }
    
    .popup-modal-container {
        padding: 25px 15px;
    }
    
    .popup-modal-close {
        top: 8px;
        right: 8px;
        font-size: 24px;
    }
}

.video-cover {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.video-play-button-sm {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 10;
}

.video-play-button-sm a.vid-play {
    display: block;
    width: 50px;
    height: 50px;
    text-decoration: none;
    cursor: pointer;
    background-image: url('../img/play-sm.svg');
    background-size: 12px 15px;
    background-position: center;
    background-repeat: no-repeat;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 2px;
    box-sizing: border-box;
}

.video-play-button {
    position: relative;
    display: inline-block;
    z-index: 10;
    padding-top: 20px;
}

.video-play-button a.vid-play {
    display: block;
    width: 70px;
    height: 70px;
    text-decoration: none;
    cursor: pointer;
    background-image: url('../img/play.svg');
    background-size: 70px 70px;
    background-position: center;
    background-repeat: no-repeat;
    background-color: transparent;
    border-radius: 0;
    box-sizing: border-box;
    padding: 0;
}


	@media (min-width: 1025px) {
		.post-item-inner {
			min-height: 400px!important;
		}


	}