.place-ad-page {
  --place-green: ##43b02a;
  --place-green-dark: #258b16;
  --place-yellow: #ffc900;
  --place-ink: #171a1d;
  --place-muted: #6f7882;
  --place-line: #e2e7df;
  min-height: calc(100vh - 84px);
  padding: 28px clamp(16px, 5vw, 72px) 80px;
  background: linear-gradient(180deg, #f7f9f5 0, #fbfcf9 52%, #fff 100%);
}

.place-ad-shell {
  width: min(1060px, 100%);
  margin-inline: auto;
}

.place-ad-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  color: #919995;
  font-size: 12px;
  font-weight: 700;
}

.place-ad-breadcrumb a { color: var(--place-green-dark); }
.place-ad-breadcrumb strong { color: var(--place-ink); }

.place-ad-heading {
  max-width: 680px;
  margin-inline: auto;
  text-align: center;
}

.place-ad-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 0 11px;
  color: var(--place-green-dark);
  background: #eaf6e6;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.place-ad-heading h1 {
  margin: 13px 0 8px;
  color: var(--place-ink);
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.08;
}

.place-ad-heading p {
  margin: 0;
  color: var(--place-muted);
  font-size: 15px;
  font-weight: 500;
}

.place-ad-progress {
  position: relative;
  width: min(520px, 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 30px auto 34px;
  padding: 0;
  list-style: none;
}

.place-ad-progress::before {
  content: "";
  position: absolute;
  top: 16px;
  right: 16.66%;
  left: 16.66%;
  height: 2px;
  background: #dfe5dc;
}

.place-ad-progress li {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 7px;
  color: #939b96;
  font-size: 10px;
  text-transform: uppercase;
}

.place-ad-progress span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 2px solid #dfe5dc;
  border-radius: 50%;
  color: #7d8580;
  background: #fff;
  font-size: 12px;
  font-weight: 900;
}

.place-ad-progress li.active { color: var(--place-green-dark); }

.place-ad-progress li.active span {
  border-color: var(--place-green);
  color: #fff;
  background: var(--place-green);
  box-shadow: 0 7px 18px rgba(67, 176, 42, .24);
}

.place-ad-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 20px;
}

.place-ad-card-wrap {
  position: relative;
  min-width: 0;
}

.place-ad-card-wrap.open { z-index: 20; }

.place-ad-card {
  position: relative;
  width: 100%;
  min-height: 212px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  overflow: hidden;
  border: 1px solid var(--place-line);
  border-radius: 8px;
  padding: 24px 42px 22px 24px;
  color: var(--place-ink);
  background: #fff;
  box-shadow: 0 14px 36px rgba(29, 39, 26, .08);
  text-align: center;
  cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

button.place-ad-card { font: inherit; }

.place-ad-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: var(--place-yellow);
  opacity: 0;
  transform: scaleX(.45);
  transition: opacity .22s ease, transform .22s ease;
}

.place-ad-card:hover,
.place-ad-card:focus-visible,
.place-ad-card-wrap.open > .place-ad-card {
  border-color: rgba(67, 176, 42, .46);
  box-shadow: 0 20px 48px rgba(29, 39, 26, .14);
  transform: translateY(-4px);
}

.place-ad-card:hover::before,
.place-ad-card:focus-visible::before,
.place-ad-card-wrap.open .place-ad-card::before {
  opacity: 1;
  transform: scaleX(1);
}

.place-ad-icon {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--place-green);
  background: #edf7ea;
}

.place-ad-icon svg {
  width: 43px;
  height: 43px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.place-ad-card-copy {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.place-ad-card-copy strong {
  font-size: 19px;
  line-height: 1.2;
}

.place-ad-card-copy small {
  color: var(--place-muted);
  font-size: 11px;
  line-height: 1.45;
  font-weight: 600;
}

.place-ad-arrow,
.place-ad-chevron {
  position: absolute;
  top: 18px;
  right: 17px;
  width: 19px;
  height: 19px;
  fill: none;
  stroke: #a4aca6;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.place-ad-card:hover .place-ad-arrow {
  stroke: var(--place-green);
  transform: translateX(2px);
}

.place-ad-chevron { transition: transform .2s ease; }

.place-ad-card-wrap.open .place-ad-chevron {
  stroke: var(--place-green);
  transform: rotate(180deg);
}

.place-ad-options {
  position: static;
  z-index: 30;
  max-height: 0;
  overflow: hidden;
  border: 1px solid var(--place-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 22px 54px rgba(24, 31, 22, .18);
  pointer-events: none;
  opacity: 0;
  transition: max-height .24s ease, margin-top .24s ease, opacity .18s ease;
}

.place-ad-card-wrap.open .place-ad-options {
  max-height: 260px;
  margin-top: 10px;
  pointer-events: auto;
  opacity: 1;
}

.place-ad-options a {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 16px;
  color: var(--place-ink);
  background: #fff;
}

.place-ad-options a + a { border-top: 1px solid var(--place-line); }

.place-ad-options a:hover,
.place-ad-options a:focus-visible {
  color: var(--place-green-dark);
  background: #f2f8ef;
}

.place-ad-options span { display: grid; gap: 4px; }
.place-ad-options b { font-size: 14px; }

.place-ad-options small {
  color: var(--place-muted);
  font-size: 10px;
  font-weight: 600;
}

.place-ad-options svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.place-ad-help {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  border: 1px solid #e8e2c9;
  border-radius: 8px;
  padding: 16px 18px;
  background: #fffbea;
}

.place-ad-help > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #705b00;
  background: var(--place-yellow);
}

.place-ad-help svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.place-ad-help strong { color: var(--place-ink); font-size: 13px; }

.place-ad-help p {
  margin: 4px 0 0;
  color: var(--place-muted);
  font-size: 11px;
  font-weight: 500;
}

.place-ad-help > a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d8c86a;
  border-radius: 7px;
  padding: 0 14px;
  color: #594900;
  background: #fff;
  font-size: 11px;
  font-weight: 900;
}

.place-ad-help > a:hover {
  border-color: var(--place-yellow);
  background: #fff7ca;
}

@media (max-width: 820px) {
  .place-ad-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .place-ad-page {
    min-height: calc(100vh - 72px);
    padding: 20px 12px 58px;
  }

  .place-ad-breadcrumb { margin-bottom: 22px; }
  .place-ad-heading h1 { font-size: 31px; }
  .place-ad-heading p { font-size: 13px; }
  .place-ad-progress { margin: 24px auto 27px; }
  .place-ad-progress li { font-size: 8px; }

  .place-ad-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .place-ad-card {
    min-height: 112px;
    grid-template-columns: 58px minmax(0, 1fr);
    place-items: center start;
    align-content: center;
    gap: 14px;
    padding: 18px 44px 18px 18px;
    text-align: left;
  }

  .place-ad-icon { width: 56px; height: 56px; }
  .place-ad-icon svg { width: 35px; height: 35px; }
  .place-ad-card-copy strong { font-size: 17px; }

  .place-ad-options {
    box-shadow: 0 14px 34px rgba(24, 31, 22, .14);
  }

  .place-ad-help { grid-template-columns: 42px minmax(0, 1fr); }
  .place-ad-help > a { grid-column: 1 / -1; width: 100%; }
}
