/* Lane 2: business profile in the Stitch Harmonized Master language (f0c778 desktop, a6e4e7 mobile), social engagement (a973f2, cfa93b, e98dcc) and Phase 2 follow states (a7255c, 6ffc44, bde1a9).
   Loaded after listing-direction-a.css on single listing pages. Only existing, real data is styled: no verified, civic-record or registry badges exist in code (Repository::public_verified_badge returns null). */

/* ---- Status strip: breadcrumb band with open-today and area (Master "sub-navigation") ---- */
.fp-profile .fp-crumbs{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 16px;width:100vw;margin:0 calc(50% - 50vw);padding:12px max(16px,calc(50vw - 50% + 0px));box-sizing:border-box;border-bottom:1px solid var(--fp-line);background:var(--fp-soft)}
.fp-profile .fp-crumbs{padding-left:max(16px,calc((100vw - 1200px) / 2));padding-right:max(16px,calc((100vw - 1200px) / 2))}
.fp-profile .fp-status{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin:0;font-size:var(--igta-font-size-sm);font-weight:500;color:var(--fp-muted)}
.fp-profile .fp-status__open{display:inline-flex;align-items:center;gap:6px;padding:2px 10px;border-radius:4px;background:#dcefe3;color:#1f5133}
.fp-profile .fp-status__open::before{content:"";width:6px;height:6px;border-radius:50%;background:#2f7d4f}
.fp-profile .fp-status__open.is-closed{background:var(--fp-tint);color:var(--fp-wine)}
.fp-profile .fp-status__open.is-closed::before{background:var(--fp-wine)}
.fp-profile .fp-status__area::before{content:"\00b7";margin-right:12px;color:var(--fp-line)}
.fp-profile .fp-status__open+.fp-status__area::before{content:"\00b7"}
.fp-profile .fp-status__area:first-child::before{content:none}
@media (min-width:761px){.fp-profile .fp-attr--today{display:none}}
@media (max-width:760px){.fp-profile .fp-status{display:none}.fp-profile .fp-crumbs{display:block;width:auto;margin:0;padding:14px 0 10px;border:0;background:transparent}}

/* ---- Title block: category pill, address, larger editorial title ---- */
@media (min-width:761px){
  .fp-profile .fp-eyebrow{text-transform:none;letter-spacing:0;font-weight:500;gap:8px 12px}
  .fp-profile .fp-pill{padding:4px 10px;border-radius:4px;background:var(--fp-tint);color:var(--fp-wine);font-size:12px;font-weight:600;letter-spacing:.5px;text-transform:uppercase}
  .fp-profile .fp-eyebrow>span[aria-hidden]{display:none}
  .fp-profile .fp-eyebrow__place::after{content:""}
  .fp-profile .fp-eyebrow__addr{color:var(--fp-muted);font-weight:400}
  .fp-profile .fp-intro h1{font-size:calc(clamp(40px,4.4vw,60px) * var(--igta-type-scale));line-height:1.05;letter-spacing:-1px}
  .fp-profile .fp-act:not(.fp-act--primary){background:var(--fp-soft);border-color:transparent}
  .fp-profile .fp-act{border-radius:6px}
}
@media (max-width:760px){.fp-profile .fp-pill{padding:0;background:transparent;color:inherit;font:inherit;text-transform:inherit;letter-spacing:inherit}.fp-profile .fp-eyebrow__addr{display:none}}

/* ---- Hero collage: 6 / 3 / 3 columns, one row (Master) ---- */
@media (min-width:761px){
  .fp-profile .fp-gallery-wrap{padding:0;border:0;background:transparent}
  .fp-profile .fp-gallery{height:520px;gap:14px}
  .fp-profile .fp-gallery img{border-radius:12px}
  .fp-profile .fp-gallery-wrap--3 .fp-gallery{grid-template-columns:minmax(0,2fr) minmax(0,1fr) minmax(0,1fr);grid-template-rows:minmax(0,1fr)}
  .fp-profile .fp-gallery-wrap--3 .fp-gallery img:first-child{grid-row:auto}
  .fp-profile .fp-gallery-wrap>.igta-ph{height:420px;border-radius:12px}
  .fp-profile .fp-more-photos>summary{top:16px;right:16px;min-height:36px;padding:0 14px;border-radius:8px;background:rgb(var(--igta-color-background-rgb) / .92)}
}
@media (min-width:761px) and (max-width:1100px){.fp-profile .fp-gallery{height:380px}}

/* ---- Anchor navigation: sticky editorial bar ---- */
@media (min-width:761px){
  .fp-profile .fp-sections{top:var(--wp-admin--admin-bar--height,0px);margin-top:16px;border:1px solid var(--fp-line);background:var(--igta-color-surface);border-radius:8px}
  .fp-profile .fp-sections a[aria-current]{background:var(--fp-tint);box-shadow:none}
}

/* ---- Content blocks as Master cards ---- */
.fp-profile :is(.fp-hours,.fp-rail,.fp-enquiry){border-radius:12px}
.fp-profile .fp-hours__table .fp-hours__today{background:var(--fp-tint)}
.fp-profile :is(.fp-announce,.fp-event,.fp-offer){border-radius:12px;background:var(--igta-color-surface);box-shadow:0 1px 2px rgb(var(--igta-color-text-rgb) / .06)}
.fp-profile .fp-main>section>h2{font-size:calc(30px * var(--igta-type-scale));letter-spacing:-.3px}
.fp-profile .fp-related .fp-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,260px),1fr))}

