/* PATCH 48: Go-Live polish for DB smart filter and bottom info blocks.
   Keeps Segelerfahrung in the filter, reduces unused width, fixes lower ONBOAT info blocks. */

/* ---- Smart filter: compact, but still complete ---- */
.onb-exp47 .onb-exp47-filter{
  max-width:1120px;
  margin-left:auto;
  margin-right:auto;
  padding:24px 24px 20px;
}

.onb-exp47 .onb-exp47-filter-head{
  display:grid;
  grid-template-columns:minmax(0,1fr) 92px;
  align-items:start;
  gap:18px;
  margin-bottom:16px;
}

.onb-exp47 .onb-exp47-filter-head h2{
  font-size:clamp(1.55rem,2.1vw,2.05rem);
}

.onb-exp47 .onb-exp47-filter-head p{
  max-width:840px;
}

.onb-exp47 .onb-exp47-result{
  min-width:0;
  width:92px;
  padding:13px 10px;
}

.onb-exp47 .onb-exp47-result strong{
  font-size:1.8rem;
}

/* Desktop: all fields fit without wasting full row height. */
.onb-exp47 .onb-exp47-controls{
  display:grid!important;
  grid-template-columns:1.08fr 1.2fr 1.02fr 1.05fr .78fr .78fr .9fr .9fr;
  gap:10px;
  align-items:end;
}

.onb-exp47 .onb-exp47-controls label{
  min-width:0;
  gap:5px;
}

.onb-exp47 .onb-exp47-controls label span{
  font-size:.72rem;
  line-height:1.1;
  white-space:nowrap;
}

.onb-exp47 .onb-exp47-controls select,
.onb-exp47 .onb-exp47-controls input{
  min-height:40px;
  height:40px;
  padding:8px 10px;
  border-radius:12px;
  font-size:.9rem;
  line-height:1.1;
}

.onb-exp47 .onb-exp47-notes{
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin-top:13px;
}

.onb-exp47 .onb-exp47-notes p{
  padding:11px 13px;
  font-size:.93rem;
}

.onb-exp47 .onb-exp47-reset{
  margin-top:11px;
}

.onb-exp47 .onb-exp47-reset button{
  padding:9px 14px;
}

/* Cards: tighten meta and avoid unnecessary vertical heaviness. */
.onb-exp47 .onb-exp47-cards{
  max-width:1120px;
}

.onb-exp47 .onb-exp47-card img{
  height:195px!important;
}

.onb-exp47 .onb-exp47-card-body{
  padding:17px;
}

.onb-exp47 .onb-exp47-card .onb-exp47-card-meta{
  font-size:.82rem;
  margin-bottom:8px;
}

/* ---- Bottom information blocks: restore premium card layout ---- */
.onb-exp47 .onb-feature35,
.onb-exp47 .onb-region35{
  width:min(1120px,calc(100% - 48px));
  margin:34px auto 0;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:24px;
  align-items:stretch;
}

.onb-exp47 .onb-feature35-img{
  min-height:255px;
  border-radius:26px;
  background-size:cover!important;
  background-position:center!important;
  border:1px solid rgba(15,35,70,.10);
  box-shadow:0 18px 48px rgba(12,35,66,.11);
}

.onb-exp47 .onb-feature35-copy{
  background:#fff;
  border:1px solid rgba(15,35,70,.10);
  border-radius:26px;
  padding:28px;
  box-shadow:0 18px 48px rgba(12,35,66,.08);
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.onb-exp47 .onb-feature35-copy h2{
  margin:0 0 10px;
  color:#071b3a;
  font-size:clamp(1.55rem,2.2vw,2.2rem);
  line-height:1.05;
  letter-spacing:-.04em;
}

.onb-exp47 .onb-feature35-copy p{
  margin:0;
  color:#455c73;
  line-height:1.58;
}

.onb-exp47 .onb-feature35-list,
.onb-exp47 .onb-region35-tags{
  display:flex!important;
  flex-wrap:wrap;
  gap:9px;
  margin-top:17px;
}

.onb-exp47 .onb-feature35-list span,
.onb-exp47 .onb-region35-tags span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#edf4fb;
  color:#0b3a75;
  border:1px solid rgba(15,35,70,.08);
  border-radius:999px;
  padding:8px 12px;
  font-size:.9rem;
  font-weight:900;
  line-height:1;
  white-space:nowrap;
}

.onb-exp47 .onb-feature35-list span{
  background:#f7f9fc;
  border-radius:14px;
  min-width:150px;
}

.onb-exp47 .onb-final35{
  width:min(1120px,calc(100% - 48px));
  margin:48px auto 58px;
  min-height:245px;
  border-radius:30px;
  overflow:hidden;
  background-image:linear-gradient(90deg,rgba(5,22,49,.84),rgba(5,22,49,.58),rgba(5,22,49,.18)),url('/public/assets/img/onboat/patch35a/onboat_flagge_abend_achteraus.jpg');
  background-size:cover;
  background-position:center;
  color:#fff;
  display:flex!important;
  align-items:center;
  box-shadow:0 24px 70px rgba(12,35,66,.18);
}

.onb-exp47 .onb-final35-inner{
  padding:40px;
  max-width:650px;
}

.onb-exp47 .onb-final35 h2{
  margin:0 0 10px;
  color:#fff;
  font-size:clamp(2rem,3.2vw,3.1rem);
  line-height:1.05;
  letter-spacing:-.045em;
}

.onb-exp47 .onb-final35 p{
  margin:0;
  font-size:1.05rem;
  line-height:1.55;
  color:rgba(255,255,255,.92);
  font-weight:650;
}

.onb-exp47 .onb-final35-actions{
  display:flex!important;
  flex-wrap:wrap;
  gap:12px;
  margin-top:18px;
}

.onb-exp47 .onb-final35-actions a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  padding:10px 16px;
  text-decoration:none;
  font-weight:900;
}

.onb-exp47 .onb-final35-actions .whatsapp{
  background:#1cae62;
  color:#fff;
}

.onb-exp47 .onb-final35-actions .phone{
  background:#fff;
  color:#071b3a;
}

/* Medium screens: two compact rows. */
@media(max-width:1180px){
  .onb-exp47 .onb-exp47-controls{
    grid-template-columns:repeat(4,minmax(0,1fr));
  }
}

@media(max-width:860px){
  .onb-exp47 .onb-exp47-filter-head{
    display:block;
  }
  .onb-exp47 .onb-exp47-result{
    width:auto;
    display:inline-block;
    margin-top:12px;
  }
  .onb-exp47 .onb-exp47-controls{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .onb-exp47 .onb-exp47-notes,
  .onb-exp47 .onb-feature35,
  .onb-exp47 .onb-region35{
    grid-template-columns:1fr;
  }
  .onb-exp47 .onb-region35 .onb-feature35-img{
    order:-1;
  }
}

@media(max-width:640px){
  .onb-exp47 .onb-exp47-filter{
    width:min(100% - 28px,1120px);
    padding:18px;
  }
  .onb-exp47 .onb-exp47-controls{
    grid-template-columns:1fr!important;
  }
  .onb-exp47 .onb-feature35,
  .onb-exp47 .onb-region35,
  .onb-exp47 .onb-final35{
    width:min(100% - 28px,1120px);
  }
  .onb-exp47 .onb-feature35-copy{
    padding:22px;
  }
  .onb-exp47 .onb-feature35-img{
    min-height:220px;
  }
  .onb-exp47 .onb-final35{
    min-height:310px;
    background-position:center;
  }
  .onb-exp47 .onb-final35-inner{
    padding:28px;
  }
}
