/* ============================================================
   Public storefront media system
============================================================ */

.public-media {
  position: relative;
  width: 100%;
  height: 225px;
  overflow: hidden;
  background: var(--color-bg);
}

.public-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Image fit variants */
.public-media--contain img {
  object-fit: contain;
  padding: 12px;
  background: var(--color-bg);
}

/* Layout helpers */
.public-media--rounded-top {
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
}

.public-media--rounded-left {
  border-top-left-radius: 0.5rem;
  border-bottom-left-radius: 0.5rem;
}

/* Detail page: fill column height */
.public-media--fill {
  height: 100%;
}

/* Placeholder */
.public-media__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 0.875rem;
  padding: 0.75rem;
  text-align: center;
}

/* ============================================================
   Public navbar brand (logo + tagline)
============================================================ */

.navbar .navbar-brand.public-brand {
  flex-direction: column;
  align-items: center;         /* center logo + tagline */
  text-align: center;          /* center tagline text */
  gap: 0.25rem !important;
  padding-top: 0;
  padding-bottom: 0;
}

.navbar .public-brand-logo {
  height: 78px;
  width: auto;
  max-width: 520px;
  display: block;
  background: transparent;
  border-radius: 0;
  padding: 0;
}

.navbar .public-brand-tagline {
  font-size: 0.82rem;
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.1px;
  color: rgba(255, 255, 255, 0.72);
  max-width: 340px;
  white-space: normal;
}

.navbar .public-brand-tagline {
  margin-top: -2px;
}

/* Mobile sizing */
@media (max-width: 576px) {
  .navbar .public-brand-logo {
    height: 56px;
  }

  .navbar .public-brand-tagline {
    font-size: 0.78rem;
    max-width: 260px;
  }
}

@media (max-width: 420px) {
  .navbar .public-brand-tagline {
    font-size: 0.75rem;
    max-width: 220px;
  }
}

/* ============================================================
   Category "line card" previews (public storefront)
============================================================ */

.public-linecard .card-body {
  padding: 1rem;
}

.public-lineitems {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.public-lineitem {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
}

.public-lineitem__media {
  display: block;
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  position: relative;
}

.public-lineitem__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.public-lineitem__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 0.75rem;
  padding: 0.25rem;
  text-align: center;
}

.public-lineitem__body {
  min-width: 0;
}

.public-lineitem__title {
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 0.25rem;
}

.public-lineitem__desc {
  color: var(--color-text-muted);
  font-size: 0.875rem;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
}

.public-lineitem__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

.public-lineitem__price {
  font-weight: 700;
  white-space: nowrap;
}

/* Display-only behavior */
.public-lineitem--static {
  cursor: default;
}

.public-lineitem--static * {
  cursor: default;
}

/* Mobile tightening */
@media (max-width: 576px) {
  .public-lineitem {
    grid-template-columns: 56px 1fr;
    grid-template-areas:
      "media body"
      "meta meta";
    align-items: start;
  }

  .public-lineitem__media {
    width: 56px;
    height: 56px;
  }

  .public-lineitem__meta {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }
}

/* ============================================================
   Hub theme layer (hub-scoped only)
   Applies to public hub pages via <body class="layout-public-hub">
============================================================ */

/* Wider desktop canvas (hub pages only) */
.layout-public-hub .container-fluid {
  max-width: 1920px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (min-width: 1400px) {
  .layout-public-hub .container-fluid {
    padding-left: 2.25rem;
    padding-right: 2.25rem;
  }
}

/* Hub palette + surfaces (scoped; does not affect org storefront pages) */
.layout-public-hub {
  background: #CBD5E1; /* darker neutral canvas */
  color: #0F172A;
}

.layout-public-hub .text-muted {
  color: rgba(15, 23, 42, 0.72) !important;
}

/* Navbar: lighten hub header without changing templates */
.layout-public-hub .navbar {
  background: rgba(203, 213, 225, 0.92) !important;
  border-bottom: 1px solid rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(6px);
}

.layout-public-hub .navbar .navbar-brand,
.layout-public-hub .navbar .nav-link {
  color: #0f172a !important;
}

.layout-public-hub .navbar .nav-link.active,
.layout-public-hub .navbar .nav-link:hover {
  color: #1d4ed8 !important;
}

/* Hub navbar: stack logo + tagline and center them */
.layout-public-hub .navbar .navbar-brand {
  display: flex;              /* ensure flex even if bootstrap changes */
  flex-direction: column;
  align-items: center !important;
  justify-content: center;
  text-align: center;
  gap: 0.2rem;
  padding-top: 0;
  padding-bottom: 0;
}

/* Public (storefront + info pages): stack logo + tagline and center them */
.layout-public .navbar .navbar-brand.public-brand {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center;
  gap: 0.2rem;
  padding-top: 0;
  padding-bottom: 0;
}

/* Make sure the PNG centers visually */
.layout-public-hub .navbar .public-brand-logo {
  margin-left: auto;
  margin-right: auto;
  display: block;
}

/* Tagline centers under the logo */
.layout-public-hub .navbar .public-brand-tagline {
  display: block;
  width: 100%;
  margin-top: -2px; /* optional tightening */
}

.layout-public .navbar .public-brand-logo {
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.layout-public .navbar .public-brand-tagline {
  display: block;
  width: 100%;
  margin-top: -2px; /* optional tightening */
}

.layout-public-hub .navbar-toggler {
  border-color: rgba(15, 23, 42, 0.18);
}

.layout-public-hub .navbar-toggler-icon {
  filter: invert(1) grayscale(1) contrast(1.4);
}

.layout-public-hub .navbar .public-brand-tagline {
  color: rgba(15, 23, 42, 0.62);
}

/* Typography */
.layout-public-hub h1,
.layout-public-hub h2,
.layout-public-hub h3 {
  letter-spacing: -0.25px;
}

/* Hub shell */
.hub-shell {
  max-width: 1760px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   Hero
============================================================ */

.hub-hero {
  padding: 34px 0 14px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: 18px;
  align-items: start;
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

.hero-card,
.cta-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 26px;
  box-shadow: var(--shadow-card);
  padding: 18px;
}

.hero-card h1 {
  font-size: clamp(2.05rem, 3.6vw, 3.15rem);
  line-height: 1.03;
  margin: 14px 0 10px;
  font-weight: 800;
}

.hero-card p {
  color: rgba(15, 23, 42, 0.72);
  font-size: 1.05rem;
  line-height: 1.55;
  margin: 0 0 16px;
  max-width: 56ch;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  color: rgba(15, 23, 42, 0.75);
}

.pill .dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #fbbf24;
  box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.25);
}

.accent-primary {
  color: var(--color-brand-primary-dark);
}

.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 14px 0 10px;
}

.actions .btn {
  border-radius: 14px;
  padding: 0.85rem 1.05rem;
  font-weight: 700;
}

/* New: small, explicit paths beneath hero actions */
.hero-links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 16px;
  font-size: 0.95rem;
}

.hero-links a {
  color: var(--color-brand-primary-dark);
  text-decoration: none;
  font-weight: 700;
}

.hero-links a:hover {
  text-decoration: underline;
}

.hero-links .sep {
  color: rgba(15, 23, 42, 0.45);
}

.statbar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 14px;
}

@media (max-width: 992px) {
  .statbar {
    grid-template-columns: 1fr;
  }
}

.stat {
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
  padding: 12px;
  position: relative;
  overflow: hidden;
}

.stat b {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.stat span {
  display: block;
  color: rgba(15, 23, 42, 0.7);
  font-size: 0.9rem;
  line-height: 1.35;
}

.spark {
  position: absolute;
  inset: auto -20% -40% -20%;
  height: 70%;
  background: rgba(56, 189, 248, 0.18);
  transform: rotate(-8deg);
  border-radius: 999px;
}

.cta-card h3 {
  margin: 4px 0 6px;
  font-weight: 800;
}

.cta-card p {
  margin: 0 0 12px;
  color: rgba(15, 23, 42, 0.72);
}

.cta-stack {
  display: grid;
  gap: 10px;
}

.fineprint {
  margin-top: 12px;
  font-size: 0.85rem;
  color: rgba(15, 23, 42, 0.6);
}

/* ============================================================
   Sections
============================================================ */

.hub-section {
  padding: 26px 0;
}

.section-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.section-title h1,
.section-title h2 {
  margin: 0;
  font-weight: 850;
}

.section-title p {
  margin: 6px 0 0;
  color: rgba(15, 23, 42, 0.72);
  max-width: 68ch;
}

.hub-cards {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.hub-card {
  grid-column: span 4;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
  min-height: 150px;
}

.hub-card .icon {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--color-brand-sun-soft);
  color: var(--color-brand-primary-dark);
  font-size: 18px;
  margin-bottom: 10px;
}

.hub-card h3 {
  margin: 0 0 6px;
  font-weight: 800;
}

.hub-card p {
  margin: 0;
  color: rgba(15, 23, 42, 0.72);
  line-height: 1.45;
}

@media (max-width: 992px) {
  .hub-card {
    grid-column: span 12;
  }
}

/* ============================================================
   Featured fundraisers grid (home page)
============================================================ */

.hub-featured-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
}

