.star-directory-shell {
  --star-dir-ink: #171b18;
  --star-dir-muted: #536058;
  --star-dir-brand: #00943d;
  --star-dir-accent: #006b2d;
  --star-dir-accent-strong: #004d21;
  --star-dir-soft: #f1f7f3;
  /* Astra renders the page main as a flex item.  An explicit width prevents
   * it from using its intrinsic content width and appearing pinned left. */
  box-sizing: border-box;
  width: 100%;
  max-width: 1380px;
  margin-inline: auto;
  padding: 32px 20px 72px;
  color: var(--star-dir-ink);
}

/*
 * Astra applies a generic flex-basis to #primary. The catalogue hub has no
 * sidebar, therefore it takes over the full content row and centres its own
 * readable 1380px shell. This is deliberately scoped to the hub only.
 */
body.star-local-directory-hub-page .site-content > .ast-container {
  display: block;
  max-width: none;
  padding-inline: 0;
}

body.star-local-directory-hub-page #primary.star-directory-shell {
  width: min(1380px, calc(100% - 40px));
  max-width: none;
  margin: 0 auto;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  padding: 32px 0 72px;
}

@media (max-width: 544px) {
  body.star-local-directory-hub-page #primary.star-directory-shell {
    width: 100%;
    left: 0;
    transform: none;
    padding: 20px 16px 48px;
  }
}

.star-directory-hub,
.star-directory-submission {
  scroll-behavior: smooth;
}

.star-directory-hub__hero,
.star-directory-submission__hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  padding: clamp(28px, 5vw, 64px);
  border: 1px solid #d4ddd6;
  border-radius: 22px;
  background: linear-gradient(135deg, #f8faf8 0%, #eef5f0 100%);
}

.star-directory-hub__hero h1,
.star-directory-submission__hero h1 {
  max-width: 830px;
  margin: 8px 0 16px;
  color: #131713;
  font-size: clamp(2.2rem, 5vw, 4.7rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.star-directory-hub__hero-copy > p:not(.star-directory-profile__eyebrow),
.star-directory-submission__hero > div > p:not(.star-directory-profile__eyebrow) {
  max-width: 760px;
  color: var(--star-dir-muted);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.65;
}

.star-directory-hub__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.star-directory-button,
.star-directory-plan > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 18px;
  border: 2px solid var(--star-dir-accent);
  border-radius: 10px;
  background: var(--star-dir-accent);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.star-directory-button--secondary {
  background: transparent;
  color: var(--star-dir-accent-strong);
}

.star-directory-button:hover,
.star-directory-button:focus-visible,
.star-directory-plan > a:hover,
.star-directory-plan > a:focus-visible {
  border-color: var(--star-dir-accent-strong);
  background: var(--star-dir-accent-strong);
  color: #fff;
}

.star-directory-hub__summary,
.star-directory-submission__trust {
  display: grid;
  gap: 8px;
  padding: 26px;
  border-left: 4px solid var(--star-dir-brand);
  background: #fff;
  box-shadow: 0 18px 46px rgba(15, 37, 24, 0.08);
}

.star-directory-hub__summary strong {
  color: var(--star-dir-accent-strong);
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 0.9;
}

.star-directory-hub__summary span,
.star-directory-submission__trust span {
  color: var(--star-dir-muted);
  line-height: 1.5;
}

.star-directory-hub__nav {
  position: sticky;
  z-index: 20;
  top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 18px 0 44px;
  padding: 8px;
  border: 1px solid #d4ddd6;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 32px rgba(15, 37, 24, 0.07);
}

.star-directory-hub__nav a {
  padding: 9px 13px;
  border-radius: 8px;
  color: var(--star-dir-ink);
  font-weight: 750;
  text-decoration: none;
}

.star-directory-hub__nav a:hover,
.star-directory-hub__nav a:focus-visible {
  background: var(--star-dir-soft);
  color: var(--star-dir-accent-strong);
}

.star-directory-hub__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(266px, 306px);
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}

.star-directory-hub__main {
  min-width: 0;
}

.star-directory-hub__sidebar {
  position: sticky;
  top: 126px;
  display: grid;
  gap: 16px;
}

.star-directory-hub__sidebar-panel {
  overflow: hidden;
  padding: 20px 20px 8px;
  border: 1px solid #d5dfd7;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 15px 34px rgba(15, 47, 26, .08);
}

.star-directory-hub__sidebar-panel h2 {
  margin: 7px 0 15px;
  color: #183426;
  font-size: 1.18rem;
  line-height: 1.22;
}

.star-directory-hub__sidebar-panel nav {
  display: grid;
  margin: 0 -20px;
}

.star-directory-hub__sidebar-panel nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 45px;
  padding: 10px 20px;
  border-top: 1px solid #e1e8e3;
  color: #253b2d;
  font-weight: 760;
  line-height: 1.3;
  text-decoration: none;
}

.star-directory-hub__sidebar-panel nav a::after {
  color: var(--star-dir-accent);
  content: "→";
  font-size: 1.05rem;
  font-weight: 900;
}

.star-directory-hub__sidebar-panel nav a:hover,
.star-directory-hub__sidebar-panel nav a:focus-visible {
  background: #eef7f0;
  color: var(--star-dir-accent-strong);
}

.star-directory-hub__sidebar-panel--owner {
  padding-bottom: 20px;
  border-color: #bcd7c2;
  background: linear-gradient(155deg, #f7fcf8, #edf7ef);
}

.star-directory-hub__sidebar-panel--owner > p:not(.star-directory-profile__eyebrow) {
  margin: 0 0 17px;
  color: var(--star-dir-muted);
  font-size: .93rem;
  line-height: 1.55;
}

.star-directory-hub__sidebar-panel--owner .star-directory-button {
  width: 100%;
  justify-content: center;
  margin-bottom: 13px;
}

.star-directory-hub__sidebar-panel--owner .star-directory-text-link {
  display: inline-block;
}

.star-directory-profile__claim {
  margin-top: 18px;
  padding: 20px;
  border: 1px solid #b9d9c1;
  border-radius: 16px;
  background: linear-gradient(145deg, #f7fcf8, #edf8ef);
}

.star-directory-profile__claim h2 {
  margin: 5px 0 9px;
  color: var(--star-dir-deep);
  font-size: 1.25rem;
}

.star-directory-profile__claim > p:not(.star-directory-profile__eyebrow) {
  margin: 0 0 14px;
  color: var(--star-dir-muted);
  font-size: .93rem;
  line-height: 1.55;
}

.star-directory-profile__claim-actions {
  display: grid;
  gap: 9px;
}

.star-directory-profile__claim-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 10px;
  color: #fff;
  background: var(--star-dir-accent-strong);
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.star-directory-profile__claim-actions a:hover,
.star-directory-profile__claim-actions a:focus-visible {
  color: #fff;
  background: var(--star-dir-accent);
}

.star-directory-profile__claim-actions small {
  color: var(--star-dir-muted);
  font-size: .78rem;
  line-height: 1.45;
}

.star-directory-hub__section,
.star-directory-submission__section {
  margin-top: clamp(44px, 7vw, 88px);
  scroll-margin-top: 88px;
}

.star-directory-hub__section > h2,
.star-directory-hub__section-heading h2,
.star-directory-submission__heading h2,
.star-directory-hub__offer h2 {
  margin: 6px 0 12px;
  font-size: clamp(1.8rem, 3.4vw, 3rem);
  line-height: 1.08;
}

.star-directory-hub__section-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
}

.star-directory-hub__section-heading > span {
  color: var(--star-dir-muted);
  font-weight: 750;
}

.star-directory-hub__search {
  max-width: 860px;
  margin: 24px 0 16px;
}

.star-directory-hub__search > label {
  display: block;
  margin-bottom: 8px;
  font-weight: 750;
}

.star-directory-hub__search > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.star-directory-hub__search input {
  min-height: 50px;
  padding: 10px 14px;
  border: 1px solid #acbbb0;
  border-radius: 10px;
  font: inherit;
}

.star-directory-hub__search button {
  min-height: 50px;
  padding: 10px 22px;
  border: 0;
  border-radius: 10px;
  background: var(--star-dir-accent);
  color: #fff;
  font-weight: 800;
}

.star-directory-hub__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.star-directory-hub__filters a {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 9px 12px;
  border: 1px solid #cdd8d0;
  border-radius: 999px;
  color: var(--star-dir-ink);
  text-decoration: none;
}

.star-directory-hub__filters a.is-active {
  border-color: var(--star-dir-accent);
  background: var(--star-dir-accent);
  color: #fff;
}

.star-directory-hub__filters span {
  font-size: 0.8rem;
  font-weight: 800;
}

.star-directory-hub__offer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr);
  gap: 32px;
  align-items: center;
  margin-top: clamp(52px, 8vw, 96px);
  padding: clamp(26px, 5vw, 56px);
  border-radius: 20px;
  background: #121915;
  color: #fff;
}

