.custom-blog-container {
    padding: 20px 0;
}

.custom-blog-controls {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.categories .cat-btn {
    margin: 5px;
    padding: 6px 12px;
    border: none;
    background: #eee;
    cursor: pointer;
    font-size: 16px;
    text-transform: capitalize;
    border: 1px solid #8E8E8E;
    background: transparent;
    border-radius: 50px;
    padding: 15px 30px;
    line-height: 20px;
    letter-spacing: normal;
    color: #03070B;
    font-weight: 500;
    margin: 0;
}

.categories .cat-btn.active {
    background: #15242E;
    color: #fff;
    font-weight: 500;
    border: 0;
}

.custom-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.custom-post-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px 30px;
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
    height: 500px;
    background-size: cover;
    background-position: center;
    border-radius: 16px;
    position: relative;
}

.custom-post-card:hover {
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    opacity: .8;
}

.custom-post-card .thumb img {
    width: 100%;
    height: auto;
}

.custom-post-card .meta {
    font-size: 12px;
    margin-top: 5px;
}

.custom-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

.custom-pagination button {
    padding: 6px 12px;
    cursor: pointer;
}

.maindata h3{
    font-size: 36px;
    line-height: 80%;
    letter-spacing: -2px;
    color: #fff;
    font-weight: 400;
    text-transform: lowercase;
}

.meta-cat .cat{
    font-size: 14px;
    line-height: 22px;
    color: #fff;
    font-weight: 400;
    padding: 10px 18px;
    background-color: #35434C;
    border-radius: 50px;
    display: inline-block;
}

.maindata-bottom img{
    width: 40px;
    height: 40px;
}
.maindata-bottom .date{
    font-size: 14px;
    color: #fff;
}

.custom-post-card::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgb(0 0 0 / 80%), rgba(0, 0, 0, 0), rgba(0, 0, 0, 0));
    z-index: 0;
    pointer-events: none;
    border-radius: 16px;
}

.meta-cat,
.maindata{
    position: relative;
}

.maindata-bottom{
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-items: end;
}

.custom-blog-controls .categories{
    display: flex;
        gap: 10px;
        align-items: end;
}

.search-field .search-field{
    position: relative;
}

.search-field button{
    font-size: 16px;
    color: #fff;
    background-color: #15242E;
    border-radius: 50px;
    text-transform: capitalize;
    font-weight: 500;
    line-height: 20px;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.custom-blog-container .search-field input{
    color: #03070B;
    font-size: 16px;
    line-height: 25px;
    font-weight: 400;
    padding: 25px 112px 25px 25px;
    width: 500px;
    max-width: 100%;
}

.custom-blog-container .search-field input::placeholder{
    color: #9E9E9E;
}
.current-page{
    color: #888888;
    font-size: 20px;
    letter-spacing: -2px;
}
.current-page-active{
    color: #15242E;

}

.custom-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.custom-pagination button{
    background: transparent;
    padding: 0;
}
.custom-pagination button:hover{
    background: transparent;
    opacity: .7;
}
@media (max-width: 768px) {
    .custom-blog-grid {
        grid-template-columns: 1fr;
    }
    .custom-blog-controls{
        flex-direction: column-reverse;
        justify-content: center;
        text-align: center;
        gap: 50px;
    }
    .custom-blog-container .search-field input{
        width: 100%;
        font-size: 14px;
    }
    .search-field form input button{
        font-size: 12px;
    }
    .custom-blog-controls .categories{
        justify-content: center;
    }
    .custom-post-card{
        height: 400px;
    }
    .maindata h3{
        font-size: 24px;
        letter-spacing: -1.2px;
        margin-bottom: 30px;
    }
    .maindata-bottom img {
        width: 26px;
        height: 26px;
    }
    .maindata-bottom .date {
        font-size: 10px;
    }
    .meta-cat .cat {
        font-size: 10px;
        line-height: 22px;
        padding: 5px 15px;
    }
}
.tagcat .wd-post-cat{
    display: block !important;
  height: 100% !important;
  border-radius: 50px !important;
}
.tagcat .wd-post-cat a{
      padding: 10.5px 20px;
  display: block;
  font-weight: 600;
  line-height: 25px;
}
.border15 img{
  border-radius: 15px!important;
}
.swpostcontent h2{
  font-size: 68px;
line-height: 90%;
letter-spacing: -3.7px;
margin-bottom: 40px !important;
   margin-top: 30px !important;
color: #2B2D33;
}
.swpostcontent .wp-block-wd-container h2:first-child{
  margin-top: 0px !important;
}
.swpostcontent p{
      color: #555A65;
  font-size: 17px;
  line-height: 120%;
  margin-bottom: 15px !important;
}
.swpostcontent ul{
      color: #555A65;
  font-size: 17px;
  line-height: 120%;
  margin-bottom: 15px !important;
  padding-left: 40px;
}
.swpostcontent ul li{
  margin-bottom: 1px;
}
.swpostcontent ol{
      color: #555A65;
  font-size: 17px;
  line-height: 120%;
  margin-bottom: 15px !important;
  padding-left: 40px;
}
.swpostcontent ol li{
  margin-bottom: 1px;
}
.swpostcontent p strong,
.swpostcontent li strong{
  font-weight: 500;
  color: #15242E;
}

.swpostcontent h3{
    font-size: 17px;
  line-height: 120%;
      margin-bottom: 15px !important;
  font-weight: 500;
  color: #15242E;
}

.swpostcontent ul li::marker{
  font-size: 1.5em;
}

@media (max-width: 768px){
    .header-menu-event .eventsheader{
        padding: 40px 10px 40px 10px;
        border-radius: 20px;
        text-align: center;
        font-size: 18px;
        letter-spacing: 1px;
        line-height: 23px;
    }
    .swpostcontent h2 {
        font-size: 32px;
        line-height: 88%;
        letter-spacing: -2px;
        font-weight: 500;
        margin-bottom: 20px !important;
    }
    .swpostcontent h3 {
        font-size: 16px;
    }
    .swpostcontent p {
        font-size: 16px;
    }
    .swpostcontent ul,
    .swpostcontent ol {
        font-size: 16px;
        padding-left: 22px;
    }
}