.hub-featured-card {
  grid-column: span 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 18px;
  padding: 14px 14px;
  box-shadow: var(--shadow-card);
}

.hub-featured-card__body {
  min-width: 0;
}

.hub-featured-card__title {
  font-weight: 850;
  line-height: 1.2;
  margin-bottom: 2px;
}

.hub-featured-card__meta {
  font-size: 0.9rem;
  line-height: 1.35;
}

.hub-featured-card__actions .btn {
  border-radius: 12px;
  font-weight: 700;
}

@media (max-width: 992px) {
  .hub-featured-card {
    grid-column: span 12;
  }
}

/* ============================================================
   Split panels (used on hub info pages)
============================================================ */

.hub-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 992px) {
  .hub-split {
    grid-template-columns: 1fr;
  }
}

.hub-panel {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--shadow-card);
}

.hub-panel h3 {
  margin: 0 0 10px;
  font-weight: 850;
}

.hub-panel p {
  margin: 0;
  color: rgba(15, 23, 42, 0.72);
}

.hub-panel ul {
  margin: 0;
  padding-left: 1.1rem;
  color: rgba(15, 23, 42, 0.72);
}

/* Keep existing public-org-card but match hub shadow */
.layout-public-hub .public-org-card {
  border-radius: 18px;
  box-shadow: var(--shadow-card);
}

/* ============================================================
   Steps
============================================================ */

.steps {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.step {
  grid-column: span 6;
  display: flex;
  gap: 12px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 18px;
  padding: 14px;
  box-shadow: var(--shadow-card);
}

.step-num {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: #0f172a;
  background: rgba(251, 191, 36, 0.25);
  border: 1px solid rgba(15, 23, 42, 0.1);
}

.step h3 {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 850;
}

.step p {
  margin: 0;
  color: rgba(15, 23, 42, 0.72);
  line-height: 1.4;
}

@media (max-width: 992px) {
  .step {
    grid-column: span 12;
  }
}

/* ============================================================
   Empty state
============================================================ */

.hub-empty {
  padding: 8px 0 0;
}

.hub-empty__card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--shadow-card);
}

.hub-empty__title {
  font-weight: 850;
  margin-bottom: 4px;
}

.hub-empty__text {
  color: rgba(15, 23, 42, 0.72);
}

/* ============================================================
   Navbar layout (left brand) + larger height
============================================================ */

.navbar {
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}

@media (max-width: 576px) {
  .navbar {
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
  }
}

/* Center the main nav links while keeping the brand left */
.navbar .navbar-collapse {
  position: relative;
}

/* center the left nav group in the available space */
.navbar .navbar-nav.me-auto {
  margin-left: auto !important;
  margin-right: auto !important;
}

/* keep the right side pinned right */
.navbar .navbar-nav.ms-auto {
  margin-left: auto !important;
  margin-right: 0 !important;
}

/* ============================================================
   Hub density + org card logo fixes
============================================================ */

/* Fundraisers hub: compact cards + less whitespace (scoped) */
.hub-fundraisers .hub-section {
  padding: 18px 0;
}

.hub-fundraisers .public-org-card .card-body {
  padding: 0.9rem 0.95rem;
}

.hub-fundraisers .public-org-card__story {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;  /* max 1–2 lines */
  overflow: hidden;
  line-height: 1.35;
  margin-bottom: 0.75rem !important;
}

/* Seller code as a small pill (instead of a repeated text line) */
.hub-fundraisers .public-org-card__pill {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: rgba(255, 255, 255, 0.7);
  color: rgba(15, 23, 42, 0.68);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
}

/* Make the logo/media area shorter */
.layout-public-hub .public-org-card__logo {
  height: 140px;
  padding: 14px;
}

.layout-public-hub .public-org-card__logo img {
  width: auto !important;
  height: auto !important;
  max-width: calc(100% - 10px);
  max-height: 105px;
  object-fit: contain;
}

/* Make placeholder less dominant */
.layout-public-hub .public-org-card__logo-placeholder {
  color: rgba(15, 23, 42, 0.42);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 576px) {
  .layout-public-hub .public-org-card__logo {
    height: 120px;
    padding: 12px;
  }

  .layout-public-hub .public-org-card__logo img {
    max-height: 88px;
  }
}

/* Optional: make hub cards pop slightly more against the background */
.layout-public-hub .hero-card,
.layout-public-hub .cta-card,
.layout-public-hub .hub-card,
.layout-public-hub .hub-empty__card,
.layout-public-hub .public-org-card,
.layout-public-hub .hub-featured-card {
  border-color: rgba(15, 23, 42, 0.14);
}




/* -----------------------------------------------------------
   Public hub color foundation
   Flat color band for sales/demo-facing hero areas
----------------------------------------------------------- */

.layout-public-hub .hub-hero {
  background: var(--color-brand-sun-soft);
  border: 1px solid rgba(245, 158, 11, 0.22);
  border-radius: 28px;
  padding: 28px;
  margin-top: 24px;
  margin-bottom: 28px;
}

/* -----------------------------------------------------------
   Soft section bands
   Flat color rhythm for public/demo landing pages
----------------------------------------------------------- */

.layout-public-hub .hub-section-soft-mint {
  background: var(--color-brand-mint-soft);
  border: 1px solid rgba(16, 185, 129, 0.18);
  border-radius: 28px;
  padding: 28px;
  margin-top: 18px;
  margin-bottom: 28px;
}

.layout-public-hub .hub-section-soft-sky {
  background: var(--color-brand-sky-soft);
  border: 1px solid rgba(14, 165, 233, 0.18);
  border-radius: 28px;
  padding: 28px;
  margin-top: 18px;
  margin-bottom: 28px;
}

.hub-section-soft-sky {
  background: var(--color-brand-sky-soft);
  border: 1px solid rgba(14, 165, 233, 0.18);
  border-radius: 28px;
  padding: 28px;
  margin-top: 18px;
  margin-bottom: 28px;
}

/* ===== LocalLoop sales-grade home story layout START ===== */

.layout-public-hub main > .container-fluid {
  max-width: none;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.home-story-shell {
  background: #f4fbff;
  color: #102033;
}

.home-story-inner {
  width: min(1540px, calc(100% - 72px));
  margin: 0 auto;
}

.home-story-hero {
  background: #d8ecff;
  padding: clamp(2.75rem, 6vw, 6.75rem) 0 clamp(2.5rem, 5vw, 5.5rem);
  border-bottom: 1px solid rgba(16, 32, 51, 0.1);
}

.home-story-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(360px, 0.55fr);
  gap: clamp(2rem, 5vw, 5.75rem);
  align-items: center;
}

.home-story-hero-copy h1 {
  max-width: 1080px;
  margin: 0;
  font-size: clamp(2.15rem, 4.6vw, 4.4rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 750;
  color: #132018;
}

.home-story-lead {
  max-width: 930px;
  margin: 1.4rem 0 0;
  color: #405346;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.62;
}

.home-story-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.2rem;
  padding: 0.48rem 0.75rem;
  border: 1px solid rgba(23, 33, 27, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  color: #314237;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.home-story-pill-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: #005cb9;
}

.home-story-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.6rem;
}

.home-story-trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  overflow: hidden;
  border: 1px solid rgba(23, 33, 27, 0.1);
  border-radius: 1.25rem;
  background: rgba(23, 33, 27, 0.1);
}

.home-story-trust-row > div {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.62);
}

.home-story-trust-row strong,
.home-story-trust-row span {
  display: block;
}

.home-story-trust-row strong {
  color: #17211b;
  font-size: 0.95rem;
}

.home-story-trust-row span {
  margin-top: 0.25rem;
  color: #56665b;
  font-size: 0.88rem;
  line-height: 1.45;
}

.home-story-panel {
  padding: clamp(1.2rem, 3vw, 1.75rem);
  border: 1px solid rgba(16, 32, 51, 0.12);
  border-radius: 1.5rem;
  background: #ffffff;
  box-shadow: 0 20px 46px rgba(16, 32, 51, 0.12);
}