.star-directory-hub__offer .star-directory-profile__eyebrow { color: #79d69e; }
.star-directory-hub__offer h2 { color: #fff; }
.star-directory-hub__offer > div > p:last-child { color: #cad5ce; line-height: 1.6; }
.star-directory-hub__offer > .star-directory-button { justify-self: start; }

.star-directory-hub__visibility-flow {
	background:
		radial-gradient(circle at 92% 0%, rgba(0, 122, 51, 0.08), transparent 32%),
		linear-gradient(180deg, #fbfdfb 0%, #f3f8f5 100%);
	border: 1px solid #d4ddd6;
	border-radius: 24px;
	display: grid;
	gap: clamp(22px, 3vw, 38px);
	grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
	margin: clamp(34px, 5vw, 64px) 0 0;
	padding: clamp(24px, 4vw, 46px);
}

.star-directory-hub__visibility-intro {
	align-content: start;
	display: grid;
	gap: 14px;
}

.star-directory-hub__visibility-intro h2,
.star-directory-hub__visibility-intro p,
.star-directory-hub__visibility-intro ul {
	margin: 0;
}

.star-directory-hub__visibility-intro h2 {
	color: var(--star-dir-accent);
	font-size: clamp(1.7rem, 3vw, 2.45rem);
	line-height: 1.08;
}

.star-directory-hub__visibility-intro > p:not(.star-directory-profile__eyebrow),
.star-directory-hub__visibility-intro li {
	color: var(--star-dir-muted);
	line-height: 1.65;
}

.star-directory-hub__visibility-intro ul {
	padding-left: 1.25rem;
}

.star-directory-text-link {
	color: var(--star-dir-accent);
	font-weight: 800;
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
}

.star-directory-hub__visibility-conversation,
.star-directory-hub__visibility-conversation .star-cf-embed {
	margin: 0;
	max-width: 100%;
	min-width: 0;
	width: 100%;
}

.star-directory-hub__offer-plans {
  display: grid;
  gap: 8px;
}

.star-directory-hub__offer-plans article {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) auto;
  gap: 4px 16px;
  padding: 16px;
  border: 1px solid #35433b;
  border-radius: 12px;
  background: #1b251f;
}

.star-directory-hub__offer-plans article > span { grid-column: 1 / -1; color: #9eb0a5; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.07em; }
.star-directory-hub__offer-plans h3,
.star-directory-hub__offer-plans p { margin: 0; color: #fff; }
.star-directory-hub__offer-plans strong { color: #79d69e; }

.star-directory-profile__hero,
.star-directory-archive__hero,
.star-directory-update__hero {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: clamp(22px, 3.5vw, 38px);
  border-radius: 18px;
  background: linear-gradient(135deg, #004d21, #006b2d);
  color: #fff;
}

.star-directory-profile__hero h1,
.star-directory-archive__hero h1,
.star-directory-update__hero h1 {
  margin: 0.15em 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  color: inherit;
}

.star-directory-profile__hero img {
  width: 150px;
  height: 150px;
  object-fit: contain;
  padding: 16px;
  border-radius: 16px;
  background: #fff;
}

.star-directory-profile__eyebrow,
.star-directory-card > p,
.star-directory-card a > p {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--star-dir-accent);
}

.star-directory-profile__badges,
.star-directory-profile__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.star-directory-profile__badges span {
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.8rem;
}

.star-directory-profile__cover img {
  display: block;
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: 24px;
}

.star-directory-profile__nav {
  margin: 24px 0;
}

.star-directory-profile__nav a {
  padding: 9px 14px;
  border: 1px solid #d7e3da;
  border-radius: 999px;
  color: var(--star-dir-ink);
  text-decoration: none;
  font-weight: 700;
}

.star-directory-profile__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 32px;
  margin-top: 24px;
}

.star-directory-profile__main {
  display: grid;
  gap: 24px;
}

.star-directory-profile__content,
.star-directory-profile__facts,
.star-directory-profile__map,
.star-directory-profile__related,
.star-directory-profile__funerals,
.star-directory-profile__updates,
.star-directory-update__content {
  padding: 28px;
  border: 1px solid #d7e3da;
  border-radius: 16px;
  background: #fff;
}

.star-directory-profile__content h2,
.star-directory-profile__facts h2,
.star-directory-profile__updates h2,
.star-directory-profile__related h2 {
  margin-top: 0.3em;
}

.star-directory-profile__people {
  display: grid;
  gap: 0;
  margin: 18px 0 0;
}

.star-directory-profile__people > div {
  display: grid;
  grid-template-columns: minmax(130px, 0.42fr) minmax(0, 1fr);
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid #e7eee9;
}

.star-directory-profile__people dt {
  color: var(--star-dir-muted);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.star-directory-profile__people dd {
  margin: 0;
  color: var(--star-dir-ink);
  font-weight: 700;
}

.star-directory-profile__schedule,
.star-directory-profile__relations,
.star-directory-profile__details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.star-directory-profile__schedule > div,
.star-directory-profile__details-grid > div {
  display: grid;
  gap: 7px;
  padding: 18px;
  border: 1px solid #dce6df;
  border-radius: 12px;
  background: #f7faf8;
}

.star-directory-profile__schedule span,
.star-directory-profile__details-grid p {
  color: var(--star-dir-muted);
  line-height: 1.55;
}

.star-directory-profile__details-grid h3 {
  margin: 0;
  font-size: 1.05rem;
}

.star-directory-profile__source-note {
  margin: 18px 0 0;
  color: var(--star-dir-muted);
  font-size: 0.87rem;
}

.star-directory-profile__relations a {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 18px;
  border: 1px solid #ccd9d0;
  border-radius: 12px;
  background: #fff;
  color: var(--star-dir-ink);
  text-decoration: none;
}

.star-directory-profile__relations a:hover,
.star-directory-profile__relations a:focus-visible {
  border-color: var(--star-dir-accent);
  box-shadow: 0 8px 24px rgba(0, 77, 33, 0.09);
}

.star-directory-profile__relations span {
  color: var(--star-dir-accent);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.star-directory-profile__facts {
  align-self: start;
  position: sticky;
  top: 24px;
}

.star-directory-profile__facts p {
  display: grid;
  gap: 5px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e7eee9;
}

.star-directory-profile__facts span,
.star-directory-updates-grid time,
.star-directory-update__hero time {
  color: var(--star-dir-muted);
}

.star-directory-profile__actions {
  display: grid;
  gap: 10px;
}

.star-directory-profile__actions a,
.star-directory-archive__hero button,
.star-directory-update__back {
  display: inline-flex;
  justify-content: center;
  padding: 11px 16px;
  border: 0;
  border-radius: 10px;
  background: var(--star-dir-accent);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.star-directory-archive__submit {
  display: inline-flex;
  margin-top: 12px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.star-directory-profile__actions a:hover,
.star-directory-profile__actions a:focus-visible,
.star-directory-archive__hero button:hover,
.star-directory-archive__hero button:focus-visible,
.star-directory-update__back:hover,
.star-directory-update__back:focus-visible {
  background: var(--star-dir-accent-strong);
  color: #fff;
}

.star-directory-profile__map,
.star-directory-profile__related {
  margin-top: 32px;
  background: var(--star-dir-soft);
}

.star-directory-profile__funerals h2 {
  margin: 0.3em 0 0.35em;
}

.star-directory-profile__funerals-intro {
  max-width: 760px;
  color: var(--star-dir-muted);
  line-height: 1.6;
}

.star-directory-funerals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.star-directory-funeral {
  padding: 18px;
  border: 1px solid #ded8ce;
  border-left: 5px solid #625e58;
  border-radius: 12px;
  background: #eeebe5;
}

.star-directory-funeral.is-future {
  border-left-color: #19613b;
  background: #e4f2e9;
}

.star-directory-funeral.is-today {
  border-left-color: #7a4b00;
  background: #fff0c7;
}

.star-directory-funeral__date {
  display: grid;
  gap: 4px;
}

.star-directory-funeral__date span {
  color: #4d4944;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.star-directory-funeral.is-future .star-directory-funeral__date span { color: #12492c; }
.star-directory-funeral.is-today .star-directory-funeral__date span { color: #603a00; }
.star-directory-funeral__date time { color: var(--star-dir-ink); font-weight: 800; }
.star-directory-funeral h3 { margin: 12px 0 8px; font-size: 1.08rem; line-height: 1.3; }
.star-directory-funeral h3 a { color: var(--star-dir-ink); }
.star-directory-funeral p { margin: 4px 0; color: var(--star-dir-muted); font-size: 0.9rem; }

.star-directory-updates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
}

.star-directory-updates-grid article {
  padding: 18px;
  border-radius: 16px;
  background: var(--star-dir-soft);
}

.star-directory-updates-grid time {
  font-size: 0.85rem;
}

.star-directory-updates-grid h3 {
  margin: 0.45em 0;
}

.star-directory-updates-grid a {
  color: var(--star-dir-ink);
}

.star-directory-update {
  max-width: 880px;
  margin: 0 auto;
}

.star-directory-update__hero {
  display: block;
}

.star-directory-update__hero a {
  color: #fff;
}

.star-directory-update__content {
  margin: 28px 0;
}

.star-directory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.star-directory-card {
  overflow: hidden;
  border: 1px solid #d7e3da;
  border-radius: 15px;
  background: #fff;
}

.star-directory-card.is-homepage-featured {
  border-color: #d9a827;
  box-shadow: 0 14px 34px rgba(112, 78, 0, 0.12);
}

.star-directory-card__featured {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff2bf;
  color: #6d4b00;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.star-directory-card a {
  display: block;
  height: 100%;
  padding: 22px;
  color: inherit;
  text-decoration: none;
}

.star-directory-card a:focus-visible {
  outline: 3px solid var(--star-dir-brand);
  outline-offset: -3px;
}

.star-directory-card img {
  width: 100%;
  height: 150px;
  margin-bottom: 18px;
  object-fit: contain;
}

.star-directory-card h2 {
  font-size: 1.2rem;
}

.star-directory-card span {
  color: var(--star-dir-muted);
  font-size: 0.92rem;
}

.star-directory-archive__hero form {
  display: flex;
  gap: 8px;
}

.star-directory-archive__hero input {
  min-width: 260px;
  padding: 12px 14px;
  border: 0;
  border-radius: 10px;
}

.star-directory-submission__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  max-width: 1120px;
  margin: clamp(52px, 8vw, 96px) auto 0;
  scroll-margin-top: 88px;
}

.star-directory-submission__form,
.star-directory-submission__aside {
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid #d7e3da;
  border-radius: 18px;
  background: #fff;
}

.star-directory-submission__form > h2,
.star-directory-submission__aside > h2 {
  margin-top: 0;
}

.star-directory-submission__form .sfb-form {
  max-width: none;
  margin-top: 24px;
}

.star-directory-submission__aside {
  align-self: start;
  color: var(--star-dir-muted);
  position: sticky;
  top: 92px;
}

.star-directory-submission__aside li + li {
  margin-top: 12px;
}

.star-directory-submission__aside > div {
  margin-top: 24px;
  padding: 18px;
  border-left: 4px solid #8b6b23;
  background: #faf5e8;
  color: #403718;
}

.star-directory-submission__heading {
  max-width: 780px;
}

.star-directory-submission__heading > p:last-child {
  color: var(--star-dir-muted);
  line-height: 1.65;
}

.star-directory-plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
}

.star-directory-plan {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid #d4ddd6;
  border-radius: 18px;
  background: #fff;
}

.star-directory-plan--standard {
  border-top: 5px solid var(--star-dir-brand);
}

.star-directory-plan--premium {
  border-top: 5px solid #8b6b23;
  background: #fcfaf4;
}

.star-directory-plan h3 {
  margin: 8px 0 14px;
  font-size: 1.55rem;
}

.star-directory-plan__price {
  display: grid;
  gap: 2px;
  margin: 0 0 10px;
}

.star-directory-plan__price strong {
  color: var(--star-dir-accent-strong);
  font-size: 1.45rem;
}

.star-directory-plan__price span,
.star-directory-plan__annual {
  color: var(--star-dir-muted);
  font-size: 0.9rem;
}

.star-directory-plan ul {
  display: grid;
  gap: 9px;
  margin: 14px 0 24px;
  padding: 0;
  list-style: none;
}

.star-directory-plan li {
  position: relative;
  padding-left: 24px;
}

.star-directory-plan li::before {
  position: absolute;
  left: 0;
  content: "✓";
  color: var(--star-dir-accent);
  font-weight: 900;
}

.star-directory-plan > a {
  margin-top: auto;
}

.star-directory-plan__catalog-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  min-height: 44px;
  margin-top: 10px;
  color: var(--star-dir-brand);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.star-directory-submission__catalog-note {
  max-width: 920px;
  margin: 18px 0 0;
  padding: 14px 18px;
  border-left: 4px solid var(--star-dir-brand);
  border-radius: 0 12px 12px 0;
  background: #eef6f0;
  color: #244031;
  line-height: 1.55;
}

.star-directory-featured-addon {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  margin-top: 16px;
  padding: 22px 26px;
  border: 1px solid #d7c48d;
  border-radius: 16px;
  background: #faf5e8;
}

.star-directory-featured-addon h3 { margin: 5px 0; }
.star-directory-featured-addon p { margin-bottom: 0; }
.star-directory-featured-addon__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 16px;
}
.star-directory-featured-addon__actions a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #5d4716;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.star-directory-featured-addon__actions a:first-child {
  padding: 10px 16px;
  border-radius: 10px;
  background: #6c5318;
  color: #fff;
  text-decoration: none;
}

.star-directory-comparison {
  overflow-x: auto;
  margin-top: 24px;
  border: 1px solid #d4ddd6;
  border-radius: 16px;
}

.star-directory-comparison table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  background: #fff;
}

.star-directory-comparison th,
.star-directory-comparison td {
  padding: 16px;
  border-bottom: 1px solid #e1e8e3;
  text-align: left;
}

.star-directory-comparison thead th { background: #eef5f0; }
.star-directory-comparison tbody tr:last-child th,
.star-directory-comparison tbody tr:last-child td { border-bottom: 0; }

.star-directory-submission__note {
  padding: 16px 18px;
  border-left: 4px solid var(--star-dir-accent);
  background: var(--star-dir-soft);
}

.star-directory-payment-flow {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 32px;
  padding: clamp(24px, 5vw, 52px);
  border-radius: 20px;
  background: #121915;
  color: #fff;
}

.star-directory-payment-flow h2 { color: #fff; }
.star-directory-payment-flow .star-directory-profile__eyebrow { color: #79d69e; }
.star-directory-payment-flow .star-directory-submission__heading > p:last-child { color: #cad5ce; }

.star-directory-payment-flow ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.star-directory-payment-flow li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 14px;
  padding: 15px;
  border: 1px solid #35433b;
  border-radius: 12px;
  background: #1b251f;
}

.star-directory-payment-flow li > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: #dcebe1;
  color: #16472b;
  font-weight: 900;
}

.star-directory-payment-flow li p { margin: 4px 0 0; color: #cad5ce; }

.star-directory-payment-flow__status {
  grid-column: 1 / -1;
  display: grid;
  gap: 5px;
  padding: 16px 18px;
  border-left: 4px solid #d2ae57;
  background: #222b26;
}

.star-directory-payment-flow__status span { color: #cad5ce; }

.star-directory-submission__form .sfb-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.star-directory-submission__form .sfb-form > :not(.sfb-field),
.star-directory-submission__form .sfb-field-textarea,
.star-directory-submission__form .sfb-field-file,
.star-directory-submission__form .sfb-field-radio,
.star-directory-submission__form .sfb-field-checkbox,
.star-directory-submission__form .sfb-submit {
  grid-column: 1 / -1;
}

.star-directory-submission__form .sfb-field,
.star-directory-submission__form .sfb-field label {
  min-width: 0;
}

.star-directory-submission__form .sfb-field input:not([type="checkbox"]):not([type="radio"]),
.star-directory-submission__form .sfb-field select,
.star-directory-submission__form .sfb-field textarea {
  width: 100%;
}

.star-directory-submission__form .sfb-submit {
  min-height: 52px;
  background: var(--star-dir-accent);
  font-weight: 850;
}

@media (max-width: 760px) {
  .star-directory-profile__hero,
  .star-directory-archive__hero {
    display: block;
  }

  .star-directory-profile__hero img {
    width: 110px;
    height: 110px;
    margin-top: 24px;
  }

  .star-directory-profile__layout {
    grid-template-columns: 1fr;
  }

  .star-directory-submission__layout {
    grid-template-columns: 1fr;
  }

  .star-directory-hub__hero,
  .star-directory-submission__hero,
  .star-directory-hub__offer,
  .star-directory-payment-flow {
    grid-template-columns: 1fr;
  }

  .star-directory-hub__hero h1,
  .star-directory-submission__hero h1 {
    font-size: clamp(2.15rem, 12vw, 3.35rem);
  }

  .star-directory-hub__nav {
    position: static;
    flex-wrap: nowrap;
    overflow-x: auto;
  }

  .star-directory-hub__nav a {
    flex: 0 0 auto;
  }

  .star-directory-plans {
    grid-template-columns: 1fr;
  }

  .star-directory-featured-addon {
    display: grid;
  }

  .star-directory-submission__form .sfb-form {
    grid-template-columns: 1fr;
  }

  .star-directory-submission__aside {
    position: static;
  }

  .star-directory-hub__search > div {
    grid-template-columns: 1fr;
  }

  .star-directory-hub__offer-plans article {
    grid-template-columns: 1fr;
  }

  .star-directory-profile__facts {
    position: static;
  }

  .star-directory-profile__people > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .star-directory-archive__hero form {
    display: grid;
  }

  .star-directory-archive__hero input {
    width: 100%;
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .star-directory-hub,
  .star-directory-submission {
    scroll-behavior: auto;
  }
}

/* STAR Local Directory 0.7.2 — catalogue and editorial profile system. */
.star-directory-breadcrumbs {
  margin: 0 0 22px;
  color: #5b675f;
  font-size: .92rem;
}

.star-directory-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.star-directory-breadcrumbs li + li::before {
  content: "/";
  margin-right: 8px;
  color: #9aa69e;
}

.star-directory-breadcrumbs a {
  color: var(--star-dir-accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.star-directory-hub__hero {
  position: relative;
  overflow: hidden;
  border-color: #244b35;
  background:
    radial-gradient(circle at 82% 18%, rgba(89, 192, 128, .2), transparent 34%),
    linear-gradient(138deg, #081d12 0%, #0b3a20 58%, #006b2d 100%);
  color: #fff;
  box-shadow: 0 22px 60px rgba(6, 37, 20, .14);
}

.star-directory-hub__hero h1,
.star-directory-hub__hero-copy > p:not(.star-directory-profile__eyebrow) {
  color: #fff;
}

.star-directory-hub__hero .star-directory-profile__eyebrow {
  color: #8fe0ae;
}

.star-directory-hub__hero .star-directory-button--secondary {
  border-color: rgba(255, 255, 255, .7);
  color: #fff;
}

.star-directory-hub__summary {
  position: relative;
  border: 1px solid rgba(255, 255, 255, .2);
  border-left: 4px solid #66cf8c;
  border-radius: 16px;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  box-shadow: none;
  backdrop-filter: blur(10px);
}

.star-directory-hub__summary strong,
.star-directory-hub__summary span {
  color: #fff;
}

.star-directory-hub__summary small {
  color: #bcd2c4;
  line-height: 1.5;
}

.star-directory-hub__groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0;
}

.star-directory-hub__groups > a {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 92px;
  padding: 16px;
  border: 1px solid #cad8ce;
  border-radius: 16px;
  background: #fff;
  color: var(--star-dir-ink);
  text-decoration: none;
}

.star-directory-hub__groups > a:hover,
.star-directory-hub__groups > a:focus-visible,
.star-directory-hub__groups > a.is-active {
  border-color: var(--star-dir-accent);
  background: var(--star-dir-soft);
  box-shadow: 0 12px 28px rgba(0, 77, 33, .08);
}

.star-directory-hub__group-icon,
.star-directory-card__fallback {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #e5f4ea;
  color: var(--star-dir-accent);
}

.star-directory-hub__group-icon svg,
.star-directory-card__fallback svg,
.star-directory-profile__identity > span svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.star-directory-hub__groups strong,
.star-directory-hub__groups small {
  display: block;
}

.star-directory-hub__groups small {
  margin-top: 4px;
  color: var(--star-dir-muted);
  line-height: 1.35;
}

.star-directory-hub__groups b {
  display: grid;
  place-items: center;
  min-width: 38px;
  height: 38px;
  border-radius: 999px;
  background: #eef4f0;
  color: var(--star-dir-accent-strong);
}

.star-directory-commercial-note {
  max-width: 720px;
  color: var(--star-dir-muted);
}

.star-directory-grid {
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 18px;
}

.star-directory-card {
  border-color: #d4ded6;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(15, 37, 24, .045);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.star-directory-card:hover {
  transform: translateY(-3px);
  border-color: #a6c4af;
  box-shadow: 0 18px 42px rgba(15, 37, 24, .1);
}

.star-directory-card.is-homepage-featured {
  border-color: #b89232;
  box-shadow: 0 14px 38px rgba(112, 78, 0, .11);
}

.star-directory-card a.star-directory-card__link {
  display: grid;
  grid-template-rows: auto 1fr;
  padding: 0;
}

.star-directory-card__media {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 168px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(145deg, #edf4ef, #f8faf8);
}

.star-directory-card__media img {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  object-fit: cover;
}

.star-directory-card__media.is-logo img {
  padding: 26px;
  object-fit: contain;
}

.star-directory-card__fallback {
  width: 74px;
  height: 74px;
  border-radius: 22px;
}

.star-directory-card__fallback svg {
  width: 36px;
  height: 36px;
}

.star-directory-card__featured {
  position: absolute;
  top: 12px;
  left: 12px;
  margin: 0;
  border: 1px solid #d9bd65;
  background: #fff8df;
}

.star-directory-card__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 244px;
  padding: 20px;
}

.star-directory-card__kind {
  color: var(--star-dir-accent);
  font-size: .74rem;
  font-weight: 850;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.star-directory-card h2 {
  margin: 8px 0 10px;
  color: #101a14;
  font-size: clamp(1.14rem, 1.7vw, 1.36rem);
  line-height: 1.18;
}

.star-directory-card__excerpt {
  margin: 0 0 14px;
  color: var(--star-dir-muted);
  font-size: .92rem;
  line-height: 1.48;
}

.star-directory-card__address {
  margin-top: auto;
  padding-top: 12px;
  color: #5c685f;
  line-height: 1.42;
}

.star-directory-card__cta {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-top: 14px;
  color: var(--star-dir-accent) !important;
  font-weight: 800;
}

.star-directory-pagination {
  margin-top: 34px;
}

.star-directory-pagination ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.star-directory-pagination a,
.star-directory-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  min-height: 46px;
  padding: 8px 14px;
  border: 1px solid #bdccc1;
  border-radius: 11px;
  color: var(--star-dir-accent-strong);
  text-decoration: none;
}

.star-directory-pagination .current {
  border-color: var(--star-dir-accent);
  background: var(--star-dir-accent);
  color: #fff;
  font-weight: 800;
}

.star-directory-hub__offer-plans article a {
  grid-column: 1 / -1;
  width: fit-content;
  margin-top: 8px;
  color: #a6e7bd;
  font-weight: 750;
  text-underline-offset: 4px;
}

.star-directory-hub__offer-plans article.is-addon {
  border-color: #7b672d;
  background: #282719;
}

/* Central STAR Firma packages on the public directory hub. */
.star-directory-hub__packages {
  margin-top: clamp(52px, 8vw, 96px);
  padding: clamp(24px, 4vw, 52px);
  border: 1px solid #cbd9cf;
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0%, rgba(0, 120, 53, .12), transparent 34%),
    linear-gradient(145deg, #f8fbf8, #edf5ef);
  box-shadow: 0 18px 50px rgba(15, 49, 28, .07);
}

.star-directory-hub__packages-heading {
  display: flex;
  gap: 24px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 28px;
}

.star-directory-hub__packages-heading > div {
  max-width: 760px;
}

.star-directory-hub__packages-heading h2,
.star-directory-hub__packages-heading p,
.star-directory-hub__packages-heading .star-directory-profile__eyebrow {
  margin: 0;
}

.star-directory-hub__packages-heading h2 {
  margin-top: 8px;
  color: var(--star-dir-accent);
  font-size: clamp(1.8rem, 3.4vw, 3rem);
  line-height: 1.05;
}

.star-directory-hub__packages-heading > div > p:not(.star-directory-profile__eyebrow) {
  margin-top: 14px;
  color: var(--star-dir-muted);
  line-height: 1.6;
}

.star-directory-hub__packages-heading .star-directory-text-link {
  flex: 0 1 280px;
  padding-bottom: 4px;
}

.star-directory-hub__packages-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.star-directory-hub__package {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 24px;
  border: 1px solid #cbd9cf;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 49, 28, .045);
}

.star-directory-hub__package--standard {
  border-color: #9ecaae;
  box-shadow: 0 12px 30px rgba(0, 111, 47, .09);
}

.star-directory-hub__package--premium {
  border-color: #12482a;
  background:
    radial-gradient(circle at 100% 0%, rgba(119, 211, 151, .2), transparent 38%),
    linear-gradient(145deg, #0d2c1b, #125c32);
  color: #fff;
}

.star-directory-hub__package-eyebrow {
  margin: 0;
  color: var(--star-dir-accent);
  font-size: .74rem;
  font-weight: 850;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.star-directory-hub__package--premium .star-directory-hub__package-eyebrow {
  color: #9de3b5;
}

.star-directory-hub__package h3 {
  margin: 10px 0 12px;
  color: #142218;
  font-size: 1.4rem;
  line-height: 1.15;
}

.star-directory-hub__package--premium h3 {
  color: #fff;
}

.star-directory-hub__package-price {
  display: grid;
  gap: 3px;
  margin: 0;
}

.star-directory-hub__package-price strong {
  color: var(--star-dir-accent);
  font-size: 1.28rem;
  line-height: 1.2;
}

.star-directory-hub__package--premium .star-directory-hub__package-price strong {
  color: #fff;
}

.star-directory-hub__package-price span,
.star-directory-hub__package-annual {
  color: #607067;
  font-size: .88rem;
}

.star-directory-hub__package--premium .star-directory-hub__package-price span,
.star-directory-hub__package--premium .star-directory-hub__package-annual {
  color: #cae3d2;
}

.star-directory-hub__package-description {
  min-height: 70px;
  margin: 18px 0;
  color: #4e5e54;
  line-height: 1.52;
}

.star-directory-hub__package--premium .star-directory-hub__package-description {
  color: #e2f0e7;
}

.star-directory-hub__package ul {
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.star-directory-hub__package li {
  position: relative;
  padding-left: 20px;
  color: #324238;
  font-size: .93rem;
  line-height: 1.42;
}

.star-directory-hub__package li::before {
  position: absolute;
  top: .44em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--star-dir-accent);
  content: "";
}

.star-directory-hub__package--premium li {
  color: #f1f8f3;
}

.star-directory-hub__package--premium li::before {
  background: #9de3b5;
}

.star-directory-hub__package-annual {
  min-height: 2.7em;
  margin: 0 0 16px;
  line-height: 1.35;
}

.star-directory-hub__package .star-directory-button {
  width: 100%;
  margin-top: auto;
  justify-content: center;
  text-align: center;
}

.star-directory-hub__package--premium .star-directory-button {
  border-color: #e2f2e7;
  background: #fff;
  color: #0d4425;
}

.star-directory-hub__package-addon {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 20px;
  align-items: center;
  margin-top: 16px;
  padding: 20px 24px;
  border: 1px solid #d8bc66;
  border-radius: 18px;
  background: #fff9e9;
}

.star-directory-hub__package-addon h3,
.star-directory-hub__package-addon p {
  margin: 0;
}

.star-directory-hub__package-addon h3 {
  margin-top: 7px;
  color: #3c3110;
  font-size: 1.18rem;
}

.star-directory-hub__package-addon > div > p:not(.star-directory-hub__package-eyebrow) {
  margin-top: 8px;
  color: #65592f;
  line-height: 1.48;
}

.star-directory-hub__package-addon .star-directory-hub__package-price {
  min-width: 154px;
}

.star-directory-hub__packages-note {
  margin: 18px 0 0;
  color: #58685e;
  font-size: .9rem;
  line-height: 1.5;
}

.star-directory-card__fallback--image {
  display: none;
}

.star-directory-card__media.is-image-unavailable {
  background: linear-gradient(145deg, #edf4ef, #f8faf8);
}

.star-directory-card__media.is-image-unavailable img {
  display: none;
}

.star-directory-card__media.is-image-unavailable .star-directory-card__fallback--image {
  display: grid;
}

.star-directory-hub__packages a:focus-visible,
.star-directory-card a:focus-visible {
  outline: 3px solid #d5a83d;
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .star-directory-hub__packages-heading {
    display: grid;
    align-items: start;
  }

  .star-directory-hub__packages-heading .star-directory-text-link {
    flex-basis: auto;
  }

  .star-directory-hub__packages-grid {
    grid-template-columns: 1fr;
  }

  .star-directory-hub__package-description {
    min-height: 0;
  }

  .star-directory-hub__package-addon {
    grid-template-columns: 1fr;
  }

  .star-directory-hub__package-addon .star-directory-hub__package-price {
    min-width: 0;
  }

  .star-directory-hub__package-addon .star-directory-button {
    width: 100%;
    justify-content: center;
  }
}

.star-directory-profile__hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 280px);
  min-height: 360px;
  padding: clamp(30px, 5vw, 70px);
  border: 1px solid #204a32;
  border-radius: 24px;
  background:
    radial-gradient(circle at 80% 20%, rgba(96, 194, 132, .18), transparent 30%),
    linear-gradient(138deg, #081d12 0%, #0a3d21 65%, #006b2d 100%);
  box-shadow: 0 22px 60px rgba(6, 37, 20, .14);
}

.star-directory-profile__hero h1 {
  max-width: 900px;
  margin: 10px 0 18px;
  font-size: clamp(2.4rem, 5.4vw, 5.2rem);
  line-height: .98;
  letter-spacing: -.045em;
}

.star-directory-profile__hero .star-directory-profile__eyebrow {
  color: #8fe0ae;
}

.star-directory-profile__hero-lead {
  max-width: 760px;
  color: #dbe9df;
  font-size: clamp(1rem, 1.55vw, 1.22rem);
  line-height: 1.6;
}

.star-directory-profile__identity {
  display: grid;
  gap: 14px;
  align-content: center;
  justify-items: center;
  min-height: 220px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 18px;
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(10px);
}

.star-directory-profile__identity img,
.star-directory-profile__identity > span {
  display: grid;
  place-items: center;
  width: 130px;
  height: 130px;
  padding: 15px;
  border-radius: 18px;
  background: #fff;
  color: var(--star-dir-accent);
  object-fit: contain;
}

.star-directory-profile__identity small {
  color: #dbe9df;
  line-height: 1.4;
  text-align: center;
}

.star-directory-profile__cover {
  position: relative;
  z-index: 2;
  margin: -34px 38px 0;
}

.star-directory-profile__cover img {
  min-height: 280px;
  box-shadow: 0 18px 48px rgba(10, 30, 18, .14);
}

.star-directory-profile__nav {
  position: sticky;
  z-index: 18;
  top: 150px;
  flex-wrap: nowrap;
  overflow-x: auto;
  margin: 18px 0 30px;
  padding: 8px;
  border: 1px solid #d4ded6;
  border-radius: 14px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 10px 26px rgba(15, 37, 24, .07);
  scrollbar-width: thin;
}

.star-directory-profile__nav a {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 10px 14px;
  border: 0;
  border-radius: 9px;
}

.star-directory-profile__nav a:hover,
.star-directory-profile__nav a:focus-visible {
  background: var(--star-dir-soft);
  color: var(--star-dir-accent-strong);
}

.star-directory-profile__layout {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  gap: 28px;
}

.star-directory-profile__main {
  gap: 20px;
}

.star-directory-profile__content,
.star-directory-profile__map,
.star-directory-profile__related,
.star-directory-profile__funerals,
.star-directory-profile__updates {
  padding: clamp(24px, 3.6vw, 44px);
  border-radius: 20px;
  box-shadow: 0 10px 32px rgba(15, 37, 24, .04);
  scroll-margin-top: 220px;
}

.star-directory-profile__aside {
  position: sticky;
  top: 220px;
  display: grid;
  gap: 16px;
  align-self: start;
}

.star-directory-profile__facts {
	position: static;
	border-radius: 18px;
	box-shadow: 0 12px 34px rgba(15, 37, 24, .06);
}

.star-directory-profile__facts > .star-directory-profile__eyebrow {
	margin: 0 0 7px;
	color: #087633;
}

.star-directory-profile__facts h2 {
	margin: 0 0 18px;
	color: #173d25;
}

/* Structured owner content: readable HTML is generated by the renderer,
   while the owner only fills short text and list items in the account panel. */
.star-directory-profile__content--structured h2 {
	max-width: 24ch;
}

.star-directory-profile__copy,
.star-directory-profile__contact-intro {
	color: #355442;
	font-size: 1.03rem;
	line-height: 1.68;
}

.star-directory-profile__copy > :first-child,
.star-directory-profile__contact-intro > :first-child,
.star-directory-profile__lead > :first-child {
	margin-top: 0;
}

.star-directory-profile__copy > :last-child,
.star-directory-profile__contact-intro > :last-child,
.star-directory-profile__lead > :last-child {
	margin-bottom: 0;
}

.star-directory-profile__points {
	display: grid;
	gap: 10px;
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
}

.star-directory-profile__points li {
	position: relative;
	padding: 13px 16px 13px 42px;
	color: #173d25;
	font-weight: 650;
	line-height: 1.48;
	background: linear-gradient(105deg, #f1f8f3, #fbfdfb);
	border: 1px solid #d6e8da;
	border-radius: 11px;
}

.star-directory-profile__points li::before {
	position: absolute;
	left: 16px;
	top: 50%;
	width: 10px;
	height: 10px;
	content: '';
	background: #087633;
	border-radius: 50%;
	box-shadow: 0 0 0 4px #dff1e3;
	transform: translateY(-50%);
}

.star-directory-profile__facts .star-directory-profile__points {
	gap: 8px;
	margin-top: 14px;
}

.star-directory-profile__facts .star-directory-profile__points li {
	padding: 10px 12px 10px 34px;
	font-size: .91rem;
}

.star-directory-profile__facts .star-directory-profile__points li::before {
	left: 14px;
	width: 8px;
	height: 8px;
	box-shadow: 0 0 0 3px #dff1e3;
}

/* Shown only when the account owns this profile. The visible glyph stays
   compact while the accessible name explains exactly what will be edited. */
.star-directory-profile__edit-control {
	display: inline-grid;
	place-items: center;
	width: 38px;
	height: 38px;
	margin: 0 0 12px;
	color: #087633;
	font-size: 1.25rem;
	font-weight: 800;
	line-height: 1;
	text-decoration: none;
	background: #f2faf4;
	border: 1px solid #a9d7b5;
	border-radius: 50%;
	box-shadow: 0 3px 10px rgba(10, 58, 31, .08);
	transition: transform .16s ease, color .16s ease, background .16s ease, box-shadow .16s ease;
}

.star-directory-profile__edit-control:hover {
	color: #fff;
	background: #087633;
	box-shadow: 0 8px 18px rgba(8, 118, 51, .24);
	transform: translateY(-1px);
}

.star-directory-profile__edit-control:focus-visible {
	outline: 3px solid #f4c64f;
	outline-offset: 3px;
}

.star-directory-profile__edit-control.is-locked {
	color: #73571b;
	background: #fff8e7;
	border-color: #dbc170;
}

.star-directory-profile__edit-control.is-locked:hover {
	color: #4d3606;
	background: #ffefbe;
}

.star-directory-profile__hero .star-directory-profile__edit-control {
	color: #e4f7e8;
	background: rgba(2, 31, 15, .32);
	border-color: rgba(210, 245, 221, .58);
}

.star-directory-profile__hero .star-directory-profile__edit-control:hover {
	color: #092614;
	background: #dff4e5;
}

.star-directory-profile--tier-premium .star-directory-profile__hero {
	border-color: #77612b;
	background:
		radial-gradient(circle at 82% 15%, rgba(214, 174, 74, .23), transparent 29%),
		linear-gradient(138deg, #07170f 0%, #174829 64%, #27581e 100%);
}

.star-directory-profile--tier-premium .star-directory-profile__badges span:last-child {
	border: 1px solid rgba(244, 206, 105, .72);
	background: rgba(29, 24, 6, .42);
	color: #ffe39b;
}

.star-directory-profile__promotion {
  padding: 24px;
  border: 1px solid #244b35;
  border-radius: 18px;
  background: linear-gradient(145deg, #0b2517, #123d24);
  color: #fff;
}

.star-directory-profile__promotion .star-directory-profile__eyebrow {
  color: #8fe0ae;
}

.star-directory-profile__promotion-path {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	gap: 8px;
	align-items: stretch;
	margin: 14px 0 18px;
}

.star-directory-profile__promotion-path > p {
	display: grid;
	gap: 4px;
	margin: 0;
	padding: 11px 12px;
	border: 1px solid rgba(181, 225, 194, .25);
	border-radius: 11px;
	background: rgba(255, 255, 255, .07);
}

.star-directory-profile__promotion-path > p.is-next {
	border-color: rgba(155, 233, 183, .65);
	background: rgba(28, 115, 59, .36);
}

.star-directory-profile__promotion-path p span {
	color: #b9d7c3;
	font-size: .67rem;
	font-weight: 850;
	letter-spacing: .08em;
	line-height: 1.25;
	text-transform: uppercase;
}

.star-directory-profile__promotion-path p strong {
	color: #fff;
	font-size: .88rem;
	line-height: 1.3;
}

.star-directory-profile__promotion-path > span {
	align-self: center;
	color: #9ce9b7;
	font-size: 1.15rem;
	font-weight: 900;
}

.star-directory-profile__promotion h2 {
  margin: 8px 0 10px;
  color: #fff;
  font-size: 1.4rem;
  line-height: 1.15;
}

.star-directory-profile__promotion > p:not(.star-directory-profile__eyebrow) {
  color: #d5e4da;
  line-height: 1.5;
}

.star-directory-profile__promotion-price strong {
	color: #93e4b0;
	font-size: 1.2rem;
}

.star-directory-profile__promotion-benefits {
	display: grid;
	gap: 8px;
	margin: 18px 0;
	padding: 0;
	list-style: none;
}

.star-directory-profile__promotion-benefits li {
	position: relative;
	padding-left: 20px;
	color: #e4f0e7;
	font-size: .91rem;
	line-height: 1.45;
}

.star-directory-profile__promotion-benefits li::before {
	position: absolute;
	left: 0;
	content: '✓';
	color: #9ce9b7;
	font-weight: 900;
}

.star-directory-profile__promotion > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  margin: 8px 0 12px;
  border-radius: 10px;
  background: #fff;
  color: #075226;
  font-weight: 850;
  text-decoration: none;
}

.star-directory-profile__promotion > a:hover,
.star-directory-profile__promotion > a:focus-visible {
	background: #dff4e6;
}

.star-directory-profile__promotion > a.star-directory-profile__promotion-more {
	min-height: 40px;
	margin: 0 0 12px;
	padding: 7px 0;
	border-radius: 0;
	background: transparent;
	color: #d8ecde;
	font-size: .88rem;
	font-weight: 750;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.star-directory-profile__promotion > a.star-directory-profile__promotion-more:hover,
.star-directory-profile__promotion > a.star-directory-profile__promotion-more:focus-visible {
	background: transparent;
	color: #fff;
}

.star-directory-profile__actions a.is-secondary {
	border: 1px solid #b8cfbf;
	background: #fff;
	color: #165d33;
}

.star-directory-profile__actions a.is-secondary:hover,
.star-directory-profile__actions a.is-secondary:focus-visible {
	border-color: #087633;
	background: #eaf5ed;
	color: #075226;
}

.star-directory-profile__promotion small {
  display: block;
  color: #adc5b5;
  line-height: 1.4;
}

@media (max-width: 900px) {
  .star-directory-hub__layout {
    grid-template-columns: 1fr;
  }

  .star-directory-hub__sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .star-directory-hub__groups,
  .star-directory-hub__visibility-flow,
  .star-directory-profile__hero,
  .star-directory-profile__layout {
    grid-template-columns: 1fr;
  }

  .star-directory-profile__hero {
    min-height: 0;
  }

  .star-directory-profile__identity {
    grid-template-columns: auto minmax(0, 1fr);
    justify-items: start;
    min-height: 0;
  }

  .star-directory-profile__identity small {
    text-align: left;
  }

  .star-directory-profile__aside {
    position: static;
  }
}

@media (max-width: 620px) {
  .star-directory-hub__sidebar {
    grid-template-columns: 1fr;
  }

  .star-directory-hub__groups {
    grid-template-columns: 1fr;
  }

  .star-directory-profile__cover {
    margin: -18px 12px 0;
  }

  .star-directory-profile__cover img {
    min-height: 210px;
  }

  .star-directory-profile__nav {
    position: static;
  }

  .star-directory-profile__promotion-path {
	grid-template-columns: 1fr;
	gap: 6px;
  }

  .star-directory-profile__promotion-path > span {
	justify-self: center;
	transform: rotate(90deg);
  }

  .star-directory-card__body {
    min-height: 220px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .star-directory-card {
    transition: none;
  }
}

/* Directory promotion packages: commercial prices are always shown as net + VAT. */
.star-directory-hub__package-price {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 14px 0 16px;
  border-top: 1px solid #dce6de;
  border-bottom: 1px solid #dce6de;
}

.star-directory-hub__package--premium .star-directory-hub__package-price {
  border-color: rgba(218, 241, 224, .28);
}

.star-directory-hub__package-price-label {
  color: #5c6c62;
  font-size: .71rem;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.star-directory-hub__package--premium .star-directory-hub__package-price-label {
  color: #bde5c9;
}

.star-directory-hub__package-price strong {
  font-size: clamp(1.42rem, 2vw, 1.7rem);
}

.star-directory-hub__package-price small {
  color: #58685e;
  font-size: .87rem;
  line-height: 1.4;
}

.star-directory-hub__package--premium .star-directory-hub__package-price small {
  color: #d3e9d9;
}

.star-directory-hub__package-annual {
  min-height: auto;
  margin: 0 0 18px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f0f6f1;
  color: #345540;
  font-size: .82rem;
}

.star-directory-hub__package--premium .star-directory-hub__package-annual {
  background: rgba(255, 255, 255, .1);
  color: #e4f2e8;
}

.star-directory-hub__package-compare {
  margin-top: 18px;
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid #cddbd0;
  border-radius: 18px;
  background: #fff;
}

.star-directory-hub__package-compare header > * {
  margin: 0;
}

.star-directory-hub__package-compare h3 {
  margin-top: 7px;
  color: #173d25;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
}

.star-directory-hub__package-compare-table {
  overflow: hidden;
  margin-top: 18px;
  border: 1px solid #d7e3d9;
  border-radius: 13px;
}

.star-directory-hub__package-compare-row {
  display: grid;
  grid-template-columns: minmax(230px, 1.8fr) repeat(3, minmax(90px, .65fr));
  border-top: 1px solid #e1eae3;
}

.star-directory-hub__package-compare-row:first-child {
  border-top: 0;
}

.star-directory-hub__package-compare-row > span {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 10px 14px;
  border-left: 1px solid #e1eae3;
  color: #33473a;
  font-size: .9rem;
  line-height: 1.35;
}

.star-directory-hub__package-compare-row > span:first-child {
  border-left: 0;
  font-weight: 700;
}

.star-directory-hub__package-compare-row--header {
  background: #e8f2ea;
}

.star-directory-hub__package-compare-row--header > span {
  min-height: 42px;
  color: #1e4b2e;
  font-size: .77rem;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.star-directory-hub__package-compare-row .is-included {
  justify-content: center;
  color: #087633;
  font-size: 1.15rem;
  font-weight: 900;
}

.star-directory-hub__package-compare-row .is-not-included {
  justify-content: center;
  color: #7b8980;
  font-weight: 800;
}

.star-directory-hub__package-compare > p {
  margin: 14px 0 0;
  color: #5b6b60;
  font-size: .88rem;
  line-height: 1.5;
}

/* Standalone explanation page for the centrally managed STAR Firma offer. */
.star-directory-promotion-guide {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 clamp(18px, 3.5vw, 52px) clamp(56px, 9vw, 110px);
}

.star-directory-promotion-guide__hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(250px, .55fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: end;
  margin-top: 20px;
  padding: clamp(28px, 5vw, 64px);
  border: 1px solid #c7d9cc;
  border-radius: 26px;
  background:
    radial-gradient(circle at 89% 5%, rgba(0, 122, 54, .15), transparent 32%),
    linear-gradient(138deg, #f8fbf8, #eaf4ec);
  box-shadow: 0 18px 48px rgba(17, 58, 33, .08);
}

.star-directory-promotion-guide__hero h1,
.star-directory-promotion-guide__hero p,
.star-directory-promotion-guide__hero .star-directory-profile__eyebrow,
.star-directory-promotion-guide__heading h2,
.star-directory-promotion-guide__heading p,
.star-directory-promotion-guide__heading .star-directory-profile__eyebrow {
  margin: 0;
}

.star-directory-promotion-guide__hero h1 {
  max-width: 820px;
  margin-top: 10px;
  color: #0e6b32;
  font-size: clamp(2rem, 4.8vw, 4.2rem);
  letter-spacing: -.045em;
  line-height: .98;
}

.star-directory-promotion-guide__hero > div > p:not(.star-directory-profile__eyebrow) {
  max-width: 720px;
  margin-top: 18px;
  color: #40534a;
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.6;
}

.star-directory-promotion-guide__hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.star-directory-promotion-guide__hero aside {
  display: grid;
  gap: 12px;
  padding: 23px;
  border: 1px solid #a7c7af;
  border-radius: 18px;
  background: rgba(255, 255, 255, .82);
  color: #2e4437;
}

.star-directory-promotion-guide__hero aside strong { color: #0b6d31; font-size: 1.1rem; }
.star-directory-promotion-guide__hero aside span { line-height: 1.48; }
.star-directory-promotion-guide__hero aside small { color: #53665a; font-weight: 750; }

.star-directory-promotion-guide__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
  padding: 11px;
  border: 1px solid #d7e3d9;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 49, 28, .04);
}

.star-directory-promotion-guide__nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 10px;
  color: #23412d;
  font-size: .92rem;
  font-weight: 800;
  text-decoration: none;
}

.star-directory-promotion-guide__nav a:hover,
.star-directory-promotion-guide__nav a:focus-visible { background: #e8f3ea; color: #087431; }

.star-directory-promotion-guide__section { margin-top: clamp(48px, 8vw, 92px); }

.star-directory-promotion-guide__heading { max-width: 850px; }
.star-directory-promotion-guide__heading h2 {
  margin-top: 9px;
  color: #0d6d32;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  letter-spacing: -.035em;
  line-height: 1.06;
}
.star-directory-promotion-guide__heading > p:not(.star-directory-profile__eyebrow) {
  margin-top: 15px;
  color: #4c5f53;
  line-height: 1.6;
}

.star-directory-promotion-guide__benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 25px;
}

.star-directory-promotion-guide__benefit-grid article {
  min-width: 0;
  padding: 24px;
  border: 1px solid #d3e1d6;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 25px rgba(17, 58, 33, .045);
}

.star-directory-promotion-guide__benefit-grid span {
  color: #087431;
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .12em;
}
.star-directory-promotion-guide__benefit-grid h3 { margin: 14px 0 10px; color: #153a23; font-size: 1.13rem; line-height: 1.2; }
.star-directory-promotion-guide__benefit-grid p { margin: 0; color: #58695e; line-height: 1.55; }

.star-directory-promotion-guide__packages { margin-top: clamp(48px, 8vw, 92px); }

.star-directory-promotion-guide__split,
.star-directory-promotion-guide__comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.star-directory-promotion-guide__split article,
.star-directory-promotion-guide__comparison article {
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid #cddfd1;
  border-radius: 20px;
  background: #f7fbf8;
}

.star-directory-promotion-guide__split article + article,
.star-directory-promotion-guide__comparison article + article { background: #fff; }
.star-directory-promotion-guide__split h3,
.star-directory-promotion-guide__comparison h3 { margin: 10px 0 18px; color: #173c25; font-size: clamp(1.2rem, 2vw, 1.55rem); line-height: 1.18; }
.star-directory-promotion-guide__split ul,
.star-directory-promotion-guide__comparison ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.star-directory-promotion-guide__split li,
.star-directory-promotion-guide__comparison li { position: relative; padding-left: 23px; color: #45594c; line-height: 1.48; }
.star-directory-promotion-guide__split li::before,
.star-directory-promotion-guide__comparison li::before { position: absolute; top: .53em; left: 0; width: 9px; height: 9px; border-radius: 50%; background: #07813a; content: ""; }

.star-directory-promotion-guide__comparison article:first-child {
  border-color: #83b694;
  background: linear-gradient(145deg, #eaf6ed, #f8fbf8);
}

.star-directory-promotion-guide__steps { display: grid; gap: 11px; margin: 22px 0; padding: 0; list-style: none; counter-reset: promotion-step; }
.star-directory-promotion-guide__steps li { counter-increment: promotion-step; position: relative; min-height: 32px; padding: 5px 0 5px 47px; color: #45594c; line-height: 1.48; }
.star-directory-promotion-guide__steps li::before { position: absolute; top: 0; left: 0; display: grid; width: 32px; height: 32px; place-items: center; border-radius: 50%; background: #0b7635; color: #fff; content: counter(promotion-step); font-size: .82rem; font-weight: 900; }

.star-directory-promotion-guide a:focus-visible { outline: 3px solid #d5a83d; outline-offset: 3px; }

@media (max-width: 980px) {
  .star-directory-promotion-guide__benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .star-directory-promotion-guide__hero { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .star-directory-promotion-guide { padding-right: 14px; padding-left: 14px; }
  .star-directory-promotion-guide__hero { margin-top: 12px; padding: 26px 20px; border-radius: 20px; }
  .star-directory-promotion-guide__hero h1 { font-size: clamp(2rem, 11vw, 2.8rem); }
  .star-directory-promotion-guide__hero-actions .star-directory-button { width: 100%; justify-content: center; }
  .star-directory-promotion-guide__nav { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; }
  .star-directory-promotion-guide__nav a { flex: 0 0 auto; }
  .star-directory-promotion-guide__benefit-grid,
  .star-directory-promotion-guide__split,
  .star-directory-promotion-guide__comparison { grid-template-columns: 1fr; }
  .star-directory-promotion-guide__benefit-grid article { padding: 21px; }
}

@media (max-width: 640px) {
  .star-directory-hub__packages {
    padding: 18px;
    border-radius: 18px;
  }

  .star-directory-hub__package {
    padding: 20px;
  }

  .star-directory-hub__package-compare {
    padding: 18px 14px;
  }

  .star-directory-hub__package-compare-table {
    border: 0;
    overflow: visible;
  }

  .star-directory-hub__package-compare-row,
  .star-directory-hub__package-compare-row--header {
    display: block;
    border: 1px solid #dce6de;
    border-radius: 12px;
    background: #fff;
  }

  .star-directory-hub__package-compare-row--header {
    display: none;
  }

  .star-directory-hub__package-compare-row + .star-directory-hub__package-compare-row {
    margin-top: 10px;
  }

  .star-directory-hub__package-compare-row > span,
  .star-directory-hub__package-compare-row > span:first-child {
    min-height: 0;
    border: 0;
    border-top: 1px solid #e3ebe5;
    padding: 10px 12px;
  }

  .star-directory-hub__package-compare-row > span[role="rowheader"] {
    border-top: 0;
    background: #f1f7f2;
    color: #20492d;
  }

  .star-directory-hub__package-compare-row > span[role="cell"] {
    justify-content: space-between;
  }

  .star-directory-hub__package-compare-row > span[role="cell"]::before {
    color: #56665b;
    font-size: .78rem;
    font-weight: 800;
    content: attr(data-plan);
  }
}

/* Commercial package selection: the same central offers are presented as
 * actionable, keyboard-friendly choices instead of a passive price list. */
.star-directory-plan {
  position: relative;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.star-directory-plan.is-selected {
  border-color: var(--star-dir-brand);
  box-shadow: 0 14px 30px rgba(16, 78, 38, .14);
}

.star-directory-plan.is-selected::after {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--star-dir-brand);
  color: #fff;
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .04em;
  content: "WYBRANO";
}

.star-directory-plan [data-star-directory-plan],
.star-directory-featured-addon [data-star-directory-featured] {
  width: 100%;
  min-height: 48px;
  margin-top: auto;
  cursor: pointer;
}

.star-directory-plan [data-star-directory-plan]:focus-visible,
.star-directory-featured-addon [data-star-directory-featured]:focus-visible {
  outline: 3px solid #d3ab47;
  outline-offset: 3px;
}

.star-directory-selection-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
  margin: 24px 0 0;
  padding: 15px 18px;
  border: 1px solid #cfe2d3;
  border-radius: 14px;
  background: #f0f8f2;
  color: #1d4d2c;
}

.star-directory-selection-summary__label {
  font-weight: 850;
}

.star-directory-selection-summary [data-star-directory-selected-name] {
  font-weight: 850;
}

.star-directory-selection-summary [data-star-directory-selected-price] {
  color: #466452;
  font-size: .92rem;
}

.star-directory-comparison-cards {
  display: none;
}

@media (max-width: 760px) {
  .star-directory-plan {
    padding: 22px;
  }

  .star-directory-plan.is-selected {
    transform: none;
  }

  .star-directory-comparison {
    display: none;
  }

  .star-directory-comparison-cards {
    display: grid;
    gap: 14px;
    margin-top: 24px;
  }

  .star-directory-comparison-cards > article {
    padding: 20px;
    border: 1px solid #d4ddd6;
    border-radius: 16px;
    background: #fff;
  }

  .star-directory-comparison-cards h3 {
    margin: 6px 0 8px;
    color: #173c25;
    font-size: 1.32rem;
  }

  .star-directory-comparison-cards__price {
    display: grid;
    gap: 2px;
    margin: 14px 0;
    color: #466452;
  }

  .star-directory-comparison-cards__price strong {
    color: var(--star-dir-accent-strong);
    font-size: 1.2rem;
  }

  .star-directory-comparison-cards ul {
    display: grid;
    gap: 9px;
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
  }

  .star-directory-comparison-cards li {
    position: relative;
    padding-left: 22px;
    color: #435448;
    line-height: 1.45;
  }

  .star-directory-comparison-cards li::before {
    position: absolute;
    left: 0;
    color: var(--star-dir-brand);
    font-weight: 900;
    content: "✓";
  }

  .star-directory-comparison-cards [data-star-directory-plan] {
    margin-top: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .star-directory-plan {
    transition: none;
  }
}

.star-directory-profile-showcase {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(24px, 5vw, 64px) 20px clamp(44px, 7vw, 90px);
}

.star-directory-profile-showcase__hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, .36fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(30px, 5vw, 60px);
  border: 1px solid #cae1d0;
  border-radius: 24px;
  background: linear-gradient(135deg, #f6fbf7, #e7f2e9);
}

.star-directory-profile-showcase--premium .star-directory-profile-showcase__hero {
  border-color: #365e42;
  background: linear-gradient(135deg, #10291b, #18582e);
  color: #fff;
}

.star-directory-profile-showcase__hero h1 { margin: 8px 0 16px; color: #087633; font-size: clamp(2rem, 4.6vw, 4rem); line-height: 1.04; }
.star-directory-profile-showcase__hero p { max-width: 760px; margin: 0; line-height: 1.6; }
.star-directory-profile-showcase--premium .star-directory-profile-showcase__hero h1 { color: #fff; }
.star-directory-profile-showcase--premium .star-directory-profile-showcase__hero p { color: #e0eee3; }
.star-directory-profile-showcase--premium .star-directory-profile-showcase__hero .star-directory-profile__eyebrow { color: #a8e5ba; }
.star-directory-profile-showcase__premium-badge { display: inline-flex; align-items: center; min-height: 30px; margin: 3px 0 12px; padding: 5px 10px; border: 1px solid rgba(221, 182, 92, .75); border-radius: 999px; background: rgba(16, 41, 27, .28); color: #f6d77d; font-size: .71rem; font-weight: 900; letter-spacing: .08em; line-height: 1.2; }
.star-directory-profile-showcase__hero aside { display: grid; gap: 7px; padding: 24px; border-radius: 18px; background: #fff; color: #183b25; box-shadow: 0 12px 28px rgba(16, 56, 30, .10); }
.star-directory-profile-showcase__hero aside span { color: #52685a; font-size: .83rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.star-directory-profile-showcase__hero aside strong { color: #087633; font-size: 1.8rem; }
.star-directory-profile-showcase__hero aside small { color: #506055; }
.star-directory-profile-showcase__hero aside em { margin-top: 10px; color: #506055; font-size: .9rem; font-style: normal; }
.star-directory-profile-showcase__hero .star-directory-promotion-guide__hero-actions { margin-top: 26px; }

.star-directory-profile-showcase__preview,
.star-directory-profile-showcase__included {
  margin-top: clamp(28px, 5vw, 58px);
  padding: clamp(26px, 4vw, 46px);
  border: 1px solid #d7e2d9;
  border-radius: 22px;
  background: #fff;
}

.star-directory-profile-showcase__preview header h2,
.star-directory-profile-showcase__included h2 { margin: 7px 0 20px; color: #173c25; font-size: clamp(1.7rem, 3vw, 2.65rem); }
.star-directory-profile-showcase__mock-profile { display: grid; grid-template-columns: 104px minmax(0, 1.2fr) minmax(230px, .8fr); gap: 24px; align-items: center; padding: clamp(22px, 4vw, 38px); border: 1px solid #cee0d2; border-radius: 18px; background: #f7fbf8; }
.star-directory-profile-showcase__mock-mark { display: grid; width: 104px; height: 104px; place-items: center; border-radius: 22px; background: #087633; color: #fff; font-size: 1.55rem; font-weight: 900; letter-spacing: .06em; }
.star-directory-profile-showcase__mock-profile h3 { margin: 6px 0 9px; color: #173c25; font-size: 1.6rem; }
.star-directory-profile-showcase__mock-profile p { margin: 0; color: #526358; line-height: 1.55; }
.star-directory-profile-showcase__mock-profile ul,
.star-directory-profile-showcase__included ul { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; }
.star-directory-profile-showcase__mock-profile li,
.star-directory-profile-showcase__included li { position: relative; padding-left: 24px; color: #405348; line-height: 1.45; }
.star-directory-profile-showcase__mock-profile li::before,
.star-directory-profile-showcase__included li::before { position: absolute; left: 0; color: #087633; font-weight: 900; content: "✓"; }
.star-directory-profile-showcase__premium-stage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(248px, .34fr); gap: 22px; align-items: stretch; }
.star-directory-profile-showcase__premium-profile { overflow: hidden; border: 1px solid #bdd4c3; border-radius: 18px; background: #fff; box-shadow: 0 18px 38px rgba(15, 51, 27, .11); }
.star-directory-profile-showcase__premium-cover { display: flex; min-height: 132px; align-items: end; justify-content: space-between; gap: 20px; padding: 24px; background: radial-gradient(circle at 78% 16%, rgba(217, 180, 84, .58), transparent 27%), linear-gradient(135deg, #0a3520, #087633); color: #fff; }
.star-directory-profile-showcase__premium-cover span { display: grid; width: 60px; height: 60px; flex: 0 0 auto; place-items: center; border: 2px solid rgba(255, 255, 255, .78); border-radius: 17px; background: rgba(255, 255, 255, .11); font-size: 1.15rem; font-weight: 950; letter-spacing: .06em; }
.star-directory-profile-showcase__premium-cover p { max-width: 250px; margin: 0; color: #eff9f1; font-size: .88rem; font-weight: 800; line-height: 1.35; text-align: right; }
.star-directory-profile-showcase__premium-body { padding: clamp(22px, 3.5vw, 34px); }
.star-directory-profile-showcase__premium-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-bottom: 12px; }
.star-directory-profile-showcase__premium-meta span { padding: 5px 9px; border-radius: 999px; background: #e8f5ea; color: #0a6932; font-size: .69rem; font-weight: 950; letter-spacing: .09em; }
.star-directory-profile-showcase__premium-meta small { color: #63786a; font-size: .83rem; font-weight: 750; }
.star-directory-profile-showcase__premium-profile h3 { margin: 0 0 9px; color: #123d22; font-size: clamp(1.55rem, 3vw, 2.25rem); line-height: 1.13; }
.star-directory-profile-showcase__premium-profile > .star-directory-profile-showcase__premium-body > p { max-width: 760px; margin: 0; color: #526358; line-height: 1.55; }
.star-directory-profile-showcase__premium-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
.star-directory-profile-showcase__premium-actions span { padding: 9px 12px; border: 1px solid #cfe0d2; border-radius: 999px; background: #f8fbf8; color: #1a512c; font-size: .83rem; font-weight: 800; }
.star-directory-profile-showcase__premium-content { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding-top: 22px; border-top: 1px solid #dce7de; }
.star-directory-profile-showcase__premium-content section { padding: 17px; border-radius: 13px; background: #f4f8f4; }
.star-directory-profile-showcase__premium-content h4 { margin: 0 0 7px; color: #173c25; font-size: 1rem; }
.star-directory-profile-showcase__premium-content p { margin: 0; color: #56695c; font-size: .91rem; line-height: 1.5; }
.star-directory-profile-showcase__premium-content ul { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.star-directory-profile-showcase__premium-content li { position: relative; padding-left: 17px; color: #56695c; font-size: .9rem; line-height: 1.4; }
.star-directory-profile-showcase__premium-content li::before { position: absolute; left: 0; color: #087633; font-weight: 950; content: "•"; }
.star-directory-profile-showcase__premium-exposure { padding: clamp(22px, 3vw, 32px); border-radius: 18px; background: linear-gradient(155deg, #123c25, #082818); color: #fff; box-shadow: inset 0 0 0 1px rgba(235, 218, 157, .18); }
.star-directory-profile-showcase__premium-exposure .star-directory-profile__eyebrow { color: #d5b85f; }
.star-directory-profile-showcase__premium-exposure h3 { margin: 7px 0 17px; color: #fff; font-size: 1.42rem; line-height: 1.22; }
.star-directory-profile-showcase__premium-exposure ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.star-directory-profile-showcase__premium-exposure li { position: relative; padding-left: 21px; color: #deece0; font-size: .92rem; line-height: 1.45; }
.star-directory-profile-showcase__premium-exposure li::before { position: absolute; left: 0; color: #f1cf70; font-weight: 950; content: "✓"; }
.star-directory-profile-showcase__included > p:last-child { max-width: 840px; margin: 24px 0 0; color: #526358; line-height: 1.55; }
.star-directory-profile-showcase__cta { display: flex; justify-content: space-between; gap: 28px; align-items: center; margin-top: clamp(28px, 5vw, 58px); padding: clamp(26px, 4vw, 44px); border-radius: 22px; background: #112719; color: #fff; }
.star-directory-profile-showcase__cta h2 { margin: 7px 0; color: #fff; font-size: clamp(1.55rem, 3vw, 2.3rem); }
.star-directory-profile-showcase__cta p { max-width: 720px; margin: 0; color: #d9e8dc; line-height: 1.55; }
.star-directory-profile-showcase__cta .star-directory-profile__eyebrow { color: #a8e5ba; }
.star-directory-profile-showcase__cta .star-directory-button { flex: 0 0 auto; background: #fff; color: #0a6330; }

@media (max-width: 760px) {
  .star-directory-profile-showcase { padding-inline: 15px; }
  .star-directory-profile-showcase__hero { grid-template-columns: 1fr; padding: 26px; }
  .star-directory-profile-showcase__mock-profile { grid-template-columns: 1fr; }
  .star-directory-profile-showcase__premium-stage,
  .star-directory-profile-showcase__premium-content { grid-template-columns: 1fr; }
  .star-directory-profile-showcase__premium-cover { min-height: 116px; padding: 20px; }
  .star-directory-profile-showcase__premium-cover p { text-align: left; }
  .star-directory-profile-showcase__cta { display: grid; }
  .star-directory-profile-showcase__cta .star-directory-button { width: 100%; justify-content: center; }
}

/* Verified location preview; the interactive canvas is supplied by STAR Local
 * Map, while this card remains a useful link when JavaScript is unavailable. */
.star-directory-profile__map[data-star-local-map-preview] { display: grid; grid-template-columns: minmax(220px, .78fr) minmax(340px, 1.22fr); gap: clamp(22px, 4vw, 46px); align-items: stretch; margin-top: 28px; background: linear-gradient(135deg, #f7fbf8, #eaf4ec); }
.star-directory-profile__map-copy { display: grid; align-content: center; justify-items: start; }
.star-directory-profile__map-copy h2 { margin: 6px 0 12px; color: #173d25; font-size: clamp(1.55rem, 2.7vw, 2.25rem); line-height: 1.1; }
.star-directory-profile__map-address { margin: 0; color: #173d25; font-size: 1.03rem; font-weight: 800; line-height: 1.45; }
.star-directory-profile__map-note { margin: 11px 0 22px; color: #5a7061; line-height: 1.5; }
.star-directory-profile__map-link { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 10px 15px; border-radius: 10px; background: #087633; color: #fff; font-weight: 800; text-decoration: none; }
.star-directory-profile__map-link:hover, .star-directory-profile__map-link:focus-visible { background: #064f23; color: #fff; }
.star-directory-profile__map-link span { font-size: 1.15em; line-height: 1; }
.star-directory-profile__map-canvas { min-height: 280px; overflow: hidden; border: 1px solid #cde0d1; border-radius: 16px; background: linear-gradient(135deg, #e7f1e9, #f9fcfa); }
.star-directory-profile__map-canvas noscript { display: grid; height: 100%; min-height: 280px; place-items: center; padding: 20px; text-align: center; }
@media (max-width: 760px) { .star-directory-profile__map[data-star-local-map-preview] { grid-template-columns: 1fr; gap: 20px; } .star-directory-profile__map-canvas { min-height: 240px; } }

/* The portal-wide GAM sidebar remains at the end of the profile rail, so the
 * contact card keeps priority and an empty response collapses cleanly. */
.star-directory-profile__sidebar-ad { display: grid; justify-items: center; min-width: 0; }
.star-directory-profile__sidebar-ad > .star-ad { margin: 0 auto; }
.star-directory-profile__manager-access{display:grid;gap:7px;margin:18px 0;padding:0;list-style:none}.star-directory-profile__manager-access li{margin:0}.star-directory-profile__manager-access a{display:flex;gap:8px;align-items:center;padding:9px 10px;border:1px solid #cfe3d5;border-radius:8px;color:#076633;font-weight:700;text-decoration:none;background:#f5fbf6}.star-directory-profile__manager-access a:hover,.star-directory-profile__manager-access a:focus-visible{border-color:#087633;background:#e8f7eb}.star-directory-profile__manager-access .is-locked a{border-color:#ead69d;color:#74561d;background:#fff9ec}.star-directory-profile__manager-access .is-active a{border-color:#aacdb4;color:#135e31;background:#eaf8ee}
