/* 
  Layout 
*/
.portfolio-archive-wrap { max-width: 1280px; margin: 0 auto; padding: 0px 15px; }
.portfolio-filters { margin-bottom: 18px; }
.filter-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* Checkbox styling */
.check { position: relative; display: inline-flex; align-items: center; gap: 8px;  border-radius: 10px; cursor: pointer; user-select: none; }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check .checkmark {
    width: 12px;
    height: 12px;
    border: 1px solid #888;
    border-radius: 0px;
    display: inline-block;
}
.check input:checked + .checkmark { border-color: #111; background: #111; box-shadow: inset 0 0 0 3px #fff; }
.check .label-text { font-size: 14px; }

/* Buttons */
.btn-apply, .btn-clear { margin-right: 8px; padding: 8px 14px; border-radius: 10px; border: 1px solid #ddd; background: #f8f8f8; cursor: pointer; }
.btn-apply:hover, .btn-clear:hover { background: #eee; }

/* Grid */
.portfolio-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }


.elementor-slideshow__footer, .elementor-slideshow__header {
    width: 96% !important;
}
.portfolio-inquiries {
    margin-top: 20px;
}


@media (max-width: 1300px) {
.portfolio-inquiries .global_btn {
    width: 30%;
}
.portfolio-inquiries .title {
    width: 70%;
    margin-right: 40px;
}
}








@media (max-width: 720px) {
  .portfolio-grid { grid-template-columns: 1fr; }
}

/* Card */
.portfolio-card { background: #fff; overflow: hidden; padding: 12px; transform: translateY(0); opacity: 1; transition: transform .35s ease, opacity .35s ease; border-radius: 10px 10px 0px 0px; }
.portfolio-card.out { transform: translateY(12px); opacity: 0; }
.portfolio-card.in { transform: translateY(0); opacity: 1; }
.portfolio-card .thumb {
    display: block;
    width: 100% !important;
    height: auto;
    transition: transform .4s ease;
    height: 450px;
    object-fit: cover;
    object-position: top;
}
.portfolio-card:hover .thumb { transform: scale(1.03); }
.portfolio-card .thumb.placeholder { background: #f0f0f0; width: 100%; padding-top: 60%; }

/* Container animation state */
#portfolio-results.is-updating { pointer-events: none; }

/* Pagination */
.portfolio-pagination { display: flex; gap: 8px; justify-content: center; align-items: center; margin: 22px 0 8px; flex-wrap: wrap; }
.portfolio-pagination .page-numbers { padding: 6px 10px; border: 1px solid #ddd; border-radius: 8px; text-decoration: none; color: #000; }
.portfolio-pagination .page-numbers.current { background: #111; color: #fff; border-color: #111; }
.post-type-archive-portfolio.archive article {
  margin-bottom: unset;
  display: unset;
  width: unset;
  vertical-align: unset;
  padding-left: unset;
}
#portfolio-filter-form {
    display: flex;
    justify-content: right;
}
/* Filter groups */
.portfolio-filters {
    margin-bottom: 18px;
    width: 29%;
}
.filter-group {
  margin-bottom: 10px;
  border-radius: 6px;
  overflow: hidden;
  margin-right: 10px;
}
.filter-parent {
    background: #00004d;
    padding: 15px 12px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff !important;
}
.filter-parent span i {
    padding: 0px 18px !important;
    font-size: 12px;
}

.filter-parent span {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.5px;
}
.filter-parent .icon { transition: transform .3s ease; }
.filter-parent.open .icon { transform: rotate(180deg); }
.filter-children {
    display: none;
    margin-top: 0px;
    padding: 10px;
    background: #fff;
}



/* Filters */
.filter-group { margin-bottom: 10px; border-radius: 6px; overflow: hidden; }
/*.filter-parent { background: #f9f9f9; padding: 10px; cursor: pointer; font-weight: 600; display: flex; justify-content: space-between; align-items: center; }
*/.filter-parent .icon { transition: transform .3s ease; }
.filter-parent.open .icon { transform: rotate(180deg); }
.filter-children { display: none;  }

.check { display: flex; align-items: center; margin-bottom: 6px; }
.check input { margin-right: 6px; }

/* Grid */
.portfolio-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 40px; }
@media (max-width: 720px) { .portfolio-grid { grid-template-columns: 1fr; } }
/*
.portfolio-card { background: #fff; border: 1px solid #eee; padding: 12px; }*/
.portfolio-card .thumb-wrap {
    overflow: hidden;
    border-radius: 10px 10px 0px 0px;
}

/*.thumb-wrap {
  overflow: hidden;
  position: relative;
}

.thumb-wrap img.thumb {
  width: 100%;
  transition: transform 0.2s ease-out;
  will-change: transform;
}
*/
.portfolio-card .thumb { width: 100%; transition: transform .3s ease; }
.portfolio-card:hover .thumb { transform: scale(1.05); }

/* Pagination */
.portfolio-pagination { display: flex; justify-content: center; gap: 6px; margin: 50px 0; }
.portfolio-pagination .page-numbers { padding: 6px 10px; border: 1px solid #000; border-radius: 6px; text-decoration: none; }
.portfolio-pagination .current { background: #111; color: #fff; }





@media(max-width: 520px){
  #portfolio-filter-form {
    display: block;
}
.filter-group {
    width: 100%;
}
.portfolio-card .thumb {
    height: 450px !important;
    padding: 10px;
}
.portfolio-card .thumb-wrap {
    height: 450px !important;
}
}
