/* restore extras — generated by restore_04_polish.py */

/* Consent overlays: the restore ships no analytics or third-party tracking at all, so there
   is nothing to consent to. Their scripts are gone too, meaning the banner can never be
   dismissed and would cover the top of every page. Removing the markup is unreliable when a
   JS bundle re-renders it, so it is hidden here as well. */
.cookies-banner, .cookies-banner-content, .cookie-banner, .cookie-consent, .cookie-notice,
.cc-window, .cc-banner, #cookie-law-info-bar, #cookieChoiceInfo, .gdpr-banner,
#tarteaucitronRoot, .consent-overlay, .cookiebar {
  display: none !important;
}
body.cookie-banner-open, body.has-cookie-banner, html.cookies-open {
  overflow: auto !important;
}

/* Dead account/login modals left by the CMS (no backend on a static host) */
.modal-login, #loginModal, .login-modal { display: none !important; }

/* Carousel slots the platform's JS bundles would have filled at runtime: without a working
   bundle they stay as <img> elements with no src and render as broken-image icons. Nothing is
   lost by hiding them — they never had content in the restore. */
img:not([src]), img[src=""], img[src="#"] { display: none !important; }

/* The client's backlink block must read as the page's own copy. Where a theme only colours
   links inside specific containers, the anchor would otherwise look like plain text — inherit
   the surrounding colour but keep an underline so it is still visibly a link. */
.content-wraparea a { color: inherit; text-decoration: underline; }

/* A few px of horizontal overflow on phones (an absolutely-positioned login list, a wide footer
   logo) makes the whole page pannable sideways, which reads as broken.
   NB: use `clip`, never `hidden`, and never on html together with height:100%. `overflow:hidden`
   turns the element into a scroll container: on themes that set html{height:100%} it stops body's
   overflow propagating to the viewport, the window stops scrolling entirely and every
   scroll-driven behaviour (sticky nav, back-to-top, in-page anchors, PageDown/End) dies.
   `clip` suppresses the sideways pan without creating a scroll container. */
body { overflow-x: clip; }
/* ---- end generated block; anything below is preserved across re-runs ---- */

/* =============================================================================================
   SECTION W - A PHONE GETS A PHONE LAYOUT (ramonrosell.com, order-7 fixer round)
   WHAT WAS WRONG. restore_03_seo.py inserts <meta viewport width=device-width>; Wix hard-codes a
   980px canvas, so at 390 the phone showed the left 390px and CROPPED the rest: two of four menu
   items, the whole right column of the specialties card, the contact tiles' numbers, the
   SOBRE NOSALTRES button. A fixed viewport (scale-down to 5px type) was tried on order 4 and
   rejected, so the meta stays and the layout reflows instead.
   HOW. Same mechanism as sites/wenou.pt/css/restore-extras.css section W, re-derived against
   THIS site's ids: each Wix container is a one-column CSS grid whose children carry a px width,
   a margin-left and a `left`; a flex column with those dropped stacks them in document order.
   Unpinned: #site-root, #SITE_HEADER/#SITE_FOOTER, every section/div[id^=comp-], all
   *-gridContainer meshes, the column strips (.CohWsy/.V5AUxf/.YzqVVZ), the slideshow hero.
   Icons, buttons and the social bar keep their own size (they are not columns).
   ============================================================================================ */