.home-story-panel-header h2 {
  margin: 0.35rem 0 0;
  color: #17211b;
  font-size: clamp(1.45rem, 2.4vw, 2.05rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 800;
}

.home-story-eyebrow {
  display: inline-block;
  color: #005cb9;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.115em;
  text-transform: uppercase;
}

.home-story-eyebrow-dark {
  color: #9fd0ff;
}

.home-story-flow-list {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.25rem;
}

.home-story-flow-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  padding: 0.95rem;
  border: 1px solid rgba(23, 33, 27, 0.09);
  border-radius: 1rem;
  background: #ffffff;
}

.home-story-flow-item span {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: #005cb9;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.9rem;
}

.home-story-flow-item p {
  margin: 0;
  color: #445247;
  font-size: 0.95rem;
  line-height: 1.48;
}

.home-story-band {
  padding: clamp(2.75rem, 5.6vw, 5.75rem) 0;
}

.home-story-band-light {
  background: #eaf6ff;
}

.home-story-band-white {
  background: #f4fbff;
}

.home-story-band-mint {
  background: #eaf6ff;
}

.home-story-band-dark {
  background: #0b2638;
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.home-story-split {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(2rem, 5vw, 5.75rem);
  align-items: center;
}

.home-story-split-reverse {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.home-story-section-copy h2,
.home-story-demo-grid h2 {
  margin: 0.45rem 0 0;
  color: inherit;
  font-size: clamp(1.75rem, 3.2vw, 3.15rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 750;
}

.home-story-section-copy p,
.home-story-demo-grid p {
  margin: 1rem 0 0;
  color: #4a5c51;
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  line-height: 1.65;
}

.home-story-band-dark .home-story-demo-grid p {
  color: rgba(255, 255, 255, 0.78);
}

.home-story-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}

.home-story-card-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-story-card,
.home-story-path-card {
  border: 1px solid rgba(16, 32, 51, 0.1);
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 34px rgba(16, 32, 51, 0.09);
}

.home-story-card {
  padding: clamp(1.1rem, 2.4vw, 1.5rem);
}

.home-story-card h3 {
  margin: 0;
  color: #17211b;
  font-size: 1.14rem;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.home-story-card p {
  margin: 0.65rem 0 0;
  color: #56665b;
  line-height: 1.55;
}

.home-story-path-card {
  display: grid;
  gap: 1px;
  overflow: hidden;
  padding: 0;
  background: rgba(23, 33, 27, 0.1);
}

.home-story-path-step {
  display: grid;
  gap: 0.25rem;
  padding: 1.15rem 1.25rem;
  background: #ffffff;
}

.home-story-path-step span {
  color: #005cb9;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.home-story-path-step strong {
  color: #17211b;
  font-size: 1.02rem;
}

.home-story-demo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(2rem, 5vw, 5.75rem);
  align-items: center;
}

.home-story-demo-actions {
  display: grid;
  gap: 0.85rem;
  min-width: min(100%, 290px);
}

.home-story-band-dark .btn-outline-light {
  border-color: rgba(255, 255, 255, 0.72);
  color: #ffffff;
}

@media (max-width: 991.98px) {
  .home-story-hero-grid,
  .home-story-split,
  .home-story-split-reverse,
  .home-story-demo-grid {
    grid-template-columns: 1fr;
  }

  .home-story-card-grid,
  .home-story-card-grid-two,
  .home-story-trust-row {
    grid-template-columns: 1fr;
  }

  .home-story-demo-actions {
    min-width: 0;
  }
}

@media (max-width: 575.98px) {
  .home-story-inner {
    width: min(100% - 24px, 1540px);
  }

  .home-story-hero {
    padding-top: 2.25rem;
  }

  .home-story-actions .btn,
  .home-story-demo-actions .btn {
    width: 100%;
  }

  .home-story-panel,
  .home-story-card,
  .home-story-path-card {
    border-radius: 1.05rem;
  }
}

/* ===== LocalLoop partner walkthrough START ===== */
.home-deck-feature {
    display: grid;
    gap: 1rem;
}

.home-deck-preview {
    position: relative;
    display: block;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 1.2rem;
    background: #fffaf2;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.12);
}

.home-deck-preview img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 180ms ease;
}

.home-deck-preview > span {
    position: absolute;
    right: 0.75rem;
    bottom: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.68rem 0.9rem;
    border-radius: 999px;
    background: #005cb9;
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 850;
    box-shadow: 0 8px 22px rgba(0, 92, 185, 0.28);
}

.home-deck-preview:hover img,
.home-deck-preview:focus img {
    transform: scale(1.012);
}

.home-deck-preview:focus-visible {
    outline: 3px solid #f59e0b;
    outline-offset: 4px;
}

.home-deck-feature__copy {
    display: grid;
    gap: 0.55rem;
}

.home-deck-feature__copy strong {
    color: #12352d;
    font-size: 1.12rem;
}

.home-deck-feature__copy p {
    margin: 0;
    color: #52665e;
    line-height: 1.5;
}

.walkthrough-page {
    --walkthrough-ink: #12352d;
    --walkthrough-blue: #005cb9;
    --walkthrough-orange: #f59e0b;
    --walkthrough-cream: #fffaf2;
    max-width: 1480px;
    margin: 0 auto;
    padding-block: clamp(1rem, 2.4vw, 2.25rem);
    color: var(--walkthrough-ink);
}

.walkthrough-hero {
    display: grid;
    grid-template-columns: minmax(0, 0.84fr) minmax(460px, 1.16fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
    padding: clamp(2rem, 5vw, 4.8rem);
    overflow: hidden;
    border-radius: 2rem;
    background: #0f4035;
    color: #ffffff;
    box-shadow: 0 22px 52px rgba(15, 23, 42, 0.16);
}

.walkthrough-eyebrow {
    display: block;
    margin-bottom: 0.65rem;
    color: #0068c9;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.walkthrough-eyebrow--light,
.walkthrough-hero .walkthrough-eyebrow {
    color: #ffb31a;
}

.walkthrough-hero h1 {
    max-width: 720px;
    margin: 0;
    font-size: clamp(2.25rem, 4.3vw, 4.35rem);
    line-height: 1.02;
    letter-spacing: -0.045em;
    font-weight: 880;
}

.walkthrough-hero__copy > p {
    max-width: 660px;
    margin: 1.25rem 0 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: clamp(1.02rem, 1.5vw, 1.2rem);
    line-height: 1.6;
}

.walkthrough-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.walkthrough-hero__actions .btn-primary {
    background: #ffffff;
    border-color: #ffffff;
    color: #0f4035;
}

.walkthrough-hero__cover {
    position: relative;
    display: block;
    overflow: hidden;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 1.35rem;
    background: var(--walkthrough-cream);
    box-shadow: 0 24px 58px rgba(0, 0, 0, 0.24);
}

.walkthrough-hero__cover img {
    display: block;
    width: 100%;
    height: auto;
}

.walkthrough-hero__cover figcaption {
    padding: 0.8rem 1rem;
    border-top: 1px solid rgba(15, 23, 42, 0.1);
    background: #ffffff;
    color: #52665e;
    font-size: 0.88rem;
    font-weight: 750;
    text-align: center;
}

.walkthrough-next-step {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2rem;
    align-items: center;
    margin-top: clamp(2rem, 5vw, 4rem);
    padding: clamp(1.5rem, 4vw, 3rem);
    border-radius: 1.75rem;
}

.walkthrough-next-step h2 {
    margin: 0;
    font-size: clamp(1.7rem, 3vw, 2.65rem);
    letter-spacing: -0.035em;
}

.walkthrough-next-step p {
    max-width: 780px;
    margin: 0.65rem 0 0;
    line-height: 1.55;
}

.walkthrough-next-step {
    background: #0f4035;
    color: #ffffff;
}

.walkthrough-next-step p {
    color: rgba(255, 255, 255, 0.76);
}

@media (max-width: 991.98px) {
    .walkthrough-hero,
    .walkthrough-next-step {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .walkthrough-hero,
    .walkthrough-next-step {
        border-radius: 1.2rem;
    }

    .walkthrough-hero {
        padding: 1.35rem;
    }

}

@media (max-width: 575.98px) {
    .walkthrough-page {
        padding-block: 0.75rem 1.25rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-deck-preview img {
        transition: none;
    }
}
/* ===== LocalLoop partner walkthrough END ===== */

/* ===== LocalLoop sales-grade home story layout END ===== */




/* ===== LocalLoop shared public footer START ===== */

.public-site-footer {
  background: #cbd5e1;
  color: #102033;
  border-top: 1px solid rgba(15, 23, 42, 0.14);
}

.public-site-footer__inner {
  width: min(1540px, calc(100% - 72px));
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 4.5rem) 0;
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.public-site-footer__brand {
  max-width: 460px;
}

.public-site-footer__brand strong {
  display: block;
  color: #102033;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 850;
}

.public-site-footer__brand p {
  margin: 0.85rem 0 0;
  color: rgba(16, 32, 51, 0.78);
  line-height: 1.6;
  font-size: 1rem;
}

.public-site-footer__columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 3.5rem);
}

.public-site-footer__column h2 {
  margin: 0 0 0.85rem;
  color: #005cb9;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.115em;
  text-transform: uppercase;
}

.public-site-footer__column a,
.public-site-footer__column span {
  display: block;
  margin-top: 0.58rem;
  color: rgba(16, 32, 51, 0.82);
  font-size: 0.98rem;
  line-height: 1.45;
}

.public-site-footer__column a {
  text-decoration: none;
}

.public-site-footer__column a:hover,
.public-site-footer__column a:focus {
  color: #003f86;
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

.public-site-footer__bottom {
  width: min(1540px, calc(100% - 72px));
  margin: 0 auto;
  padding: 1rem 0 1.25rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(15, 23, 42, 0.14);
  color: rgba(16, 32, 51, 0.68);
  font-size: 0.88rem;
}

@media (max-width: 991.98px) {
  .public-site-footer__inner {
    grid-template-columns: 1fr;
  }

  .public-site-footer__columns {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .public-site-footer__bottom {
    flex-direction: column;
  }
}

@media (max-width: 575.98px) {
  .public-site-footer__inner,
  .public-site-footer__bottom {
    width: min(100% - 24px, 1540px);
  }
}

/* ===== LocalLoop shared public footer END ===== */

/* Dark homepage outline button hover contrast */
.home-story-band-dark .btn-outline-light:hover,
.home-story-band-dark .btn-outline-light:focus,
.home-story-band-dark .btn-outline-light:focus-visible {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.9);
}

/* ===== LocalLoop public shell polish START ===== */
.public-site-header,
.layout-public .public-site-header,
.layout-public-hub .public-site-header {
    background: #ffffff;
    border-bottom: 1px solid rgba(20, 83, 68, 0.16);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

.public-site-header .container {
    min-height: 68px;
}

.public-site-header .nav-link {
    color: #31443f;
    font-weight: 700;
    letter-spacing: 0;
    border-radius: 999px;
    padding-inline: 0.85rem;
}

.public-site-header .nav-link:hover,
.public-site-header .nav-link:focus,
.public-site-header .nav-link.active {
    color: #145344;
    background: #eef6f3;
}

.public-site-header .nav-link.disabled {
    color: #6b7c77;
    background: transparent;
    font-weight: 650;
}

.public-site-header .navbar-toggler {
    border-color: rgba(20, 83, 68, 0.22);
}

.public-site-header .navbar-toggler:focus {
    box-shadow: 0 0 0 0.18rem rgba(20, 83, 68, 0.18);
}

.public-site-header .public-brand {
    color: #12352d;
    line-height: 1.05;
}

.public-site-header .public-brand:hover,
.public-site-header .public-brand:focus {
    color: #12352d;
}

.public-site-header .public-brand-logo {
    width: 132px;
    max-height: 54px;
    object-fit: contain;
}

.layout-public-hub .public-site-header .public-brand-logo,
.layout-public .public-site-header .public-brand-logo {
    width: 132px;
    max-height: 54px;
}

.public-site-header .public-brand-tagline {
    color: #527069;
    font-size: 0.7rem;
    font-weight: 650;
    letter-spacing: 0;
    line-height: 1.05;
    max-width: 180px;
}

.public-nav-primary {
    background: #145344;
    border: 1px solid #145344;
    color: #ffffff;
    border-radius: 999px;
    font-weight: 800;
    padding: 0.44rem 0.85rem;
    box-shadow: 0 6px 14px rgba(20, 83, 68, 0.16);
}

.public-nav-primary:hover,
.public-nav-primary:focus,
.public-nav-primary:focus-visible {
    background: #0f4035;
    border-color: #0f4035;
    color: #ffffff;
}

.public-nav-utility {
    background: #ffffff;
    border: 1px solid rgba(82, 112, 105, 0.32);
    color: #527069;
    border-radius: 999px;
    font-weight: 700;
    padding: 0.38rem 0.68rem;
}

.public-nav-utility:hover,
.public-nav-utility:focus,
.public-nav-utility:focus-visible {
    background: #f3f7f5;
    border-color: rgba(20, 83, 68, 0.38);
    color: #145344;
}

.public-nav-portal-menu .dropdown-menu {
    min-width: 210px;
    margin-top: 0.5rem;
    padding: 0.4rem;
    border: 1px solid rgba(20, 83, 68, 0.18);
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.14);
}

.public-nav-portal-menu .dropdown-item {
    padding: 0.6rem 0.75rem;
    border-radius: 6px;
    color: #31443f;
    font-weight: 700;
}

.public-nav-portal-menu .dropdown-item:hover,
.public-nav-portal-menu .dropdown-item:focus {
    background: #eef6f3;
    color: #145344;
}

.layout-public,
.layout-public-hub {
    background: #f6f3ec;
}

.layout-public main,
.layout-public-hub main {
    background: #f6f3ec;
}

.public-site-footer {
    background: #12352d;
    color: #dcebe6;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.public-site-footer__brand strong,
.public-site-footer__column h2 {
    color: #ffffff;
}

.public-site-footer__brand p,
.public-site-footer__column span,
.public-site-footer__bottom {
    color: rgba(220, 235, 230, 0.82);
}

.public-site-footer__column a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.public-site-footer__column a:hover,
.public-site-footer__column a:focus {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 0.2rem;
}

.public-site-footer__bottom {
    border-top-color: rgba(255, 255, 255, 0.14);
}

@media (max-width: 991.98px) {
    .public-site-header .container {
        min-height: 68px;
    }

    .public-site-header .navbar-collapse {
        padding: 1rem 0 0.85rem;
    }

    .public-site-header .navbar-nav {
        gap: 0.45rem;
    }

    .public-site-header .nav-link,
    .public-nav-primary,
    .public-nav-utility {
        width: 100%;
        text-align: left;
    }

    .public-site-header .navbar-nav.ms-auto {
        border-top: 1px solid rgba(20, 83, 68, 0.12);
        margin-top: 0.75rem;
        padding-top: 0.85rem;
    }

    .public-nav-portal-menu .dropdown-menu {
        width: 100%;
        margin-top: 0.4rem;
        box-shadow: none;
    }
}

/* Shell tightening after visual review */
.public-site-footer__inner {
    padding-top: 3.25rem;
    padding-bottom: 3rem;
}

.public-site-footer__bottom {
    padding-top: 1rem;
    padding-bottom: 0.75rem;
}

@media (max-width: 991.98px) {
    .public-site-header .container {
        min-height: 62px;
    }

    .public-site-header .public-brand-logo,
    .layout-public-hub .public-site-header .public-brand-logo,
    .layout-public .public-site-header .public-brand-logo {
        width: 118px;
        max-height: 48px;
    }

    .public-site-header .public-brand-tagline {
        font-size: 0.66rem;
        max-width: 150px;
    }

    .public-site-footer__inner {
        padding-top: 2.5rem;
        padding-bottom: 2.25rem;
    }
}

/* Fundraisers mobile layout polish after visual review */
@media (max-width: 575.98px) {
    .hub-fundraisers {
        padding-left: 0.85rem;
        padding-right: 0.85rem;
    }

    .hub-fundraisers .hub-section {
        padding: 1.1rem 0;
    }

    .hub-fundraisers .hub-header {
        padding-top: 1.35rem;
    }

    .hub-fundraisers .section-title {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.9rem;
        align-items: start;
    }

    .hub-fundraisers .section-title h1 {
        font-size: clamp(2rem, 10vw, 2.45rem);
        line-height: 1.05;
        margin-bottom: 0.45rem;
    }

    .hub-fundraisers .section-title p {
        max-width: 30rem;
        margin-bottom: 0;
    }

    .hub-fundraisers .section-title > .d-flex {
        justify-content: flex-start !important;
        width: 100%;
    }

    .hub-fundraisers .section-title .btn-group,
    .hub-fundraisers .section-title .btn {
        flex-wrap: wrap;
    }

    .hub-fundraisers #open-fundraisers > .d-flex {
        align-items: flex-start !important;
        gap: 0.45rem;
    }

    .hub-fundraisers .hub-empty__card {
        padding: 1.15rem;
        border-radius: 16px;
    }
}
/* ===== LocalLoop public shell polish END ===== */

/* ===== LocalLoop hybrid bright community homepage START ===== */
.home-story-shell {
    background: #fffaf2;
    color: #102033;
}

.home-community-hero,
.home-story-band-light,
.home-story-band-white,
.home-story-band-mint,
.home-how-section,
.home-audience-section {
    background: #fffaf2;
}

.home-community-hero {
    padding-top: clamp(3rem, 5.4vw, 5.75rem);
    padding-bottom: clamp(3rem, 5.2vw, 5.25rem);
    border-bottom: 1px solid rgba(20, 83, 68, 0.12);
}

.home-story-hero-grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(380px, 0.98fr);
    align-items: center;
}

.home-story-hero-copy h1 {
    max-width: 920px;
    font-size: clamp(2.45rem, 4.4vw, 4.25rem);
    line-height: 1.03;
    letter-spacing: -0.04em;
    font-weight: 850;
}

.home-story-lead {
    max-width: 850px;
    color: #344f47;
}

.home-story-pill {
    background: #ffffff;
    border-color: rgba(20, 83, 68, 0.18);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

.home-story-pill-dot {
    background: #f59e0b;
}

.home-story-actions .btn {
    border-radius: 999px;
    font-weight: 850;
    padding-left: 1.2rem;
    padding-right: 1.2rem;
}

.home-story-actions .btn-primary {
    background: #005cb9;
    border-color: #005cb9;
    box-shadow: 0 10px 22px rgba(0, 92, 185, 0.16);
}

.home-story-actions .btn-primary:hover,
.home-story-actions .btn-primary:focus {
    background: #004a94;
    border-color: #004a94;
}

.home-story-actions .btn-outline-secondary {
    background: #ffffff;
    border-color: rgba(20, 83, 68, 0.38);
    color: #145344;
}

.home-story-actions .btn-outline-secondary:hover,
.home-story-actions .btn-outline-secondary:focus {
    background: #145344;
    border-color: #145344;
    color: #ffffff;
}

.home-story-trust-row {
    max-width: 920px;
    border-color: rgba(20, 83, 68, 0.14);
    background: rgba(20, 83, 68, 0.14);
}

.home-story-trust-row > div {
    background: rgba(255, 255, 255, 0.84);
}

.home-community-visual {
    background: #ffffff;
    border: 1px solid rgba(20, 83, 68, 0.16);
    border-radius: 1.75rem;
    padding: clamp(1rem, 2.6vw, 1.45rem);
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.13);
}

.home-community-visual__topline {
    display: inline-flex;
    align-items: center;
    margin-bottom: 0.9rem;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: #eef8f3;
    color: #145344;
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-product-showcase {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 0.9rem;
}

.home-product-card {
    display: grid;
    align-content: end;
    min-height: 168px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 1.25rem;
    padding: 0.95rem;
    background: #fff7e6;
}

.home-product-card-large {
    grid-row: span 2;
    min-height: 350px;
    background: #eaf5ff;
}

.home-product-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 72%;
    object-fit: contain;
    padding: 0.8rem;
}

.home-product-card::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 47%;
    background: #ffffff;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.home-product-card strong,
.home-product-card span {
    position: relative;
    z-index: 1;
}

.home-product-card strong {
    color: #17211b;
    font-size: 1rem;
    line-height: 1.15;
}

.home-product-card span {
    margin-top: 0.35rem;
    color: #52665e;
    font-size: 0.86rem;
    line-height: 1.35;
}

.home-community-flow-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    margin-top: 0.95rem;
    overflow: hidden;
    border: 1px solid rgba(20, 83, 68, 0.12);
    border-radius: 1.15rem;
    background: rgba(20, 83, 68, 0.12);
}

.home-community-flow-strip > div {
    display: grid;
    gap: 0.25rem;
    padding: 0.9rem;
    background: #f8fffb;
}

.home-community-flow-strip span {
    display: grid;
    place-items: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 999px;
    background: #145344;
    color: #ffffff;
    font-weight: 900;
    font-size: 0.82rem;
}

.home-community-flow-strip strong {
    color: #17211b;
    line-height: 1.15;
}

.home-community-flow-strip small {
    color: #52665e;
    line-height: 1.35;
}

.home-pain-section {
    background: #fffaf2;
    padding-top: clamp(2.5rem, 5vw, 4.5rem);
    padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.home-pain-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(1.5rem, 4vw, 3.5rem);
    align-items: center;
    padding: clamp(1.4rem, 4vw, 3rem);
    border-radius: 1.75rem;
    background: #12352d;
    color: #ffffff;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.16);
}

.home-pain-panel .home-story-section-copy p {
    color: rgba(255, 255, 255, 0.78);
}

.home-pain-grid {
    display: grid;
    gap: 0.8rem;
}

.home-pain-grid article {
    display: grid;
    gap: 0.25rem;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.08);
}

.home-pain-grid strong {
    color: #ffffff;
}

.home-pain-grid span {
    color: rgba(255, 255, 255, 0.76);
    line-height: 1.4;
}

.home-centered-copy {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.home-step-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1rem, 2vw, 1.25rem);
    margin-top: clamp(1.5rem, 3vw, 2.5rem);
}

