/* The portable Restaurant homepage supplies its own native header/footer.
   Scope the replacement to this pack so the Agency and Home Service sites retain their chrome. */
body.ras-design .wp-site-blocks > header.ls-site-header,
body.ras-design .wp-site-blocks > footer { display: none; }
body.ras-design .lsa-website-demo-content,
body.ras-design .rpf-site-header,
body.ras-design .rpf-site-footer { margin: 0; padding: 0; max-width: none; }
body.ras-design .rpf-site-header .ls-header-main-row { margin-inline: auto; }
body.ras-design .rpf-site-header .ls-brand { min-width: 0; }
body.ras-design .rpf-site-header .wp-block-site-title { font-size: 21px; line-height: 1.25; }
body.ras-design .rpf-site-footer .ls-site-footer { margin: 0; }
body.ras-design .ras-menu-card > img { width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover; }
body.ras-design .rsb-form fieldset:disabled { opacity: 1; }
body.ras-design .rsb-preview-note { font-size: 14px; }
body.ras-design .rpf-field { width:100%;min-height:48px;border:1px solid #cfcfc8;border-radius:4px;background:#fff;color:#30352f;padding:12px 14px;box-sizing:border-box;font-size:16px; }
body.ras-design .rpf-field--note { min-height:76px; }
body.ras-design .rsb-field > span[for] { display:block;margin-bottom:7px;font-weight:600; }
body.ras-design span.rsb-submit { display:inline-flex;align-items:center;justify-content:center;min-height:48px; }
/* Native disclosure remains interactive under the Agency preview policy. */
body.ras-design .rpf-mobile-navigation { display:none; }
@media(max-width:1023px) {
 body.ras-design .rpf-site-header .ls-header-cta,
 body.ras-design .rpf-site-header .rpf-desktop-navigation { display:none; }
 body.ras-design .rpf-site-header .ls-header-main-row { flex-wrap:nowrap; gap:16px; }
 body.ras-design .rpf-site-header .ls-brand { flex:1; }
 body.ras-design .rpf-site-header .ls-header-actions { flex-shrink:0; }
 body.ras-design .rpf-site-header .wp-block-site-title { font-size:18px; overflow-wrap:anywhere; }
 body.ras-design .rpf-mobile-navigation { display:block; }
 body.ras-design .rpf-mobile-navigation summary { display:flex;align-items:center;justify-content:center;position:relative;z-index:100001;cursor:pointer;width:44px;height:44px;list-style:none;color:var(--ras-on-dark,#fff); }
 body.ras-design .rpf-mobile-navigation summary::-webkit-details-marker { display:none; }
 body.ras-design .rpf-menu-label { position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%); }
 body.ras-design .rpf-menu-icon { width:22px;height:16px;border-block:2px solid currentColor;position:relative; }
 body.ras-design .rpf-menu-icon:after { content:"";position:absolute;left:0;right:0;top:5px;border-top:2px solid currentColor; }
 body.ras-design .rpf-mobile-navigation[open] summary { position:fixed;right:24px;top:20px; }
 body.ras-design .rpf-mobile-navigation[open] .rpf-menu-icon { border:0;width:24px;height:24px; }
 body.ras-design .rpf-mobile-navigation[open] .rpf-menu-icon:before,
 body.ras-design .rpf-mobile-navigation[open] .rpf-menu-icon:after { content:"";position:absolute;left:0;right:0;top:11px;border-top:2px solid currentColor;transform:rotate(45deg); }
 body.ras-design .rpf-mobile-navigation[open] .rpf-menu-icon:after { transform:rotate(-45deg); }
 body.ras-design .rpf-mobile-panel { position:fixed;inset:0;z-index:100000;background:var(--wp--preset--color--secondary,#14251c);color:var(--ras-on-dark,#fff);padding:90px 28px 32px;overflow:auto; }
 body.ras-design .rpf-mobile-panel ul { margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:8px; }
 body.ras-design .rpf-mobile-panel li { margin:0;padding:0; }
 body.ras-design .rpf-mobile-panel a { color:inherit;display:block;padding:14px 8px;font-size:20px;line-height:1.3;text-decoration:none; }
 body.ras-design .rpf-mobile-panel .rpf-mobile-cta { margin-top:20px; }
 body.ras-design .rpf-mobile-panel .rpf-mobile-cta > a { display:flex;justify-content:center;width:100%;box-sizing:border-box;padding:16px 24px;background:var(--wp--preset--color--primary);color:var(--ras-button-text,#fff8eb);border-radius:4px;font-weight:700; }
 body.ras-design:has(.rpf-mobile-navigation[open]) { overflow:hidden; }
}

/* Static contact entries have no icon column; keep their full text width. */
body.ras-design .rpf-site-footer .ls-footer-contact li { display:block; }
body.ras-design .rpf-site-footer .ls-footer-contact li + li { margin-top:12px; }
body.ras-design .rpf-site-footer .ls-footer-contact :is(a,span) { overflow-wrap:anywhere;max-width:100%; }
body.ras-design .rpf-field { background:var(--rsb-surface,#fff);color:var(--rsb-ink,#30352f);border-color:var(--rsb-line,#cfcfc8); }
body.ras-design .rsb-field > span:first-child { display:block;font-size:14px;font-weight:600;line-height:1.45;margin:0; }
