/* NEWS archive: tags follow the title, never overlay a long title.
 * Shared by /blog/, category archives and tag archives; other cards unchanged.
 */
#newsPage .news-data-body {
  min-width: 0;
}

#newsPage .news-data-body > .news-data-tag {
  position: static;
  inset: auto;
  display: table;
  width: fit-content;
  max-width: 100%;
  box-sizing: border-box;
  margin: 16px 0 0 auto;
  overflow-wrap: anywhere;
}

/* Keep image layout independent of editable, descriptive alternative text.
 * Values preserve the delivered service_sub.css / service_rental.css rules.
 * Only the fixed classes added to the affected service images are targeted.
 */
.anew-service-bio-image {
  width: 100%;
  max-width: 600px;
  border-radius: 3.2rem;
  display: block;
  margin: 0 auto;
}

.rental-bio-wrapper .anew-service-bio-image {
  border-radius: 0;
  border-top-left-radius: 3.2rem;
  margin: 0 0 0 auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center center;
}

.anew-rental-side-image {
  width: 30rem;
  position: absolute;
  left: 0;
  top: 6rem;
}

.anew-rental-desc-image {
  display: block;
  width: 80%;
  margin-inline: auto;
  margin-block: 4rem 10rem;
}

@media screen and (max-width: 1356px) {
  .rental-bio-wrapper .anew-service-bio-image {
    max-width: unset;
    width: 70rem;
  }
}

@media screen and (max-width: 768px) {
  .rental-bio-wrapper .anew-service-bio-image {
    width: 100%;
  }
  .anew-rental-side-image {
    display: none;
  }
}

@media screen and (max-width: 425px) {
  .anew-service-bio-image {
    max-width: 600px;
    border-radius: 1.6rem;
  }
}

/* GOODFLAT uses the same editable-alt pattern; preserve its existing sizes. */
#goodFlat .anew-goodflat-bio-image {
  width: 800px;
  border-radius: 2.4rem;
  display: block;
  margin: 0 auto;
  max-width: 100%;
}

#goodFlat .anew-goodflat-banner-image {
  width: 80%;
  display: block;
  margin: 0 auto;
  margin-block: 10rem;
}

#goodFlat .anew-goodflat-feature-image {
  width: 100%;
  border-radius: 2.4rem;
  margin-block: 8rem;
}

#goodFlat .anew-goodflat-announce-image {
  width: 45%;
  border-radius: 2.4rem;
}

#goodFlat .anew-goodflat-white-image {
  width: 80%;
  display: block;
  margin: 0 auto;
}

#goodFlat .anew-goodflat-social-image {
  width: 100%;
  height: 100%;
}

@media screen and (max-width: 768px) {
  #goodFlat .anew-goodflat-announce-image {
    width: 80%;
    border-radius: 2.4rem;
    display: block;
    margin: 0 auto;
  }
}

@media screen and (max-width: 426px) {
  #goodFlat .anew-goodflat-banner-image {
    width: 80%;
    display: block;
    margin-left: auto;
    margin-right: 0;
    margin-block: 4rem;
  }
}
