/* =========================
   GRID
========================= */

.ra-posts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

/* =========================
   CARD
========================= */

.ra-post-card {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    /* height: 100%; */
}

/* =========================
   IMAGE
========================= */

.ra-post-card-image {
    background-repeat: no-repeat !important;
    padding-bottom: 57% !important;
    background-position: 50% !important;
    background-size: cover !important;
    width: 100% !important;
}

/* =========================
   CONTENT
========================= */

.ra-post-card-content {
    padding: 18px;
    display: flex;
    flex-direction: column;
    min-height:245px;
    justify-content:space-between;
}

.ra-post-card-title {
    font-size: 18px;
    margin-top: 10px;
    line-height: 1.4;
}

.ra-post-card-title a {
    color: #111;
    text-decoration: none;
}

/* =========================
   EXCERPT
========================= */

.ra-post-card-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 18px;

    /* equal height text */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* =========================
   READ MORE BUTTON
========================= */

.ra-post-card-btn-wrap {
    margin-top: auto;
}
 .ra-post-card-btn-wrap a{
    background: #343738 !important;
}
 .ra-post-card-btn-wrap a span:first-child span + span {
    order: -1;
}
 .ra-post-card-btn-wrap a span:first-child > span {
    padding-right: 5px;
}
/* .ra-post-readmore-btn {
    display: inline-block;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.3s ease;
} */
.checkbox-group {
    display: flex;
    flex-direction: column;
    row-gap: 8px;
}
#category-filter-form {
    padding-left: 15px;
    padding-bottom: 20px;
}
.checkbox-group label {
    display: flex;
    gap: 5px;
}
/* =========================
   Blog page filter
========================= */

.filter-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  position:absolute;
  bottom:20px;
}

.filter-label {
    font-weight: 600;
    color: #333;
    font-size: 18px;
}
.dropdown {
  position: relative;
}

.dropdown-btn {
  background: #de6857;
  border: none;
  padding: 10px 16px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 500;
  color: #fff;
 font-size: 16px;
 display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width:200px;
}
.dropdown-btn span {
    position: absolute;
    right: 16px;
    font-size: 19px;
    color: rgba(255, 255, 255, 0.8);
}
.arrow {
  margin-left: 6px;
}

.dropdown-menu {
  position: absolute;
  top: 48px;
  left: 0;
  width: 350px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  display: none;
  z-index: 10;
  height:auto;
}
.level-1-row {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #f4f4f4;
    padding: 12px 18px;
    background: #fff;
    justify-content:space-between;
}
.accordion-item:last-child .level-1-row {
    border-bottom: 0;
}
form#getPostsByCat {
    background: #fff;
    padding: 10px;
}
.sub-category-list {
    background: #fafafa;
    border-left: 2px solid #ea510445; /* Orange line to show nesting */
    margin-left: 18px; 
}
.level-2-row {
    padding: 8px 18px;
    margin-top: 7px;
    margin-bottom: 8px;
}
.toggle-icon {
    cursor: pointer;
    width: 30px;
    text-align: center;
    font-size: 20px;
    color: #ea5104;
    transition: transform 0.3s;
}
/* .checkbox-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
} */
.checkbox-item {
   
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
  font-size: 14px;
    gap: 10px;
}

.uicore-page-title{
  overflow:unset !important;
}
.checkbox-item input {
  margin-right: 8px;
}

/* .checkbox-item span {
  flex: 1;
} */
 .checkbox-item span {
    flex: 1;
    font-size: 15px;
    font-weight: 400;
}
.checkbox-item span:nth-of-type(1) {
    padding-left: 5px;
}
.checkbox-item
.count {
    color: #666;
    text-align: right;
}
.dropdown-filters {
    padding: 0px 18px 5px 18px;
}
.dropdown-filters:nth-of-type(1) {
    padding-top: 19px;
}

.count {
  color: #666;
text-align: right;
}