.home-step-strip article,
.home-audience-grid .home-story-card {
    background: #ffffff;
    border-color: rgba(20, 83, 68, 0.12);
}

.home-step-strip article {
    padding: clamp(1.1rem, 2vw, 1.35rem);
    border: 1px solid rgba(20, 83, 68, 0.12);
    border-radius: 1.35rem;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
}

.home-step-strip span {
    display: grid;
    place-items: center;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 999px;
    background: #f59e0b;
    color: #17211b;
    font-weight: 900;
}

.home-step-strip h3 {
    margin: 0.85rem 0 0;
    color: #17211b;
    font-size: 1.16rem;
    font-weight: 850;
    letter-spacing: -0.02em;
}

.home-step-strip p {
    margin: 0.55rem 0 0;
    color: #52665e;
    line-height: 1.55;
}

.home-audience-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1rem, 2vw, 1.25rem);
}

.home-story-band-dark {
    background: #0f4035;
}

.home-story-band-dark .btn-primary {
    background: #ffffff;
    border-color: #ffffff;
    color: #0f4035;
}

.home-story-band-dark .btn-primary:hover,
.home-story-band-dark .btn-primary:focus {
    background: #f2f8f5;
    border-color: #f2f8f5;
    color: #0f4035;
}

@media (max-width: 991.98px) {
    .home-story-hero-grid,
    .home-pain-panel,
    .home-story-split,
    .home-story-demo-grid {
        grid-template-columns: 1fr;
    }

    .home-product-showcase,
    .home-step-strip,
    .home-audience-grid {
        grid-template-columns: 1fr;
    }

    .home-product-card-large {
        min-height: 260px;
    }

    .home-community-flow-strip {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .home-community-hero {
        padding-top: 2.35rem;
        padding-bottom: 2.4rem;
    }

    .home-story-hero-copy h1 {
        font-size: clamp(2.05rem, 10vw, 2.72rem);
    }

    .home-story-lead {
        font-size: 1rem;
        line-height: 1.58;
    }

    .home-community-visual,
    .home-pain-panel {
        border-radius: 1.2rem;
    }

    .home-product-card,
    .home-product-card-large {
        min-height: 210px;
    }

    .home-product-card img {
        height: 68%;
    }
}

/* Homepage pain-point bullet simplification */
.home-pain-panel .home-story-section-copy h2 {
    max-width: 13ch;
}

.home-pain-grid {
    gap: 0.7rem;
}

.home-pain-grid article {
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 0.75rem;
    row-gap: 0.18rem;
    align-items: start;
    padding: 0.95rem 1rem;
}

.home-pain-grid article::before {
    content: "";
    grid-row: 1 / span 2;
    width: 0.62rem;
    height: 0.62rem;
    margin-top: 0.42rem;
    border-radius: 999px;
    background: #f59e0b;
    box-shadow: 0 0 0 0.24rem rgba(245, 158, 11, 0.18);
}

.home-pain-grid strong,
.home-pain-grid span {
    grid-column: 2;
}

.home-pain-grid span {
    font-size: 0.98rem;
}

/* Homepage CTA/footer green unification */
.home-story-band-dark {
    background: #12352d;
}

.home-story-band-dark + .public-site-footer,
.public-site-footer {
    background: #12352d;
}

.home-story-band-dark {
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}
/* ===== LocalLoop hybrid bright community homepage END ===== */





/* Neutral homepage workflow/product-mix visual.
   Avoids highlighting named vendors or individual product-line partners. */
.home-neutral-showcase {
  border: 1px solid rgba(15, 95, 75, 0.18);
  border-radius: 1.25rem;
  background: #ffffff;
  padding: 1rem;
}

.home-neutral-showcase__header {
  border: 1px solid rgba(15, 95, 75, 0.14);
  border-radius: 1rem;
  background: #f7fbf9;
  padding: 1rem;
  margin-bottom: 1rem;
}

.home-neutral-showcase__header span {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 0.55rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: #e8f4ef;
  color: #075a46;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-neutral-showcase__header strong {
  display: block;
  color: #0f172a;
  font-size: 1.08rem;
  line-height: 1.2;
}

.home-neutral-showcase__header small {
  display: block;
  margin-top: 0.45rem;
  color: #475569;
  line-height: 1.45;
}

.home-neutral-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.home-neutral-card {
  min-height: 9rem;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 1rem;
  background: #fbfcfd;
  padding: 0.95rem;
}

.home-neutral-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.75rem;
  border-radius: 999px;
  background: #075a46;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
}

