/* Momentic 2027 phone detail fixes (fix pass 14 (1.0.1: open role rows, wrapped code lines), agent opus-5.5|claude-code|mob14, 2026-11-23).
   Record: site-2027/QA/FIX-LOG-14.md, findings site-2027/QA/MOBILE-AUDIT.md. Linked from the site head block PHONE START/END.
   Rules at all widths are text or state bugs (a missing space, a hidden attribute ignored, a code line under its Copy button,
   the browser-blue input focus). Everything else is scoped to 991 px and below. Nothing targets 992 px and up except those. */

/* All widths */
.mw-ind-inline-link{margin-left:.3em}                                   /* "company.Read the case study" had no space */
.mw-gu-empty[hidden]{display:none!important}                            /* empty state showed above 50 updates */
.mw-mo-code>pre{padding-right:5rem}                                     /* code ran under the Copy button */
.mw-form-input:focus,.mw-form-input._w-input:focus{border-color:var(--_website---border-strong,#1f201b);box-shadow:0 0 0 1px var(--_website---border-strong,#1f201b)} /* Webflow default blue focus */
.mw-breadcrumb-item+.mw-breadcrumb-item::before{content:"/";color:var(--_website---text-tertiary,#85867d)} /* crumbs had no separator */
.mw-cookie-dialog{max-height:calc(100dvh - 2rem)}

@media screen and (max-width:991px){
  .mw-about-answers{flex-basis:auto}                                    /* column flex turned 24rem into a height; cards covered the beliefs list */
  .mw-nav-sub-list{padding-right:.5rem}                                 /* current-page pill: same inset left and right */
}

@media screen and (max-width:767px){
  /* footer: legal row and social row */
  .mw-footer-small{flex-wrap:wrap;row-gap:.25rem}
  .mw-footer-copy{flex-basis:100%}
  .mw-footer-legal{flex-wrap:wrap;column-gap:1.25rem;row-gap:0}
  .mw-footer-legal-link{white-space:nowrap}
  .mw-footer-social{flex-wrap:nowrap;column-gap:.875rem}
  /* blog archive rows: arrow at the right of the title, never alone on a line */
  .mw-blog-row-title{padding-right:2.25rem}
  .mw-blog-row>.mw-blog-icon{position:absolute;right:0;top:1.375rem}
  /* team member articles and open roles: arrow beside the text */
  .mw-work-row{flex-wrap:nowrap;column-gap:1rem;padding-top:1.25rem;padding-bottom:1.25rem}
  .mw-work-row-text{flex-basis:auto}
  .mw-work-row:has(>:nth-child(3)){flex-wrap:wrap}                     /* open roles: title full width, type and arrow on one row */
  .mw-work-row:has(>:nth-child(3))>.mw-work-row-text{flex-basis:100%}
  .mw-work-row:has(>:nth-child(3))>:nth-child(2){flex:1 1 auto;width:auto;min-width:0}
  .mw-work-row:has(>:nth-child(3))>.mw-b-arrow{margin-left:auto}
  /* code mockups: wrap long lines instead of cutting them at the box edge */
  .mw-mo-code>pre{white-space:pre-wrap;overflow-wrap:anywhere}
  /* Google updates rows: a date stays on one line */
  .mw-gu-cell-mono{white-space:nowrap}
  .mw-gu-row-facts{column-gap:1rem}
  .mw-gu-col-type,.mw-gu-col-date{width:auto}
  /* contact card email fits on one line */
  .mw-contact-email{font-size:1.125rem;overflow-wrap:normal}
  /* breadcrumbs: the current item stays on the crumb line and ends with an ellipsis */
  nav[aria-label=Breadcrumb]{min-width:0;max-width:100%}
  .mw-cs-crumbs,.mw-breadcrumb-list{flex-wrap:nowrap;min-width:0;max-width:100%;overflow:hidden}
  .mw-cs-crumb[aria-current],.mw-breadcrumb-item:last-child{min-width:0}
  .mw-cs-crumb[aria-current],.mw-breadcrumb-current{display:block;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;line-height:2.75rem}
  .mw-breadcrumb-link,.mw-cs-crumb-link{white-space:nowrap}
  /* long "More by the author" and "All Google updates" lists: first eight on phones */
  .mw-gud-all-list>.w-dyn-item:nth-child(n+9){display:none}
  /* case study filter rows scroll sideways: fade the right edge so the cut chip reads as more */
  .mw-work-filter{-webkit-mask-image:linear-gradient(90deg,#000 82%,transparent);mask-image:linear-gradient(90deg,#000 82%,transparent);padding-right:2.5rem}
  /* Ask invitation placed straight in main (Google update and news templates): page gutter */
  .main-wrapper>[data-momentic-ask-invite]{padding-left:1.25rem;padding-right:1.25rem}
}

@media screen and (max-width:380px){
  .mw-button{padding-left:1.125rem;padding-right:1.125rem;font-size:.9375rem}  /* "Read the November 2026 notes" wrapped at 360 */
}
