.custom-post-accordion {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border: solid 1px #b9d3fb;
  border-radius: 12px;
  padding: 16px;
}

.accordion-section {
  margin-bottom: 10px;
}

.accordion-title p {
  margin-block-end: 0;

}

.custom-post-accordion{
	margin:8px;
}
.accordion-title {
  color: #191919 !important; /* New color for inactive accordion titles */
  cursor: pointer;
  justify-content: center;
  padding: 8px;
  width: 100%;
  font-size: 24px;
  font-weight: 700;
  text-align: left;
  border: none;
  outline: none;
  transition: 0.4s;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-title:hover,
.accordion-title.active {
  color: #011ca3;
}

.accordion-content li a:hover {
  color: #011ca3;
  font-weight: 600;
}

.accordion-icon {
  transition: 0.4s;
  width: 8%;
}

.accordion-icon img {
  width: 32px;
  height: 32px;
}

.accordion-icon .acdn-close {
  display: none;
}

.accordion-title.active .accordion-icon .acdn-open {
  display: none;
}

.accordion-title.active .accordion-icon .acdn-close {
  display: inline-block;
}

.accordion-content {
  padding: 24px 24px 8px 24px;
  display: none;
  background-color: #eefff7;
  border-radius: 16px;
  overflow: hidden;
}

.accordion-content ul {
  list-style-type: none;
  padding-left: 0;
  font-size: 18px;
  color: #011ca3;
}

.accordion-content ul li {
  margin-bottom: 14px;
}

/* Styles for active post */
.accordion-content ul li a.active-post {
  color: #011ca3;
  font-weight: 700;
}

.accordion-content ul li a {
  color: #191919;
  font-weight: 400;
}

.latest-post-button {
  display: inline-block;
  padding: 8px 24px;
  background-color: #011ca3;
  color: white;
  font-size: 14px;
  font-weight: bold;
  border-radius: 4px;
  text-transform: uppercase;
}

span.latest-post-button {
    color: #191919;
    font-size: 12px;
	font-family:'Open sans';
    font-weight: 400;
    background-color: #E1FBEF;
	border:solid 1px  #A4F2D2;
	border-radius:32px;
	text-transform: capitalize;
}


/* post navigation*/
.post-navigation {
    display: flex;
    justify-content: space-between;
    margin: 2em 0;
}

.post-navigation a {
    display: flex;
    flex-direction: column;
    max-width: 45%;
    padding: 1em;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    transition: background-color 0.3s ease;
}

.post-navigation a:hover {
    background-color: #f5f5f5;
}

.post-navigation .nav-label {
    font-size: 0.8em;
    text-transform: uppercase;
    margin-bottom: 0.5em;
    color: #666;
}

.post-navigation .post-title {
    font-weight: bold;
}

.prev-post {
    text-align: left;
}

.next-post {
    text-align: right;
}


/* Mobile responsive */ 
@media only screen and (max-width: 600px){
	.custom-post-accordion{
		padding:8px;
		background:white;
		margin: auto;
	}
	
	.custom-post-accordion{
		padding: 4px !important;
	}
	.accordion-content{
		padding:24px;
		margin: 12px;
	}
	.accordion-title active{
		font-size: 20px !important;
	}
	.accordion-title p {
  		margin-block-end: 0;
		font-size:20px;
	}
	.accordion-content ul li{
		margin-bottom:12px;
	}
}