.home-neutral-card strong {
  display: block;
  color: #0f172a;
  line-height: 1.2;
}

.home-neutral-card small {
  display: block;
  margin-top: 0.35rem;
  color: #475569;
  line-height: 1.4;
}

@media (max-width: 575.98px) {
  .home-neutral-grid {
    grid-template-columns: 1fr;
  }

  .home-neutral-card {
    min-height: 0;
  }
}

/* Compact fundraiser identity for public buyer flow */
.public-fundraiser-identity,
.public-storefront-summary {
  border-radius: 1rem;
}

.public-fundraiser-identity .card-body,
.public-storefront-summary .card-body {
  padding: 1rem;
}

.public-fundraiser-identity__inner {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  min-width: 0;
}

.public-fundraiser-identity__logo {
  width: 4.25rem;
  height: 4.25rem;
  flex: 0 0 4.25rem;
  border: 1px solid var(--bs-border-color);
  border-radius: 0.9rem;
  background: var(--bs-body-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.public-fundraiser-identity__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.35rem;
}

.public-fundraiser-identity__placeholder {
  font-weight: 700;
  color: var(--bs-secondary-color);
}

.public-fundraiser-identity__name {
  font-weight: 700;
  line-height: 1.2;
}

.public-storefront-summary__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-left: auto;
  flex-wrap: wrap;
}