@media (max-width: 1023px) {
  #site-root { min-width: 0 !important; }
  #SITE_CONTAINER, #site-root, #masterPage, #SITE_PAGES, #PAGES_CONTAINER,
  #SITE_HEADER, #SITE_HEADER_WRAPPER, #SITE_FOOTER, #SITE_FOOTER_WRAPPER,
  section[id^="comp-"], div[id^="comp-"], .PFkO7r, .HT5ybB, .vlM3HR,
  [id^="pageBackground_"], [id^="bgMedia_"], [id^="bgLayers_"] {
    min-width: 0 !important;
    max-width: 100% !important;
  }
  .PFkO7r, [id^="pageBackground_"] { margin-left: 0 !important; margin-right: 0 !important; width: 100% !important; }

  [data-mesh-id$="inlineContent"], [data-mesh-id$="inlineContent-gridContainer"] {
    width: 100% !important; min-height: 0 !important; margin-top: 0 !important;
  }
  [data-mesh-id$="-gridContainer"] {
    display: flex !important; flex-direction: column !important;
    grid-template-columns: none !important; grid-template-rows: none !important;
    height: auto !important;
  }
  [data-mesh-id$="-gridContainer"] > * {
    grid-area: auto !important; position: relative !important;
    left: auto !important; right: auto !important;
    margin-left: 0 !important; margin-right: 0 !important; margin-top: 0 !important;
    margin-bottom: 10px !important;
    min-width: 0 !important; align-self: auto !important; flex: 0 0 auto;
  }
  [data-mesh-id$="-gridContainer"] > *:not(.wixui-image):not(.wixui-vector-image):not(.WzbAF8):not(.FubTgk):not(.Vq4wYb):not([data-semantic-classname="button"]) {
    width: 100% !important; max-width: 100% !important;
    justify-self: stretch !important; height: auto !important;
  }
  /* Pictures, icons, buttons and the social bar keep the size the site gave them, centred. */
  [data-mesh-id$="-gridContainer"] > .wixui-image,
  [data-mesh-id$="-gridContainer"] > .wixui-vector-image,
  [data-mesh-id$="-gridContainer"] > .FubTgk,
  [data-mesh-id$="-gridContainer"] > .Vq4wYb,
  [data-mesh-id$="-gridContainer"] > [data-semantic-classname="button"] {
    max-width: 100% !important; align-self: center !important;
  }
  [data-mesh-id$="-gridContainer"] > .WzbAF8 { align-self: center !important; }
  [data-mesh-id$="-gridContainer"] > .wixui-image { height: auto !important; }
  .wixui-image img { position: static !important; width: 100% !important; height: auto !important; object-fit: contain !important; }
  .wixui-image > div, .wixui-image > a { height: auto !important; }

  /* Column strips: flex rows of columns -> one column per row. */
  .CohWsy, .V5AUxf { display: block !important; height: auto !important; min-height: 0 !important; width: 100% !important; }
  .YzqVVZ { width: 100% !important; height: auto !important; min-height: 0 !important; }

  /* Menu: Wix absolutely positions nav and list inside a fixed 50px component. */
  #comp-lh65i76s { overflow: visible !important; height: auto !important; }
  #comp-lh65i76s > nav, #comp-lh65i76snavContainer {
    position: static !important; height: auto !important; width: 100% !important;
  }
  #comp-lh65i76sitemsContainer {
    position: static !important; height: auto !important; width: 100% !important;
    white-space: normal !important; display: flex !important; flex-wrap: wrap !important;
    justify-content: center !important; padding: 4px 0 !important;
  }
  #comp-lh65i76s li[id^="comp-lh65i76s"] {
    position: relative !important; display: block !important; left: auto !important;
    top: auto !important; width: auto !important; height: auto !important;
  }
  #comp-lh65i76s li a, #comp-lh65i76s li > div { height: auto !important; padding: 8px 9px !important; }
  #comp-lh65i76s li a { white-space: nowrap; }
  #comp-lh65i76s li[id$="__more__"] { display: none !important; }

  /* Hero slideshow: one slide, absolutely sized to 650px. Let it size to its words and give it
     a floor so the photograph still shows. The prev/next arrows of a one-slide show sit 100px in
     from each edge and would land on the headline. */
  #comp-leifhzli { height: auto !important; min-height: 420px; }
  #comp-leifhzli .hDJzl4 { position: relative !important; height: auto !important; }
  #comp-leifhzmd { position: relative !important; width: 100% !important; height: auto !important; min-height: 420px; }
  #comp-leifhzmd [data-mesh-id$="-gridContainer"] { min-height: 420px !important; justify-content: center; padding: 30px 0; box-sizing: border-box; }
  [data-testid="prevButton"], [data-testid="nextButton"] { display: none !important; }
  #comp-leifhzmk h6, #comp-leifhzmk span { font-size: 34px !important; line-height: 1.2em; }

  /* The grey fossil photograph between the intro and the specialties is a decorative fixed
     background with no content in either column; at 390 it was 600px of nothing in the way. */
  #comp-jx09rs3s { display: none !important; }
  /* Decorative rotated arrow beside SOBRE NOSALTRES (a zero-width wrapper in the mesh). */
  [id$="-rotated-wrapper"], [data-mesh-id$="-rotated-wrapper"] { display: none !important; }
  /* The card that held two columns of specialties. */
  #comp-jx1pmarq { padding: 20px 0 !important; }

  /* Breathing room on leaf text only; full-bleed bands paint on inset layers. */
  .wixui-rich-text { padding-left: 18px !important; padding-right: 18px !important; box-sizing: border-box !important; }
  [style*="text-align:justify"] { text-align: left !important; }
}

/* THE CLIENT'S BLOCK INSIDE THE INTEGRATIVA GENERAL TEASER.
   The block is a bare <div> in a Wix rich-text component that gives it no font, so it fell to the
   browser's tiny default (~9px) over a photograph. The block's markup is untouched; only the
   rules around it change: the size every other teaser uses, dark ink, a light backing so the
   photograph behind cannot fight the words. */
