/* ======================================================
   View: schepen_verkoop — GRID + KAARTSTIJL
   Geldt voor alle pages (te koop + verkocht)
   ====================================================== */

/* GRID:
   - < 576px: 1 kolom
   - ≥ 576px: 2 kolommen
*/
.view-content.view-schepen-verkoop {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

/* Vanaf 576px: twee kolommen */
@media (min-width: 576px) {
  .view-content.view-schepen-verkoop {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Elke views-row laat z’n inhoud de gridcel innemen */
.view-content.view-schepen-verkoop > .views-row {
  display: contents;
}

/* Zorg dat de kaart zelf de gridcel opvult */
.view-content.view-schepen-verkoop .mmsi-card {
  width: 100%;
}

/* ======================================================
   KAARTSTIJL (.mmsi-card)
   ====================================================== */

.mmsi-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
  transition:
    transform .15s ease,
    box-shadow .15s ease,
    border-color .15s ease;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.mmsi-card:hover {
  transform: translateY(-2px);
  border-color: #d1d5db;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .08);
}

/* Foto */
.mmsi-card__photo {
  background: #f8fafc;
}

.mmsi-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mmsi-card__photo-fallback {
  height: 100%;
  display: grid;
  place-items: center;
  color: #6b7280;
  border-bottom: 1px dashed #e5e7eb;
}

/* Body / header */
.mmsi-card__body {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.mmsi-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.mmsi-card__title {
  flex: 1 1 auto;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.25;
  color: #0f172a;
}

/* Specs-blok */
.mmsi-card__specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  min-width: 0;
}

@media (max-width: 768px) {
  .mmsi-card__specs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 420px) {
  .mmsi-card__specs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.mmsi-card__specs > div {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 8px 10px;
  min-width: 0;
}

.mmsi-card__specs span {
  display: block;
  font-size: .75rem;
  color: #6b7280;
  letter-spacing: .02em;
}

.mmsi-card__specs strong {
  display: block;
  font-size: .95rem;
  color: #111827;
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ======================================================
   HEADER-ACTIES: hart + viewcount netjes uitlijnen
   (de exacte hart-styling gebeurt in view-heart.css)
   ====================================================== */

.mmsi-card__actions {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

/* View counter naast het hart */
.s2b-viewcount {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  font-size: .875rem;
  line-height: 1;
  color: #6b7280; /* gray-500 */
}

.s2b-viewcount .s2b-eye {
  width: 18px;
  height: 18px;
  display: block;
  fill: currentColor;
}

/* Dark mode: iets lichtere tekstkleur */
.is-dark .s2b-viewcount {
  color: #cbd5e1; /* slate-300 */
}

/* ======================================================
   DARK MODE – kaarten + specs + filters leesbaar
   (lichtgewicht; vult globale dark-mode aan)
   ====================================================== */

.is-dark {
  --s2b-bg: #0f1115;
  --s2b-card: #14171d;
  --s2b-card-border: #232730;
  --s2b-text: #e8eaed;
  --s2b-text-muted: #9aa0a6;
  --s2b-soft: #1b1f27;
  --s2b-input-bg: #101317;
  --s2b-input-bd: #2b313a;
}

/* Kaarten */
.is-dark .mmsi-card {
  background: var(--s2b-card);
  border-color: var(--s2b-card-border);
  color: var(--s2b-text);
}

.is-dark .mmsi-card__title {
  color: var(--s2b-text);
}

.is-dark .mmsi-card__photo-fallback {
  background: var(--s2b-soft);
  color: var(--s2b-text-muted);
  border-color: var(--s2b-card-border);
}

/* Specs-tiles */
.is-dark .mmsi-card__specs > div {
  background: var(--s2b-soft);
  border: 1px solid var(--s2b-card-border);
  color: var(--s2b-text);
}

.is-dark .mmsi-card__specs span {
  color: var(--s2b-text-muted);
}

.is-dark .mmsi-card__specs strong {
  color: var(--s2b-text);
}

/* Exposed form / filters in deze view (kaart bovenaan) */
.is-dark .s2b-exposed.card {
  background: var(--s2b-card);
  border-color: var(--s2b-card-border);
  color: var(--s2b-text);
}

.is-dark .s2b-exposed .form-control,
.is-dark .s2b-exposed select,
.is-dark .s2b-exposed .form-select {
  background: var(--s2b-input-bg);
  color: var(--s2b-text);
  border-color: var(--s2b-input-bd);
}

.is-dark .s2b-exposed .form-control::placeholder {
  color: #838a93;
}

/* Outline-knoppen in filters */
.is-dark .s2b-exposed .btn-outline-primary {
  color: #cfe0ff;
  border-color: #5578cc;
}

.is-dark .s2b-exposed .btn-outline-primary:hover {
  background: #1b2a4b;
  color: #fff;
}

.is-dark .s2b-exposed .btn-outline-secondary {
  color: #e0e3e7;
  border-color: #3a4049;
}

.is-dark .s2b-exposed .btn-outline-secondary:hover {
  background: #2a2f36;
  color: #fff;
}
/* ======================================================
   Verkocht v2 (schepen_verkoop — page_3)
   Zelfde 2-koloms grid als 'Te koop'
   ====================================================== */

.view-id-schepen_verkoop.view-display-id-page_3 .view-content {
  display: grid !important;
  gap: 16px;
  grid-template-columns: 1fr;          /* mobiel: 1 kolom */
}

@media (min-width: 576px) {
  .view-id-schepen_verkoop.view-display-id-page_3 .view-content {
    grid-template-columns: repeat(2, minmax(0, 1fr));  /* vanaf 576px: 2 kolommen */
  }
}

/* elke rij laat z'n inhoud de gridcel vullen */
.view-id-schepen_verkoop.view-display-id-page_3 .view-content > .views-row {
  display: contents;
}

/* kaart zelf vult de cel */
.view-id-schepen_verkoop.view-display-id-page_3 .mmsi-card {
  width: 100%;
}


/* ===== Ship2Buy premium scheepskaart redesign ===== */

.mmsi-card {
  background: #ffffff !important;
  border: 1px solid #d9e2ea !important;
  border-radius: 22px !important;
  box-shadow: 0 10px 28px rgba(30, 43, 58, 0.08) !important;
  overflow: hidden !important;
}

.mmsi-card:hover {
  transform: translateY(-3px);
  border-color: #cfd9e2 !important;
  box-shadow: 0 14px 34px rgba(30, 43, 58, 0.12) !important;
}

.mmsi-card__photo {
  background: #eef3f7 !important;
}

.mmsi-card__photo img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.mmsi-card__photo-fallback {
  min-height: 240px;
  background: #eef3f7 !important;
  color: #7a8694 !important;
  border-bottom: 1px solid #d9e2ea !important;
}

.mmsi-card__body {
  padding: 18px 18px 20px !important;
  gap: 14px !important;
}

.mmsi-card__header {
  gap: 12px !important;
  align-items: flex-start !important;
}

.mmsi-card__title {
  color: #1e2b3a !important;
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  white-space: normal !important;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.mmsi-card__specs {
  gap: 12px !important;
}

.mmsi-card__specs > div {
  background: #f7fafc !important;
  border: 1px solid #d9e2ea !important;
  border-radius: 14px !important;
  padding: 10px 12px !important;
}

.mmsi-card__specs span {
  color: #718091 !important;
  font-size: 0.74rem !important;
  font-weight: 600;
  letter-spacing: .01em;
  text-transform: none;
}

.mmsi-card__specs strong {
  color: #1e2b3a !important;
  font-size: .96rem !important;
  font-weight: 700 !important;
  margin-top: 4px !important;
}

.mmsi-card__cta {
  margin-top: 4px !important;
}

.mmsi-card__cta .btn,
.mmsi-card__cta .btn-outline-primary {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px !important;
  border-radius: 14px !important;
  background: #1e2b3a !important;
  border: 1px solid #1e2b3a !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

.mmsi-card__cta .btn:hover,
.mmsi-card__cta .btn-outline-primary:hover {
  background: #26384b !important;
  border-color: #26384b !important;
  color: #ffffff !important;
}

.mmsi-card__actions {
  gap: 8px !important;
}

/* ===== /Ship2Buy premium scheepskaart redesign ===== */


/* ===== Ship2Buy ship card finetune ===== */

.mmsi-card {
  position: relative;
}

.mmsi-card__body {
  padding-bottom: 16px !important;
}

.mmsi-card__cta {
  margin-top: 0 !important;
}

.mmsi-card__cta .btn,
.mmsi-card__cta .btn-outline-primary {
  min-height: 46px !important;
  padding: 11px 18px !important;
  border-radius: 14px !important;
}

.mmsi-card__specs strong {
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: unset !important;
  line-height: 1.25 !important;
  word-break: break-word;
}

.mmsi-card__specs > div:nth-child(4) strong {
  font-size: .9rem !important;
}

/* Uitgelicht-ster linksboven mooier */
.mmsi-card .featured-star,
.mmsi-card .s2b-featured-star,
.mmsi-card .field--name-field-uitgelicht::before {
  z-index: 3;
}

.mmsi-card__photo {
  position: relative;
}

/* Als er een losse sterbadge op de foto staat */
.mmsi-card__photo .star,
.mmsi-card__photo .featured-star,
.mmsi-card__photo .s2b-featured-star {
  position: absolute !important;
  top: 10px !important;
  left: 10px !important;
  width: 30px !important;
  height: 30px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 999px !important;
  background: rgba(30, 43, 58, 0.88) !important;
  color: #d4a017 !important;
  box-shadow: 0 4px 10px rgba(0,0,0,.18) !important;
  font-size: 16px !important;
}

/* ===== /Ship2Buy ship card finetune ===== */


/* =========================================================
   HARD FIX DARK MODE — schepen cards
   ========================================================= */

html.is-dark .view-id-schepen_verkoop .mmsi-card,
body.is-dark .view-id-schepen_verkoop .mmsi-card{
  background:#11161f !important;
  border:1px solid #2b3444 !important;
  box-shadow:0 12px 28px rgba(0,0,0,.35) !important;
}

html.is-dark .view-id-schepen_verkoop .mmsi-card__body,
body.is-dark .view-id-schepen_verkoop .mmsi-card__body{
  background:#11161f !important;
}

html.is-dark .view-id-schepen_verkoop .mmsi-card__title,
body.is-dark .view-id-schepen_verkoop .mmsi-card__title{
  color:#f3f6fb !important;
}

html.is-dark .view-id-schepen_verkoop .mmsi-card__specs > div,
body.is-dark .view-id-schepen_verkoop .mmsi-card__specs > div{
  background:#0a1019 !important;
  border:1px solid #2b3444 !important;
}

html.is-dark .view-id-schepen_verkoop .mmsi-card__specs span,
body.is-dark .view-id-schepen_verkoop .mmsi-card__specs span{
  color:#98a4b8 !important;
}

html.is-dark .view-id-schepen_verkoop .mmsi-card__specs strong,
body.is-dark .view-id-schepen_verkoop .mmsi-card__specs strong{
  color:#f3f6fb !important;
}

html.is-dark .view-id-schepen_verkoop .mmsi-card__cta .btn,
html.is-dark .view-id-schepen_verkoop .mmsi-card__cta .btn-outline-primary,
body.is-dark .view-id-schepen_verkoop .mmsi-card__cta .btn,
body.is-dark .view-id-schepen_verkoop .mmsi-card__cta .btn-outline-primary{
  background:#1e2b3a !important;
  color:#ffffff !important;
  border-color:#1e2b3a !important;
}

html.is-dark .view-id-schepen_verkoop .mmsi-card__cta .btn:hover,
html.is-dark .view-id-schepen_verkoop .mmsi-card__cta .btn-outline-primary:hover,
body.is-dark .view-id-schepen_verkoop .mmsi-card__cta .btn:hover,
body.is-dark .view-id-schepen_verkoop .mmsi-card__cta .btn-outline-primary:hover{
  background:#24364a !important;
  border-color:#24364a !important;
  color:#ffffff !important;
}

html.is-dark .view-id-schepen_verkoop .s2b-viewcount,
body.is-dark .view-id-schepen_verkoop .s2b-viewcount{
  background:#0f1726 !important;
  color:#f3f6fb !important;
  border-color:#2b3444 !important;
}

html.is-dark .view-id-schepen_verkoop .s2b-viewcount .num,
html.is-dark .view-id-schepen_verkoop .s2b-viewcount .s2b-eye,
body.is-dark .view-id-schepen_verkoop .s2b-viewcount .num,
body.is-dark .view-id-schepen_verkoop .s2b-viewcount .s2b-eye{
  color:#f3f6fb !important;
  fill:currentColor !important;
}


/* Ship2Buy fix: geen-foto fallback binnen Bootstrap ratio houden */
.mmsi-card__photo.ratio {
  overflow: hidden !important;
}

.mmsi-card__photo.ratio > .mmsi-card__photo-fallback {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  display: grid !important;
  place-items: center !important;
}

/* ==========================================================
 * S2B_SCHEEPSAANBOD_PAGER_FINAL_20260907
 * Definitieve Ship2Buy pager voor schepen_verkoop.
 * Exacte Drupal/Bootstrap DOM:
 * ul.pagination.js-pager__items
 * ========================================================== */

ul.pagination.js-pager__items {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: center !important;

  gap: 7px !important;

  margin: 24px auto 30px !important;
  padding: 0 !important;

  list-style: none !important;
}

ul.pagination.js-pager__items > li.page-item {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

ul.pagination.js-pager__items
> li.page-item
> .page-link {

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  min-width: 44px !important;
  height: 44px !important;

  margin: 0 !important;
  padding: 0 13px !important;

  border: 1px solid #dfe5eb !important;
  border-radius: 13px !important;

  background: #ffffff !important;
  color: #1b2c3e !important;

  font-size: 15px !important;
  line-height: 1 !important;
  font-weight: 800 !important;

  text-decoration: none !important;

  box-shadow:
    0 5px 14px rgba(15,35,55,.06) !important;

  transition:
    transform .15s ease,
    border-color .15s ease,
    background-color .15s ease,
    box-shadow .15s ease !important;
}


/* Hover */

ul.pagination.js-pager__items
> li.page-item
> a.page-link:hover {

  transform: translateY(-1px);

  border-color: #d8ae4c !important;

  background: #fffaf0 !important;
  color: #132c40 !important;

  box-shadow:
    0 8px 18px rgba(15,35,55,.10) !important;
}


/* Actieve pagina */

ul.pagination.js-pager__items
> li.page-item.active
> .page-link,

ul.pagination.js-pager__items
> li.page-item
> .page-link.active {

  border-color: #c89c34 !important;

  background: #d8ae4c !important;
  color: #132c40 !important;

  font-weight: 900 !important;

  box-shadow:
    0 7px 18px rgba(216,174,76,.28) !important;
}


/* Focus */

ul.pagination.js-pager__items
> li.page-item
> a.page-link:focus {

  outline: none !important;

  border-color: #d8ae4c !important;

  background: #fffaf0 !important;
  color: #132c40 !important;

  box-shadow:
    0 0 0 3px rgba(216,174,76,.20) !important;
}


/* Disabled / ellipsis */

ul.pagination.js-pager__items
> li.page-item.disabled
> .page-link {

  border-color: #e6e9ed !important;

  background: #f7f8fa !important;
  color: #98a2ad !important;

  box-shadow: none !important;
}


/* First / Previous / Next / Last */

ul.pagination.js-pager__items
> li.pager__item--first
> .page-link,

ul.pagination.js-pager__items
> li.pager__item--previous
> .page-link,

ul.pagination.js-pager__items
> li.pager__item--next
> .page-link,

ul.pagination.js-pager__items
> li.pager__item--last
> .page-link {

  min-width: auto !important;
  padding-left: 16px !important;
  padding-right: 16px !important;
}


/* Bootstrap hoekafronding neutraliseren */

ul.pagination.js-pager__items
> li.page-item:first-child
> .page-link,

ul.pagination.js-pager__items
> li.page-item:last-child
> .page-link {

  border-radius: 13px !important;
}


/* Mobiel */

@media (max-width: 767px) {

  ul.pagination.js-pager__items {
    gap: 5px !important;

    margin:
      18px 12px 24px !important;
  }

  ul.pagination.js-pager__items
  > li.page-item
  > .page-link {

    min-width: 39px !important;
    height: 39px !important;

    padding:
      0 10px !important;

    border-radius:
      11px !important;

    font-size:
      14px !important;
  }

  ul.pagination.js-pager__items
  > li.pager__item--first
  > .page-link,

  ul.pagination.js-pager__items
  > li.pager__item--previous
  > .page-link,

  ul.pagination.js-pager__items
  > li.pager__item--next
  > .page-link,

  ul.pagination.js-pager__items
  > li.pager__item--last
  > .page-link {

    padding-left:
      12px !important;

    padding-right:
      12px !important;
  }
}

/* /S2B_SCHEEPSAANBOD_PAGER_FINAL_20260907 */


/* =========================================================
   S2B_SCHEEPSAANBOD_NEWSLETTER_CTA_20260912
   ========================================================= */

.s2b-offer-newsletter {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;

  padding: 22px 25px;
  margin: 18px 0 22px;

  border-radius: 20px;

  background:
    radial-gradient(
      circle at 100% 0,
      rgba(216, 183, 104, .22),
      transparent 38%
    ),
    linear-gradient(
      135deg,
      #1e2b3a 0%,
      #2a3d52 100%
    );

  color: #fff;

  box-shadow:
    0 12px 34px rgba(30, 43, 58, .11);
}

.s2b-offer-newsletter__copy {
  min-width: 0;
}

.s2b-offer-newsletter__eyebrow {
  margin-bottom: 5px;

  color: #d8b768;

  font-size: 11px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .12em;

  text-transform: uppercase;
}

.s2b-offer-newsletter h2 {
  margin: 0 0 5px;

  color: #fff;

  font-size: clamp(
    19px,
    2.3vw,
    25px
  );

  line-height: 1.18;
  font-weight: 800;
}

.s2b-offer-newsletter p {
  margin: 0;

  color: rgba(255, 255, 255, .80);

  font-size: 14px;
  line-height: 1.55;
}

.s2b-offer-newsletter__button {
  flex: 0 0 auto;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  min-height: 46px;

  padding: 11px 19px;

  border-radius: 999px;

  background: #d8b768;

  color: #1e2b3a !important;

  font-size: 14px;
  font-weight: 800;

  text-decoration: none !important;

  transition:
    transform .15s ease,
    box-shadow .15s ease;
}

.s2b-offer-newsletter__button:hover,
.s2b-offer-newsletter__button:focus {
  transform: translateY(-1px);

  color: #1e2b3a !important;

  box-shadow:
    0 8px 22px rgba(0, 0, 0, .16);
}

@media (max-width: 767px) {
  .s2b-offer-newsletter {
    align-items: stretch;
    flex-direction: column;

    gap: 15px;

    padding: 19px 17px;
    margin: 15px 0 18px;

    border-radius: 17px;
  }

  .s2b-offer-newsletter__button {
    width: 100%;
  }
}

/* /S2B_SCHEEPSAANBOD_NEWSLETTER_CTA_20260912 */

/* =========================================================
   S2B_MOBILE_NEWSLETTER_COMPACT_20260912
   Op mobiel geen promotiekaart maar één subtiele link.
   ========================================================= */

@media (max-width: 767px) {

  .s2b-offer-newsletter {
    display: block !important;

    margin:
      7px
      4px
      12px !important;

    padding: 0 !important;

    min-height: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: transparent !important;

    box-shadow: none !important;
  }

  .s2b-offer-newsletter__copy {
    display: none !important;
  }

  .s2b-offer-newsletter__button {
    display: inline-flex !important;

    width: auto !important;
    min-height: 0 !important;

    padding:
      5px
      0 !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: transparent !important;

    color: #526273 !important;

    font-size: 13px !important;
    line-height: 1.45 !important;
    font-weight: 650 !important;

    box-shadow: none !important;
  }

  .s2b-offer-newsletter__button::before {
    content:
      "Nieuw aanbod ontvangen? ";

    font-weight: 500;
  }

  .s2b-offer-newsletter__button:hover,
  .s2b-offer-newsletter__button:focus {
    transform: none !important;

    color: #1e2b3a !important;

    text-decoration: underline !important;

    box-shadow: none !important;
  }
}

/* /S2B_MOBILE_NEWSLETTER_COMPACT_20260912 */

/* =========================================================
   S2B_NEWSLETTER_LINK_FINAL_MOBILE_20260912
   ========================================================= */

.s2b-offer-newsletter__mobile-prefix,
.s2b-offer-newsletter__mobile-label,
.s2b-offer-newsletter__separator {
  display: none;
}

@media (max-width: 767px) {

  .s2b-offer-newsletter {
    display: block !important;
    margin: 4px 7px 10px !important;
    padding: 0 !important;
    min-height: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: transparent !important;
    box-shadow: none !important;
  }

  .s2b-offer-newsletter__copy {
    display: none !important;
  }

  .s2b-offer-newsletter__button {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;

    width: auto !important;
    min-height: 0 !important;

    padding: 4px 1px !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: transparent !important;

    color: #6d7986 !important;

    font-size: 12.5px !important;
    line-height: 1.4 !important;
    font-weight: 500 !important;

    text-decoration: none !important;
    box-shadow: none !important;
  }

  .s2b-offer-newsletter__button::before {
    display: none !important;
    content: none !important;
  }

  .s2b-offer-newsletter__desktop-label {
    display: none !important;
  }

  .s2b-offer-newsletter__mobile-prefix {
    display: inline !important;
    color: #6d7986 !important;
    font-weight: 500 !important;
  }

  .s2b-offer-newsletter__separator {
    display: inline !important;
    color: #adb5bd !important;
  }

  .s2b-offer-newsletter__mobile-label {
    display: inline !important;
    color: #1e2b3a !important;
    font-weight: 750 !important;
  }

  .s2b-offer-newsletter__arrow {
    color: #ae8936 !important;
    font-weight: 800 !important;
  }

  .s2b-offer-newsletter__button:hover,
  .s2b-offer-newsletter__button:focus {
    transform: none !important;
    background: transparent !important;
    box-shadow: none !important;
  }
}

/* /S2B_NEWSLETTER_LINK_FINAL_MOBILE_20260912 */

/* =========================================================
   S2B_NEWSLETTER_MOBILE_CENTER_20260912
   ========================================================= */

@media (max-width: 767px) {

  .s2b-offer-newsletter {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 100% !important;

    text-align: center !important;
  }

  .s2b-offer-newsletter__button {
    justify-content: center !important;
    text-align: center !important;
  }
}

/* /S2B_NEWSLETTER_MOBILE_CENTER_20260912 */

/* S2B_SALE_TITLE_STYLE_20260926 */
.s2b-sale-title {
  position: relative;
  display: inline-block;
  margin: 0 0 28px !important;
  padding: 0 0 13px;
  color: #071f35;
  font-weight: 850;
  line-height: 1.08;
  letter-spacing: -.025em;
  white-space: nowrap;
}

.s2b-sale-title__main {
  color: #071f35;
}

.s2b-sale-title__dot {
  color: #d5a93f;
  font-weight: 900;
}

.s2b-sale-title__accent {
  color: #d5a93f;
  font-weight: 900;
}

.s2b-sale-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 92px;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg,#f0cf78 0%,#d5a93f 100%);
}

@media (max-width:640px) {
  .s2b-sale-title {
    max-width: 100%;
    margin-bottom: 24px !important;
    padding-bottom: 11px;
    font-size: clamp(25px, 7.3vw, 31px) !important;
    letter-spacing: -.035em;
    white-space: nowrap;
  }

  .s2b-sale-title::after {
    width: 72px;
    height: 4px;
  }
}

/* ==========================================================
 * S2B_SCHEPEN_DOCUMENT_SCROLL_20260927
 *
 * Drupal Views Infinite Scroll luistert naar window-scroll.
 * Voorkom daarom een afzonderlijk scrollende body op deze view.
 * ========================================================== */
body.page-route-view-schepen-verkoop-page-1 {
  height: auto !important;
  min-height: 100% !important;
  overflow-y: visible !important;
}
/* /S2B_SCHEPEN_DOCUMENT_SCROLL_20260927 */

/* ==========================================================
 * S2B_INFINITE_SCROLL_LOADING_MESSAGE_20260927
 * Duidelijke laadmelding voor volgende batch schepen.
 * ========================================================== */
body.page-route-view-schepen-verkoop-page-1
.ajax-progress.ajax-progress-fullscreen {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  right: auto !important;
  bottom: auto !important;
  z-index: 2000 !important;

  display: flex !important;
  align-items: center;
  justify-content: flex-start;
  gap: 13px;

  width: min(360px, calc(100vw - 32px)) !important;
  height: auto !important;
  min-height: 68px;
  margin: 0 !important;
  padding: 14px 18px !important;

  transform: translate(-50%, -50%);
  box-sizing: border-box;

  border: 1px solid rgba(216, 174, 76, .62);
  border-radius: 16px;

  background: rgba(19, 44, 64, .98) !important;
  background-image: none !important;
  box-shadow: 0 18px 48px rgba(7, 22, 35, .32);

  color: transparent;
  font-size: 0;
  pointer-events: none;
}

body.page-route-view-schepen-verkoop-page-1
.ajax-progress.ajax-progress-fullscreen::before {
  content: "";
  flex: 0 0 28px;

  width: 28px;
  height: 28px;
  box-sizing: border-box;

  border: 3px solid rgba(255, 255, 255, .28);
  border-top-color: #d8ae4c;
  border-radius: 50%;

  animation: s2b-infinite-scroll-spin .75s linear infinite;
}

body.page-route-view-schepen-verkoop-page-1
.ajax-progress.ajax-progress-fullscreen::after {
  content: "Volgende schepen worden geladen…";

  color: #fff;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.35;
  letter-spacing: .01em;
  text-align: left;
}

@keyframes s2b-infinite-scroll-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 480px) {
  body.page-route-view-schepen-verkoop-page-1
  .ajax-progress.ajax-progress-fullscreen {
    width: calc(100vw - 24px) !important;
    min-height: 64px;
    padding: 12px 15px !important;
  }

  body.page-route-view-schepen-verkoop-page-1
  .ajax-progress.ajax-progress-fullscreen::after {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.page-route-view-schepen-verkoop-page-1
  .ajax-progress.ajax-progress-fullscreen::before {
    animation: none;
  }
}
/* /S2B_INFINITE_SCROLL_LOADING_MESSAGE_20260927 */

/*
 * S2B_SALES_PHOTO_CTA_20261001
 *
 * Foto-uploadkaart in het actuele Scheepsaanbod.
 * Mobiel positie 3; desktop/tablet positie 5.
 */
.view-content.view-schepen-verkoop > .s2b-photo-inline-cta {
  position: relative;
  isolation: isolate;
  align-self: stretch;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 480px;
  padding: clamp(24px, 4vw, 38px);
  justify-content: flex-end;
  color: #fff !important;
  text-decoration: none !important;
  border: 1px solid rgba(199, 161, 74, .62) !important;
  border-radius: 22px !important;
  overflow: hidden;
  background:
    linear-gradient(
      145deg,
      rgba(4, 34, 50, .90) 0%,
      rgba(3, 62, 75, .80) 52%,
      rgba(20, 48, 58, .72) 100%
    ),
    url("/themes/custom/b5subtheme/images/s2b-featured-photo-upload.webp")
      center / cover no-repeat !important;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .16) !important;
}

.view-content.view-schepen-verkoop > .s2b-photo-inline-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(
      circle at 82% 18%,
      rgba(199, 161, 74, .24),
      transparent 36%
    );
}

.view-content.view-schepen-verkoop > .s2b-photo-inline-cta:hover {
  color: #fff !important;
  text-decoration: none !important;
  border-color: #e0ba5a !important;
  box-shadow: 0 16px 36px rgba(15, 23, 42, .22) !important;
}

.s2b-photo-inline-cta__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
  margin-top: auto;
}

.s2b-photo-inline-cta__eyebrow {
  display: inline-flex;
  max-width: 100%;
  padding: 8px 12px;
  border: 1px solid rgba(224, 186, 90, .75);
  border-radius: 999px;
  color: #f2cf70;
  background: rgba(7, 31, 45, .55);
  font-size: .76rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.s2b-photo-inline-cta__title {
  margin: 0;
  color: #fff;
  font-size: clamp(1.8rem, 3.2vw, 2.55rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.025em;
}

.s2b-photo-inline-cta__text {
  max-width: 34rem;
  margin: 0;
  color: rgba(255, 255, 255, .92);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
}

.s2b-photo-inline-cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  padding: 12px 19px;
  border-radius: 14px;
  color: #172333;
  background: linear-gradient(135deg, #f3c954, #e6ab32);
  font-size: .98rem;
  font-weight: 800;
  line-height: 1.2;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .18);
}

.s2b-photo-inline-cta--mobile {
  display: none !important;
}

.s2b-photo-inline-cta--desktop {
  display: flex !important;
}

@media (max-width: 575.98px) {
  .s2b-photo-inline-cta--mobile {
    display: flex !important;
    height: auto;
    min-height: 360px;
    justify-content: center;
  }

  .s2b-photo-inline-cta--mobile
  .s2b-photo-inline-cta__content {
    margin-top: 0;
  }

  .s2b-photo-inline-cta--desktop {
    display: none !important;
  }

  .view-content.view-schepen-verkoop > .s2b-photo-inline-cta {
    padding: 26px 24px;
  }

  .s2b-photo-inline-cta__title {
    font-size: clamp(1.75rem, 9vw, 2.35rem);
  }
}

/*
 * S2B_SALES_PHOTO_CTA_BANNER_20261001
 *
 * De foto-CTA is een compacte banner over de volledige gridbreedte.
 */
.view-content.view-schepen-verkoop >
.s2b-photo-inline-cta {
  grid-column: 1 / -1 !important;
  align-self: auto;
  width: 100%;
  height: auto !important;
  min-height: 0 !important;
  padding: 24px 30px !important;
  justify-content: center !important;
}

.s2b-photo-inline-cta__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "eyebrow button"
    "title button"
    "text button";
  align-items: center;
  gap: 8px 28px;
  margin-top: 0 !important;
}

.s2b-photo-inline-cta__eyebrow {
  grid-area: eyebrow;
}

.s2b-photo-inline-cta__title {
  grid-area: title;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
}

.s2b-photo-inline-cta__text {
  grid-area: text;
  max-width: 50rem;
}

.s2b-photo-inline-cta__button {
  grid-area: button;
  align-self: center;
  white-space: nowrap;
}

@media (min-width: 576px) {
  .s2b-photo-inline-cta__title br {
    display: none;
  }
}

@media (max-width: 575.98px) {
  .view-content.view-schepen-verkoop >
  .s2b-photo-inline-cta {
    min-height: 0 !important;
    padding: 22px !important;
  }

  .s2b-photo-inline-cta__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
    margin-top: 0 !important;
  }

  .s2b-photo-inline-cta__eyebrow {
    padding: 6px 10px;
    font-size: .68rem;
  }

  .s2b-photo-inline-cta__title {
    font-size: 1.75rem;
    line-height: 1.08;
  }

  .s2b-photo-inline-cta__text {
    font-size: .94rem;
    line-height: 1.42;
  }

  .s2b-photo-inline-cta__button {
    min-height: 46px;
    padding: 10px 16px;
  }
}