.public-storefront-summary__attribution {
  line-height: 1.25;
}

.public-story-card .card-body {
  padding: 1rem;
}

@media (max-width: 575.98px) {
  .public-fundraiser-identity__logo {
    width: 3.5rem;
    height: 3.5rem;
    flex-basis: 3.5rem;
  }

  .public-storefront-summary__actions {
    width: 100%;
    margin-left: 0;
    justify-content: flex-start;
  }
}

/* ===== Public onboarding/contact/home CTA polish START ===== */
.onboarding-resources {
    max-width: 1540px;
}

.onboarding-resources .hub-panel,
.onboarding-resources .hub-card {
    padding: clamp(1.25rem, 2vw, 2rem);
    border-radius: 20px;
}

.onboarding-resources .hub-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.onboarding-resources .hub-card {
    grid-column: auto;
    min-height: 0;
}

.onboarding-resources .hub-card h2,
.onboarding-resources .hub-panel h2 {
    margin: 0 0 0.65rem;
    font-weight: 850;
    letter-spacing: -0.025em;
}

.onboarding-resources .hub-card p {
    margin: 0 0 0.85rem;
    max-width: 92ch;
}

.onboarding-resources .hub-card ul {
    margin: 0.65rem 0 0;
    padding-left: 1.35rem;
    line-height: 1.62;
}

.onboarding-resources .hub-card li + li {
    margin-top: 0.22rem;
}

.onboarding-resources .hub-panel p + p {
    margin-top: 0.75rem;
}

.contact-page-section .contact-note .btn {
    margin-top: 0.2rem;
}

@media (max-width: 575.98px) {
    .onboarding-resources .hub-panel,
    .onboarding-resources .hub-card {
        padding: 1.1rem;
    }

    .onboarding-resources .hub-grid {
        gap: 0.95rem;
    }
}
/* ===== Public onboarding/contact/home CTA polish END ===== */

/* ===== Public marketing photography START ===== */
.public-marketing-photo {
    min-width: 0;
    max-width: 100%;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(20, 83, 68, 0.16);
    border-radius: 1.35rem;
    background: #ffffff;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.14);
}

.public-marketing-photo img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.public-marketing-photo figcaption {
    max-width: 100%;
    padding: 0.8rem 1rem;
    background: #f7f3ea;
    color: #2f4f46;
    font-size: 0.9rem;
    font-weight: 750;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.home-community-visual--photo {
    padding: clamp(0.9rem, 2vw, 1.2rem);
}

.home-community-visual--photo .home-community-flow-strip {
    margin-top: 0.9rem;
}

.hub-marketing-hero {
    padding: clamp(1rem, 2.5vw, 1.5rem);
    border: 1px solid rgba(20, 83, 68, 0.14);
    border-radius: 1.75rem;
    background: #fffaf2;
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.12);
}

.hub-marketing-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr);
    gap: clamp(1.5rem, 4vw, 3.5rem);
    align-items: center;
}

.home-story-hero-grid > *,
.hub-marketing-hero__grid > *,
.home-story-trust-row > * {
    min-width: 0;
}

.home-story-hero-copy,
.hub-marketing-hero__copy,
.home-community-visual,
.home-story-actions,
.home-story-trust-row {
    max-width: 100%;
}

.hub-marketing-hero__copy {
    padding: clamp(0.75rem, 2.5vw, 2.5rem);
}

.hub-marketing-hero__copy .hub-hero-title {
    max-width: 14ch;
}

@media (max-width: 991.98px) {
    .hub-marketing-hero__grid {
        grid-template-columns: 1fr;
    }

    .hub-marketing-hero__copy {
        padding: 0.75rem 0.35rem 0;
    }
}

@media (max-width: 575.98px) {
    .hub-marketing-hero {
        padding: 0.8rem;
        border-radius: 1.2rem;
    }

    .public-marketing-photo {
        border-radius: 1rem;
    }

    .public-marketing-photo figcaption {
        padding: 0.75rem 0.85rem;
        font-size: 0.84rem;
    }

    .home-story-pill {
        max-width: 100%;
        white-space: normal;
    }

    .home-story-actions .btn,
    .hub-marketing-hero__copy .btn {
        min-width: 0;
        max-width: 100%;
        white-space: normal;
    }

    .home-story-hero-copy h1,
    .home-story-lead,
    .home-story-trust-row,
    .hub-marketing-hero__copy .hub-hero-title,
    .hub-marketing-hero__copy .hub-hero-subtitle {
        overflow-wrap: anywhere;
    }
}
/* ===== Public marketing photography END ===== */

/* ===== Contact/onboarding follow-up refinement START ===== */
.onboarding-resources {
    padding-top: clamp(1.2rem, 3vw, 2.5rem);
    padding-bottom: clamp(2rem, 4vw, 3.5rem);
}

.contact-card__guidance {
    margin-top: 1.35rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(15, 23, 42, 0.12);
}

.contact-card__guidance h3 {
    margin: 0 0 0.6rem;
    font-size: clamp(1.2rem, 2vw, 1.55rem);
    font-weight: 850;
    letter-spacing: -0.025em;
}

.contact-card__guidance p {
    margin: 0;
    line-height: 1.58;
}

.contact-card__guidance p + p {
    margin-top: 0.55rem;
}
/* ===== Contact/onboarding follow-up refinement END ===== */

/* Buyer flow wide desktop layout */
.layout-public main > .public-buyer-flow-container {
    max-width: 1540px;
    padding-left: clamp(0.875rem, 2vw, 2rem);
    padding-right: clamp(0.875rem, 2vw, 2rem);
}

.public-buyer-flow-content {
    width: 100%;
}

@media (max-width: 575.98px) {
    .layout-public main > .public-buyer-flow-container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
}

/* ===== Controlled external UAT portal START ===== */
.uat-shell,
.uat-issue-section,
.uat-access-section {
    width: min(100%, 1180px);
    margin: 0 auto;
}

.uat-portal-header,
.uat-section-heading,
.uat-complete-band {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.25rem;
}

.uat-portal-header {
    padding: 1.25rem 0 1.5rem;
}

.uat-portal-header h1,
.uat-issue-section h1,
.uat-access-panel h1 {
    margin: 0.25rem 0 0.6rem;
    color: #102033;
    font-size: clamp(2rem, 4vw, 3.35rem);
    line-height: 1.08;
    font-weight: 850;
}

.uat-portal-header p,
.uat-issue-section p,
.uat-access-panel p {
    margin: 0;
    color: #475569;
    line-height: 1.55;
}