.wixui-rich-text .content-wraparea {
  font-family: raleway, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: #1B1921;
  background: rgba(255, 255, 255, 0.82);
  padding: 10px 14px;
  margin-top: 8px;
}
.wixui-rich-text .content-wraparea p { margin: 0 0 0.6em; }
.wixui-rich-text .content-wraparea p:last-child { margin-bottom: 0; }

/* THE SPECIALTIES CARD AT DESKTOP WIDTH. Wix shared one set of grid rows between the left and
   right columns, so a taller teaser on one side (the block above) opened a hole of the same
   height in the other. Two independent columns instead. The 348px measure and the 80px inset are
   the site's own.
   O7 ROUND 2 - TWO FAULTS OF THE FIRST COLUMN REPAIR, BOTH FROM THE SAME CAUSE.
   (a) OVERLAPS. Wix gave many teasers a NEGATIVE margin-bottom (-4 to -23px) because in the grid
       a spare row beside them paid for it; laid in one column that margin drags the next heading
       onto the line above. Every child now gets a positive margin-bottom: 14px after a heading
       (odd child) and 28px after a teaser's text (even child) - the DOM is strictly
       heading, text, heading, text.
   (b) THE HOLE. The break sat before CIRUGIA BUCAL (7 teasers left, 7 right) but the right-hand
       side carries the client's tall block, so the left column ended ~500px early. The break now
       sits before INTEGRATIVA GENERAL (the teaser that owns the block): 8 teasers left, the block
       and 5 teasers right. Reading order is unchanged (it is the DOM order) - only where the
       column turns moves. Governs only comp-jx1pmarq's grid, desktop only. */
@media (min-width: 1024px) {
  [data-mesh-id="comp-jx1pmarqinlineContent-gridContainer"] {
    display: block !important;
    columns: 2; column-gap: 0; column-fill: balance;
  }
  [data-mesh-id="comp-jx1pmarqinlineContent-gridContainer"] > * {
    left: 0 !important; margin-left: 80px !important; break-inside: avoid;
    margin-bottom: 14px !important;
  }
  [data-mesh-id="comp-jx1pmarqinlineContent-gridContainer"] > *:nth-child(even) { margin-bottom: 28px !important; }
  [data-mesh-id="comp-jx1pmarqinlineContent-gridContainer"] > #comp-lg0r7yyp { break-before: column; margin-top: 96px !important; }
  /* CIRUGIA BUCAL carried the 96px top offset of a column head; it is now mid-column. */
  [data-mesh-id="comp-jx1pmarqinlineContent-gridContainer"] > #comp-jzwnb1l5 { margin-top: 13px !important; }
}

/* =============================================================================================
   O7 ROUND 2 (ramonrosell.com) - PHONE READING ORDER AND PHONE HEADER
   READING ORDER. Section W turns each Wix grid into a flex column in DOM order. Wix wrote the DOM
   of a two-column service page ROW by ROW (icon, heading, icon, heading, then both texts), so the
   flat stack printed two headings and then two texts: on /atmidolororofacial/ the definition of
   the disorder sat under "Per a qui esta indicat" and on /blanquejamentdental/ the whitening gel
   sat under "Contraindicacions" - clinical text under the wrong heading. The rules below give
   every child of such a grid an explicit `order` = left column top to bottom, then right column.
   They are GENERATED from each page's own grid (left offsets cluster into columns, rows give the
   vertical order) and emitted only for the 9 grids whose DOM order differs from that reading
   order. `order` has no effect outside a flex container, so desktop (a CSS grid) is untouched.
   HEADER. The logo was drawn 57px wide and 165-300px tall (a Wix wow-image re-measuring itself in
   a flattened column); it is pinned to its real 57x40. The Wix dropdown would not paint, so
   below 1024px it is hidden and .rr-phone-nav (the same four items) is shown. The header column
   is centred so the name, phone and Instagram line up.
   ============================================================================================ */