/* ---- Social engagement bar inside announcements, events and offers (a973f2, cfa93b) ---- */
.fp-profile .igta-social{gap:8px;margin-top:14px;padding-top:12px;border-top:1px solid var(--fp-line)}
.fp-profile .igta-social .igta-social__btn{border-radius:999px;background:var(--fp-soft);border-color:transparent;font-size:var(--igta-font-size-sm);font-weight:500}
.fp-profile .igta-social .igta-social__btn:hover{background:var(--fp-tint);border-color:var(--fp-wine)}
.fp-profile .igta-social .igta-social__btn[aria-pressed="true"],.fp-profile .igta-social .igta-social__btn[aria-pressed="true"]:hover{background:var(--fp-wine);border-color:var(--fp-wine)}
.fp-profile .igta-social .igta-social__btn--interested{border-color:var(--fp-line);background:var(--igta-color-surface)}
.fp-profile .igta-social__note{display:flex;align-items:center;gap:6px;padding:8px 10px;border-radius:8px;background:var(--fp-soft)}
.fp-profile .igta-social__note::before{content:"i";display:inline-flex;flex:none;align-items:center;justify-content:center;width:16px;height:16px;border-radius:50%;background:var(--fp-wine);color:#fff;font:700 11px/1 var(--fp-sans,inherit)}

/* ---- Social state sheet (e98dcc): confirmations, errors and dialogs ---- */
.igta-social__status.is-ok{display:inline-flex;align-items:center;gap:6px;width:fit-content;padding:4px 10px;border-radius:999px;background:#dcefe3;color:#1f5133;font-weight:500}
.igta-social__status.is-ok::before{content:"\2713";font-weight:700}
.igta-social__status.is-error{display:flex;align-items:center;gap:8px;padding:8px 12px;border:1px solid #e6c3c3;border-radius:8px;background:#fbeeee;color:#7a2e2e}
.igta-social__status.is-error::before{content:"!";display:inline-flex;flex:none;align-items:center;justify-content:center;width:18px;height:18px;border-radius:50%;background:#7a2e2e;color:#fff;font:700 12px/1 sans-serif}
.igta-social-dialog{border-radius:16px;box-shadow:0 24px 60px rgb(0 0 0 / .25)}
.igta-social-dialog .igta-social-dialog__eyebrow{margin:0 0 6px;font-size:12px;font-weight:600;letter-spacing:.6px;text-transform:uppercase;color:var(--igta-color-primary,#783645)}
.igta-social-dialog .igta-social-dialog__assure{display:flex;gap:8px;margin:14px 0 0;padding:10px 12px;border-radius:8px;background:var(--igta-color-surface-alt,#f5f1e8);font-size:13px;line-height:18px;color:var(--igta-color-text-muted,#59564f)}
.igta-social-dialog .igta-social-dialog__radio{padding:6px 10px;border:1px solid var(--igta-color-border,#ded9cf);border-radius:8px}
.igta-social-dialog .igta-social-dialog__radio:has(input:checked){border-color:var(--igta-color-primary,#783645);background:var(--igta-color-primary-tint,#f2e6e7)}

/* ---- Follow slot (Phase 2 states a7255c, 6ffc44, bde1a9): same markup, gates and permissions as before ---- */
.fp-profile .igta-contact-follow{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:8px 0 0}
.fp-profile .igta-contact-follow .igta-contact-btn{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 16px;border-radius:999px;border:1px solid var(--fp-wine);background:var(--fp-wine);color:var(--igta-color-primary-contrast,#fff);font-size:var(--igta-font-size-sm);font-weight:600;text-decoration:none}
.fp-profile .igta-contact-follow .igta-contact-btn:is(a,button:not([disabled])):not(.igta-contact-btn--ghost)::before{content:"+";font-size:18px;line-height:1;font-weight:500}
.fp-profile .igta-contact-follow span.igta-contact-btn{background:var(--fp-tint);color:var(--fp-wine)}
.fp-profile .igta-contact-follow span.igta-contact-btn::before{content:"\2713";font-weight:700}
.fp-profile .igta-contact-follow .igta-contact-btn--ghost{background:var(--igta-color-surface);color:var(--fp-ink);border-color:var(--fp-line);font-weight:500}
.fp-profile .igta-contact-follow button[disabled]{opacity:.7}
.fp-profile .igta-contact-follow__status{flex:1 0 100%;padding:0;margin:0;font-size:var(--igta-font-size-sm)}
.fp-profile .igta-contact-follow__status.is-error{display:flex;gap:8px;padding:8px 12px;border:1px solid #e6c3c3;border-radius:8px;background:#fbeeee;color:#7a2e2e}
.fp-profile .igta-contact-follow__status:not(:empty):not(.is-error){padding:6px 12px;border-radius:8px;background:var(--fp-soft)}

@media (prefers-reduced-motion:reduce){.fp-profile *{scroll-behavior:auto!important}}