.uat-eyebrow,
.uat-step-label {
    color: #005cb9 !important;
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.uat-band,
.uat-issue-section,
.uat-access-panel,
.uat-complete-band {
    margin-bottom: 1.25rem;
    padding: clamp(1rem, 3vw, 1.75rem);
    border: 1px solid rgba(15, 23, 42, 0.13);
    border-radius: 8px;
    background: #ffffff;
}

.uat-band h2,
.uat-complete-band h2 {
    margin: 0;
    color: #102033;
    font-size: clamp(1.35rem, 2.5vw, 1.9rem);
    font-weight: 800;
}

.uat-section-heading {
    margin-bottom: 1.25rem;
}

.uat-start-grid,
.uat-issue-form,
.uat-response-controls,
.uat-question-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.uat-form-wide {
    grid-column: 1 / -1;
    min-width: 0;
}

.uat-instruction-list {
    display: grid;
    gap: 0.65rem;
    margin: 0;
    padding-left: 1.35rem;
    color: #334155;
    line-height: 1.5;
}

.uat-exploration-safety {
    border: 1px solid #d97706;
    background: #fff7e6;
    color: #5f370e;
}

.uat-exploration-safety {
    margin-bottom: 1.2rem;
    padding: 1rem;
    border-radius: 6px;
    line-height: 1.55;
}

.uat-exploration-safety strong {
    color: #7c2d12;
}

.user-testing-payment-modal {
    border: 1px solid #d97706;
    border-radius: 8px;
}

.user-testing-payment-modal .modal-header {
    background: #fff7e6;
    border-bottom-color: #f1c27d;
}

.user-testing-payment-modal .modal-title,
.user-testing-payment-modal strong {
    color: #7c2d12;
}

.uat-controlled-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.uat-controlled-grid > div {
    min-width: 0;
    padding: 1rem;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 6px;
    background: #f8fafc;
}

.uat-controlled-grid h3,
.uat-response h3 {
    margin: 0 0 0.5rem;
    color: #102033;
    font-size: 1.08rem;
    font-weight: 800;
}

.uat-qr {
    display: block;
    width: min(100%, 180px);
    height: auto;
    margin-top: 0.75rem;
}

.uat-payment-warning {
    margin-top: 1rem;
    padding: 1rem;
    border-left: 4px solid #b42318;
    background: #fff4f2;
    color: #5f1b14;
    line-height: 1.55;
}

.uat-response-list {
    display: grid;
    gap: 1rem;
}

.uat-response {
    min-width: 0;
    padding: 1rem 0;
    border-top: 1px solid rgba(15, 23, 42, 0.12);
}

.uat-response:first-child {
    border-top: 0;
    padding-top: 0;
}

.uat-response-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.uat-response > p {
    color: #475569;
    line-height: 1.5;
}

.uat-response-controls {
    margin: 1rem 0;
}

.uat-question-grid {
    margin: 1rem 0;
}

.uat-complete-band {
    align-items: center;
    background: #eef8f3;
}

.uat-access-section {
    display: grid;
    place-items: center;
    min-height: 60vh;
}

.uat-access-panel {
    width: min(100%, 520px);
}

.uat-access-form {
    display: grid;
    gap: 1rem;
    margin-top: 1.25rem;
}

.public-uat-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.65rem clamp(1rem, 4vw, 2rem);
    border-bottom: 1px solid #fecaca;
    background: #fff7ed;
    color: #7c2d12;
}

.public-uat-toolbar strong,
.public-uat-toolbar span {
    display: block;
}

.public-uat-toolbar span {
    font-size: 0.82rem;
}

@media (max-width: 767.98px) {
    .uat-portal-header,
    .uat-section-heading,
    .uat-complete-band {
        flex-direction: column;
    }

    .uat-start-grid,
    .uat-issue-form,
    .uat-response-controls,
    .uat-question-grid,
    .uat-controlled-grid {
        grid-template-columns: 1fr;
    }

    .uat-form-wide {
        grid-column: auto;
    }

    .public-uat-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .public-uat-toolbar .btn {
        width: 100%;
    }
}
/* ===== Controlled external UAT portal END ===== */

/* ===== Customer-facing local partner stories START ===== */
.public-partner-link {
    color: #176b55;
    font-weight: 700;
    text-decoration-color: rgba(23, 107, 85, 0.35);
    text-underline-offset: 0.18em;
}

.public-partner-link:hover,
.public-partner-link:focus {
    color: #0f513f;
    text-decoration-color: currentColor;
}

.public-product-partner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
    padding: 0.75rem 0.9rem;
    border-left: 3px solid #2c8b6f;
    background: #eff8f4;
}

.public-product-partner span:first-child {
    color: #53665f;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.public-product-partner a {
    color: #145e49;
    font-weight: 800;
    text-decoration: none;
}

.partner-story-shell {
    width: min(1180px, 100%);
    margin: 0 auto;
    color: #17251f;
}

.partner-story-back {
    display: inline-block;
    margin: 0.25rem 0 1.25rem;
    color: #416057;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
}

.partner-story-back:hover,
.partner-story-back:focus {
    color: #145e49;
    text-decoration: underline;
}

.partner-story-hero {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(380px, 1.08fr);
    min-height: 560px;
    overflow: hidden;
    border-radius: 20px;
    background: #183f35;
    box-shadow: 0 20px 55px rgba(20, 54, 45, 0.16);
}

.partner-story-hero__copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: clamp(2.25rem, 5vw, 4.75rem);
    color: #fff;
}

.partner-story-kicker,
.partner-story-section-label {
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.partner-story-kicker {
    margin-bottom: 1.5rem;
    padding: 0.45rem 0.72rem;
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 999px;
    color: #dff6ed;
}

.partner-story-eyebrow {
    margin: 0 0 0.65rem;
    color: #b9e0d2;
    font-weight: 700;
}

.partner-story-hero h1 {
    max-width: 620px;
    margin: 0;
    color: #fff;
    font-size: clamp(2.55rem, 5vw, 4.6rem);
    font-weight: 850;
    letter-spacing: -0.045em;
    line-height: 0.98;
}

.partner-story-lead {
    max-width: 620px;
    margin: 1.5rem 0 1.75rem;
    color: #e0eee9;
    font-size: clamp(1.05rem, 1.8vw, 1.28rem);
    line-height: 1.65;
}

.partner-story-hero__media {
    display: grid;
    place-items: center;
    min-height: 460px;
    padding: clamp(0.75rem, 2vw, 1.25rem);
    background: #f2eadb;
}

.partner-story-hero__media img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 560px;
    object-fit: contain;
    object-position: center;
}

.partner-story-placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    min-height: 220px;
    padding: 2rem;
    color: #5d6d66;
    font-weight: 800;
    text-align: center;
}

.partner-story-section {
    padding: clamp(3.75rem, 8vw, 7rem) clamp(1rem, 5vw, 4rem);
}

.partner-story-about {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(2rem, 7vw, 7rem);
    align-items: start;
}

.partner-story-section-label {
    margin: 0 0 0.8rem;
    color: #26765f;
}

.partner-story-section h2 {
    margin: 0;
    color: #173f34;
    font-size: clamp(2rem, 3.5vw, 3.15rem);
    font-weight: 850;
    letter-spacing: -0.035em;
    line-height: 1.08;
}

.partner-story-prose {
    color: #4b5c56;
    font-size: 1.08rem;
    line-height: 1.8;
}

.partner-story-prose p:last-child {
    margin-bottom: 0;
}

.partner-story-highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid #dce9e4;
    border-radius: 16px;
    background: #dce9e4;
}

.partner-story-highlights article {
    padding: clamp(1.6rem, 4vw, 3rem);
    background: #f6fbf8;
}

.partner-story-highlights span {
    display: block;
    margin-bottom: 2.25rem;
    color: #72a391;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.partner-story-highlights h2 {
    margin: 0 0 0.75rem;
    color: #173f34;
    font-size: 1.25rem;
    font-weight: 800;
}

.partner-story-highlights p {
    margin: 0;
    color: #586963;
    line-height: 1.65;
}

.partner-story-products {
    padding-left: 0;
    padding-right: 0;
}

.partner-story-products__head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2rem;
}

.partner-story-products__head a,
.partner-story-product__body a {
    color: #176b55;
    font-weight: 800;
    text-decoration: none;
}

.partner-story-product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.partner-story-product {
    overflow: hidden;
    border: 1px solid #dce6e2;
    border-radius: 14px;
    background: #fff;
}

.partner-story-product__media {
    aspect-ratio: 4 / 3;
    background: #f7f4ed;
}

.partner-story-product__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.partner-story-product__body {
    padding: 1.2rem;
}

.partner-story-product__body h3 {
    margin: 0 0 0.35rem;
    color: #173f34;
    font-size: 1.08rem;
    font-weight: 800;
}

