#boat-overview {
    display: grid;
    gap: 35px;
    width:100%;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    margin: 20px 0px;
}

#boat-item {
  position: relative;
  box-sizing: border-box;
  margin: 0 3.5% 30px 0;
  padding: 0 0 15px 0;
  box-sizing: border-box;
  border: 1px solid #EAEAEA;
  height: auto;
  text-decoration: none;
}

#boat-item:hover {
  box-shadow: 2px 2px 15px rgb(57 84 72 / 15%);
}

#boat-overview a, #boat-overview a:hover{
  color: black;
  text-decoration: none;
}

#image-holder {
  position: relative;
}

#image-holder img {
    border-style:none;
    /*height:auto;*/
    max-width:100%;
    height: 260px;
    width: 100%;
    object-fit: cover;
}

#image-holder .after {
  position: absolute;
  top: 0;
  left: 0;
  max-width: 100%;
  width: auto;
  height: 260px;
  display: block;
}
#image-holder:hover .after {
  display: block;
  background: rgba(0, 0, 0, .6);
  opacity: 50%;
}

#image-holder img {
  /*max-width: 100%;
  width: auto;
  height: 260px;
  display: block;*/
}


#boat-summary {
  font-weight:700;
  overflow:hidden;
  text-overflow:ellipsis;
  height:44px;
  margin:25px 0 20px;
  text-align:center; 
  padding:0 20px;
}

#boat-information {
    overflow: hidden;
    text-align: center;
    padding: 0 20px;
    height: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    -webkit-line-clamp: 3
}

#boat-main-specifications{
  overflow: hidden;
  text-align: center;
  padding: 0 20px;
  height: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  -webkit-line-clamp: 3;
}

#all-boats-overview {
  max-width: 1600px;
  position: relative;
  overflow: hidden;
  margin-left: auto;
  margin-right: auto;
  padding:50px 25px;
}


/*
---------------- BOAT PRICE BLOCK ----------------
*/


#boat-price-block {
  padding-left: 20px;
  text-align: left;
}

#boat-location-block {
  padding-left: 20px;
  text-align: right;
  font-style: italic;
}

#boat-price-block-title{
  font-size: 14px;
}

#boat-price-block-price{
  font-size: 20px;
  font-weight: 700;
}

#boat-price-block-vat{
  font-size: 14px;
}

#toolbar {
  margin: 20px 0px;
}

#boat-price-block-status{
  height: 30px;
  margin:25px 20px;
}

#boat-price-block-status span {
  background: #999999;
  color: white;
  font-weight: 700;
  padding: 6px 12px;
  text-transform: uppercase;
  font-size: 16px;
  border-radius: 5px;
}

/*
---------------- Filters ----------------
*/

.flex {
  display: flex;
}

.filter-group {
  width: 100%;
}

.font-bold {
  font-weight: 700;
}

.text-base{
  font-size: 14px;
  line-height: 24px;
}

div#filter-label {
    padding: 13px 0px;
}

.filter-group-label-box {
  padding-left: 16px;
  flex-shrink: 0;
  width: 100px;
  max-height: 50px;

  --tw-bg-opacity: 1;
  /*background-color: rgb(242 247 255 / var(--tw-bg-opacity, 1));*/
  background-color: #a18c6d;;
  color: #e5e7eb;

  --tw-border-opacity: 1;
    /*border-color: rgb(167 192 241 / var(--tw-border-opacity, 1));*/
    border-color: #a18c6d;

    border-left-width: 1px;
    border-bottom-width: 1px;
    border-top-width: 1px;

    /*border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    */

    /*align-items: center;*/
   
}

*,:after,:before {
    box-sizing: border-box;
    border: 0 solid #e5e7eb;
}

.items-center{
  align-items: center;
  margin-block-start: auto;
}

.filter-group p{
  margin-block-end: 12px;
  margin-block-start: 12px;
}

.filter-group-value-box{
  width: 100%;
  position: relative;

  padding-top: 12px;
  padding-bottom: 12px;
  padding-left: 16px;
  padding-right: 16px;

  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));

  --tw-border-opacity: 1;
    /*border-color: rgb(167 192 241 / var(--tw-border-opacity, 1));*/
    border-color: #a18c6d;
    border-right-width: 0;
    border-width: 1px;
    overflow: hidden;
}

.relative {
  position: relative;
}

.w-full {
  width: 100%;
}

#filter-group-value-box input[type=number] {
  --tw-text-opacity: 1;
    color: rgb(11 17 31 / var(--tw-text-opacity, 1));
    
    font-weight: 400;

    background-color: inherit;

  outline: none!important;
  border-style: none;
  border-width: 0;
  border: none;
  padding: 0;

}

#filter-group-value-box input:focus {
  outline: none!important;
  border-style: none;
}

/*
---------------- Search block ----------------
*/


.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 768px) {
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1280px) {
    .xl\:grid-cols-4 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}



.gap-m {
    gap: 16px;
}



.grid {
    display: grid;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.align-center {
  align-items: center;
}



@media (min-width: 768px) {
    .md\:flex-row {
        flex-direction: row;
    }
}

.mt-m {
    margin-top: 16px;
}

.filter-search button[type=submit],.filter-search button[type=button] {
  /*
  Use default elementor styles
  */
  /*background-color: #a18c6d;
  color: #e5e7eb;
  border-color: #a18c6d;
  font-weight: 700;
  float:right;
  border-radius: 0;
  display: flex;
  justify-content: flex-end;
  */
  padding: 10px 40px;

}

@media (min-width: 768px) {
  .filter-search button[type=submit],.filter-search button[type=button] {
    padding: 15px 80px;
  }
}

.filter-search button:hover[type=submit],.filter-search button:hover[type=button] {
    background-color: #857256;
    border-color: #857256;
}

/*
---------------- Pagination ----------------
*/
/*
.pagination {
    margin-top: 30px;
    text-align: center;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 4px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #333;
    border-radius: 4px;
}

.pagination .page-numbers.current {
    background-color: #0073aa;
    color: white;
    border-color: #0073aa;
}

.pagination .page-numbers:hover {
    background-color: #eee;
}

.pagination .prev,
.pagination .next {
    font-weight: bold;
}
*/

.sort-group-flex {
    display: grid;
    grid-template-columns: auto 1fr; /* First column takes content width, second takes remaining space */
    align-items: center; /* Vertically centers */
    gap: 10px; /* Space between columns */
    margin-bottom: 15px;
}

.sort-group-flex select{
  border: none;
    outline: none;
    padding: 8px 12px;

    border-bottom: 1px solid #ccc; /* Only a bottom border, for example */
    /* If you keep the default appearance, remove the -webkit-appearance, etc. and custom arrow styles */
}

/*
---------------- YouTube ----------------
*/

.youtube-video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio (9 / 16 = 0.5625) */
    padding-top: 30px; /* Adjust if you have video controls */
    height: 0;
    overflow: hidden;
    margin-bottom: 20px; /* Add some space below the video */
}

.youtube-video-wrapper iframe,
.youtube-video-wrapper object,
.youtube-video-wrapper embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}