/* ---------- small dropdown styles ---------- */
#caf-filter-layout2 { font-size: 16px; }
#caf-filter-layout2 ul.dropdown { list-style:none; padding:0; margin:0; }
#caf-filter-layout2 ul.dropdown > li.init { cursor:pointer; position:relative; display:inline-block; }
#caf-filter-layout2 ul.dropdown > li.init .result { margin-left:8px; font-weight:600; }
#caf-filter-layout2 ul.dropdown > li.init ul { display:none; position:absolute; z-index:9999; background:#fff; border:1px solid #ddd; padding:8px 10px; min-width:200px; list-style:none; margin-top:6px; box-shadow:0 2px 6px rgba(0,0,0,0.08); }
#caf-filter-layout2 ul.dropdown > li.init ul li { padding:6px 6px; white-space:nowrap; }
#caf-filter-layout2 ul.dropdown > li.init ul li a { color:#222; text-decoration:none; display:block; }
#caf-filter-layout2 ul.dropdown > li.init ul li a.active { background:#fff; color:#003366; font-weight:700; }
#caf-filter-layout2 ul.dropdown > li.init .arrow-down, #caf-filter-layout2 ul.dropdown > li.init .arrow-up { margin-left:6px; }

/* make dropdowns responsive */
@media (max-width: 768px) {
  #caf-filter-layout2 ul.dropdown > li.init ul { position:static; box-shadow:none; border:none; background:transparent; padding:0; }
}

/* ---------- caf-post-layout4 custom styles (from your provided CSS) ---------- */
.caf-post-layout4 .caf-featured-img-box {
  width: 80% !important;
  height: 150px !important;
  background-size: contain !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-color: #fff; /* Optional: white space fill */
}

.caf-post-layout4 .caf-meta-content-cats li a {
  background: #fff!important;
  border: 1px solid #003366;
}
.caf-post-layout4 a.caf-read-more {
    border: none;
    background: none;
  padding: 3px 0px;
}
.data-target-div1 .caf-post-layout4 a.caf-read-more {
    color: #036;
}
.caf-post-layout4 .caf-content {
    font-size: 14px;
    line-height: 1.42857143;
}
.data-target-div1 .caf-post-layout4 a.caf-read-more:hover {
    background-color: #fff;
}
.caf-post-layout4 {
    border-bottom: 1px dotted #a4a5a7;
    margin-bottom: 20px;
    padding-bottom: 25px;
}
.caf-post-layout4 a.caf-f-img {
    width: 20% !important;
    margin-right: 0;
}
read-more {
    font-size: 14px!important;
    font-family: Open Sans!important;
}
#caf-filter-layout2 li.init {
    cursor: pointer;
    text-align: left;
   
}
.selectcont {
    margin: 0px;
}
.data-target-div1 #caf-filter-layout2 ul.dropdown li a.active {
    background-color: white;
    color: #003366;
}
#caf-filter-layout2 li ul {
      font-size: 14px;
      right: unset;
}

.data-target-div1 .error-caf {
    background-color: #ffffff;
}
#caf-filter-layout2 {
    font-size: 18px;
}
div#caf-filter-layout2 {
    background: none repeat scroll 0 0 #f5f5f5;
}
@media only screen and (max-width: 600px) {
  .caf-post-layout4 a.caf-f-img {
    width: 100% !important;
    margin-right: 0;
}
  .caf-post-layout4 .caf-featured-img-box {
    width: 100%!important;
    height: 300px!important;
}
}
.caf-post-layout4 .caf-meta-content-cats li a {
    text-transform: capitalize;
}

/* pagination helper style (Avada will mostly style this) */
#caf-layout-pagination.caf-pagination { margin-top:18px; padding:0; list-style:none; display:flex; gap:8px; }
#caf-layout-pagination.caf-pagination li { display:inline-block; }
#caf-layout-pagination.caf-pagination a.page-numbers { padding:8px 12px; border:1px solid #e0e0e0; text-decoration:none; color:#333; display:inline-block; }
#caf-layout-pagination.caf-pagination a.page-numbers.current { background:#333; color:#fff; border-color:#333; }




ul#caf-layout-pagination.post-layout4 {
    display: inline-block;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    text-align: center
}

ul#caf-layout-pagination.post-layout4 li {
    display: inline-block;
    line-height: normal;
    margin: 0;
    padding: 0
}

ul#caf-layout-pagination.post-layout4 li a {
    text-decoration: none;
    background: #009fe8;
    color: #fff;
    padding: 5px 10px;
    font-size: 16px;
    border-radius: 0;
    margin-right: 1px
}

ul#caf-layout-pagination.post-layout4 span.page-numbers.current {
    background: #fff;
    padding: 5px 10px;
    border-radius: 0;
    color: #333;
    position: relative;
    margin-right: 1px;
    font-size: 16px
}

.caf-post-layout4 a {
    transition: all .15s linear;
    text-decoration: none!important
}

#caf-post-layout-container h2:before {
    display: none
}