.rr-phone-nav { display: none; }
@media (max-width: 1023px) {
  /* /elnostreequip/ - corrected 2026-10-20 (round 5): the generator clustered this ONE centred
     column into two "columns" by left offset (115/161/0 vs 282/307), so at 390 the page title
     'El nostre equip' (grid row 1) and its rule (row 4) printed AFTER the whole team (row 5).
     Rows top to bottom: title, intro, EQUIP MEDIC, rule, team. Checked over all 9 grids with an
     overlap test (an item above another in an overlapping horizontal span must not follow it):
     this grid was the only one that failed. */
  #comp-lemrpaw5 { order: 10; }
  #comp-leihle1w { order: 20; }
  #comp-leihle1z { order: 30; }
  #comp-lemrrmue { order: 40; }
  #comp-leihle211 { order: 50; }
  #comp-lg1ye6p61 { order: 60; }
  #comp-lg1ye6pu { order: 70; }
  #comp-lg1ye6pv1 { order: 80; }
  #comp-lg1ye6px { order: 20; }
  #comp-lg1ye6py1 { order: 30; }
  #comp-lg1ye6q0 { order: 40; }
  #comp-lg1ye6q11 { order: 50; }
  #comp-lg1yelf3 { order: 10; }
  #comp-lg1yf56r { order: 90; }
  #comp-lg1yfnia { order: 100; }
  #comp-lg1yfnie { order: 110; }
  #comp-lg1yw8ui { order: 150; }
  #comp-lg1ywtw7 { order: 120; }
  #comp-lg1z07c7 { order: 130; }
  #comp-lg1z0qit { order: 140; }
  #comp-lg1z6p67 { order: 160; }
  #comp-lg1zwr68 { order: 10; }
  #comp-lg1zwr6m { order: 20; }
  #comp-lg1zwr6p { order: 70; }
  #comp-lg1zwr6s { order: 80; }
  #comp-lg1zwr6u { order: 30; }
  #comp-lg1zwr741 { order: 90; }
  #comp-lg1zwr76 { order: 100; }
  #comp-lg1zwr79 { order: 110; }
  #comp-lg1zwr7b { order: 120; }
  #comp-lg1zwr7d { order: 40; }
  #comp-lg1zwr7f { order: 150; }
  #comp-lg1zy3hx1 { order: 10; }
  #comp-lg1zy3i0 { order: 20; }
  #comp-lg1zy3i3 { order: 110; }
  #comp-lg1zy3i6 { order: 120; }
  #comp-lg1zy3ib1 { order: 30; }
  #comp-lg1zy3io { order: 130; }
  #comp-lg1zy3iy { order: 140; }
  #comp-lg1zy3j0 { order: 150; }
  #comp-lg1zy3j2 { order: 160; }
  #comp-lg1zy3j41 { order: 40; }
  #comp-lg1zy3ja { order: 60; }
  #comp-lg1zyk2f2 { order: 10; }
  #comp-lg1zyk2m { order: 20; }
  #comp-lg1zyk2q1 { order: 110; }
  #comp-lg1zyk2y1 { order: 120; }
  #comp-lg1zyk301 { order: 30; }
  #comp-lg1zyk321 { order: 40; }
  #comp-lg1zyk3j { order: 130; }
  #comp-lg1zyk3l { order: 140; }
  #comp-lg1zyk3o { order: 150; }
  #comp-lg1zyk3q { order: 160; }
  #comp-lg1zyk41 { order: 170; }
  #comp-lg1zyk44 { order: 180; }
  #comp-lg1zz2cw3 { order: 10; }
  #comp-lg1zz2cz { order: 20; }
  #comp-lg1zz2d1 { order: 60; }
  #comp-lg1zz2d31 { order: 70; }
  #comp-lg1zz2d5 { order: 30; }
  #comp-lg1zz2df { order: 80; }
  #comp-lg1zz2dh { order: 90; }
  #comp-lg1zz2dk { order: 100; }
  #comp-lg1zz2dm { order: 110; }
  #comp-lg1zz2do1 { order: 40; }
  #comp-lg1zz2dr { order: 50; }
  #comp-lg1zzd3s { order: 10; }
  #comp-lg1zzd3x { order: 20; }
  #comp-lg1zzd3z { order: 90; }
  #comp-lg1zzd43 { order: 100; }
  #comp-lg1zzd45 { order: 30; }
  #comp-lg1zzd4p { order: 110; }
  #comp-lg1zzd4r { order: 40; }
  #comp-lg1zzd4u { order: 50; }
  #comp-lg1zzd56 { order: 60; }
  #comp-lg1zzd5e { order: 120; }
  #comp-lg2013wt { order: 10; }
  #comp-lg2013ww { order: 20; }
  #comp-lg2013wy1 { order: 40; }
  #comp-lg2013x1 { order: 50; }
  #comp-lg2013x3 { order: 30; }
  #comp-lg2013xd2 { order: 60; }
  #comp-lg2013xf1 { order: 70; }
  #comp-lg2013xi { order: 80; }
  #comp-lg2013xj1 { order: 90; }
  #comp-lg201ca61 { order: 10; }
  #comp-lg201ca82 { order: 20; }
  #comp-lg201caa1 { order: 130; }
  #comp-lg201cae { order: 140; }
  #comp-lg201cag { order: 30; }
  #comp-lg201cas1 { order: 150; }
  #comp-lg201cau { order: 160; }
  #comp-lg201caw { order: 170; }
  #comp-lg201cay { order: 180; }
  #comp-lg201caz1 { order: 40; }
  #comp-lg3eah2r { order: 50; }
  #comp-lg3eaxym { order: 60; }
  #comp-lg3ghv4x { order: 130; }
  #comp-lg3gkvfh { order: 140; }
  #comp-lg3i3cqd { order: 50; }
  #comp-lg3vh9b3 { order: 180; }
  #comp-lg3vi324 { order: 170; }
  #comp-lg3viqpp { order: 70; }
  #comp-lg3vloz7 { order: 80; }
  #comp-lg3vm79d { order: 90; }
  #comp-lg3vqzgk { order: 100; }
  #comp-lg4wz4v7 { order: 50; }
  #comp-lg4x16iz { order: 60; }
  #comp-lg4x1g3g { order: 70; }
  #comp-lg4x343g { order: 90; }
  #comp-lg4x452w { order: 80; }
  #comp-lg4x4f28 { order: 100; }
  #comp-lg97gjgi { order: 130; }
  #comp-lg97hk0s { order: 140; }
  #comp-lg97jeq3 { order: 80; }
  #comp-lg97lttt { order: 70; }
  #comp-lgnksm0r { order: 50; }
  #comp-lgnksm0t1 { order: 60; }
  #comp-lgnksm0x3 { order: 80; }
  #comp-lgnksm0z { order: 90; }
  #comp-lgnksm122 { order: 110; }
  #comp-lgnksm14 { order: 120; }
  #comp-lgnkvydg { order: 70; }
  #comp-lgnkws2l { order: 100; }

  #SITE_HEADER [data-mesh-id$="gridContainer"] { align-items: center !important; }
  #SITE_HEADER .wixui-rich-text p, #SITE_HEADER .wixui-rich-text { text-align: center !important; }
  #SITE_HEADER #comp-leifjzpy {
    width: 57px !important; max-width: 57px !important; height: 40px !important;
    margin: 14px auto 0 !important; align-self: center !important;
  }
  #SITE_HEADER #comp-leifjzpy wow-image, #SITE_HEADER #comp-leifjzpy .j7pOnl {
    display: block !important; width: 57px !important; height: 40px !important;
  }
  #SITE_HEADER #comp-leifjzpy img {
    width: 57px !important; height: 40px !important; max-width: 57px !important;
    object-fit: contain !important; position: static !important;
  }
  #SITE_HEADER #comp-lh65i76s { display: none !important; }
  #SITE_HEADER .rr-phone-nav {
    display: flex !important; flex-wrap: wrap; justify-content: center; gap: 2px 4px;
    width: 100% !important; margin: 4px 0 10px !important; padding: 0 8px; box-sizing: border-box;
    border-top: 1px solid #e3e3e3;
  }
  .rr-phone-nav a {
    display: block; padding: 10px 10px; color: #1B1921; text-decoration: none;
    font: 16px/1.3 raleway, sans-serif; white-space: nowrap;
  }
  .rr-phone-nav a[aria-current="page"] { color: #b85400; text-decoration: underline; }
}

