/* ========== Paragraphs general ========== */


.page-node-type-page .field--name-field-paragraphs {
  margin-top: 50px;
}

/* ========== Location ========== */

#edit-group-location-date .tabledrag-toggle-weight-wrapper {
  display: none;
}
#edit-group-price .tabledrag-toggle-weight-wrapper {
  display: none;
}
.node-listing-edit-form tbody .paragraph-type--location > td > div > .form-wrapper,
.node-listing-edit-form tbody .paragraph-type--price > td > div > .form-wrapper,
.node-listing-edit-form tbody .paragraph-type--price > td > div.ajax-new-content > div > .form-wrapper,
.node-listing-form tbody .paragraph-type--location > td > div > .form-wrapper,
.node-listing-form tbody .paragraph-type--price > td > div > .form-wrapper,
.node-listing-form tbody .paragraph-type--price > td > div.ajax-new-content > div > .form-wrapper {
  border: 2px solid #000;
  margin: 20px 0;
  padding: 20px;
  border-radius: 12px;
  background: #ddd;
}


/* ========= paragraphs base ========= */

.paragraph--viewmode-vm-3 h2 {
      font-size: clamp(1.2rem, 1.8vw, 2.4rem);
}
@media (max-width: 1300px) {
  .paragraph--viewmode-vm-3 h2 {
      font-size: clamp(1.2rem, 2.2vw, 2.4rem);
}
}


.page-node-type-listing .field .suffix {
  font-size: 12px;
  line-height: 1.1em;
  color: #666;
  font-weight: 400;
  max-width: 70px;
  display: inline-block;
  margin-left: 5px;
}

/* ------- Paragraph Header ------ */
/* Defaults */
.nomads-paragraph-header {
  width: 100%;
}
.nomads-paragraph-icon {
  width: 100px;
  height: auto;
}
.nomads-paragraph-icon img {
  width: 100px;
  height: auto;
  display: block;
}
.nomads-paragraph-label {
  font-family: Candara, "Segoe UI", Arial, sans-serif;
  font-weight: 700;
  font-size: 18pt;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #66C3D0 0%, #005F8A 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  white-space: nowrap;
}
.nomads-paragraph-title {
  margin: 0;
}
.nomads-paragraph-title h2,
.nomads-paragraph-title h3 {
  margin: 0;
  text-align: center;
}


/* ========= Map in Paragraphs ========== */

/* --------- Data field overlay ---------- */

/* 1) Make the parent a 1-cell grid so siblings can stack */
.vm3-map-column {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto;
  position: relative;
}

/* 2) Base layer: the map */
.vm3-map-column > .field__item {
  grid-row: 1;
  grid-column: 1;
  z-index: 1;
}

/* Overlay both fields on top of the map (same grid cell) */
.vm3-map-column .field--name-field-settlement,
.vm3-map-column .field--name-field-surroundings {
  z-index: 6;
  margin: 12px;
}

/* Settlement pill: top-left */
.vm3-map-column .field--name-field-settlement {
  z-index: 6;
  margin: 12px;
  align-self: start;        /* top */
  justify-self: start;      /* left */
}

/* Surroundings: bottom-center, pills stacked bottom-up */
.vm3-map-column .field--name-field-surroundings {
  grid-row: 1;
  grid-column: 1;
  z-index: 6;
  margin: 12px;
  align-self: end;          /* bottom */
  justify-self: center;     /* center */
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* pack to bottom */
  gap: 8px;
  max-height: calc(100% - 24px); /* needed so bottom-packing is visible */
  overflow: auto;
}
.vm3-map-column .field--name-field-surroundings .nomads-pills {
  text-align: center;
}









.paragraph-relevance-virtual-field-2 .paragraph-relevance-virtual-field-items {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
}


.paragraph h2 {
  color: #666;
}



.paragraph--type--profile h2 {
  color: #0072A3;
  font-size: clamp(1.3rem, 1.6vw, 2.4rem);
}
.paragraph--type--profile h3 {
  font-size: clamp(1.1rem, 1.2vw, 2rem);
}
.paragraph--type--profile img {
  border-radius: 999px;
  float: right;
  margin-left: 2vw;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3);
  max-width: 40%;
  height: auto;
}
.user-picture {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3);
}

.paragraph--type--profile .field--name-field-profile-link {
  text-align: center;
  font-weight: 600;
  margin-top: 20px;
}