.tienvoud-location {
  position: relative;
  box-sizing: border-box;
  padding: clamp(56px, 7vw, 104px) max(32px, calc((100vw - 1240px) / 2)) clamp(64px, 8vw, 112px);
  overflow: hidden;
  border-top: 1px solid #eeeeee;
  background: #ffffff;
  color: #1a1a1a;
}

.tienvoud-location::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 31, 169, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 31, 169, .07) 1px, transparent 1px);
  background-size: 48px 48px;
  background-size: var(--panel-grid-size, 48px) var(--panel-grid-size, 48px);
  background-position: var(--panel-grid-x, 0px) var(--panel-grid-y, 0px);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.55), transparent 42%);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.55), transparent 42%);
}

.tienvoud-location-intro,
.tienvoud-location-gallery {
  position: relative;
  z-index: 1;
}

.tienvoud-location-intro {
  display: grid;
  max-width: 820px;
  gap: 18px;
  margin-bottom: clamp(38px, 5vw, 64px);
}

.tienvoud-location h2 {
  margin: 0;
  font-family: "Carter One", cursive;
  font-size: 36px;
  line-height: 1.05;
  text-wrap: balance;
}

.tienvoud-location h2 span { color: #ff1fa9; }

.tienvoud-location-intro p {
  max-width: 720px;
  margin: 0;
  font-family: "Nunito", sans-serif;
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.55;
}

.tienvoud-location-address {
  width: fit-content;
  color: #1a1a1a;
  font-family: "Carter One", cursive;
  font-size: clamp(17px, 1.5vw, 20px);
  text-decoration: underline;
  text-decoration-color: #ff1fa9;
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
  transition: color 160ms ease;
}

.tienvoud-location-address:hover,
.tienvoud-location-address:focus-visible { color: #d40e8a; }

.tienvoud-location-address:focus-visible {
  outline: 3px solid #ff1fa9;
  outline-offset: 5px;
}

.tienvoud-location-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 3.2vw, 48px);
}

.tienvoud-location-figure {
  min-width: 0;
  margin: 0;
}

.tienvoud-location-image-wrap {
  position: relative;
}

.tienvoud-location-label {
  position: absolute;
  bottom: 3px;
  left: 3px;
  padding: 8px 12px 7px;
  background: #ff1fa9;
  color: #ffffff;
  font-family: "Carter One", cursive;
  font-size: clamp(15px, 1.4vw, 19px);
  line-height: 1;
}

.tienvoud-location-photo {
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 3px solid #ff1fa9;
  box-shadow: 8px 8px 0 rgba(255, 31, 169, .18);
}

.tienvoud-location-figure figcaption {
  display: flex;
  justify-content: flex-end;
  padding: 12px 0 0;
  font-family: "Nunito", sans-serif;
}

.tienvoud-location-figure figcaption a {
  color: #555555;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: color 160ms ease;
}

.tienvoud-location-figure figcaption a:hover,
.tienvoud-location-figure figcaption a:focus-visible { color: #d40e8a; }

@media (max-width: 760px) {
  .tienvoud-location h2 { font-size: clamp(27px, 8vw, 34px); }
}

@media (max-width: 699px) {
  .tienvoud-location {
    padding: 48px 16px 64px;
  }

  .tienvoud-location::before { background-size: var(--panel-grid-size, 32px) var(--panel-grid-size, 32px); }

  .tienvoud-location-intro { margin-bottom: 34px; }

  .tienvoud-location-gallery {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .tienvoud-location-photo { box-shadow: 5px 5px 0 rgba(255, 31, 169, .18); }
}