.partner-story-product__body p {
    margin: 0 0 0.55rem;
    color: #68766f;
    font-size: 0.9rem;
}

.partner-story-product__details {
    color: #176b55;
    font-weight: 800;
    text-decoration: none;
}

.partner-story-product__details:hover,
.partner-story-product__details:focus {
    color: #0f513f;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.partner-product-information {
    width: min(980px, 100%);
    margin: 0 auto;
}

.partner-product-information__back {
    display: inline-block;
    margin: 0.25rem 0 1.25rem;
    color: #176b55;
    font-weight: 800;
    text-decoration: none;
}

.partner-product-information__back:hover,
.partner-product-information__back:focus {
    color: #0f513f;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.partner-product-information__card {
    display: grid;
    grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
    overflow: hidden;
    border: 1px solid #dce6e2;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 14px 36px rgba(20, 54, 45, 0.12);
}

.partner-product-information__media {
    display: grid;
    place-items: center;
    min-height: 460px;
    padding: clamp(1rem, 3vw, 2rem);
    background: #f7f3ea;
}

.partner-product-information__media img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 430px;
    object-fit: contain;
    object-position: center;
}

.partner-product-information__body {
    padding: clamp(2rem, 5vw, 4rem);
}

.partner-product-information__body h1 {
    margin: 0 0 0.75rem;
    color: #173f34;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 850;
    letter-spacing: -0.035em;
    line-height: 1.05;
}

.partner-product-information__size {
    margin: 0 0 1.5rem;
    color: #68766f;
    font-weight: 700;
}

.partner-product-information__description {
    margin: 0;
    color: #4b5c56;
    font-size: 1.05rem;
    line-height: 1.75;
}

.partner-product-information__allergens {
    margin-top: 1.75rem;
    padding: 1rem 1.1rem;
    border: 1px solid #efd88a;
    border-radius: 0.6rem;
    background: #fff4cf;
    color: #654d00;
}

.partner-product-information__allergens h2 {
    margin: 0 0 0.35rem;
    font-size: 0.95rem;
    font-weight: 800;
}

.partner-product-information__allergens p {
    margin: 0;
    line-height: 1.55;
}

.partner-story-closing {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: clamp(2rem, 5vw, 3.75rem);
    border-radius: 16px;
    background: #d57b36;
    color: #fff;
}

.partner-story-closing p {
    max-width: 720px;
    margin: 0;
    font-size: clamp(1.65rem, 3vw, 2.65rem);
    font-weight: 850;
    letter-spacing: -0.03em;
    line-height: 1.08;
}

@media (max-width: 899.98px) {
    .partner-story-hero,
    .partner-story-about {
        grid-template-columns: 1fr;
    }

    .partner-story-hero__media {
        min-height: 360px;
        order: -1;
        aspect-ratio: 3 / 2;
    }

    .partner-story-highlights,
    .partner-story-product-grid {
        grid-template-columns: 1fr;
    }

    .partner-story-products__head,
    .partner-story-closing {
        align-items: flex-start;
        flex-direction: column;
    }

    .partner-product-information__card {
        grid-template-columns: 1fr;
    }

    .partner-product-information__media {
        min-height: 360px;
    }
}

@media (max-width: 575.98px) {
    .partner-story-hero {
        min-height: 0;
        border-radius: 12px;
    }

    .partner-story-hero__media {
        min-height: 0;
    }

    .partner-story-hero__copy {
        padding: 2rem 1.35rem 2.4rem;
    }

    .partner-story-section {
        padding: 3.5rem 0.25rem;
    }

    .partner-story-highlights,
    .partner-story-closing {
        border-radius: 12px;
    }

    .partner-product-information__media {
        min-height: 280px;
    }

    .partner-product-information__body {
        padding: 1.5rem;
    }
}
/* ===== Customer-facing local partner stories END ===== */

/* ===== Storefront partner discovery START ===== */
.public-storefront-partners {
    padding: clamp(1.1rem, 2.4vw, 1.75rem);
    border: 1px solid #cadfd7;
    border-radius: 1rem;
    background: #f2f8f5;
    box-shadow: 0 0.25rem 0.75rem rgba(20, 83, 68, 0.08);
}

.public-storefront-partners__head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.1rem;
}

.public-storefront-partners__eyebrow,
.public-storefront-partner-card__label {
    margin: 0 0 0.3rem;
    color: #26765f;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.public-storefront-partners__head h2 {
    margin: 0;
    color: #173f34;
    font-size: clamp(1.3rem, 2.2vw, 1.75rem);
    font-weight: 850;
    letter-spacing: -0.025em;
}

.public-storefront-partners__head > div > p:last-child {
    margin: 0.4rem 0 0;
    color: #596a64;
}

.public-storefront-partners__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.public-storefront-partner-card {
    display: grid;
    grid-template-columns: minmax(190px, 0.8fr) minmax(0, 1.2fr);
    min-width: 0;
    overflow: hidden;
    border: 1px solid #d7e4df;
    border-radius: 0.85rem;
    background: #fff;
}

.public-storefront-partner-card__media {
    display: grid;
    place-items: center;
    min-width: 0;
    min-height: 220px;
    padding: 0.65rem;
    background: #f7f3ea;
    text-decoration: none;
}

.public-storefront-partner-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 220px;
    object-fit: contain;
    object-position: center;
}

.public-storefront-partner-card__media span {
    color: #456057;
    font-weight: 800;
    text-align: center;
}

.public-storefront-partner-card__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    padding: 1.15rem;
}

.public-storefront-partner-card__body h3 {
    margin: 0 0 0.45rem;
    color: #173f34;
    font-size: 1.15rem;
    font-weight: 850;
}

.public-storefront-partner-card__summary {
    display: -webkit-box;
    margin: 0 0 0.8rem;
    overflow: hidden;
    color: #596a64;
    font-size: 0.9rem;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.public-storefront-partner-card__link {
    margin-top: auto;
    color: #176b55;
    font-size: 0.9rem;
    font-weight: 800;
    text-decoration: none;
}

.public-storefront-partner-card__link:hover,
.public-storefront-partner-card__link:focus {
    color: #0f513f;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.public-lineup-card__media {
    height: auto;
    aspect-ratio: 3 / 2;
    background: #f7f3ea;
}

.public-lineup-card__media.public-media--contain img {
    padding: 0.4rem;
    background: #f7f3ea;
    object-fit: contain;
    object-position: center;
}

.public-product-partner-story {
    display: grid;
    grid-template-columns: minmax(250px, 0.85fr) minmax(0, 1.15fr);
    overflow: hidden;
    border: 1px solid #cadfd7;
    border-radius: 1rem;
    background: #f2f8f5;
    box-shadow: 0 0.25rem 0.75rem rgba(20, 83, 68, 0.08);
}

.public-product-partner-story__media {
    display: grid;
    place-items: center;
    min-height: 240px;
    padding: 0.75rem;
    background: #f7f3ea;
}

.public-product-partner-story__media:empty {
    display: none;
}

.public-product-partner-story__media img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 250px;
    object-fit: contain;
    object-position: center;
}

.public-product-partner-story__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-width: 0;
    padding: clamp(1.25rem, 3vw, 2rem);
}

.public-product-partner-story__eyebrow {
    margin: 0 0 0.35rem;
    color: #26765f;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.public-product-partner-story__body h2 {
    margin: 0 0 0.65rem;
    color: #173f34;
    font-size: clamp(1.35rem, 2.4vw, 1.85rem);
    font-weight: 850;
    letter-spacing: -0.025em;
}

.public-product-partner-story__body > p:not(.public-product-partner-story__eyebrow) {
    margin: 0 0 1rem;
    color: #596a64;
    line-height: 1.6;
}

@media (max-width: 1199.98px) {
    .public-storefront-partner-card {
        grid-template-columns: minmax(165px, 0.75fr) minmax(0, 1.25fr);
    }
}

@media (max-width: 991.98px) {
    .public-storefront-partners__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .public-storefront-partners {
        padding: 1rem;
    }

    .public-storefront-partner-card {
        grid-template-columns: 1fr;
    }

    .public-storefront-partner-card__media {
        min-height: 0;
        aspect-ratio: 3 / 2;
    }

    .public-storefront-partner-card__media img {
        max-height: none;
    }

    .public-storefront-partner-card__summary {
        -webkit-line-clamp: 3;
    }

    .public-product-partner-story {
        grid-template-columns: 1fr;
    }

    .public-product-partner-story__media {
        min-height: 0;
        aspect-ratio: 3 / 2;
    }

    .public-product-partner-story__media img {
        max-height: none;
    }
}
/* ===== Storefront partner discovery END ===== */
