
/* Atlas selection follows the same area state as the listing filter. */
.atlas-hero-art { display: block; position: relative; overflow: hidden; align-self: stretch; }
.atlas-hero-art picture { display: block; height: 100%; }
.atlas-hero-art img { max-height: none; object-position: left center; }
.atlas-highlight { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.atlas-highlight path {
  fill: #ffad47; fill-opacity: .46; stroke: #ff7b00; stroke-width: 2.4;
  vector-effect: non-scaling-stroke; stroke-linejoin: round;
  opacity: 0; transition: opacity 140ms ease;
}
.atlas-highlight-compact { display: none; }
.atlas-areas .btn[aria-pressed="true"] { background: #ffab53; color: #06264c; box-shadow: inset 0 -3px 0 #e86700; }
.atlas-areas .btn:focus-visible { outline: 2px solid white; outline-offset: 2px; }
.directory-hero[data-map-area="all"] [data-region="all"],
.directory-hero[data-map-area="south-coast"] [data-region="south-coast"],
.directory-hero[data-map-area="nowra"] [data-region="nowra"],
.directory-hero[data-map-area="bay-basin"] [data-region="bay-basin"] { opacity: 1; }
.directory-hero:has(.atlas-areas [data-map-region]:focus-visible) .atlas-highlight path { opacity: 0; }
.directory-hero:has(.atlas-areas [data-map-region="all"]:focus-visible) .atlas-highlight [data-region="all"],
.directory-hero:has(.atlas-areas [data-map-region="south-coast"]:focus-visible) .atlas-highlight [data-region="south-coast"],
.directory-hero:has(.atlas-areas [data-map-region="nowra"]:focus-visible) .atlas-highlight [data-region="nowra"],
.directory-hero:has(.atlas-areas [data-map-region="bay-basin"]:focus-visible) .atlas-highlight [data-region="bay-basin"] { opacity: 1; }
@media (hover: hover) {
  .directory-hero:has(.atlas-areas [data-map-region]:hover) .atlas-highlight path { opacity: 0; }
  .directory-hero:has(.atlas-areas [data-map-region="all"]:hover) .atlas-highlight [data-region="all"],
  .directory-hero:has(.atlas-areas [data-map-region="south-coast"]:hover) .atlas-highlight [data-region="south-coast"],
  .directory-hero:has(.atlas-areas [data-map-region="nowra"]:hover) .atlas-highlight [data-region="nowra"],
  .directory-hero:has(.atlas-areas [data-map-region="bay-basin"]:hover) .atlas-highlight [data-region="bay-basin"] { opacity: 1; }
}
@media (max-width: 760px) {
  .atlas-hero-art { aspect-ratio: 390 / 160; }
  .atlas-hero-art img { height: 100%; max-height: none; }
  .atlas-highlight-wide { display: none; }
  .atlas-highlight-compact { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  .atlas-highlight path { transition: none; }
}

/* Panel of 13 Directory pass. Search first, compare useful listing details second. */
.directory-page {
  --atlas-paper: #fcf8f0;
  --atlas-navy: #072648;
  --atlas-accent: #ff8a25;
}
.directory-page .directory-hero {
  grid-template-columns: minmax(0, 44fr) minmax(0, 56fr);
  min-height: clamp(330px, 34vw, 475px);
}
.directory-page .atlas-search {
  align-self: center; padding: clamp(22px, 3.2vw, 48px) clamp(18px, 3.2vw, 54px);
}
.directory-page .atlas-search h1 {
  max-width: 16ch; font-size: clamp(32px, 4.45vw, 62px);
}
.directory-page .atlas-search > p { color: #e5eef7; }
.directory-page .atlas-search .field > label {
  font-size: .84rem; font-weight: 700; color: #e5eef7;
}
.directory-page .atlas-search .directory-filters input,
.directory-page .atlas-search .directory-filters select { min-height: 45px; }
.directory-page .atlas-search .directory-filters .btn-primary {
  margin-top: 3px; border-radius: 10px; font-size: clamp(17px, 1.7vw, 22px);
}
.directory-page .atlas-areas { gap: 6px; margin-top: 13px; }
.directory-page .atlas-areas .btn {
  padding-inline: 11px; border: 1px solid #58738d; border-radius: 8px; font-weight: 700;
}
.directory-page .atlas-areas .btn[aria-pressed="true"] {
  background: #ffd6ae; color: var(--atlas-navy); border-color: #ffd6ae; box-shadow: none;
}
.directory-page .atlas-hero-art img { object-position: left center; }
.directory-page .atlas-highlight path {
  fill: #ffc88e; fill-opacity: .24; stroke: #ff8a25; stroke-width: 2.8;
}
.atlas-map-caption {
  position: absolute; right: 12px; bottom: 13px; max-width: calc(100% - 24px);
  background: #072648; color: #fff; border-radius: 6px; padding: 5px 9px; font-size: .8rem; font-weight: 700;
}
.atlas-map-caption span { color: #dbe9f5; font-weight: 500; }
.directory-page .directory-results { margin-inline: clamp(12px, 3.2vw, 45px); padding-top: clamp(16px, 3vw, 34px); }
.directory-page .directory-results-header { gap: 12px; flex-wrap: wrap; border-bottom: 1px solid #e5ddd0; padding-bottom: 12px; }
.directory-page .directory-results-header h2 { font-size: clamp(24px, 3.5vw, 36px); }
.directory-page .directory-results-header p { margin: 4px 0 0; max-width: 58ch; overflow-wrap: anywhere; }
.directory-page .directory-results-header .btn { white-space: normal; min-height: 44px; }
.directory-page .directory-results .directory-browse { margin: 0 0 14px; padding: 2px 0 7px; }
.directory-page .atlas-tier-title { letter-spacing: -.025em; margin-bottom: 10px; }
.directory-page .directory-cards { gap: 14px; }
.directory-page .directory-card { border-radius: 10px; }
.directory-page .directory-card-featured { border-bottom-width: 2px; }
.directory-page .directory-card-body { justify-content: start; }
.atlas-project { position: relative; margin: 0; }
.atlas-project figcaption {
  position: absolute; top: 7px; left: 7px; padding: 3px 6px;
  border-radius: 4px; background: #072648; color: #fff; font-size: 11px;
}
.atlas-coverage { color: #3e576b; }
.directory-page .atlas-free-list { gap: 6px; }
.directory-page .atlas-free-list .directory-card-body { padding: 9px 12px; }
.directory-page .directory-card-actions { margin-top: auto; }
@media (max-width: 900px) {
  .directory-page .directory-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .directory-page .atlas-search { padding: 18px; }
}
@media (max-width: 760px) {
  .directory-page .directory-hero { min-height: auto; }
  .directory-page .atlas-search { padding: 16px 12px 13px; text-align: left; }
  .directory-page .atlas-search h1 { max-width: none; }
  .directory-page .atlas-areas { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; }
  .directory-page .atlas-areas .btn { min-height: 44px; justify-content: center; padding-inline: 6px; }
  .directory-page .atlas-map-caption { bottom: 6px; right: 6px; }
  .directory-page .directory-card-featured:has(.directory-project) { display: block; }
  .directory-page .directory-card-featured .directory-project { height: auto; aspect-ratio: 2.6; }
  .directory-page .atlas-free-list .directory-card-body { grid-template-columns: minmax(0,1fr) auto; }
  .directory-page .atlas-free-list h3,
  .directory-page .atlas-free-list .directory-card-trade { grid-column: 1/-1; }
}

.atlas-live-directory {
  color: #072648;
  background: #fcf8f0;
}
.atlas-live-directory .atlas-live-hero {
  position: relative;
  display: grid;
  margin-inline: auto;
  max-width: 1440px;
  border-radius: 0 0 12px 12px;
  overflow: hidden;
  background: #072648;
  color: #fff;
}
.atlas-live-directory .atlas-search h1 {
  color: #fff;
  margin: 0;
  line-height: 1.03;
  font-weight: 800;
}
.atlas-live-directory .atlas-search > p { margin: .8rem 0; }
.atlas-live-directory .atlas-hero-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.atlas-live-hero .compactSearch {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  padding: 0;
  margin: 0;
  gap: 8px;
  background: none;
  border: 0;
  box-shadow: none;
}
.atlas-live-hero .compactSearch label { min-width: 0; color: #dbe9f5; }
.atlas-live-hero .compactSearch .searchName { grid-column: 1/-1; }
.atlas-live-hero .compactSearch input[type=search],
.atlas-live-hero .compactSearch select {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 45px;
  color: #072648;
  background: #fff;
}
.atlas-live-hero .compactSearch button {
  min-height: 44px;
  background: #ff8a25;
  color: #072648;
  font-weight: 800;
}
.atlas-live-hero .atlas-areas {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.atlas-live-hero .atlas-area {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border: 1px solid #8da3b7;
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  text-align: center;
  font-weight: 700;
}
.atlas-live-hero .atlas-area[aria-current] {
  border-color: #ffd6ae;
  color: #072648;
  background: #ffd6ae;
}
.atlas-live-hero .atlas-area:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.atlas-live-directory .atlas-existing-browse {
  margin: 14px auto 0;
  width: min(100% - 24px, 1160px);
}
.atlas-live-directory .atlas-existing-browse > summary {
  cursor: pointer;
  padding: 10px;
  min-height: 44px;
}
.atlas-live-directory .searchResults {
  background: transparent;
  padding-top: 16px;
}
.atlas-live-directory .searchTitle { overflow-wrap: anywhere; }
.atlas-live-directory .atlas-tier .card { border-radius: 10px; }
@media (max-width: 760px) {
  .atlas-live-directory .atlas-live-hero { grid-template-columns: minmax(0,1fr); }
  .atlas-live-hero .atlas-areas { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .atlas-live-hero .atlas-area { padding-inline: 6px; }
  .atlas-live-directory .searchResults { max-width: none; width: auto; margin-inline: 12px; }
}
.atlas-live-directory .atlas-all-link {
  margin: 0 auto;
  width: min(100% - 24px, 1160px);
  padding-bottom: 20px;
}
.atlas-live-directory .atlas-all-link a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #072648;
  font-weight: 700;
}