/* =============================================================================================
   O7 ROUND 3 (ramonrosell.com) - THE PAGE H1 BROKE INSIDE ITS WORD AT 390.
   CAUSE: every page title is an h1 whose own spans carry an inline font-size:56px (50px / 30px on
   the legal pages) in a thin display face. 'Blanquejament' is ~400px wide at 56px and the column
   is 354px, so the platform's word-break rule snapped it between letters ('Blanquejam' / 'ent
   dental'). The title is now sized so the LONGEST word of any specialty title (13-14 letters:
   Blanquejament, Implantologia, maxil.lofacial, Instal.lacions) fits the column with whole words
   wrapping, and breaking inside a word is switched off. Scope: h1 elements and their spans on
   phones only (<=1023px); it overrides the inline sizes, which is why it needs !important. The
   homepage hero is an h6 (#comp-leifhzmk) and is not touched. Desktop is unchanged.
   ============================================================================================ */
@media (max-width: 1023px) {
  h1.wixui-rich-text__text, h1.wixui-rich-text__text span {
    font-size: clamp(28px, 8.6vw, 38px) !important; line-height: 1.15 !important;
    overflow-wrap: normal !important; word-break: normal !important; hyphens: manual !important;
  }
}

/* ---- contrast fix (machine gate qa_legibility, ramonrosell.com) ----
   WHAT WAS WRONG. Two Wix text colours are the theme's orange #ff8000 (--txt / --txts / --txth =
   255,128,0) on the white header: the header button label "Probvoca" (#comp-jxelcb4p) and the menu's
   selected and hover items "Especialitats" (#comp-lh65i76s). Measured 2.52:1 against the 4.5:1 floor.
   HOW. Darkened the same orange hue to #b85400, which this stylesheet already uses for the current
   page in the phone nav (4.88:1 on white). Scoped by id so the rest of the menu and the button keep
   their theme colours. Only lightness changed. The button's hover state keeps its own rule. */
