:root {
  color-scheme: light;
  --ink: #151515;
  --muted: #626264;
  --paper: #fffaf2;
  --surface: #ffffff;
  --line: #dfd8ca;
  --red: #c6272f;
  --blue: #165aa7;
  --yellow: #f0b429;
  --green: #1f7a4f;
  --charcoal: #20242a;
  --shadow: 0 22px 50px rgba(18, 18, 18, 0.14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Personal member workspace; shares LocalPinoy's editorial typography. */
.member-auth form { margin: 26px 0; }
.member-auth fieldset { padding: 0; margin: 0; border: 0; min-width: 0; }
.member-auth label { display: block; margin-bottom: 20px; font-size: 1rem; font-weight: 600; }
.member-auth input:not([type=hidden]) { display: block; width: 100%; min-height: 46px; border: 1px solid #7a8585; padding: 12px; margin-top: 8px; border-radius: 0; }
.member-auth fieldset:disabled { opacity: .65; }
.member-auth fieldset:disabled button { cursor: not-allowed; }
.member-auth .auth-hint { font-size: .875rem; font-weight: 400; color: var(--muted); }
.member-auth .auth-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: .875rem; text-decoration: underline; text-underline-offset: 4px; }
.member-auth .auth-alternative { border-top: 1px solid var(--line); margin-top: 28px; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; font-size: .875rem; }
.auth-alternative a { text-decoration: underline; text-underline-offset: 4px; }
.member-auth .auth-alternative form { margin: 0; }
.auth-provider-button { padding: 0; border: 0; background: transparent; color: inherit; }
.member-auth .auth-notice { border-left: 3px solid var(--blue); background: #f3f5f4; padding: 16px; font-size: 1rem; }
#auth-feedback { min-height: 1.5em; }
.member-shell { width: 92%; max-width: 1180px; margin: 38px auto 64px; }
.member-heading { display: flex; justify-content: space-between; align-items: start; gap: 24px; padding-bottom: 24px; border-bottom: 2px solid var(--ink); margin-bottom: 28px; }
.member-kicker { color: var(--red); font-size: .875rem; font-weight: 750; letter-spacing: .1em; margin: 0 0 12px; }
.member-heading h1, .member-login h1 { font-family: Georgia, serif; font-size: clamp(2.1rem, 4vw, 3.4rem); font-weight: 400; letter-spacing: -.035em; line-height: 1.12; margin: 0; }
.member-heading p:last-child { color: var(--muted); margin: 14px 0 0; }
.member-signout { border: 1px solid var(--line); padding: 10px 16px; font-size: .875rem; white-space: nowrap; }
.member-signout:hover { background: #f3f5f4; }
.member-workspace { display: grid; grid-template-columns: minmax(230px, 290px) minmax(0, 1fr); gap: 34px; align-items: start; }
.member-account { background: var(--blue); color: #fff; padding: 26px; }
.member-monogram { display: grid; place-items: center; width: 48px; height: 48px; font-family: Georgia, serif; font-size: 1.75rem; color: var(--ink); background: var(--yellow); margin-bottom: 24px; }
.member-account h2 { font-size: .875rem; font-weight: 500; color: #d7e6f0; margin: 0 0 12px; }
.member-name { font-weight: 700; font-size: 1.125rem; margin: 0 0 6px; }
.member-email { margin: 0; font-size: .875rem; }
.member-account-note { color: var(--muted); font-size: .875rem; }
.member-account .member-account-note { color: #d7e6f0; margin: 20px 0; }
.member-account nav { border-top: 1px solid #54738a; margin-top: 24px; }
.member-account nav a { display: flex; align-items: start; justify-content: space-between; gap: 15px; padding: 15px 0; font-size: .875rem; border-bottom: 1px solid #54738a; }
.member-account nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.member-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0 0 34px; }
.member-stats div { border: 1px solid var(--line); border-top: 3px solid var(--blue); padding: 16px 20px; }
.member-stats dt { font-size: .875rem; color: var(--muted); }
.member-stats dd { font-family: Georgia, serif; font-size: 2.4rem; line-height: 1.3; margin: 8px 0 0; }
.member-section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 15px; margin-bottom: 18px; }
.member-section-heading h2 { font-family: Georgia, serif; font-size: 1.7rem; font-weight: 400; line-height: 1.2; margin: 0; }
.member-text-link { font-size: .875rem; text-decoration: underline; text-underline-offset: 4px; }
.member-empty { border: 1px solid var(--line); padding: 30px; background: #f7f8f7; }
.member-empty-mark { color: var(--red); font-size: 2.4rem; }
.member-empty h3 { font-family: Georgia, serif; font-size: 1.65rem; font-weight: 400; line-height: 1.25; margin: 10px 0; }
.member-empty p { color: var(--muted); max-width: 480px; margin: 0 0 22px; }
.member-empty-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.member-submission { border-top: 1px solid var(--line); padding: 20px 0; }
.member-submission-top, .member-submission-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; font-size: .875rem; }
.member-item-kind, .member-submission-bottom { color: var(--muted); }
.member-status { padding: 3px 9px; background: #eef0f1; color: #384149; }
.member-status-pending { background: #fff0bd; color: #695007; }
.member-status-approved { background: #dfefe7; color: #185735; }
.member-status-rejected { background: #fde9e6; color: #92271e; }
.member-submission h3 { font-family: Georgia, serif; font-size: 1.5rem; font-weight: 400; line-height: 1.25; margin: 14px 0 8px; }
.member-submission h3 a:hover { text-decoration: underline; }
.member-excerpt { color: var(--muted); margin: 0 0 18px; white-space: pre-wrap; }
.member-feedback { border-left: 3px solid var(--blue); background: #f3f5f4; padding: 12px 16px; margin: 18px 0; }
.member-feedback strong { font-size: .875rem; }
.member-feedback p { white-space: pre-wrap; margin: 6px 0 0; }
.member-login { width: 92%; max-width: 620px; margin: 56px auto 72px; border-top: 4px solid var(--blue); padding: 30px 0; }
.member-login > p:not(.member-kicker) { color: var(--muted); margin: 24px 0; }
.member-login .member-login-note { font-size: .875rem; }
.member-shell .primary-button, .member-login .primary-button { font-size: 1rem; }
@media(max-width: 720px) {
  .member-workspace { grid-template-columns: minmax(0,1fr); gap: 26px; }
  .member-account { padding: 22px; }
  .member-monogram { display: none; }
  .member-account nav { display: flex; flex-wrap: wrap; gap: 0 24px; }
  .member-stats { gap: 8px; }
  .member-stats div { padding: 13px 10px; }
  .member-stats dd { font-size: 2rem; }
  .member-section-heading { flex-wrap: wrap; }
  .member-empty { padding: 22px; }
  .member-heading { gap: 12px; }
  .member-shell .primary-button { width: auto; }
}
@media(max-width: 450px) {
  body .edition-bar { flex-wrap: wrap; gap: 8px; }
  .member-heading { flex-wrap: wrap; }
  .member-stats { grid-template-columns: minmax(0,1fr); }
  .member-stats div { display: flex; align-items: center; justify-content: space-between; }
  .member-stats dd { margin: 0; }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  align-items: center;
  background: rgba(255, 250, 242, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(21, 21, 21, 0.09);
  display: flex;
  height: 72px;
  justify-content: space-between;
  left: 0;
  padding: 0 28px;
  position: sticky;
  right: 0;
  top: 0;
  z-index: 10;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-weight: 850;
  gap: 10px;
}

.brand-mark {
  align-items: center;
  background: linear-gradient(135deg, var(--red), var(--blue));
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  font-size: 0.78rem;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.nav-links {
  align-items: center;
  display: flex;
  gap: 22px;
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-links a {
  color: #333337;
}

.nav-links a:hover {
  color: var(--red);
}

.nav-links a[aria-current="page"] {
  color: var(--red);
}

.icon-button {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: none;
  height: 42px;
  justify-content: center;
  padding: 0;
  width: 42px;
}

.menu-toggle span {
  background: var(--ink);
  display: block;
  height: 2px;
  width: 18px;
}

.menu-toggle {
  flex-direction: column;
  gap: 4px;
}

.hero {
  align-items: center;
  display: flex;
  min-height: 74vh;
  overflow: hidden;
  padding: 64px 28px;
  position: relative;
}

.hero-image {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(6, 10, 15, 0.9) 0%, rgba(6, 10, 15, 0.64) 34%, rgba(6, 10, 15, 0.12) 68%),
    linear-gradient(0deg, rgba(6, 10, 15, 0.24), rgba(6, 10, 15, 0.06));
  inset: 0;
  position: absolute;
}

.hero-content {
  color: #fff;
  max-width: 720px;
  position: relative;
  width: min(100%, 1180px);
}

.eyebrow {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 850;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffd76a;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  font-size: clamp(4rem, 8rem, 8rem);
  line-height: 0.92;
  margin: 0;
}

h2 {
  font-size: 2.4rem;
  line-height: 1.05;
  margin: 0;
}

h3 {
  font-size: 1rem;
  margin: 0;
}

.hero-copy {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.15rem;
  line-height: 1.6;
  margin: 24px 0 28px;
  max-width: 610px;
}

.hero-search {
  align-items: end;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  box-shadow: var(--shadow);
  color: var(--ink);
  display: grid;
  gap: 12px;
  grid-template-columns: 1.5fr 0.9fr auto;
  max-width: 760px;
  padding: 12px;
}

label {
  display: grid;
  gap: 7px;
}

label span {
  color: #4d4d50;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

input,
select {
  background: #fff;
  border: 1px solid #d7d1c6;
  border-radius: 6px;
  color: var(--ink);
  min-height: 44px;
  min-width: 0;
  padding: 0 12px;
  width: 100%;
}

input:focus,
select:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(22, 90, 167, 0.28);
  outline-offset: 2px;
}

.primary-button {
  background: var(--red);
  border: 1px solid var(--red);
  border-radius: 6px;
  color: #fff;
  font-weight: 850;
  min-height: 44px;
  padding: 0 18px;
}

.primary-button:hover {
  background: #a91f27;
}

.primary-button.as-link {
  align-items: center;
  display: inline-flex;
  justify-content: center;
}

.quick-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.quick-tags button,
.category-pill,
.segmented-control button,
.pulse-panel button {
  border-radius: 999px;
  font-weight: 800;
}

.quick-tags button {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.36);
  color: #fff;
  min-height: 36px;
  padding: 0 14px;
}

.metrics-band {
  background: var(--charcoal);
  color: #fff;
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, 1fr);
}

.metrics-band div {
  background: rgba(255, 255, 255, 0.045);
  padding: 24px 28px;
}

.metrics-band strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
}

.metrics-band span {
  color: rgba(255, 255, 255, 0.74);
  display: block;
  font-size: 0.88rem;
  margin-top: 8px;
}

.section-shell {
  margin: 0 auto;
  max-width: 1220px;
  padding: 76px 28px;
}

.page-hero {
  background:
    linear-gradient(90deg, rgba(32, 36, 42, 0.96), rgba(32, 36, 42, 0.8)),
    url("/assets/localpinoy-hero.png") center / cover;
  color: #fff;
}

.page-hero-inner {
  margin: 0 auto;
  max-width: 1220px;
  padding: 86px 28px;
}

.page-title {
  font-size: 3.6rem;
  line-height: 0.98;
  margin: 0;
  max-width: 840px;
}

.page-lead {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
  line-height: 1.7;
  margin: 20px 0 0;
  max-width: 700px;
}

.page-search {
  margin-top: 28px;
}

.feature-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  padding-top: 0;
}

.feature-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  min-height: 170px;
  padding: 18px;
}

.feature-panel strong {
  color: var(--blue);
  font-size: 1.1rem;
}

.feature-panel span {
  color: var(--muted);
  line-height: 1.55;
}

.feature-panel:hover {
  border-color: rgba(22, 90, 167, 0.4);
  box-shadow: 0 16px 34px rgba(18, 18, 18, 0.08);
}

.inline-heading {
  align-items: end;
  display: flex;
  gap: 18px;
  justify-content: space-between;
}

.preview-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}

.split-intro {
  align-items: start;
  display: grid;
  gap: 42px;
  grid-template-columns: 1fr 0.9fr;
}

.split-intro p:last-child,
.submit-layout p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.8;
  margin: 0;
}

.category-strip {
  background: #fff;
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 16px 28px;
  position: sticky;
  top: 72px;
  z-index: 9;
}

.category-pill {
  background: #fff;
  border: 1px solid #d7d1c6;
  color: #303034;
  min-height: 38px;
  padding: 0 16px;
  white-space: nowrap;
}

.category-pill.is-active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.directory-layout {
  align-items: start;
  display: grid;
  gap: 24px;
  grid-template-columns: 240px 1fr;
}

.section-heading {
  grid-column: 1 / -1;
}

.section-heading h2 {
  max-width: 780px;
}

.filter-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 18px;
  padding: 18px;
  position: sticky;
  top: 146px;
}

.saved-box {
  background: #f3efe5;
  border-left: 4px solid var(--yellow);
  border-radius: 6px;
  padding: 16px;
}

.saved-box strong {
  display: block;
  font-size: 2rem;
}

.saved-box span {
  color: var(--muted);
  font-size: 0.9rem;
}

.listing-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.listing-card,
.event-card,
.feed-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.listing-card {
  display: grid;
  gap: 16px;
  min-height: 250px;
  padding: 18px;
}

.listing-card header,
.event-card header,
.feed-card header {
  align-items: start;
  display: flex;
  gap: 14px;
  justify-content: space-between;
}

.listing-icon {
  align-items: center;
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  flex: 0 0 46px;
  font-weight: 900;
  height: 46px;
  justify-content: center;
  width: 46px;
}

.listing-meta,
.event-meta,
.feed-meta {
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.86rem;
  gap: 8px;
  margin-top: 7px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-row span {
  background: #f5f0e6;
  border-radius: 999px;
  color: #48484d;
  font-size: 0.78rem;
  font-weight: 750;
  padding: 6px 9px;
}

.listing-card p,
.event-card p,
.feed-card p {
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

.card-actions {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  margin-top: auto;
}

.link-button,
.save-button {
  background: transparent;
  border: 0;
  color: var(--blue);
  font-weight: 850;
  padding: 0;
}

.link-button.on-dark {
  color: #fff;
}

.save-button {
  align-items: center;
  border: 1px solid #d7d1c6;
  border-radius: 6px;
  color: #333337;
  display: inline-flex;
  min-height: 36px;
  padding: 0 12px;
}

.save-button.is-saved {
  background: #eaf3ee;
  border-color: #a7cdbb;
  color: var(--green);
}

.empty-state {
  background: #fff;
  border: 1px dashed #c7bdaa;
  border-radius: 8px;
  color: var(--muted);
  grid-column: 1 / -1;
  padding: 38px;
  text-align: center;
}

.events-band {
  background: #20242a;
  color: #fff;
}

.page-events .section-shell {
  padding-top: 76px;
}

.events-band .section-shell {
  padding-bottom: 86px;
  padding-top: 86px;
}

.events-band .eyebrow {
  color: #ffd76a;
}

.events-heading {
  align-items: end;
  display: flex;
  gap: 18px;
  justify-content: space-between;
}

.segmented-control {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  display: flex;
  padding: 4px;
}

.segmented-control button {
  background: transparent;
  border: 0;
  color: rgba(255, 255, 255, 0.78);
  min-height: 34px;
  padding: 0 13px;
}

.segmented-control button.is-active {
  background: #fff;
  color: var(--ink);
}

.calendar-layout {
  display: grid;
  gap: 24px;
  grid-template-columns: 380px 1fr;
  margin-top: 32px;
}

.mini-calendar {
  background: #fffaf2;
  border-radius: 8px;
  color: var(--ink);
  padding: 20px;
}

.calendar-top {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
}

.calendar-top span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 750;
}

.calendar-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(7, 1fr);
}

.calendar-grid span,
.calendar-grid b {
  align-items: center;
  aspect-ratio: 1;
  border-radius: 6px;
  display: flex;
  font-size: 0.82rem;
  justify-content: center;
}

.calendar-grid span {
  color: var(--muted);
  font-weight: 800;
}

.calendar-grid b {
  background: #f0eadf;
  font-weight: 800;
}

.calendar-grid .has-event {
  background: var(--yellow);
  color: #261b00;
}

.event-list {
  display: grid;
  gap: 14px;
}

.event-card {
  color: var(--ink);
  display: grid;
  gap: 12px;
  padding: 18px;
}

.date-chip {
  background: var(--red);
  border-radius: 8px;
  color: #fff;
  flex: 0 0 62px;
  min-height: 62px;
  padding: 9px 8px;
  text-align: center;
}

.date-chip span {
  display: block;
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.date-chip strong {
  display: block;
  font-size: 1.65rem;
  line-height: 1;
}

.social-layout {
  align-items: start;
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr 320px;
}

.feed-list {
  display: grid;
  gap: 14px;
}

.feed-card {
  padding: 18px;
}

.avatar {
  align-items: center;
  background: var(--blue);
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  flex: 0 0 42px;
  font-weight: 900;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.feed-body {
  display: grid;
  gap: 10px;
}

.feed-actions {
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.86rem;
  gap: 14px;
  margin-top: 14px;
}

.pulse-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  padding: 18px;
  position: sticky;
  top: 146px;
}

.pulse-panel button {
  background: #f5f0e6;
  border: 1px solid #e3dacb;
  color: #303034;
  min-height: 38px;
  padding: 0 12px;
  text-align: left;
}

.submit-band {
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.submit-layout {
  align-items: start;
  display: grid;
  gap: 40px;
  grid-template-columns: 0.9fr 1fr;
}

.submit-form {
  background: #f7f2e8;
  border: 1px solid #e0d7c8;
  border-radius: 8px;
  display: grid;
  gap: 16px;
  padding: 20px;
}

.form-note {
  color: var(--green);
  font-weight: 800;
  min-height: 22px;
}

.review-steps {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.review-steps span {
  background: #f7f2e8;
  border-left: 4px solid var(--yellow);
  border-radius: 6px;
  color: #343438;
  font-weight: 800;
  padding: 12px 14px;
}

.profile-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.detail-layout {
  align-items: start;
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr 360px;
}

.profile-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 18px;
  padding: 22px;
}

.profile-panel p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

.profile-badge {
  align-items: center;
  border-radius: 8px;
  color: #fff;
  display: flex;
  font-size: 1.1rem;
  font-weight: 900;
  height: 56px;
  justify-content: center;
  width: 56px;
}

.clean-list {
  color: var(--muted);
  display: grid;
  gap: 10px;
  line-height: 1.55;
  margin: 0;
  padding-left: 20px;
}

.info-list {
  display: grid;
  gap: 14px;
  margin: 0;
}

.info-list div {
  border-bottom: 1px solid #eee6d9;
  display: grid;
  gap: 4px;
  padding-bottom: 12px;
}

.info-list div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.info-list dt {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.info-list dd {
  margin: 0;
}

.map-layout {
  align-items: start;
  display: grid;
  gap: 24px;
  grid-template-columns: 260px 1fr;
}

.map-controls {
  top: 96px;
}

.map-shell {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  height: 380px;
  margin-top: 22px;
  overflow: hidden;
  position: relative;
}

.map-shell.map-large {
  height: 540px;
}

.map-shell.map-profile {
  height: 420px;
}

.google-map {
  border: 0;
  height: 100%;
  width: 100%;
}

.map-placeholder {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(22, 90, 167, 0.12), rgba(198, 39, 47, 0.1)),
    #fffaf2;
  color: var(--ink);
  display: none;
  gap: 8px;
  inset: 0;
  justify-content: center;
  padding: 24px;
  position: absolute;
  text-align: center;
}

.map-placeholder strong,
.map-placeholder span {
  display: block;
}

.map-placeholder span {
  color: var(--muted);
  line-height: 1.5;
}

.map-shell.is-unconfigured .map-placeholder {
  display: grid;
}

.map-card-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.map-place-button {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  display: grid;
  gap: 8px;
  grid-template-columns: 46px 1fr;
  min-height: 74px;
  padding: 12px;
  text-align: left;
}

.map-place-button small {
  color: var(--muted);
  grid-column: 2;
}

.map-place-button:hover {
  border-color: rgba(22, 90, 167, 0.42);
}

.site-footer {
  align-items: center;
  background: var(--ink);
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: center;
  padding: 28px;
}

.site-footer span {
  font-weight: 900;
}

@media (max-width: 920px) {
  .site-header {
    padding: 0 18px;
  }

  .nav-links {
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    display: none;
    flex-direction: column;
    left: 0;
    padding: 18px;
    position: absolute;
    right: 0;
    top: 72px;
  }

  .nav-links.is-open {
    display: flex;
  }

  .icon-button {
    display: inline-flex;
  }

  .hero {
    min-height: 78vh;
    padding: 48px 18px;
  }

  .hero-search,
  .split-intro,
  .directory-layout,
  .calendar-layout,
  .social-layout,
  .submit-layout,
  .feature-grid,
  .preview-grid,
  .detail-layout,
  .map-layout,
  .map-card-grid {
    grid-template-columns: 1fr;
  }

  .metrics-band {
    grid-template-columns: repeat(2, 1fr);
  }

  .filter-panel,
  .pulse-panel,
  .category-strip {
    position: static;
  }

  .filter-panel {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .events-heading {
    align-items: start;
    flex-direction: column;
  }

  .inline-heading {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .page-title {
    font-size: 2.35rem;
  }

  .page-hero-inner {
    padding: 64px 18px;
  }

  .hero {
    min-height: 82vh;
  }

  .hero-search {
    align-items: stretch;
  }

  .primary-button {
    width: 100%;
  }

  .metrics-band,
  .listing-grid,
  .filter-panel {
    grid-template-columns: 1fr;
  }

  .section-shell {
    padding: 56px 18px;
  }

  .calendar-layout {
    gap: 18px;
  }

  .segmented-control {
    border-radius: 8px;
    flex-wrap: wrap;
    width: 100%;
  }

  .segmented-control button {
    flex: 1 1 42%;
  }
}

/* LocalPinoy editorial edition */
:root{--ink:#182323;--muted:#596161;--paper:#fff;--surface:#fff;--line:#d6dada;--red:#b62e26;--blue:#123c59;--yellow:#f7cd48;--shadow:none}
body{font-size:1rem;line-height:1.5}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #bc391e;outline-offset:4px}a:hover h1,a:hover h2,a:hover h3,.read-line:hover{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:5px}
.edition-bar{padding:10px 4%;display:flex;justify-content:space-between;border-top:5px solid var(--red);background:#fff;font-size:.75rem;font-weight:700;letter-spacing:.11em}.edition-bar a{letter-spacing:0;font-size:.875rem}
.site-header{height:auto;min-height:138px;display:flex;flex-wrap:wrap;justify-content:center;padding:18px 4% 0;position:relative;background:#fff;backdrop-filter:none;border-bottom:1px solid var(--ink);gap:20px}
.brand{display:block;text-align:center;width:100%;font-family:Georgia,'Times New Roman',serif;font-size:clamp(2.6rem,5.5vw,4.75rem);font-weight:700;line-height:1;letter-spacing:-.065em}.pinoy-word{color:var(--red)}.brand-sun{font-family:Arial,sans-serif;font-weight:400;display:inline-block;color:var(--red);font-size:.6em;margin-left:.22em;vertical-align:top;line-height:1.3}
.nav-links{width:100%;justify-content:center;gap:clamp(16px,2.7vw,38px);font-size:.875rem;padding:13px 0 15px}.nav-links a{white-space:nowrap}.menu-toggle{display:none}
.editorial-shell{max-width:1380px;width:92%;margin:0 auto}.edition-heading{display:flex;align-items:center;justify-content:space-between;margin-top:20px;margin-bottom:20px}.edition-heading p{font-family:Georgia,serif;font-size:1.3rem;margin:0}.edition-heading>span{font-size:.875rem;color:var(--muted)}
.lead-grid{display:grid;grid-template-columns:minmax(0,2.1fr) minmax(260px,1fr);gap:32px;padding-bottom:42px}.lead-photo{position:relative;aspect-ratio:1.82;overflow:hidden;background:var(--blue)}.lead-photo img{width:100%;height:100%;object-fit:cover;display:block}.lead-photo>span{position:absolute;left:0;bottom:0;background:var(--yellow);color:var(--ink);font-size:.75rem;font-weight:800;letter-spacing:.13em;padding:11px 16px}
.story-label{display:block;color:var(--red);text-transform:uppercase;font-size:.75rem;font-weight:750;letter-spacing:.12em;margin:18px 0 10px}.lead-story h1{font-family:Georgia,'Times New Roman',serif;font-size:clamp(2.1rem,3.35vw,3.4rem);font-weight:400;line-height:1.06;letter-spacing:-.035em;margin:12px 0}.lead-deck{font-size:1.05rem;color:var(--muted);margin:15px 0 0;max-width:700px}
.latest-column{border-left:1px solid var(--line);padding-left:30px}.latest-column>h2{font-family:Georgia,serif;font-size:1.8rem;font-weight:400;line-height:1.2;margin:0;padding-bottom:13px;border-bottom:3px solid var(--ink)}.editorial-card{display:block;padding:0 0 22px;border-bottom:1px solid var(--line)}.editorial-card h3,.community-mini h3{font-family:Georgia,serif;font-size:1.6rem;line-height:1.16;font-weight:400;letter-spacing:-.02em;margin:8px 0 10px}.editorial-card p,.community-mini p{font-size:1rem;color:var(--muted);margin:0 0 12px}.read-line{font-size:.875rem;font-weight:650;display:inline-block}.community-mini{display:block;background:#f5f1df;padding:1px 18px 17px;margin-top:20px}.community-mini h3{font-size:1.45rem}
.discovery-bar{background:#f3f5f4;border-block:1px solid var(--line)}.discovery-inner{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:35px;padding-block:26px}.discovery-inner .story-label{margin:0 0 8px}.discovery-inner h2{font-family:Georgia,serif;font-size:1.65rem;font-weight:400;line-height:1.25;margin:0}.editorial-search label{display:block;font-size:.875rem;margin-bottom:6px}.editorial-search>div{display:flex}.editorial-search input{width:100%;min-width:0;background:white;border:1px solid #87918f;border-right:0;padding:13px 12px;border-radius:0}.editorial-search button{background:var(--ink);color:white;border:0;padding:13px 18px;white-space:nowrap}
.journal-section{padding-block:38px}.journal-heading{border-top:2px solid var(--ink);padding-top:15px;margin-bottom:23px;display:flex;justify-content:space-between;gap:20px;align-items:baseline}.journal-heading h2{font-family:Georgia,serif;font-size:2rem;line-height:1.2;font-weight:400;letter-spacing:-.03em;margin:0}.journal-heading>a{font-size:.875rem;font-weight:600;white-space:nowrap}.feature-row{display:grid;grid-template-columns:1fr 1.3fr;gap:45px;align-items:center}.type-feature{background:var(--yellow);min-height:265px;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:28px;color:var(--red)}.type-feature>span{font-size:clamp(2.5rem,5vw,5rem);font-weight:900;line-height:1.1;letter-spacing:-.065em}.type-feature p{font-family:Georgia,serif;font-size:2rem;font-style:italic;margin:5px 0}.feature-row h2{font-size:clamp(1.8rem,2.7vw,2.8rem);line-height:1.15;letter-spacing:-.025em;font-family:Georgia,serif;font-weight:400;margin:8px 0 16px}.feature-row p:not(.story-label){color:var(--muted)}.type-feature p{color:var(--red)!important}.section-note{font-size:.875rem;color:var(--muted);margin:-10px 0 25px}
.place-edit{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px}.place-item{border-right:1px solid var(--line);padding-right:26px}.place-item:last-child{border:0;padding-right:0}.place-number{font-family:Georgia,serif;font-size:2.7rem;line-height:1;color:var(--red)}.place-item h3{font-family:Georgia,serif;font-weight:400;font-size:1.65rem;line-height:1.2;margin:10px 0}.place-item p{color:var(--muted)}
.neighbourhood-section{border-top:1px solid var(--line);padding-block:25px 48px;display:grid;grid-template-columns:1fr 1.3fr;gap:50px}.neighbourhood-section h2{font-family:Georgia,serif;font-weight:400;font-size:2rem;line-height:1.2;margin:10px 0}.suburb-links{display:grid;grid-template-columns:1fr 1fr;gap:0 30px}.suburb-links a{padding:15px 0;border-bottom:1px solid var(--line);font-size:1rem}.community-banner{background:var(--blue);color:#fff;padding:45px 0 50px}.community-banner .story-label{color:var(--yellow);margin:0 0 15px}.community-banner h2{font-family:Georgia,serif;font-size:clamp(2rem,4vw,3.7rem);font-weight:400;line-height:1.12;letter-spacing:-.03em;margin:0}.community-banner p{max-width:580px}.community-banner a{font-size:.875rem;text-decoration:underline;text-underline-offset:5px;display:inline-block;margin:15px 30px 0 0}
.site-footer{padding:40px 4%;background:#fff;color:var(--ink);border-top:1px solid var(--line);align-items:start;gap:24px;flex-wrap:wrap}.site-footer>div{margin-right:auto}.site-footer strong{font-family:Georgia,serif;font-size:1.6rem}.site-footer p{margin:7px 0;font-size:1rem}.site-footer small{color:var(--muted);font-size:.875rem}.site-footer>a{font-size:.875rem}
.category-heading{padding:45px 0 25px}.category-heading h1{font-family:Georgia,serif;font-weight:400;font-size:clamp(2.6rem,5vw,4.5rem);line-height:1.1;letter-spacing:-.04em;margin:10px 0}.category-heading>p:last-child{max-width:700px;color:var(--muted);font-size:1.1rem}.category-stories{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:35px;padding-bottom:55px;min-height:280px}.category-stories .editorial-card{border-top:2px solid var(--ink);padding-top:8px}.story-page{max-width:1040px;width:92%;margin:45px auto}.story-page>header{max-width:850px;margin:0 auto 30px}.story-page h1{font-family:Georgia,serif;font-weight:400;font-size:clamp(2.5rem,4.6vw,4.4rem);line-height:1.07;letter-spacing:-.04em;margin:15px 0 20px}.article-deck{font-size:1.3rem;color:var(--muted);line-height:1.5}.article-byline{font-size:.875rem;border-top:1px solid var(--line);padding-top:16px}.story-page figure{margin:25px 0 35px}.story-page figure img{display:block;width:100%;height:auto;max-height:580px;object-fit:cover}.story-page figcaption{font-size:.75rem;color:var(--muted);margin-top:8px}.article-body{max-width:700px;margin:auto;font-size:1.125rem;line-height:1.8}.article-body h2{font-family:Georgia,serif;font-weight:400;font-size:1.85rem;line-height:1.25;margin:32px 0 12px}.article-body .primary-button{margin-top:22px;font-size:1rem}
.page-hero{background:#f3f5f4;color:var(--ink)}.page-hero .page-lead{color:var(--muted)}.page-title{font-family:Georgia,serif;font-weight:400;letter-spacing:-.035em}.listing-card,.event-card,.profile-panel,.filter-panel,.feature-panel{border-radius:0;box-shadow:none}.primary-button{background:var(--red);border-radius:0}.tag-row span{border-radius:0}.listing-icon{border-radius:0}
@media(min-width:851px) and (max-width:1100px){.nav-links{gap:17px;font-size:.8rem}.lead-grid{gap:22px}.latest-column{padding-left:20px}.editorial-card h3{font-size:1.4rem}}
@media(max-width:850px){.site-header{min-height:85px;padding:17px 4%;display:flex;flex-wrap:nowrap;justify-content:space-between}.brand{width:auto;text-align:left;font-size:2.7rem}.menu-toggle{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px}.menu-toggle span{display:block;margin:0}.nav-links{display:none;position:absolute;top:100%;left:0;right:0;background:#fff;border:1px solid var(--line);padding:20px 4%;align-items:flex-start;gap:16px;z-index:20}.nav-links.is-open{display:flex;flex-direction:column}.lead-grid{grid-template-columns:1fr}.latest-column{border-left:0;padding-left:0;display:grid;grid-template-columns:1fr 1fr;gap:0 24px}.latest-column>h2{grid-column:1/-1}.community-mini{grid-column:1/-1}.discovery-inner{grid-template-columns:1fr;gap:20px}.feature-row{gap:25px}.category-stories{grid-template-columns:1fr 1fr}.neighbourhood-section{gap:25px}.site-footer{display:flex}}
@media(max-width:560px){.edition-bar{font-size:.65rem;letter-spacing:.08em}.edition-bar a{font-size:.75rem}.edition-heading>span{display:none}.edition-heading p{font-size:1.15rem}.lead-photo{aspect-ratio:1.35}.lead-story h1{font-size:2.4rem}.latest-column{display:block}.latest-column>h2{font-size:1.6rem}.feature-row,.place-edit,.neighbourhood-section,.category-stories{grid-template-columns:1fr}.type-feature{min-height:210px}.type-feature>span{font-size:3.9rem}.journal-heading{align-items:start}.journal-heading h2{font-size:1.6rem}.journal-heading>a{font-size:.75rem}.place-item{border-right:0;border-bottom:1px solid var(--line);padding:0 0 24px}.place-item:last-child{padding:0 0 10px}.journal-section{padding-block:28px}.category-stories{gap:24px}.site-footer>div{width:100%}.story-page{margin-top:30px}.story-page h1{font-size:2.5rem}.article-deck{font-size:1.15rem}.editorial-search button{padding-inline:12px}.section-note{margin-top:0}.suburb-links{gap:0 18px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

.info-list dd{overflow-wrap:anywhere}.category-strip{flex-wrap:wrap}.listing-meta{flex-wrap:wrap}
.manage{padding-block:36px}.manage h1{font-size:clamp(2rem,4vw,3.3rem);margin-bottom:16px}.manage p{font-size:1rem;line-height:1.6}.manage form{display:grid;gap:18px;max-width:760px}.manage label{display:grid;gap:7px;font-size:1rem}.manage input,.manage textarea,.manage select{font:inherit;padding:12px;border:1px solid #8b9499;border-radius:3px;background:white;color:#17212a;min-width:0;width:100%;box-sizing:border-box}.manage textarea{min-height:120px;resize:vertical}.manage input[type=checkbox]{width:auto;justify-self:start}.manage button{font-size:1rem}.manage button:disabled{opacity:.6}.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:30px 0}.plan-grid .profile-panel{display:flex;flex-direction:column;gap:15px}.plan-grid a{margin-top:auto}.review-layout{display:grid;grid-template-columns:minmax(240px,1fr) minmax(0,2fr);gap:28px;margin-top:24px;align-items:start}.review-item{display:grid;gap:8px;background:white;border:1px solid #bcc4c8;padding:18px;width:100%;text-align:left;cursor:pointer;margin-bottom:10px}.review-item:hover,.review-item:focus-visible{border-color:#165aa7;background:#edf5fc}.review-item span{font-size:.9rem}.manage-tools{display:flex;gap:20px;flex-wrap:wrap}.manage-tools label{flex:1;min-width:180px}#my-requests{display:grid;gap:20px}#feedback,#review-feedback{overflow-wrap:anywhere}@media(max-width:760px){.plan-grid,.review-layout{grid-template-columns:1fr}.manage .profile-panel{padding:20px}}

/* Dated guides and the weekly local edit. */
.source-note{font-size:.76rem;line-height:1.5;color:var(--muted);margin:12px 0}.weekly-teaser{display:flex;gap:32px;align-items:center;justify-content:space-between;padding-block:28px;border-block:1px solid var(--line);margin-bottom:32px}.weekly-teaser h2{font-family:Georgia,serif;font-weight:400;font-size:clamp(1.5rem,2.4vw,2.2rem);line-height:1.2;max-width:760px;margin:8px 0}.weekly-teaser p{margin:8px 0}.weekly-teaser>.primary-button{flex-shrink:0}.article-body p a,.article-sources a,.edition-notice a{text-decoration:underline;text-underline-offset:3px}.article-sources{border-top:2px solid var(--ink);margin:36px auto 0;padding:20px 0;max-width:800px;font-size:.94rem;line-height:1.7}.article-sources h2{font-family:Georgia,serif;font-weight:400;font-size:1.65rem;margin:0 0 12px}.article-sources ul{padding-left:20px}.article-sources li{margin:6px 0;overflow-wrap:anywhere}.edition-notice{background:#f4eddb;padding:16px 20px;font-size:.9rem;line-height:1.65}.weekly-items{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px}.weekly-item{border-top:2px solid var(--ink);padding-top:18px}.weekly-item:first-child{grid-column:1/-1}.weekly-item h2{font-family:Georgia,serif;font-weight:400;font-size:2rem;margin:10px 0;line-height:1.2}.weekly-item p{line-height:1.75;max-width:800px}.weekly-item .story-label{margin:0}.weekly-item .read-line{display:inline-block;margin-top:8px}.edition-archive{border-top:1px solid var(--line);padding-top:18px;margin:25px 0}.edition-archive h2{font-family:Georgia,serif;font-weight:400}.edition-archive a{display:block;margin:8px 0}.past-events{margin-top:28px}.past-events summary{cursor:pointer;font-weight:600;margin-bottom:16px}.page-events .event-list{max-width:900px}.page-events .article-sources{margin-left:0}.event-card .source-note{color:var(--muted)}
@media(max-width:650px){.weekly-teaser{display:block}.weekly-teaser>.primary-button{margin-top:16px}.weekly-items{grid-template-columns:1fr;gap:24px}.weekly-item:first-child{grid-column:auto}.weekly-item h2{font-size:1.7rem}.article-sources{font-size:.9rem}}

.communications { max-width: 820px; }
.communications form { max-width: 640px; }
.communications fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 1.1rem; min-width: 0; }
.communications fieldset:disabled { opacity: .6; }
.mail-consent { display: flex !important; align-items: flex-start; gap: .7rem; font-size: 1rem; line-height: 1.5; }
.mail-consent input { width: 20px !important; height: 20px; flex: 0 0 20px; margin-top: .2rem; }
.mail-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.mail-notice { border-left: 4px solid #165aa7; padding: 1rem; background: #eef5ff; color: #18354f; }
.mail-small { font-size: .9rem; line-height: 1.6; }
.mail-message { white-space: pre-wrap; overflow-wrap: anywhere; }
#mail-admin { display: grid; gap: 1.5rem; }
.communications button:disabled { opacity: .55; cursor: not-allowed; }

/* Simple visitor navigation and compact footer. */
.nav-links .nav-subscribe{background:var(--red);color:#fff;padding:12px 24px;border-radius:3px;font-weight:700;text-decoration:none}
.site-footer{display:grid;grid-template-columns:1fr 1fr;max-width:1180px;margin:0 auto;padding:40px 4%;gap:28px 48px;text-align:left}
.site-footer .footer-brand{margin:0;width:auto}.site-footer strong{font-size:2.1rem}.site-footer small{font-size:1rem;line-height:1.6;display:block;max-width:420px}
.footer-links{display:grid;grid-template-columns:1fr 1fr;align-self:center}.footer-links a{padding:18px 12px;border-bottom:1px solid var(--line);font-size:1rem;line-height:1.5}.footer-links a:nth-child(odd){border-right:1px solid var(--line)}.footer-links span{color:var(--red);margin-left:8px}.site-footer .footer-location{grid-column:1/-1;border-top:1px solid var(--line);padding-top:20px;margin:0;text-align:center;font-size:.875rem;color:var(--muted)}
@media(max-width:850px){.nav-links.is-open{padding:16px 6% 28px;gap:0;box-sizing:border-box;max-height:calc(100dvh - 130px);overflow-y:auto}.nav-links a{font-family:Georgia,serif;font-size:1.7rem;padding:16px 0;width:100%;border-bottom:1px solid var(--line)}.nav-links .nav-subscribe{font-size:1.5rem;margin-top:20px;text-align:center;padding:16px 24px;box-sizing:border-box}.menu-toggle[aria-expanded="true"] span:first-child{transform:translateY(3px) rotate(45deg)}.menu-toggle[aria-expanded="true"] span:last-child{transform:translateY(-3px) rotate(-45deg)}.site-footer{display:grid;grid-template-columns:1fr;gap:24px}.footer-links{width:100%}.site-footer .footer-brand{width:100%}}

/* LocalPinoy editorial footer */
.site-footer.localpinoy-footer{display:block;max-width:none;margin:0;padding:40px 4% 24px;background:var(--paper);color:var(--ink);border-top:2px solid var(--ink);text-align:left}
.localpinoy-footer .footer-grid{display:grid;grid-template-columns:minmax(0,1.4fr) repeat(3,minmax(0,1fr));max-width:1380px;margin:0 auto;gap:32px}
.localpinoy-footer h2{font:750 .75rem/1.5 Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--red);letter-spacing:.12em;text-transform:uppercase;margin:0 0 18px}
.localpinoy-footer p{font-size:1rem;line-height:1.65;color:var(--muted);margin:0 0 12px;max-width:360px}
.localpinoy-footer .footer-wordmark{display:inline-flex;font:700 2.1rem/1.15 Georgia,"Times New Roman",serif;letter-spacing:-.065em;margin-bottom:14px;color:var(--ink)}
.localpinoy-footer .footer-wordmark .pinoy-word{color:var(--red)}
.localpinoy-footer .footer-link-list{list-style:none;padding:0;margin:0}
.localpinoy-footer a{color:var(--ink);display:inline-flex;align-items:center;min-height:44px;line-height:1.5;text-decoration:none;text-underline-offset:5px}
.localpinoy-footer a:hover{text-decoration:underline;color:var(--red)}
.localpinoy-footer a:focus-visible{outline:3px solid #bc391e;outline-offset:4px;text-decoration:underline}
.localpinoy-footer .footer-bottom{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;max-width:1380px;margin:32px auto 0;padding-top:20px;border-top:1px solid var(--line)}
.localpinoy-footer .footer-bottom p{font-size:.875rem;color:var(--muted);margin:0}
@media(max-width:1000px){.localpinoy-footer .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px}}
@media(max-width:560px){.site-footer.localpinoy-footer{padding:32px 6% 24px}.localpinoy-footer .footer-grid{grid-template-columns:minmax(0,1fr);gap:28px}.localpinoy-footer .footer-bottom{display:block}.localpinoy-footer .footer-bottom p+p{margin-top:8px}}

/* Local directory discovery; location remains browser-local. */
.directory-nearby{padding-block:32px;display:grid;grid-template-columns:minmax(0,1.5fr) minmax(250px,1fr);gap:18px 36px;border-bottom:1px solid var(--line)}
.directory-nearby h2,.directory-listing-map h2{font:400 1.9rem/1.2 Georgia,serif;margin:4px 0 14px}.directory-nearby .eyebrow,.directory-listing-map .eyebrow{margin:0 0 8px}
.directory-nearby p,.directory-listing-map p{line-height:1.65;margin:8px 0}.directory-nearby .source-note{font-size:.85rem}
.nearby-controls{display:flex;flex-wrap:wrap;align-items:center;gap:16px}.nearby-controls label,.directory-map-controls label{display:grid;gap:6px;font-size:.9rem;min-width:0}.nearby-controls select,.directory-map-controls select{font:inherit;background:white;color:var(--ink);padding:12px;border:1px solid #87918f;min-width:0;max-width:100%}
#nearby-status{grid-column:1/-1;border-left:3px solid var(--red);padding:12px 16px;background:#f3f5f4}.nearby-controls .save-button{min-height:44px;line-height:1.4;text-align:left}.nearby-controls button:disabled{opacity:.65;cursor:wait}
.directory-listing-map{grid-column:1/-1;min-width:0;border-top:2px solid var(--ink);border-bottom:1px solid var(--line);padding:24px 0;scroll-margin-top:20px}.directory-map-controls{display:flex;gap:16px;align-items:end;flex-wrap:wrap;margin-top:16px}.directory-map-controls label{flex:1 1 280px}.directory-map-controls button{min-height:44px}.directory-map-controls .primary-button{width:auto}
#directory-map-address{font-weight:650;overflow-wrap:anywhere}#directory-map-status{font-size:.9rem;color:var(--muted)}#directory-map-frame-host:empty{display:none}#directory-map-frame-host iframe{display:block;width:100%;height:340px;border:1px solid var(--line);margin:16px 0}#directory-results{grid-column:2;margin:0}.listing-card .card-actions{flex-wrap:wrap}.listing-card .card-actions button{min-height:44px}.directory-listing-map [hidden]{display:none!important}
@media(max-width:850px){.directory-nearby{grid-template-columns:1fr}#directory-results{grid-column:1/-1}}
@media(max-width:560px){.directory-nearby{padding-block:28px}.nearby-controls{align-items:stretch;flex-direction:column}.nearby-controls label{width:100%}.directory-map-controls{flex-direction:column;align-items:stretch}.directory-map-controls label{flex:auto;width:100%}.directory-map-controls .primary-button{width:100%}#directory-map-frame-host iframe{height:280px}}

.directory-listing-results{grid-column:2;min-width:0}#directory-results{margin:0 0 16px}.directory-layout .filter-panel{position:static}@media(max-width:850px){.directory-listing-results{grid-column:1/-1}}

/* One shared directory controller; other pages retain their layout. */
body[data-page="directory"] .page-hero-inner{padding-block:38px}
.directory-explorer{display:block;padding-block:28px;border-bottom:1px solid var(--line)}
.directory-explorer-heading{display:flex;justify-content:space-between;align-items:baseline;gap:20px;margin-bottom:18px}.directory-explorer-heading h2{margin:0}.directory-explorer-heading p{margin:0;color:var(--muted)}
.directory-search-form{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(180px,1fr) auto;gap:16px;align-items:end}.directory-search-form label,.directory-location-options label{display:grid;gap:7px;font-size:.9rem;min-width:0}.directory-search-form input,.directory-search-form select,.directory-location-options select{font:inherit;width:100%;min-width:0;padding:12px;border:1px solid #87918f;background:white;color:var(--ink);box-sizing:border-box}.directory-search-actions{display:flex;align-items:center;gap:14px}.directory-search-actions .primary-button{width:auto}.directory-search-actions button,.directory-location-options button{min-height:44px}
.directory-location-options{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-top:16px}.directory-location-options label{max-width:210px;width:100%}.directory-explorer #nearby-status{margin:16px 0 8px;padding:10px 14px}.directory-location-note{font-size:.85rem;color:var(--muted);line-height:1.55!important;margin:0!important}
.directory-explorer .category-strip{padding:18px 0 10px;margin:0;max-width:none;width:auto;gap:8px;justify-content:flex-start}.directory-explorer .category-pill{font-size:.85rem;min-height:40px;padding:8px 12px}
.directory-explorer .directory-filter-controls{position:static;border:0;border-top:1px solid var(--line);padding:16px 0;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:16px;align-items:end}.directory-filter-controls .saved-box{padding:10px 14px;display:flex;gap:8px;align-items:center;white-space:nowrap}.directory-filter-controls .saved-box strong{font-size:1.2rem}.directory-filter-controls .saved-box span{font-size:.85rem}
.directory-map-panel{border-top:1px solid var(--line);padding-top:12px}.directory-map-panel>summary{cursor:pointer;font-weight:650;min-height:44px;line-height:44px;color:var(--blue)}.directory-explorer .directory-listing-map{border:0;padding:8px 0 0;margin:0;scroll-margin-top:20px}.directory-listing-map h3{font:400 1.5rem/1.3 Georgia,serif;margin:0 0 10px}.directory-explorer #directory-map-privacy{font-size:.85rem;line-height:1.55}.directory-explorer .directory-map-controls{margin-top:12px}
.directory-results-layout{grid-template-columns:minmax(0,1fr);padding-top:32px;gap:16px}.directory-results-layout .directory-listing-results{grid-column:1}.directory-results-layout .section-heading h2{margin-top:0}.directory-results-layout .section-heading p{margin-bottom:0}
@media(max-width:850px){.directory-search-form{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.directory-search-actions{grid-column:1/-1}.directory-explorer-heading{display:block}.directory-explorer-heading p{margin-top:8px}.directory-explorer .directory-filter-controls{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.directory-filter-controls .saved-box{grid-column:1/-1;justify-self:start}}
@media(max-width:560px){body[data-page="directory"] .page-hero-inner{padding-block:28px}.directory-explorer{padding-block:24px}.directory-search-form{grid-template-columns:1fr}.directory-search-actions{grid-column:1;display:grid;grid-template-columns:1fr 1fr}.directory-search-actions .primary-button{width:100%}.directory-search-actions .save-button{border:1px solid #87918f;padding:10px}.directory-location-options{gap:12px;align-items:end}.directory-location-options label{max-width:none;flex:1}.directory-location-options button{flex:1;text-align:left;line-height:1.4}.directory-explorer .directory-filter-controls{gap:12px}.directory-results-layout{padding-top:24px}}

/* Progressive disclosure: search/Near me first, optional filters and map. */
.directory-advanced-filters>summary:focus-visible,.directory-map-panel>summary:focus-visible{outline:3px solid #bc391e;outline-offset:4px}
.directory-controls-title{position:absolute;width:1px;height:1px;padding:0;margin:-1px!important;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.directory-explorer .directory-search-form{grid-template-columns:minmax(0,1fr) auto}.directory-explorer .directory-search-form label>span{font-weight:650}.directory-explorer [hidden]{display:none!important}.directory-explorer #nearby-status:empty{display:none}.directory-explorer .directory-location-note{margin-top:10px!important}.directory-advanced-filters{margin-top:14px;border-top:1px solid var(--line)}.directory-advanced-filters>summary{font-weight:650;color:var(--blue);cursor:pointer;min-height:44px;line-height:44px}.directory-advanced-fields{padding-block:8px 14px}.directory-advanced-fields>label{display:grid;gap:7px;font-size:.9rem;max-width:420px}.directory-advanced-fields>label select{font:inherit;padding:12px;border:1px solid #87918f;background:white;color:var(--ink);max-width:100%;min-width:0}.directory-advanced-fields .directory-location-options{margin-top:12px}.directory-data-note{font-size:.8rem;color:var(--muted);line-height:1.5!important}.directory-explorer .directory-filter-controls{padding-bottom:12px}.directory-explorer .directory-map-panel{padding-top:0}.directory-results-layout{padding-top:24px}.directory-results-layout .section-heading p{font-size:.9rem}
@media(max-width:850px){.directory-explorer .directory-search-form{grid-template-columns:minmax(0,1fr) auto}.directory-explorer .directory-search-actions{grid-column:auto}}
@media(max-width:560px){.directory-explorer .directory-search-form{grid-template-columns:1fr}.directory-explorer .directory-search-actions{grid-column:1;grid-template-columns:1fr 1fr}.directory-explorer .directory-search-actions #directory-reset{grid-column:1/-1;justify-self:start;min-height:34px;border:0;padding:0}.directory-explorer .directory-location-note{font-size:.8rem}.directory-explorer{padding-block:18px}.directory-results-layout{padding-top:18px}}
/* Mobile discovery: fewer steps before the first business, without losing profile detail. */
body[data-page="directory"] .directory-search-form{gap:10px}
.directory-search-input{position:relative;min-width:0}.directory-search-input input{padding-right:48px!important;font-size:1rem!important;min-height:48px}
#directory-clear-query{position:absolute;right:2px;bottom:2px;width:44px;height:44px;border:0;background:transparent;color:var(--ink);font-size:1.5rem;line-height:1}
.directory-search-input input::-webkit-search-cancel-button{-webkit-appearance:none}
.directory-location-actions{display:flex;gap:12px;align-items:center;margin-top:12px}.directory-location-actions button{min-height:44px;border:1px solid #87918f;padding:10px 16px;font-size:.95rem}
.directory-location-actions #directory-reset{border:0;text-decoration:underline;text-underline-offset:3px}
#nearby-button[aria-pressed="true"]{border-color:var(--red);color:var(--red);background:#fff3f1}
.directory-options{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 16px;margin-top:12px}.directory-options>details{margin:0;padding-top:0;border-top:1px solid var(--line);min-width:0}.directory-options>details[open]{grid-column:1/-1}
.directory-options>details>summary{color:var(--ink);font-size:.95rem;min-height:44px;line-height:44px}
.directory-explorer #nearby-status{font-size:.9rem;line-height:1.5}
.directory-explorer .category-pill{min-height:44px}.directory-explorer select{font-size:1rem!important;min-height:48px;width:100%}
.directory-results-layout #directory-results{font:400 1.5rem/1.3 Georgia,serif;color:var(--ink);margin:0 0 16px;overflow-wrap:anywhere}
body[data-page="directory"] .listing-card header{justify-content:flex-start}.listing-card header>div:last-child{min-width:0}
body[data-page="directory"] .listing-card h3{overflow-wrap:anywhere}
body[data-page="directory"] .listing-card .card-actions{gap:8px;align-items:center}
body[data-page="directory"] .listing-card .card-actions>*{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:9px 10px;font-size:.9rem;line-height:1.3}
body[data-page="directory"] .listing-card .card-actions>a{color:var(--red);font-weight:700}
.business-directions{min-width:0;max-width:420px}.business-directions>summary{display:list-item;cursor:pointer;background:var(--red);color:#fff;min-height:48px;padding:14px 20px;font-weight:700;font-size:1rem}
.business-directions>summary:focus-visible,.directions-choices a:focus-visible{outline:3px solid var(--ink);outline-offset:3px}
.directions-choices{display:flex;flex-wrap:wrap;gap:10px;padding-top:12px}.directions-choices a{display:flex;align-items:center;justify-content:center;min-height:48px;padding:12px 16px;background:#fff;border:1px solid #87918f;font-size:1rem;font-weight:650}
.business-directions p,.directions-unavailable{font-size:.9rem;line-height:1.5;max-width:420px}.business-directions p{margin:10px 0 0}
@media(max-width:850px){
 body[data-page="directory"] .site-header{min-height:64px;height:64px;padding:8px 16px}
 body[data-page="directory"] .brand{font-size:2.1rem}
 body[data-page="directory"] .menu-toggle{width:44px;height:44px}
 body[data-page="directory"] .edition-bar{padding:6px 16px;font-size:.6rem;gap:6px;min-height:28px}
 body[data-page="directory"] .page-hero-inner{padding:20px 16px}
 body[data-page="directory"] .page-hero .eyebrow{display:none}
 body[data-page="directory"] .page-title{font-size:1.6rem;line-height:1.15;max-width:600px}
 body[data-page="directory"] .page-lead{font-size:1rem;line-height:1.5;margin:10px 0 0}
 body[data-page="directory"] .directory-explorer{padding:16px}
 body[data-page="directory"] .directory-search-form{grid-template-columns:minmax(0,1fr) auto;gap:8px}
 body[data-page="directory"] .directory-search-actions{grid-column:auto;display:block}
 body[data-page="directory"] .directory-search-actions .primary-button{min-height:48px;padding:12px;font-size:1rem;line-height:1.5}
 body[data-page="directory"] .directory-search-label>span{font-size:.875rem;text-transform:none;letter-spacing:0}
 body[data-page="directory"] .directory-location-note{font-size:.8125rem;line-height:1.4!important;margin-top:8px!important}
 body[data-page="directory"] .directory-results-layout{padding:16px 16px 32px;gap:0}
 body[data-page="directory"] .directory-results-layout #directory-results{font-size:1.3rem;margin-bottom:12px}
 body[data-page="directory"] .listing-grid{gap:12px;grid-template-columns:minmax(0,1fr)}
 body[data-page="directory"] .listing-card{padding:14px;gap:10px;min-height:0}
 body[data-page="directory"] .listing-icon{width:36px;height:36px;flex-basis:36px;font-size:.85rem}
 body[data-page="directory"] .listing-card header{gap:10px}
 body[data-page="directory"] .listing-card h3{font-size:1.125rem;line-height:1.3;margin:0}
 body[data-page="directory"] .listing-meta{font-size:.8125rem;gap:3px 8px;margin-top:5px;line-height:1.4}
 body[data-page="directory"] .listing-meta span:nth-child(2){display:none}
 body[data-page="directory"] .listing-card>p:not(.source-note){display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;font-size:.9375rem;line-height:1.5}
 body[data-page="directory"] .listing-card .tag-row{gap:5px;max-height:60px;overflow:hidden}
 body[data-page="directory"] .listing-card .tag-row span{font-size:.75rem;line-height:1.4;padding:4px 7px}
 body[data-page="directory"] .listing-card .tag-row span:nth-child(n+4){display:none}
 body[data-page="directory"] .listing-card .source-note{font-size:.75rem;line-height:1.4;margin:0}
 body[data-page="directory"] .listing-card .card-actions{justify-content:flex-start}
 body[data-page="directory"] .listing-card .card-actions>*{padding-inline:8px;font-size:.875rem}
 body[data-page="directory"] .directory-explorer .directory-filter-controls{grid-template-columns:minmax(0,1fr)}
 body[data-page="directory"] .directory-filter-controls .saved-box{grid-column:auto}
 .profile-actions .business-directions{width:100%}.directions-choices a{flex:1}
}
/* Default business map shares the directory's visible results. */
.directory-options{grid-template-columns:minmax(0,1fr)}
.directory-default-map{margin-top:12px!important;padding-top:10px!important}
.directory-default-map h3{font:400 1.15rem/1.3 Georgia,serif;margin:0 0 8px}
#directory-map-canvas{height:270px;width:100%;background:#edf0e9;border:1px solid #87918f;isolation:isolate;z-index:0}
#directory-map-canvas:focus-visible{outline:3px solid #bc391e;outline-offset:3px}
.directory-business-pin{display:flex!important;align-items:center;justify-content:center;border:3px solid white;border-radius:50%;background:#b43620;color:#fff;font:700 1rem/1 sans-serif;box-shadow:0 1px 5px #0006}
.directory-business-pin:focus-visible{outline:3px solid #153e5a;outline-offset:3px}
.directory-business-pin span{font-size:1.2rem}
.directory-default-map .leaflet-control-zoom a{width:44px;height:44px;line-height:44px}
.directory-default-map .leaflet-control-attribution{font-size:10px;line-height:1.3;max-width:100%}
.directory-default-map #directory-map-status{font-size:.8rem;line-height:1.4;margin:8px 0}
.directory-map-links{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px 16px}
.directory-map-links a{display:inline-flex;align-items:center;min-height:44px;font-size:.9rem}
.directory-map-selected{font-size:.85rem;font-weight:650;overflow-wrap:anywhere}
.directory-map-notes>summary{cursor:pointer;min-height:44px;line-height:44px;font-size:.8rem;color:var(--muted)}
.directory-map-notes p{font-size:.8rem;line-height:1.45!important}
.directory-map-popup{max-height:220px;overflow-y:auto;overflow-wrap:anywhere}
.directory-map-popup>div{padding:8px 0;border-bottom:1px solid #ddd}
.directory-map-popup p{font-size:.8rem;line-height:1.4;margin:5px 0}
.directory-map-popup a{display:inline-flex;align-items:center;min-height:44px;margin-right:14px;font-weight:650}
.directory-map-popup small{display:block;font-size:.75rem;line-height:1.35;margin-top:8px}
.directory-full-map #directory-map-canvas{height:460px}
@media(max-width:560px){#directory-map-canvas{height:170px}.directory-full-map #directory-map-canvas{height:310px}.directory-default-map #directory-map-status{font-size:.75rem}.directory-map-links a{font-size:.85rem}}

/* Website services, using LocalPinoy's existing editorial palette. */
.website-profile-cta{display:flex;align-items:center;justify-content:space-between;gap:24px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding-block:26px;margin-bottom:48px}
.website-profile-cta .eyebrow{font-size:.7rem;margin:0 0 9px;color:var(--red)}
.website-profile-cta h2{font:400 1.6rem/1.2 Georgia,serif;margin:0 0 9px;letter-spacing:-.025em}
.website-profile-cta p:last-child{font-size:.9rem;line-height:1.5;color:var(--muted);margin:0}
.website-cta-link{display:inline-flex;align-items:center;justify-content:space-between;gap:24px;min-height:46px;padding:8px 0;color:var(--red);font-size:.95rem;font-weight:700;text-decoration:underline;text-underline-offset:5px;flex-shrink:0}
.website-cta-link:hover{color:var(--blue)}
.website-service-hero{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:8%;padding-block:62px 58px;align-items:center}
.website-service-hero h1{font:400 clamp(2.5rem,4.4vw,4.4rem)/1.05 Georgia,serif;letter-spacing:-.045em;margin:18px 0 24px;max-width:730px}
.website-service-hero p{line-height:1.7;max-width:580px;color:var(--muted)}
.website-service-hero .eyebrow{color:var(--red);font-size:.73rem;font-weight:750}
.website-service-hero .website-service-lead{font-size:1.22rem;line-height:1.55;color:var(--ink)}
.website-service-hero .primary-button{display:inline-flex;gap:24px;align-items:center;min-height:48px;margin-top:18px}
.website-service-hero .website-service-note{font-size:.8rem;margin-top:14px}
.website-service-brief{background:#f0f3ef;border:1px solid var(--line);padding:32px 34px 26px;border-top:4px solid var(--red)}
.website-brief-mark{display:block;font:700 1.2rem/1.2 Georgia,serif;border-bottom:1px solid #ccd3c9;padding-bottom:20px;margin-bottom:30px}
.website-service-brief h2{font:400 clamp(1.9rem,3vw,2.5rem)/1.1 Georgia,serif;letter-spacing:-.03em;margin:12px 0 24px}
.website-service-brief ul{padding:0;margin:0;list-style:none}
.website-service-brief li{border-top:1px solid #d3d9d0;padding:14px 0 14px 20px;font-size:.95rem;line-height:1.5;position:relative}
.website-service-brief li:before{content:'+';position:absolute;left:0;color:var(--red);font-weight:700}
.website-service-brief p:last-child{font-size:.82rem;margin-bottom:0}
.website-service-process{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.7fr);gap:8%;border-top:1px solid var(--ink);padding-block:40px 46px}
.website-service-process h2,.website-enquiry h2{font:400 clamp(1.9rem,3vw,2.65rem)/1.1 Georgia,serif;letter-spacing:-.03em;margin:16px 0 20px}
.website-service-process .eyebrow,.website-enquiry .eyebrow{font-size:.7rem;color:var(--red)}
.website-service-process ol{list-style:none;padding:0;margin:0}
.website-service-process li{display:flex;gap:22px;border-bottom:1px solid var(--line);padding:0 0 22px;margin-bottom:22px}
.website-service-process li:last-child{margin-bottom:0;border:0;padding-bottom:0}
.website-service-process li>span{font:400 1.8rem/1.1 Georgia,serif;color:var(--red);flex:0 0 35px}
.website-service-process h3{font-size:1rem;margin:0 0 8px}
.website-service-process p{font-size:.92rem;color:var(--muted);line-height:1.65;margin:0}
.website-enquiry{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.7fr);gap:8%;border-top:1px solid var(--ink);padding-block:42px 70px;scroll-margin-top:24px}
.website-enquiry>div{min-width:0}
.website-enquiry-intro p{color:var(--muted);font-size:.95rem}
.website-enquiry-intro a{color:var(--ink);text-decoration:underline;text-underline-offset:4px;overflow-wrap:anywhere}
.website-enquiry form{max-width:none;gap:20px}
.website-enquiry label{font-size:.9rem;font-weight:600}
.website-enquiry input,.website-enquiry textarea{border-radius:0;min-height:46px;font-weight:400}
.website-enquiry .website-form-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px}
.website-enquiry .mail-consent{font-size:.88rem;font-weight:400}
.website-enquiry .mail-consent input{min-height:20px}
.website-enquiry .mail-small{font-size:.79rem;color:var(--muted);margin:0;line-height:1.6}
.website-enquiry button{min-height:48px;justify-self:start;padding-inline:28px}
.website-enquiry #mail-feedback{margin:0;font-size:.95rem;overflow-wrap:anywhere}
.website-enquiry #mail-feedback:empty{display:none}
.website-enquiry #mail-feedback:not(:empty){padding:16px;background:#f0f3ef;border-left:3px solid var(--blue)}
.website-enquiry :focus-visible,.website-profile-cta a:focus-visible,.website-service-hero a:focus-visible{outline:3px solid var(--blue);outline-offset:4px}
@media(max-width:760px){.website-service-hero{grid-template-columns:1fr;gap:28px;padding-block:34px}.website-service-hero h1{font-size:clamp(2.5rem,9vw,3.9rem)}.website-service-brief{padding:25px}.website-service-process,.website-enquiry{grid-template-columns:1fr;gap:22px;padding-block:30px}.website-profile-cta{align-items:flex-start;flex-direction:column;gap:12px}.website-cta-link{min-height:48px}.website-enquiry{padding-bottom:46px}}
@media(max-width:480px){.website-enquiry .website-form-row{grid-template-columns:1fr;gap:20px}.website-service-hero .primary-button,.website-enquiry button{width:100%;justify-content:center}.website-service-process li{gap:15px}.website-service-hero .website-service-lead{font-size:1.1rem}}

.website-arrow{display:inline-block;flex:none;width:7px;height:7px;border:solid currentColor;border-width:2px 2px 0 0;transform:rotate(45deg)}

/* Premium placement uses existing card styling with a distinct, accessible accent. */
.listing-card.is-premium { border: 2px solid #b58131; box-shadow: 0 5px 18px rgba(18,60,89,.08); }
.premium-partners { padding-top: 2rem; padding-bottom: 1rem; }
.premium-partners .preview-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.premium-partners .listing-card { max-width: 720px; }

/* Official business logos retain their original proportions on every listing surface. */
.listing-card header.with-business-logo { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 12px; }
.business-logo { width: 200px; max-width: 100%; height: 76px; flex: 0 0 auto; display: flex; align-items: center; justify-content: flex-start; background: #fff; padding: 6px; }
.business-logo img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: left center; }
.business-logo-profile { width: 320px; height: 112px; margin-bottom: 16px; }
@media (max-width: 680px) {
  .listing-card header.with-business-logo { gap: 10px; }
  .business-logo { width: 180px; height: 68px; }
  .business-logo-profile { width: 280px; height: 100px; }
}

/* Community Board: practical notices in the same editorial family. */
.board-intro { padding-top: 55px; padding-bottom: 30px; }
.board-intro h1 { font-family: Georgia, serif; font-size: clamp(2.6rem, 6vw, 4.9rem); letter-spacing: -.04em; margin: 12px 0 18px; }
.board-intro .page-lead { max-width: 790px; }
.board-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin: 26px 0; }
.board-main { padding-bottom: 60px; }
.board-filters { display: flex; flex-wrap: wrap; gap: 9px; border-top: 1px solid #d9d5ca; padding: 24px 0; }
.board-filters a { padding: 9px 15px; border: 1px solid #d9d5ca; border-radius: 30px; text-decoration: none; font-size: .92rem; }
.board-filters a[aria-current] { background: #174c41; color: white; border-color: #174c41; }
.board-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.board-card { padding: 27px; border: 1px solid #d9d5ca; background: #fffdf6; overflow-wrap: anywhere; }
.board-card h2 { font: 1.6rem/1.2 Georgia, serif; margin: 20px 0 14px; }
.board-card h2 a { text-decoration: none; }
.board-card-meta { display: flex; flex-wrap: wrap; gap: 10px; color: #53675a; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; }
.board-empty { grid-column: 1/-1; padding: 45px 30px; background: #f0eee4; border-left: 4px solid #174c41; }
.board-empty h2 { font: 2rem Georgia, serif; margin: 15px 0; }
.board-empty p { max-width: 710px; }
.board-safety { border-top: 1px solid #d9d5ca; margin-top: 42px; padding-top: 26px; max-width: 880px; }
.board-safety h2 { font: 1.7rem Georgia, serif; }
.board-form { max-width: 850px; }
.board-form form, .board-review-item form { display: grid; gap: 20px; }
.board-form label, .board-review-item label { display: grid; gap: 7px; }
.board-form input:not([type=checkbox]), .board-form textarea, .board-form select, .board-review-item input:not([type=checkbox]), .board-review-item textarea, .board-review-item select { width:100%; border:1px solid #c8c9bf; padding:12px; font:inherit; border-radius:4px; background:white; color:#202a24; }
.board-form fieldset { padding:20px; border:1px solid #d9d5ca; }
.board-form fieldset label { margin:15px 0; }
.board-consent { display:flex!important; align-items:flex-start; gap:12px!important; line-height:1.6; }
.board-consent input { flex:0 0 auto; margin-top:7px; width:18px; height:18px; }
.board-honeypot { position:absolute; left:-10000px; }
.board-text { white-space:pre-wrap; overflow-wrap:anywhere; }
.board-review-item { border:1px solid #c8c9bf; margin:20px 0; padding:24px; }
.board-review-item summary { font-weight:700; cursor:pointer; overflow-wrap:anywhere; }
.board-review-item form { padding-top:20px; }
@media(max-width:900px) { .board-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:600px) { .board-grid { grid-template-columns:1fr; } .board-intro { padding-top:35px; } .board-card { padding:22px; } .board-filters a { padding:8px 11px; } }

/* Jollibee editorial tracker: scoped to preserve the existing site. */
.jollibee-tracker{max-width:960px}.jollibee-tracker>section{margin:2.5rem 0}.tracker-jumps{display:flex;flex-wrap:wrap;gap:.65rem;border-block:1px solid #ddd3c6;padding:1rem 0}.tracker-jumps a{padding:.5rem .7rem;background:#f4eee5;border-radius:4px}.tracker-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin:1.5rem 0}.tracker-stats>div{background:#f5eee2;padding:1.25rem;border-top:3px solid #a94030}.tracker-stats strong{display:block;font-size:2rem;line-height:1.2}.tracker-stats span{display:block;margin-top:.5rem;font-size:.95rem}.tracker-locations{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.tracker-location{border:1px solid #ddd3c6;padding:1.3rem;border-radius:6px}.tracker-location:last-child{grid-column:1/-1}.tracker-status{display:inline-block;padding:.3rem .6rem;border-radius:4px;font-size:.78rem;font-weight:700;line-height:1.5}.tracker-status.confirmed{background:#e4eee3;color:#234b2e}.tracker-status.reported{background:#fff0cd;color:#6d4912}.tracker-callout{background:#faf3e5;padding:1.5rem;border-left:4px solid #ac7831}.tracker-location h3{font-size:1.5rem;margin:1rem 0}.jollibee-tracker a{overflow-wrap:anywhere}.jollibee-tracker section[id],.jollibee-tracker aside[id]{scroll-margin-top:6rem}@media(max-width:600px){.tracker-stats{grid-template-columns:1fr;gap:.5rem}.tracker-stats>div{display:flex;gap:1rem;align-items:center}.tracker-stats strong{min-width:110px;font-size:1.65rem}.tracker-stats span{margin:0}.tracker-locations{grid-template-columns:1fr}.tracker-location:last-child{grid-column:auto}.tracker-jumps a{font-size:.85rem}}
