
/* =========================================================
   COAST PLACE V5 — v0.17.0
   LOCATION ARCHIVE
   No hero image. No inflated sparse content.
   ========================================================= */

.emcg-place-v5{
  --pa-ink:#08242b;
  --pa-teal:#0b9189;
  --pa-aqua:#c8f1eb;
  --pa-coral:#ff6f61;
  --pa-lime:#d9f36d;
  --pa-cream:#fff9ef;
  --pa-line:rgba(8,36,43,.11);
  width:min(1180px,calc(100% - 36px));
  margin:0 auto;
  padding:36px 0 52px;
  color:var(--pa-ink);
}
.emcg-place-v5 *, .emcg-place-v5 *:before, .emcg-place-v5 *:after{box-sizing:border-box}
.emcg-place-v5 a{color:inherit}

/* Identity */
.emcg-place-v5-head{
  display:flex;align-items:flex-end;justify-content:space-between;
  gap:34px;padding:0 2px 18px;
}
.emcg-place-v5-meta{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.emcg-place-v5-meta span,.emcg-place-v5-meta b,.emcg-place-v5-meta em{
  font-size:7px;line-height:1;font-style:normal;font-weight:950;
  letter-spacing:.06em;text-transform:uppercase
}
.emcg-place-v5-meta span{color:var(--pa-teal)}
.emcg-place-v5-meta b,.emcg-place-v5-meta em{
  padding-left:8px;border-left:1px solid var(--pa-line);color:#62777c
}
.emcg-place-v5-head h1{
  margin:8px 0 0;max-width:820px;
  font:800 clamp(64px,7.6vw,104px)/.82 Georgia,serif;
  letter-spacing:-.06em;text-wrap:balance
}
.emcg-place-v5-head-copy>p{
  margin:12px 0 0;color:#49636a;font:600 19px/1.15 Georgia,serif
}
.emcg-place-v5-head-actions{
  display:flex;align-items:center;gap:8px;flex:0 0 auto;padding-bottom:4px
}
.emcg-place-v5-head-actions .emcg-follow-button,
.emcg-place-v5-head-actions>a{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:40px!important;padding:8px 14px!important;
  border:1px solid rgba(8,36,43,.17)!important;border-radius:999px!important;
  background:#fff!important;color:var(--pa-ink)!important;
  font-size:8px!important;font-weight:900!important;text-decoration:none!important;
  box-shadow:none!important
}
.emcg-place-v5-summary{
  display:flex;align-items:center;gap:11px;
  padding:11px 2px 15px;border-top:1px solid var(--pa-line);
  border-bottom:1px solid var(--pa-line);color:#63787d;font-size:8px
}
.emcg-place-v5-summary strong{color:var(--pa-ink);font-weight:900}
.emcg-place-v5-summary i{width:4px;height:4px;border-radius:50%;background:var(--pa-coral)}

/* Shared section head */
.emcg-place-v5-now,.emcg-place-v5-archive{margin-top:37px}
.emcg-place-v5-section-head{
  display:flex;align-items:flex-end;justify-content:space-between;
  gap:28px;margin-bottom:16px
}
.emcg-place-v5-section-head span,
.emcg-place-v5-social-head span,
.emcg-place-v5-ending span,
.emcg-place-v5-now-empty span,
.emcg-place-v5-archive-young span{
  display:block;color:var(--pa-teal);font-size:6px;line-height:1;
  font-weight:950;letter-spacing:.06em;text-transform:uppercase
}
.emcg-place-v5-section-head h2{
  margin:5px 0 0;font:800 clamp(30px,3.4vw,46px)/.94 Georgia,serif;
  letter-spacing:-.04em
}
.emcg-place-v5-section-head>p{
  width:min(390px,38%);margin:0 0 3px;color:#60757a;font-size:8px;line-height:1.45
}

/* Moment grid */
.emcg-place-v5-grid{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px 11px
}
.emcg-place-v5-card>a{display:block;color:var(--pa-ink);text-decoration:none}
.emcg-place-v5-card-media{
  display:block;aspect-ratio:4/5;overflow:hidden;border-radius:16px;background:#e9e6df
}
.emcg-place-v5-card-media img{
  display:block;width:100%;height:100%;object-fit:cover;transition:transform .2s ease
}
.emcg-place-v5-card>a:hover .emcg-place-v5-card-media img{transform:scale(1.015)}
.emcg-place-v5-card-media>span{
  display:grid;place-items:center;width:100%;height:100%;
  background:var(--pa-ink);color:#fff;font:900 32px/1 Georgia,serif
}
.emcg-place-v5-card-copy{display:block;padding:8px 2px 0}
.emcg-place-v5-card-copy>small{
  display:block;color:var(--pa-teal);font-size:5.5px;font-weight:950;text-transform:uppercase
}
.emcg-place-v5-card-copy>strong{
  display:-webkit-box;margin-top:5px;overflow:hidden;-webkit-box-orient:vertical;
  -webkit-line-clamp:2;font:800 17px/1.03 Georgia,serif
}
.emcg-place-v5-card-copy>em{
  display:block;margin-top:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  color:#687c81;font-size:6.5px;font-style:normal
}
.emcg-place-v5-card-social{
  display:flex;align-items:center;gap:10px;margin-top:7px;color:#526a70
}
.emcg-place-v5-card-social>span{display:inline-flex;align-items:center;gap:3px}
.emcg-place-v5-card-social svg{
  width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.8
}
.emcg-place-v5-card-social b{font-size:7px}

/* Empty/young */
.emcg-place-v5-now-empty,.emcg-place-v5-archive-young{
  display:flex;align-items:center;justify-content:space-between;gap:22px;
  padding:14px 1px;border-top:1px solid var(--pa-line);border-bottom:1px solid var(--pa-line)
}
.emcg-place-v5-now-empty strong,.emcg-place-v5-archive-young strong{
  display:block;margin-top:5px;font:800 19px/1 Georgia,serif
}
.emcg-place-v5-archive-young p{margin:5px 0 0;color:#64797e;font-size:8px}
.emcg-place-v5-now-empty>a{
  flex:0 0 auto;color:var(--pa-teal);font-size:7px;font-weight:950;text-decoration:none
}

/* Archive */
.emcg-place-v5-archive{padding-top:7px;border-top:1px solid var(--pa-line)}
.emcg-place-v5-archive-groups{display:grid;gap:36px}
.emcg-place-v5-month-head{
  display:flex;align-items:baseline;justify-content:space-between;gap:18px;
  margin-bottom:12px;padding-bottom:8px;border-bottom:1px solid rgba(8,36,43,.08)
}
.emcg-place-v5-month-head h3{margin:0;font:800 23px/1 Georgia,serif}
.emcg-place-v5-month-head span{color:#6a7e83;font-size:7px}

/* People/connections */
.emcg-place-v5-social-section{
  margin-top:42px;padding-top:20px;border-top:1px solid var(--pa-line)
}
.emcg-place-v5-social-head{
  display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:11px
}
.emcg-place-v5-social-head h2{
  margin:5px 0 0;font:800 29px/1 Georgia,serif;letter-spacing:-.035em
}
.emcg-place-v5-social-head>b{color:#687c81;font-size:8px}
.emcg-place-v5-people,.emcg-place-v5-connections{
  display:flex;gap:8px;overflow-x:auto;padding:1px 0 3px;scrollbar-width:none
}
.emcg-place-v5-people::-webkit-scrollbar,.emcg-place-v5-connections::-webkit-scrollbar{display:none}
.emcg-place-v5-people>a,.emcg-place-v5-connections>a{
  flex:0 0 270px;display:grid;grid-template-columns:46px minmax(0,1fr) 12px;
  align-items:center;gap:9px;min-height:64px;padding:8px 10px;
  border:1px solid var(--pa-line);border-radius:14px;background:#fff;
  color:var(--pa-ink);text-decoration:none
}
.emcg-place-v5-avatar{
  display:grid;place-items:center;width:46px;height:46px;overflow:hidden;
  border-radius:50%;background:#e9eee9;font-size:8px;font-weight:950
}
.emcg-place-v5-avatar.is-square{border-radius:11px}
.emcg-place-v5-avatar img{width:100%;height:100%;object-fit:cover}
.emcg-place-v5-people strong,.emcg-place-v5-connections strong{
  display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10.5px
}
.emcg-place-v5-people small,.emcg-place-v5-connections small{
  display:block;margin-top:2px;color:#687c81;font-size:5.5px
}
.emcg-place-v5-connections small{
  margin:0 0 2px;color:var(--pa-teal);font-weight:950;text-transform:uppercase
}
.emcg-place-v5-people>a>b,.emcg-place-v5-connections>a>b{color:var(--pa-teal);font-size:10px}

/* Ending */
.emcg-place-v5-ending{
  display:flex;align-items:center;justify-content:space-between;gap:22px;
  margin-top:38px;padding:16px 17px;border-radius:17px;background:var(--pa-ink);color:#fff
}
.emcg-place-v5-ending span{color:var(--pa-aqua)}
.emcg-place-v5-ending strong{
  display:block;margin-top:4px;font:800 22px/1 Georgia,serif
}
.emcg-place-v5-ending>div:last-child{
  display:flex;align-items:center;gap:8px;flex:0 0 auto
}
.emcg-place-v5-ending .emcg-follow-button{
  background:var(--pa-lime)!important;border-color:var(--pa-lime)!important;color:var(--pa-ink)!important
}
.emcg-place-v5-ending>div:last-child>a{
  color:#fff;font-size:7px;font-weight:900;text-decoration:none
}

@media(max-width:980px){
  .emcg-place-v5{width:min(100% - 24px,900px);padding-top:27px}
  .emcg-place-v5-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}

@media(max-width:760px){
  .emcg-place-v5{width:min(100% - 16px,680px);padding:14px 0 34px}
  .emcg-place-v5-head{display:block;padding:0 2px 13px}
  .emcg-place-v5-meta span,.emcg-place-v5-meta b,.emcg-place-v5-meta em{font-size:5.5px}
  .emcg-place-v5-head h1{margin-top:6px;font-size:clamp(48px,16vw,72px);line-height:.85}
  .emcg-place-v5-head-copy>p{margin-top:8px;font-size:15px}
  .emcg-place-v5-head-actions{margin-top:12px;padding:0}
  .emcg-place-v5-head-actions .emcg-follow-button,.emcg-place-v5-head-actions>a{
    min-height:37px!important;padding:7px 12px!important;font-size:7px!important
  }
  .emcg-place-v5-summary{
    gap:7px;overflow-x:auto;padding:10px 2px 12px;font-size:6.5px;
    white-space:nowrap;scrollbar-width:none
  }
  .emcg-place-v5-summary::-webkit-scrollbar{display:none}
  .emcg-place-v5-now,.emcg-place-v5-archive{margin-top:27px}
  .emcg-place-v5-section-head{display:block;margin-bottom:11px}
  .emcg-place-v5-section-head h2{font-size:29px}
  .emcg-place-v5-section-head>p{width:auto;max-width:94%;margin-top:8px;font-size:7px}
  .emcg-place-v5-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 8px}
  .emcg-place-v5-card-media{border-radius:13px}
  .emcg-place-v5-card-copy{padding-top:6px}
  .emcg-place-v5-card-copy>small{font-size:5px}
  .emcg-place-v5-card-copy>strong{font-size:14px}
  .emcg-place-v5-card-copy>em{font-size:5.5px}
  .emcg-place-v5-archive{padding-top:4px}
  .emcg-place-v5-archive-groups{gap:28px}
  .emcg-place-v5-month-head{margin-bottom:9px;padding-bottom:7px}
  .emcg-place-v5-month-head h3{font-size:20px}
  .emcg-place-v5-month-head span{font-size:6px}
  .emcg-place-v5-now-empty,.emcg-place-v5-archive-young{
    align-items:flex-start;padding:11px 1px
  }
  .emcg-place-v5-now-empty strong,.emcg-place-v5-archive-young strong{font-size:16px}
  .emcg-place-v5-archive-young p{max-width:88%;font-size:7px}
  .emcg-place-v5-now-empty>a{font-size:6px}
  .emcg-place-v5-social-section{margin-top:30px;padding-top:16px}
  .emcg-place-v5-social-head h2{font-size:25px}
  .emcg-place-v5-people>a,.emcg-place-v5-connections>a{flex-basis:78vw;max-width:310px}
  .emcg-place-v5-ending{margin-top:28px;padding:13px;border-radius:14px}
  .emcg-place-v5-ending strong{font-size:17px}
  .emcg-place-v5-ending>div:last-child>a{display:none}
}


/* v0.18.0 admin-only archive density simulator */
.emcg-place-v5-previewbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 24px;padding:12px 14px;border:1px solid rgba(8,36,43,.15);border-radius:14px;background:#fff4c9;color:var(--pa-ink)}
.emcg-place-v5-previewbar span{display:block;color:#916500;font-size:6px;font-weight:950;letter-spacing:.07em;text-transform:uppercase}
.emcg-place-v5-previewbar strong{display:block;margin-top:4px;font:800 17px/1 Georgia,serif}
.emcg-place-v5-previewbar small{display:block;margin-top:4px;color:#6b6042;font-size:6.5px}
.emcg-place-v5-previewbar nav{display:flex;align-items:center;gap:5px;flex:0 0 auto}
.emcg-place-v5-previewbar nav a{display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:6px 10px;border:1px solid rgba(8,36,43,.14);border-radius:999px;background:#fff;color:var(--pa-ink);font-size:6.5px;font-weight:900;text-decoration:none}
.emcg-place-v5-previewbar nav a.is-active{border-color:var(--pa-ink);background:var(--pa-ink);color:#fff}
.emcg-place-v5-summary em{margin-left:3px;color:#916500;font-size:6px;font-style:normal;font-weight:900;text-transform:uppercase}
.emcg-place-v5-card-media{position:relative}
.emcg-place-v5-preview-badge{position:absolute;top:8px;left:8px;z-index:2;display:inline-flex;align-items:center;min-height:20px;padding:4px 7px;border-radius:999px;background:#fff4c9;color:#7f5900;font-size:5px;font-style:normal;font-weight:950;letter-spacing:.04em;text-transform:uppercase;box-shadow:0 1px 0 rgba(8,36,43,.08)}
@media(max-width:760px){.emcg-place-v5-previewbar{display:block;margin-bottom:16px;padding:10px}.emcg-place-v5-previewbar nav{margin-top:9px;overflow-x:auto;padding-bottom:1px;scrollbar-width:none}.emcg-place-v5-previewbar nav::-webkit-scrollbar{display:none}.emcg-place-v5-previewbar nav a{flex:0 0 auto;min-height:30px;font-size:6px}}


/* =========================================================
   v0.18.2 — REAL ARCHIVE OFFSET + LOCATION SEARCH
   ========================================================= */

/* The admin simulator supplies its own top block. The genuine/public archive
   must clear Traveler's site navigation without depending on that simulator. */
.emcg-place-v5.no-previewbar{
  padding-top:126px;
}

/* Location-scoped archive search. */
.emcg-place-v5-search{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:16px 0 2px;
}

.emcg-place-v5-search>label{
  position:relative;
  display:flex;
  align-items:center;
  width:min(520px,100%);
  min-height:44px;
  border:1px solid rgba(8,36,43,.15);
  border-radius:999px;
  background:#fff;
  transition:border-color .15s ease,box-shadow .15s ease;
}

.emcg-place-v5-search>label:focus-within{
  border-color:var(--pa-teal);
  box-shadow:0 0 0 3px rgba(11,145,137,.08);
}

.emcg-place-v5-search>label>svg{
  flex:0 0 auto;
  width:17px;
  height:17px;
  margin-left:14px;
  fill:none;
  stroke:#587178;
  stroke-width:1.8;
}

.emcg-place-v5-search input{
  width:100%;
  min-width:0;
  height:42px;
  padding:0 10px;
  border:0!important;
  outline:0!important;
  background:transparent!important;
  color:var(--pa-ink)!important;
  font:700 12px/1.2 inherit;
  box-shadow:none!important;
  -webkit-appearance:none;
}

.emcg-place-v5-search input::placeholder{
  color:#75888c;
  opacity:1;
}

.emcg-place-v5-search input::-webkit-search-cancel-button{
  display:none;
}

.emcg-place-v5-search button{
  display:grid;
  place-items:center;
  flex:0 0 auto;
  width:34px;
  height:34px;
  margin-right:5px;
  padding:0;
  border:0;
  border-radius:50%;
  background:transparent;
  color:#587178;
  cursor:pointer;
}

.emcg-place-v5-search button:hover,
.emcg-place-v5-search button:focus-visible{
  background:rgba(8,36,43,.06);
}

.emcg-place-v5-search button svg{
  width:14px;
  height:14px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.9;
}

.emcg-place-v5-search-status{
  color:#61777c;
  font-size:7px;
  font-weight:800;
  white-space:nowrap;
}

.emcg-place-v5-card[hidden],
.emcg-place-v5-month[hidden],
.emcg-place-v5-now[hidden],
.emcg-place-v5-archive-young[hidden]{
  display:none!important;
}

.emcg-place-v5.is-searching .emcg-place-v5-now,
.emcg-place-v5.is-searching .emcg-place-v5-archive{
  margin-top:28px;
}

@media(max-width:980px){
  .emcg-place-v5.no-previewbar{padding-top:98px}
}

@media(max-width:760px){
  .emcg-place-v5.no-previewbar{padding-top:72px}
  .emcg-place-v5-search{
    display:block;
    padding-top:13px;
  }
  .emcg-place-v5-search>label{
    width:100%;
    min-height:42px;
  }
  .emcg-place-v5-search input{
    height:40px;
    font-size:11px;
  }
  .emcg-place-v5-search-status{
    display:block;
    min-height:12px;
    margin:6px 2px 0;
    font-size:6px;
  }
}


/* v0.18.3 — clean archive top */
.emcg-place-v5-search{
  padding-top:2px;
  padding-bottom:4px;
}

@media(max-width:760px){
  .emcg-place-v5-search{
    padding-top:1px;
  }
}


/* =========================================================
   v0.18.4 — CENTERED LOCATION IDENTITY + IMAGE-ONLY ARCHIVE
   ========================================================= */

/* One clear central axis for the location identity. */
.emcg-place-v5-head{
  display:block!important;
  text-align:center!important;
  padding-bottom:18px!important;
}

.emcg-place-v5-head-copy{
  width:min(860px,100%)!important;
  margin:0 auto!important;
}

.emcg-place-v5-head h1{
  margin-left:auto!important;
  margin-right:auto!important;
  text-align:center!important;
}

.emcg-place-v5-head-copy>p{
  margin-left:auto!important;
  margin-right:auto!important;
  text-align:center!important;
}

.emcg-place-v5-head-actions{
  justify-content:center!important;
  margin-top:14px!important;
  padding-bottom:0!important;
}

/* Search visually belongs to the location name. */
.emcg-place-v5-search{
  display:block!important;
  padding-top:3px!important;
  padding-bottom:6px!important;
  text-align:center!important;
}

.emcg-place-v5-search>label{
  width:min(560px,100%)!important;
  margin:0 auto!important;
}

.emcg-place-v5-search-status{
  display:block!important;
  min-height:13px!important;
  margin:6px auto 0!important;
  text-align:center!important;
}

/* Archive entries are photographs only. */
.emcg-place-v5-card>a.emcg-place-v5-image-link{
  display:block!important;
  color:inherit!important;
  text-decoration:none!important;
}

.emcg-place-v5-card-media{
  position:relative!important;
  display:block!important;
  aspect-ratio:4/5!important;
  overflow:hidden!important;
  border-radius:16px!important;
  background:#e9e6df!important;
}

.emcg-place-v5-card-media img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
}

/* Defensive cleanup for cached/old card markup during rollout. */
.emcg-place-v5-card-copy,
.emcg-place-v5-card-social{
  display:none!important;
}

/* Simulator marker remains inside the image only. */
.emcg-place-v5-preview-badge{
  position:absolute!important;
  top:8px!important;
  left:8px!important;
  z-index:2!important;
  display:inline-flex!important;
  align-items:center!important;
  min-height:22px!important;
  padding:4px 7px!important;
  border-radius:999px!important;
  background:rgba(255,249,239,.92)!important;
  color:var(--pa-ink)!important;
  font-size:5px!important;
  line-height:1!important;
  font-style:normal!important;
  font-weight:950!important;
  letter-spacing:.04em!important;
  text-transform:uppercase!important;
  backdrop-filter:blur(7px)!important;
}

.emcg-place-v5-grid{
  gap:12px!important;
}

@media(max-width:760px){
  .emcg-place-v5-head-copy>p{
    max-width:92%!important;
  }

  .emcg-place-v5-head-actions{
    justify-content:center!important;
    margin-top:11px!important;
  }

  .emcg-place-v5-search{
    padding-top:1px!important;
  }

  .emcg-place-v5-grid{
    gap:8px!important;
  }

  .emcg-place-v5-card-media{
    border-radius:13px!important;
  }
}


/* v0.18.6 — clean location identity */
.emcg-place-v5-head h1{
  margin-top:0!important;
}