#comp-jxelcb4p .wJVzSK { color: #b85400; }
#comp-lh65i76s [data-state~="selected"] .JS76Uv,
#comp-lh65i76s [data-state~="over"] .JS76Uv { color: #b85400; }


/* =============================================================================================
   O7 ROUND 4 (ramonrosell.com, 2026-10-20) - A STATIC SITE THAT BEHAVES WITHOUT THE PLATFORM.
   The Wix Thunderbolt runtime (React, the main bundles, sentry, the fedops/BI beacons, 4 preload
   fetches of siteassets.parastorage.com per page) is no longer shipped: measured on 2026-10-20 it
   made 47 external requests per page view - including https://www.ramonrosell.com/_api/v1/
   access-tokens on the dead origin - and swapped the restore's own logo, Instagram icon and hero
   for live static.wixstatic.com copies, while the one thing it could have done, opening the menu's
   submenus, did not happen with it or without it. The SSR markup is the page. The removal is
   replayed by regex_replacements in _recon/authored_ramonrosell.com.json. What it used to do
   badly is done here:
   R1 THE HERO SLIDESHOW HAS ONE SLIDE. The page structure lists exactly one SlideShowSlide
      (comp-leifhzmd), so its Previo/Proximo arrows and its single navigation dot had nowhere to
      go, with or without a script; below 1024px section W already hid the arrows. One photograph
      with its headline is what the slideshow showed; the dead controls go at every width.
   R2 THE DESKTOP SUBMENUS, IN CSS. Wix prints each submenu in the server markup as a hidden <ul>
      (class rr-sub after the replay) and opened it with script. They now open on hover and on
      keyboard focus (focus-within), in the site's own colours: "Especialitats" lists the 15
      specialty pages, "Clinica Dr. Ramon Rosell" lists Nosaltres, El nostre equip and
      Instal.lacions - the last of which no other link anywhere on the site reaches.
      The empty "More" overflow item (its list is empty in the markup) stays hidden at all widths.
   R3 PHONE OVERFLOW (685px in 390): the footer's empty centre layer .Na9Voo is sized by Wix as
      margin-left: calc((100% - 980px) / 2); width: 980px, i.e. it starts 295px off the left
      edge of a phone. It takes the footer's width. The /nosaltres/ values repeater carried Wix's
      negative gutter margin (399px wide in 390); its margin is zeroed below 1024px.
   ============================================================================================= */
#comp-leifhzli > [data-testid="prevButton"],
#comp-leifhzli > [data-testid="nextButton"],
#comp-leifhzli nav[aria-label="Diapositivas"] { display: none !important; }

#comp-lh65i76s li[id$="__more__"] { display: none !important; }

@media (min-width: 1024px) {
  #comp-lh65i76s, #comp-lh65i76s > nav, #comp-lh65i76sitemsContainer { overflow: visible !important; }
  #comp-lh65i76s { position: relative; z-index: 60; }
  /* The menu is data-stretch-buttons-to-menu-width="true": Wix's script gave each item its text
     width plus an equal share of the free width (measured on the 2026-10-20 ladder: item centres
     at 319/530/813/1085 in the 980px bar). That share-out is flex: 1 1 auto. */
  #comp-lh65i76sitemsContainer { display: flex !important; flex-wrap: nowrap; }
  #comp-lh65i76sitemsContainer > li { position: relative; flex: 1 1 auto; text-align: center; }
  #comp-lh65i76sitemsContainer > li > ul.rr-sub {
    position: absolute; top: 100%; left: 50%; transform: translateX(-50%); z-index: 60;
    min-width: 240px; margin: 0; padding: 8px 0; list-style: none; text-align: left;
    background: #ffffff; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14); border-top: 2px solid #b85400;
  }
  #comp-lh65i76sitemsContainer > li:hover > ul.rr-sub,
  #comp-lh65i76sitemsContainer > li:focus-within > ul.rr-sub { display: block !important; }
  #comp-lh65i76sitemsContainer > li > ul.rr-sub > li { display: block; margin: 0; padding: 0; }
  #comp-lh65i76sitemsContainer > li > ul.rr-sub a {
    display: block; padding: 9px 20px; color: #1B1921; text-decoration: none; white-space: nowrap;
    font: 15px/1.4 raleway, sans-serif; cursor: pointer !important;
  }
  #comp-lh65i76sitemsContainer > li > ul.rr-sub a:hover,
  #comp-lh65i76sitemsContainer > li > ul.rr-sub a:focus { color: #b85400; background: #fff6ee; }
}