#caf-post-layout-container .caf-post-layout4 h1:before {
    display: none
}

.caf-post-layout4 {
    margin-bottom: 27px;
    width: 100%;
    display: inline-block
}

.caf-post-layout4 .caf-featured-img-box {
    display: block;
    width: 100%;
    height: 300px;
    background-size: cover!important;
    background-repeat: no-repeat;
    background-position: center!important;
    -webkit-box-shadow: 10px 0 6px -8px #262626;
    -moz-box-shadow: 10px 0 6px -8px #262626;
    box-shadow: 10px 0 6px -8px #262626;
    border: 1px solid #fff
}

.caf-post-layout4 .caf-col-md-6 .caf-featured-img-box {
    height: 270px
}

.caf-post-layout4 .caf-post-title {
    display: block;
    width: 100%;
    padding: 20px 5px 10px 5px;
    box-sizing: border-box;
}

.caf-post-layout4 .caf-post-title h2 {
    text-decoration: none;
    line-height: 25px;
    margin: 0;
    padding: 0;
    font-weight: 700
}

.caf-post-layout4 .caf-post-title a:hover {
    color: inherit!important;
    box-shadow: none!important
}

.caf-post-layout4 .caf-meta-content-cats {
    display: block;
    width: 100%;
    border-bottom: 1px solid #f7f7f7
}

.caf-post-layout4 .caf-meta-content-cats ul {
    display: inline-block;
    width: 100%;
    list-style: none;
    margin: 0;
    padding: 0 0 5px 0
}

.caf-post-layout4 .caf-meta-content-cats li {
    display: inline-block;
    padding: 0;
    margin: 0;
    text-decoration: none;
    line-height: normal
}

.caf-post-layout4 .caf-meta-content-cats li a {
    display: inline-block;
    padding: 5px;
    margin: 0;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 10px;
    color: #fff;
    margin: 0 5px;
    color: #f79918;
    box-shadow: none;
    background: #333
}

.caf-post-layout4 .caf-meta-content {
    display: flex;
    width: 100%;
    padding: 5px;
    border-bottom: 1px solid #f7f7f7
}

.caf-post-layout4 span.author,.caf-post-layout4 span.comment,.caf-post-layout4 span.date {
    font-size: 12px
}

.caf-post-layout4 .caf-content {
    display: block;
    padding: 5px;
    word-break: break-word;
    font-size: 16px;
    line-height: 28px
}

.caf-post-layout4 .caf-content-read-more {
    display: block;
    padding: 5px
}

.caf-post-layout4 a.caf-read-more {
    box-shadow: none;
    text-decoration: none;
    border: 1px solid #f79918;
    padding: 3px 12px;
    display: inline-block;
    font-size: 15px;
    margin-bottom: 5px;
    color: #333;
    background: #262626;
    font-family: Open Sans,Arial,sans-serif
}

.caf-post-layout4 a.caf-read-more:hover {
    color: #fff
}

.caf-post-layout4 a.caf-f-img {
    width: 30%!important;
    display: inline-block;
    float: left;
    margin-right: 2%
}

.caf-post-layout4 #manage-post-area {
    width: 68%;
    float: left;
    display: inline-block
}

.caf-post-layout4 .caf-social-media-share {
    width: 100%;
    display: inline-block
}

.caf-post-layout4 .caf-social-media-share a {
    display: inline-block
}

@media only screen and (max-width: 1120px) {
    .caf-post-layout4 a.caf-f-img {
        width:40%!important
    }

    .caf-post-layout4 #manage-post-area {
        width: 58%
    }
}

@media only screen and (max-width: 767px) {
    .caf-post-layout4 a.caf-f-img {
        width:100%!important;
        margin-right: 0
    }

    .caf-post-layout4 #manage-post-area {
        width: 100%
    }
}
.data-target-div1 .caf-post-layout4 .caf-post-title h2, .data-target-div1 .caf-post-layout4 .caf-post-title h2 a
 {
    color: #009fe8;
    text-transform: inherit;
    font-size: 24px;
}
.data-target-div1 .caf-post-layout4 .caf-meta-content-cats li a
 {
    color: #000000;
}
.selectcont {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
    width: 631px;  /* Desktop width */
    margin: 0 auto; /* Center horizontally */
}

/* Make dropdowns share space nicely */
.selectcont .dropdown {
    flex: 1;        /* Take equal space */
    min-width: 150px;
}

/* Responsive adjustments for smaller screens */
@media screen and (max-width: 768px) {
    .selectcont {
        flex-direction: column; /* Stack vertically */
        width: 100%;            /* Full width on mobile */
        gap: 10px;              /* Smaller spacing */
    }

    .selectcont .dropdown {
        width: 100%;            /* Full width for each dropdown */
        min-width: 0;
    }
}
div#caf-filter-layout2 {
    padding: 30px;
}   
.data-target-div1 #caf-filter-layout2 ul.dropdown li span
 {
    color: #003366;
}
