.priorityposts-container {
    display: flex;
    gap: 20px;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
}


.duo-post-content {
    padding: 30px; }

.priority-post {
	background-color: #509E2F;
	color: #fff !important;
	border-radius: 22px;
	box-shadow: 0px 3px 6px rgb(0 0 0 / 16%);
		width: 100%;
	flex-direction: column;
	justify-content: space-between;
    margin: 10px 0px 0px 0px;
	overflow: hidden;
	transition: transform 0.1s ease, box-shadow 0.2s ease;
}

.priority-post a{
	color: #fff !important;
}

.priority-post .custom-post-base-content {
	background-color: #509E2F;
}

.priority-post .custom-post-title {
    margin-top: 30px;
    margin-bottom: 10px;
}

.priority-post .custom-post-tag {
    color: #fff;
    opacity: 0.8;
}

.featuredposts .contentsectionmore {
    justify-content: flex-end;
    margin-top: auto;
    bottom: 0;
    position: absolute;
    right: 1;
    padding-top: 0px;
    padding-bottom: 20px;
    padding-right: 20px;
}

.prioritypostdiv1 {
	flex: 1;
}
.prioritypostdiv2 {
    flex: 1;
    display: flex
;
    flex-direction: column;
    align-items: flex-end;
}

.secondary-post .custom-post-base-content {
	background-color: none;
	}


.secondary-post-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin-left: -1px;
	margin-right: -10px;

}

.secondary-post {
	background-color: #fff;
	border-radius: 22px;
	box-shadow: 0px 3px 6px rgb(0 0 0 / 16%);
	display: flex;
	flex-basis: calc(50% - 20px);
	flex-direction: column;
	justify-content: space-between;
	margin: 10px;
	overflow: hidden;
	transition: transform 0.1s ease, box-shadow 0.2s ease;
}


    .priority-content_section {
        margin-bottom: 40px;
        margin-top: 40px;
        padding-bottom: 40px;
        padding-top: 40px;
        position: relative;
    }

    .prioritygridtitle {
        border-radius: 16px;
        display: flex;
        height: 64px;
        opacity: 1;
        margin-top: 16px;
        padding: 8px 20px 8px 20px;
        position: absolute;
        text-align: center;
        vertical-align: middle;
        min-width: 222px;
        flex-direction: column;
        min-height: auto;
        align-content: center;
        align-items: center;
        justify-content: center;
        font-size: var(--fs-h3);
        line-height: 110%;
        margin-bottom: .5rem;
        margin-top: 10px;
        letter-spacing: .02em;
    }	


.custom-bg-section {
  position: relative; 
  overflow: hidden;  
}

.custom-bg-layer {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  transition: transform 1.2s ease;
}

.custom-bg-layer.slideleft {
  transform: translateX(-120%);
}
.custom-bg-layer.slideright {
  transform: translateX(120%);
}

.custom-bg-layer {
  animation: slideInBackground 1s forwards ease;
}

.custom-bg-section.loaded .custom-bg-layer {
  transform: translateX(0);
}

@media (max-width: 768px) { 
.priorityposts-container {
    display: flex;
    gap: 10px;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    margin-bottom: 70px;
}
    .priority-content_section {
		      margin-bottom: 10px;
        margin-top: 30px;
        padding-bottom: 10px;
        padding-top: 10px;
        position: relative;
    }

.prioritypostdiv1 {
	margin: auto;
    flex: 1;
	width: 94%
}




.custom-bg-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 0px 0px 0px 0px; 
  transform: translateX(-120%);
  z-index: -1;
  transition: transform 1.2s ease;
    }



    .prioritygridtitle {
        border-radius: 16px;
        height: auto;
        opacity: 1;
   padding: 8px 20px 8px 20px;
        margin-bottom: -40px;
        position: relative;
        text-align: center;
        vertical-align: middle;
        max-width: 222px;
        width: auto;
        z-index: 9;
    }

.secondary-post-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 2%;
    margin-right: 0%;
}
	.secondary-post-grid .secondary-post:nth-child(2) {
  /* Your unique styles here */
		margin-top: 60px;
}
	
		.secondary-post-grid .secondary-post:nth-child(1) {
 
		margin-bottom: 60px;


}
	

    .featuredposts .contentsectionmore {
        position: absolute;
        display: flex;
        bottom: 60px;
          left: 0;
        width: 50%;
        justify-content: left;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        align-content: center;
        padding-top: 20px;
        padding-left: 10%;
        padding-bottom: 0px;
        padding-right: 0px;
    }

.secondary-post {
    background-color: #fff;
    border-radius: 22px;
    box-shadow: 0px 3px 6px rgb(0 0 0 / 16%);
    display: flex
;
    flex-basis: calc(50% - 10px);
    flex-direction: column;
    justify-content: space-between;
    margin: 5px;
    overflow: hidden;
    transition: transform 0.1s ease, box-shadow 0.2s ease;
}
}