@media (max-width: 1023px) {
  #SITE_FOOTER .Na9Voo { margin-left: 0 !important; width: 100% !important; left: 0 !important; right: 0 !important; }
  .wixui-repeater > .E6jjcn { margin-left: 0 !important; margin-right: 0 !important; }
}

/* R4 THE TEAM ON /elnostreequip/ WAS INVISIBLE WITHOUT THE RUNTIME. Its two repeaters (five
   clinicians, then four) are <fluid-columns-repeater style="visibility:hidden">: Wix prints every
   size, gap and --justify-content in the server CSS and its script only flipped visibility after
   measuring. Found by the overflow probe after the runtime came out (vis=hidden), before any
   ladder was shot. The reveal is that one property; below 1024px the gutters go, as in R3. */
fluid-columns-repeater.GPmm8Z { visibility: visible !important; }
@media (max-width: 1023px) {
  fluid-columns-repeater.GPmm8Z { margin-left: 0 !important; margin-right: 0 !important; }
  fluid-columns-repeater.GPmm8Z > * { margin-left: 0 !important; margin-right: 0 !important; }
}

/* R5 ENTRANCE ANIMATIONS WITHOUT AN ANIMATOR. The homepage carries 35 rules of the form
   @media (prefers-reduced-motion: no-preference) { #comp-x:not([data-motion-enter="done"]) {opacity:0} }
   - every element that fades or slides in, the hero headline "La teva millor experiencia dental"
   and its MES INFORMACIO button among them - and only Wix's motion script ever stamped
   data-motion-enter="done". With the runtime gone they would have stayed transparent for every
   visitor who has not asked for reduced motion; no gate sees it, because a fully transparent
   element is skipped as hidden. The end state of an entrance is the element itself, so that is
   what is shown. Generated from the page's own rules, ids listed one by one. */
#comp-leifhzmk:not([data-motion-enter="done"]),
#comp-leifxg3q:not([data-motion-enter="done"]),
#comp-leifhzmz:not([data-motion-enter="done"]),
#comp-jx0bl3mk:not([data-motion-enter="done"]),
#comp-leigr7nv:not([data-motion-enter="done"]),
#comp-jx0abpea:not([data-motion-enter="done"]),
#comp-jx0a2uur:not([data-motion-enter="done"]),
#comp-lg0r2zin:not([data-motion-enter="done"]),
#comp-lg0rbdh9:not([data-motion-enter="done"]),
#comp-jx0a3qrw:not([data-motion-enter="done"]),
#comp-jx0a3qrt:not([data-motion-enter="done"]),
#comp-jx0a3v1f:not([data-motion-enter="done"]),
#comp-jx0a3v1d:not([data-motion-enter="done"]),
#comp-leih7awo:not([data-motion-enter="done"]),
#comp-leih7ytb:not([data-motion-enter="done"]),
#comp-lg0rd3sz:not([data-motion-enter="done"]),
#comp-lg0rdck9:not([data-motion-enter="done"]),
#comp-lg0rfmly:not([data-motion-enter="done"]),
#comp-lg0rfulo:not([data-motion-enter="done"]),
#comp-jzwnb1l5:not([data-motion-enter="done"]),
#comp-jx0abpec:not([data-motion-enter="done"]),
#comp-lg0r7yyp:not([data-motion-enter="done"]),
#comp-lg0rbd94:not([data-motion-enter="done"]),
#comp-jx0abpee:not([data-motion-enter="done"]),
#comp-jx0abpeg:not([data-motion-enter="done"]),
#comp-jx0abpeh:not([data-motion-enter="done"]),
#comp-jx0abpej:not([data-motion-enter="done"]),
#comp-lg0r8mkk:not([data-motion-enter="done"]),
#comp-lg0r9eef:not([data-motion-enter="done"]),
#comp-lg0rdo4r:not([data-motion-enter="done"]),
#comp-lg0rdhue:not([data-motion-enter="done"]),
#comp-lg0rg4wo:not([data-motion-enter="done"]),
#comp-lg0rg9qs:not([data-motion-enter="done"]),
#comp-jx0al11o:not([data-motion-enter="done"]),
#comp-leihgr2f:not([data-motion-enter="done"]) { opacity: 1 !important; }

/* R6 MENU LABELS, VERTICALLY. Wix's dropdown script also measured the 50px bar and set the label's
   line height; the server markup leaves the four labels at the top of the bar (14px higher than
   every ladder before 2026-10-20). Centred in their own item instead. Desktop only - below 1024px
   the phone nav is shown. */