.dropdown-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding: 10px 18px;
margin-top: 10px;
}
.clear {
  background: none;
  border: none;
  color: #666;
font-size:14px;
  cursor: pointer;
}

.apply {
  background: none;
  border: none;
  color: #3b4eff;
  font-weight: 600;
  font-size:14px;
  cursor: pointer;
}
.cnLabelWrapper h3 {
    font-size: 32px;
    font-weight: 700;
}
.cnFilterWrapper {
    display: flex;
    justify-content: space-between;
    padding-bottom: 50px;
}
.cnLabelCol {
    display: flex;
    align-items: center;
}
.cnLabelCol button {
    margin-right: 13px;
    padding: 10px;
    font-size: 14px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    column-gap: 11px;
}
.cnLabelCol a {
    padding-left: 20px;
}
.cnLabelCol button i {
    font-size: 12px;
}
.cnLabelCol a {
    font-size: 15px;
    text-decoration: underline;
    color: #485cec;
}
.sortBy {
    display: flex;
    gap: 12px;
    align-items: center;
    height: 36px;
}
.sortBy p {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}
.sortBy select {
    font-size: 13px;
    height: 36px;
    padding: 10px;
    width: 195px;
}
.cnLabelWrapper{
   display:none;
}
.dropdown-actions button[type=submit] {
    font-size: 14px;
}
/* =========================
   MOBILE
========================= */

@media (max-width: 480px) {
    .ra-post-card-image img {
        height: 180px;
    }

    .ra-post-card-title {
        font-size: 16px;
    }
    .my-posts-carousel article{
         min-height:auto;
    }
    .ra-post-card-content{
          min-height:unset;
          flex:1;
    }
}

/* =========================
   TABLET
========================= */

@media (min-width: 600px) {
    .ra-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =========================
   DESKTOP
========================= */

@media (min-width: 992px) {
    .ra-posts-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* =========================
   LARGE DESKTOP
========================= */

@media (min-width: 1200px) {
    .ra-posts-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
/* Nav container */
.my-posts-carousel .owl-nav {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none; /* allows clicks only on buttons */
}

/* Buttons */
.my-posts-carousel .owl-nav button {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(255,255,255,0.95) !important;
    border: 1px solid #e0e0e0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.35s ease;
    pointer-events: all;
}

/* Position left / right */
.my-posts-carousel .owl-nav .owl-prev {
    margin-left: -27px;
}

.my-posts-carousel .owl-nav .owl-next {
    margin-right: -27px;
}

/* Font Awesome icon */
.my-posts-carousel .owl-nav i {
    font-size: 20px;
    color: #000;
    transition: color 0.3s ease;
}

/* Hover */
.my-posts-carousel .owl-nav button:hover {
    background: #de6857 !important;
    border-color: #de6857 !important;
    transform: scale(1.08);
}

.my-posts-carousel .owl-nav button:hover i {
    color: #fff;
}
.my-posts-carousel article {
    min-height: 400px;
}
/* Disabled */
.my-posts-carousel .owl-nav button.disabled {
    opacity: 0.4;
}

@media(max-width:920px)

{
.ra-post-card-content{
          min-height:unset;
          flex:1;
    }
    .left-col-wrapper > h4{
     display:none;
}
.checkbox-group {
  display: grid;
  grid-template-columns: repeat(4,1fr);
}
}
/* Responsive */
@media (max-width: 767px) {
    .post-card-title {
        font-size: 14px;
    }
    .my-posts-carousel .owl-nav {
        display: none;
    }
    

    .left-col-wrapper > h4{
     display:none;
}
.checkbox-group {
  display: grid;
  grid-template-columns: repeat(3,1fr);
}
.cnFilterWrapper {
    flex-direction: column;
    gap: 20px;
}
.sortBy{
  padding-left:10px;
}
}
@media(max-width:580px)
{
    .my-posts-carousel article {
    min-height: auto;
}
.left-col-wrapper > h4{
     display:none;
}
.checkbox-group {
  display: grid;
  grid-template-columns: repeat(2,1fr);
}
}