@media (min-width: 1024px) {
  #comp-lh65i76sitemsContainer > li > .UiHgGh {
    display: flex !important; align-items: center; justify-content: center; height: 100%;
  }
}

/* R7 (round 5, 2026-10-20) THE TWO AUTHORED SHORT PAGES' PARAGRAPHS. /politica-de-cookies/ and
   /404.html are authored inside a 900px wrapper; Wix's rich-text reset gives every <p> margin 0,
   so the cookies page's three paragraphs read as one block (visual review). A paragraph gap in
   the wrapper only those two pages carry; nothing else on the site matches the selector. */
#SITE_PAGES > div[style*="max-width:900px"] p + p { margin-top: 1em !important; }

/* R8 (round 5, 2026-10-20) THE PHONE HEADER ON ONE AXIS. Below 1024px the header stacks and is
   centred (round 2), but "Probvoca" is a Wix button 249px wide (#comp-jxelcb4p, kept at its own
   size like every button) whose label is start-aligned inside it (--label-align:start, from the
   desktop layout where the label sits beside the logo). Centred box, left label: the word sat
   ~45px left of the logo and the phone number above and below it (visual review). Centring the
   label inside its own box puts all three on one axis; desktop keeps the start alignment. */
@media (max-width: 1023px) {
  #SITE_HEADER #comp-jxelcb4p { --label-align: center !important; --label-text-align: center !important; }
}

/* R9 (round 5, 2026-10-20) THE HERO HEADLINE OVER A SHARP PHOTOGRAPH. Until round 4 the hero
   image on disk was Wix's blurred placeholder, a dark smear that white type read well on. Round 4
   put back the real photograph (1600x1200, the waiting room): a white wall, a cream door and a
   bright window sit exactly behind the white headline. Measured on the photograph cropped as the
   page crops it (cover, centred, 1440x650): under 'La teva millor experiencia dental' half the
   pixels give white text less than 3:1 and the darkest tenth 1.55:1; at 390 the same. Wix painted
   no overlay (--fill-layer-image-opacity:1), so the live site had this problem too, but nothing
   else in this restore is as hard to read. Repair without changing words, sizes, place or the
   picture: a soft dark halo under the two white lines only (the headline h6 #comp-leifhzmk and
   'El plaer de somriure' #comp-leifxg3q). The button has its own background and is untouched. */
#comp-leifhzmk, #comp-leifhzmk *, #comp-leifxg3q, #comp-leifxg3q * {
  text-shadow: 0 1px 2px rgba(0, 0, 0, .45), 0 0 18px rgba(0, 0, 0, .40) !important;
}

/* R10 (round 6, 2026-10-21) TWO PHOTOGRAPHS A PHONE NEVER SAW. A Wix column whose only content
   is its picture paints that picture on #bgLayers_<id>, an absolutely positioned layer the size
   of the column; the column's height came from its inlineContent min-height (699px on the home
   'filosofia' row, 383px on /nosaltres/). Section W releases every column strip to height:auto
   and min-height:0 so text can reflow - right for columns of words, but an EMPTY column then
   measures 0px (probe at 390: #comp-lemr9rne 390x0, its bgLayers 390x0) and its photograph
   disappears: the clinic's 'b' letter sculpture beside the philosophy quote on the homepage, and
   the waiting-room photograph that opens /nosaltres/. Each gets a height from a ratio: the home
   column keeps its desktop proportion (720x699), the /nosaltres/ one the photograph's own 4:3
   (its desktop 980x383 crop would be a 150px strip on a phone). The decorative fossil column
   inside #comp-jx09rs3s stays hidden as section W decided. Below 1024px only. */
@media (max-width: 1023px) {
  #comp-lemr9rne { aspect-ratio: 720 / 699; }
  #comp-lemso4j4 { aspect-ratio: 4 / 3; }
}

/* R11 (round 6) /ortodonciainvisalign/ AT 390: THE WHITE TITLE STARTED ABOVE ITS ORANGE BAND.
   This is the one page whose title is white on an orange band (#comp-lgkqx2a2, overlay
   rgba(255,128,0,.5)); on the desktop the title sits 69px inside the band. Section W zeroes every
   mesh child's top margin, so on a phone 'ORTODONCIA INVISALIGN' began on the band's top edge and
   qa_legibility measured it at 1:1 (round 4 left it: the page is outside the acceptance sample).
   It gets back a top margin inside the band, proportionate to the phone. */
@media (max-width: 1023px) {
  [data-mesh-id="comp-lgkqx2a2inlineContent-gridContainer"] > #comp-lgkqx2as1 { margin-top: 32px !important; }
}
