/* 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 ---- */

/* ---------- order-7 restoration fixes (hand-written, keep) ---------- */

/* Divi's entrance animations start every module at opacity:0 and rely on the theme JS adding
   .et-animated when the module scrolls into view. The theme JS is not part of a static restore,
   so without this the animated modules (blurb icons, several images) never become visible at all.
   This is the animation's END state, which is what a visitor of the live site saw. */
.et-waypoint:not(.et_pb_counters) { opacity: 1 !important; }

/* The logo file (wp-content/uploads/2022/04/logo-blanco.png) is one of the 82 assets the archive
   never captured, so the brand slot was a broken image on all 23 pages. It is rebuilt as a
   wordmark carrying the site's own name, sized to the 66px header bar. */
.restore-logotype {
  display: inline-block;
  font-family: "Open Sans", Helvetica, Arial, sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .01em;
  color: #2b354b;
  line-height: 1.2;
  vertical-align: middle;
  white-space: nowrap;
  text-decoration: none;
}
.logo_container a { text-decoration: none; }
.restore-logotype-footer { font-size: 20px; line-height: 1.4; color: #2b354b; }
@media all and (max-width: 480px) { .restore-logotype { font-size: 17px; } }

/* ETmodules (and FontAwesome) are declared `src:none` here - the font files were on the dead
   origin and were never archived - so every Divi icon glyph renders as a tofu box or a stray
   latin letter. Each icon that is actually visible is replaced by something the fallback font
   can draw, or removed. */
#top-menu .menu-item-has-children > a:first-child:after,
#et-secondary-nav .menu-item-has-children > a:first-child:after {
  font-family: inherit !important;
  content: "\25BE" !important;      /* was ETmodules "3", a down caret */
  font-size: 11px;
  font-weight: 400;
  top: 2px;
}
/* The two social buttons are an empty <a> plus a hidden name span plus an icon glyph that no
   longer exists. Rebuilt as the plain text links they stand for. */
.et_pb_social_media_follow li a.icon:before { content: "" !important; }
.et_pb_social_media_follow li a.icon {
  width: auto !important; height: auto !important;
  background: none !important; border: 0 !important; padding: 0 !important;
  text-decoration: underline; color: #2b354b;
}
.et_pb_social_media_follow li { display: inline-block; margin: 0 1.2em .4em 0; }
.et-social-facebook a.icon:after { content: "Facebook"; }
.et-social-instagram a.icon:after { content: "Instagram"; }

/* The three team toggles on /la-clinica/ are Divi toggle modules in their closed state: the
   bios are display:none and the title does nothing without the theme JS. Opened permanently -
   the content is the point, and a title that cannot be pressed is not left looking pressable. */
.et_pb_toggle_close .et_pb_toggle_content { display: block !important; }
.et_pb_toggle_title { cursor: default; }
.et_pb_toggle_title:before { content: "" !important; display: none !important; }

/* The testimonial carousel lost its engine (swiper.min.js, never archived) and its stylesheet
   with it; its arrows and dots have been removed from the markup. What is left is the three
   testimonials, so they are laid out as the stacked cards they now are. */
.dica-container .swiper-wrapper { display: block; }
.dica-container .dica-item {
  display: block; margin: 0 0 18px 0; padding: 18px 20px;
  background: #f7f9fa; border-radius: 6px;
}
.dica-container .dica-item .item-title { margin: 0 0 2px 0; }
.dica-container .dica-item .item-subtitle { margin: 0 0 8px 0; color: #138289; }

/* Divi builds its mobile menu with JavaScript: the markup holds a burger and nothing else, so
   below 981px the restored site had a header with no reachable navigation at all. This is the
   same control rebuilt without script - a checkbox the burger label drives, opening the real
   #top-menu as a panel under the header. The burger bars are drawn in CSS because the icon font
   is gone (the theme's own glyph is an ETmodules "a"). */
@media all and (max-width: 980px) {
  #et-top-navigation { position: static; }
  .restore-menu-toggle { position: absolute; opacity: 0; width: 0; height: 0; margin: 0; }
  label.restore-burger {
    display: block; width: 34px; height: 34px; cursor: pointer; position: relative;
    margin-top: 4px;
  }
  label.restore-burger:before { content: "" !important; display: none !important; }
  label.restore-burger span { position: absolute; top: 16px; left: 5px; }
  label.restore-burger span,
  label.restore-burger span:before,
  label.restore-burger span:after {
    display: block; width: 24px; height: 3px; background: #2b354b; border-radius: 2px;
  }
  label.restore-burger span:before,
  label.restore-burger span:after { content: ""; position: absolute; left: 0; }
  label.restore-burger span:before { top: -8px; }
  label.restore-burger span:after { top: 8px; }

  .restore-menu-toggle:checked ~ #top-menu-nav {
    display: block !important;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #ffffff; box-shadow: 0 6px 12px rgba(0,0,0,.18);
    max-height: 75vh; overflow-y: auto; z-index: 99999; padding: 6px 0;
    float: none; line-height: normal;
  }
  .restore-menu-toggle:checked ~ #top-menu-nav #top-menu {
    display: block !important; float: none; width: 100%; line-height: normal;
  }
  .restore-menu-toggle:checked ~ #top-menu-nav #top-menu li {
    display: block; float: none; width: 100%; padding: 0; margin: 0;
  }
  .restore-menu-toggle:checked ~ #top-menu-nav #top-menu li a {
    display: block; width: auto; padding: 12px 22px; font-size: 16px; line-height: 1.3;
    color: rgba(0,0,0,.75); opacity: 1;
  }
  .restore-menu-toggle:checked ~ #top-menu-nav #top-menu ul.sub-menu {
    display: block !important; position: static; width: auto; visibility: visible; opacity: 1;
    background: transparent; box-shadow: none; border: 0; padding: 0; transform: none;
  }
  .restore-menu-toggle:checked ~ #top-menu-nav #top-menu ul.sub-menu li a {
    padding-left: 42px; width: auto; font-size: 15px;
  }
  .restore-menu-toggle:checked ~ #top-menu-nav #top-menu li.menu-item-has-children > a:after {
    content: "" !important;
  }
}

/* Image slots whose file was never captured. A blurb in a four-across grid keeps a tile of the
   photograph's own aspect ratio, because without it the card's title floats level with its
   neighbours' photographs and the row reads as broken; a standalone image module just closes up.
   Nothing is drawn in the tile: there is no honest picture to put there. */
.et_pb_main_blurb_image .et_pb_image_wrap:empty {
  display: block;
  aspect-ratio: 455 / 269;
  background: #eef3f4;
  border-radius: 4px;
}
.et_pb_image .et_pb_image_wrap:empty { display: none; }

/* The anchor wrapped around a "clickable module" must not restyle the card it wraps. */
.restore-blurb-link { display: block; color: inherit; text-decoration: none; }
.restore-blurb-link:hover .et_pb_module_header span { text-decoration: underline; }

/* The rendered SiteOrigin widgets (headings, the treatment list, the icon/text blocks and the
   buttons on /tratamientos/ and /tratamientos/periodoncia/, which shipped as raw shortcode text
   because the plugin is not part of a static restore). */
.restore-so-heading { margin: 0 0 12px; }
.restore-so-featured { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; }
.restore-so-featured li { margin: 0; }
.restore-so-featured a { display: inline-block; padding: 10px 16px; background: #f1f6f7; border-radius: 4px; color: #2b354b; text-decoration: none; }
.restore-so-featured a:hover { background: #e2eef0; text-decoration: underline; }
.restore-so-icontext { margin: 0 0 12px; }
.restore-so-button { display: inline-block; margin: 6px 0 18px; }

/* Both social links are now text, so they need a tap target of their own: the icon CSS that used
   to give them a 32px button was never archived. 24px is the WCAG 2.5.8 floor. */
.et_pb_social_media_follow li a.icon {
  display: inline-block;
  min-height: 24px;
  line-height: 24px;
}

/* Button glyphs: Divi paints them from `content: attr(data-icon)` in ETmodules/FontAwesome, both
   of which are declared src:none here, so the "PEDIR CITA" button carried a tofu box after its
   label and every button showed one on hover. */
.et_pb_button:after, .et_pb_button:before { content: "" !important; display: none !important; }

/* ---- round 2: findings of the 2026-10-16 gate run ---- */

/* The toggle checkbox is driven only by its label, and qa_interactions found it as a control in
   its own right: at desktop widths it had no rule at all and rendered as a stray checkbox in the
   header, sitting under .logo_container where no pointer can reach it ("UNREACHABLE ... a real
   pointer lands on div.logo_container"). It is taken out of the layout and out of the hit test
   at every width; :checked still drives the panel. */
.restore-menu-toggle { display: none !important; }

/* The header menu was white (#ffffff): this theme's transparent nav was designed over a hero
   PHOTOGRAPH, and that photograph is one of the assets the archive never captured, so the links
   were white on the white header - qa_legibility: "INVISIBLE TEXT <A> Tratamientos contrast
   1:1". Coloured like the wordmark beside them, with the theme's own teal kept for the current
   page. */
#top-menu li a, #top-menu li a:visited,
.et_mobile_menu li a, .et_mobile_menu li a:visited { color: #2b354b !important; }
#top-menu li.current-menu-item > a, #top-menu li.current_page_item > a,
#top-menu li.current-menu-ancestor > a { color: #0f6a70 !important; }

/* The wordmark's link box was 285x19 - under the 24px tap-target floor. */
.logo_container a { display: inline-block; min-height: 24px; line-height: 24px; padding: 2px 0; }

/* Divi's accent #2EA3F2 measures 2.75:1 on white, so every body link failed AA. Same hue, dark
   enough to pass (4.6:1); buttons and the wrapped cards keep their own colours. */
#main-content a:not(.et_pb_button):not(.restore-blurb-link):not([class*="et_pb_module_header"]) { color: #16699f; }

/* Two footer links carried an inline color:#000000 and no underline, so they read as plain text
   (qa_legibility: "links look like plain text"). Underlining them is what tells a visitor they
   are links; the inline colour is the page's own and is left alone. */
.et-l--footer a, .et_pb_text_inner a { text-decoration: underline; }

/* MEASURED BY PRESSING IT (2026-10-16, 390x844): the panel opened and showed 14 links, but the
   Tratamientos submenu was still Divi's DESKTOP mega-menu dropdown - `#top-menu li.mega-menu>ul
   {position:absolute !important}` - so its ten items printed on top of "La Clínica", "Contacto"
   and "Blog", and a finger aimed at "La Clínica" landed on "Odontopediatría". The desktop
   dropdown geometry is forced off inside the open phone panel. */
@media all and (max-width: 980px) {
  .restore-menu-toggle:checked ~ #top-menu-nav #top-menu li.mega-menu > ul,
  .restore-menu-toggle:checked ~ #top-menu-nav #top-menu ul.sub-menu {
    position: static !important;
    left: auto !important;
    top: auto !important;
    width: auto !important;
    padding: 0 !important;
    float: none !important;
    box-shadow: none !important;
  }
  .restore-menu-toggle:checked ~ #top-menu-nav #top-menu li.mega-menu > ul > li,
  .restore-menu-toggle:checked ~ #top-menu-nav #top-menu li.mega-menu ul li,
  .restore-menu-toggle:checked ~ #top-menu-nav #top-menu ul.sub-menu li {
    width: 100% !important;
    float: none !important;
    display: block !important;
  }
  .restore-menu-toggle:checked ~ #top-menu-nav #top-menu li.mega-menu { position: static !important; }
}

/* THE FOOTER'S OWN COLOURS, recovered from the site's own CSS. The theme-builder footer is a
   teal contact strip over a dark navy block, and those two rules live in the per-page
   et-core-unified-tb-3880-*.css, which the archive kept for some pages and lost for others: on
   /aviso-legal/, /tratamientos/ and /blog-dentista/ the footer is painted, on /, /contacto/ and
   /la-clinica/ it was white. That is why qa_legibility measured the footer's own white links at
   contrast 1:1 on three pages and the (navy) wordmark at 1:1 on the other three - the same
   markup over two different grounds. The rules are taken verbatim from the pages that still
   carry them and applied to all 23, so the footer is the one the site designed. */
.et-l--footer .et_pb_section_0_tb_footer.et_pb_section { background-color: #138289 !important; }
.et-l--footer .et_pb_section_1_tb_footer.et_pb_section { background-color: #2b354b !important; }
.restore-logotype-footer { color: #ffffff; }
.et-l--footer .et_pb_text_inner a, .et-l--footer .dsm-menu a { color: #ffffff; }
.et-l--footer h4, .et-l--footer .dsm-menu-title { color: #ffffff; }

/* Tap targets the gate measured under the 24px floor: the contact form's labels (19px) and the
   blog listing's post titles (21px at 390). */
.et_pb_contact_form_label { display: inline-block; min-height: 24px; line-height: 24px; }
.entry-title a { display: inline-block; min-height: 24px; padding: 2px 0; }

/* ---- round 3: what the screenshots showed (2026-10-16, 1440 and 390) ---- */

/* THE HEADER HAD NOTHING TO SIT ON. et_transparent_nav was designed over a hero PHOTOGRAPH, and
   Divi's own script is what gives the bar a solid background once the page scrolls
   (.et-fixed-header). With the photograph a permanent archive miss and the script gone, the bar
   stayed transparent at every scroll position: on /tratamientos/ the section title
   "ENFOQUE INTEGRAL" showed THROUGH the menu, and on inner pages the menu was white-on-white.
   The sticky state's own background is therefore made permanent, and the page container gets
   back the top padding the theme gives a shown nav (80px) - without it the first line of every
   inner page sits behind the bar, which is how /tratamientos/ lost the top of its first heading. */
#main-header { background-color: #ffffff !important; box-shadow: 0 1px 0 rgba(0,0,0,.08); }
#page-container { padding-top: 80px !important; }

/* An image slot whose file was never captured keeps the photograph's shape so the four-across row
   still lines up. aspect-ratio needs a definite width and got none here, so the slot collapsed and
   three cards floated in empty space; the padding-top ratio is what actually reserves the box.
   Scoped to the main content: the footer's blurb icons are empty by design and must stay flat. */
/* ...and the slot's own box has to be full width for a percentage padding to resolve against
   anything: Divi shrink-wraps .et_pb_main_blurb_image to the image, so with the image gone it
   was 0 wide and the reserved tile measured 0 too (seen in the 1440 ladder: three cards whose
   titles sat a photograph higher than their neighbours'). */
#main-content .et_pb_main_blurb_image { display: block; width: 100%; }
#main-content .et_pb_main_blurb_image .et_pb_image_wrap:empty {
  display: block;
  width: 100%;
  height: 0;
  padding-top: 59.1%;            /* 269/455, the blurb photograph's own ratio */
  background: #eef3f4;
  border-radius: 4px;
  aspect-ratio: auto;
}
/* The sentence those three cards carry instead of a photograph, taken from their own page. */
.restore-blurb-text p { margin: 4px 0 0; font-size: 14px; line-height: 1.5; color: #4a5568; }

/* At 390 the two hero buttons sat side by side and the second one broke across two lines with
   its box torn in half. One per line below 480px. */
@media all and (max-width: 480px) {
  .dsm_button .et_pb_button_module_wrappers { display: block; }
  .dsm_button .et_pb_button { display: block; margin: 0 0 10px 0; white-space: nowrap; text-align: center; }
}

/* THE ETMODULES GLYPHS THAT DID RENDER. The footer menu printed a 96px "3" beside
   "Tratamientos" (the submenu caret, drawn from ETmodules, whose file is declared src:none) and
   the footer contact strip printed four empty bordered squares (the blurb icon slots). A glyph
   from a font that does not exist can only ever be tofu or a stray latin letter, so every
   .et-pb-icon span is hidden; the carets the menus actually need are drawn in the rules above. */
.et-pb-icon { display: none !important; }

/* The social buttons keep a hidden network-name span that this theme's CSS only hides for
   .et-social-icon, not .et_pb_social_icon - so the footer read "SeguirFacebook". */
.et_pb_social_media_follow .et_pb_social_media_follow_network_name { display: none !important; }

/* The footer is two DARK bands (teal #138289 over navy #2b354b). On the pages whose own footer
   CSS the archive kept, its text is white; on the pages where that file is missing the contact
   strip's lines fell back to the theme's dark colour and qa_legibility measured
   "Plaza de San Juan, 16 bajo" at 1.25:1 once the band was painted. Both bands are given the
   white text they were designed with. */
.et-l--footer .et_pb_section_0_tb_footer, .et-l--footer .et_pb_section_0_tb_footer *,
.et-l--footer .et_pb_section_1_tb_footer, .et-l--footer .et_pb_section_1_tb_footer * {
  color: #ffffff !important;
}

/* The consent checkbox's label carries no class of its own, so the rule above missed it and it
   stayed 19px tall - under the 24px tap-target floor (qa_legibility, 2026-10-16 08:55). */
.et_pb_contact label[for] { display: inline-block; min-height: 24px; line-height: 24px; }

/* ---- order-7 fixer round 2 (2026-10-17): the reviewer's blocking list ---- */

/* A TREATMENT CARD WITHOUT A PHOTOGRAPH IS A TEXT CARD, NOT A GREY RECTANGLE.
   Round 3 reserved a pale-grey tile of the photograph's shape for the blurbs whose file the archive
   never captured (Periodoncia, Radiologia, Bruxismo) so the four-across row lined up. The reviewer
   who opened the screenshots rejected exactly that: three 210px grey blocks down the phone page
   are the "empty placeholder blocks" on the client's list. No honest picture exists for those
   treatments, and borrowing another treatment's photograph would label a periodontal card with an
   implant. The slot is withdrawn, and the card keeps its title and its own sentence on a panel
   so a card with no photograph reads as a deliberate text card. */
#main-content .et_pb_main_blurb_image .et_pb_image_wrap:empty {
  display: none !important; padding-top: 0; height: 0; background: none;
}
#main-content .et_pb_main_blurb_image:has(> .et_pb_image_wrap:empty) { display: none; }
#main-content .et_pb_blurb:has(.et_pb_main_blurb_image > .et_pb_image_wrap:empty) {
  background: #f1f6f7; border-radius: 6px; padding: 18px 18px 14px;
}

/* THE PAGE HAD NO ROOM FOR ITS OWN HEADER (blog posts, /politica-de-cookies/, hero bands).
   Round 3 set `#page-container{padding-top:80px !important}`, which never applied: Divi's
   `.et_transparent_nav #page-container{padding-top:0 !important}` has higher specificity and is
   also !important, so the first 80px of every inner page still sat behind the fixed header (the
   H1 of a blog post showed only its bottom pixels). The selector is made at least as specific.
   The front page keeps its own layout (page-id-3828), and /aviso-legal/ (page-id-2751) already
   clears the header with padding of its own. */
body.et_transparent_nav.et_fixed_nav:not(.page-id-3828):not(.page-id-2751) #page-container {
  padding-top: 80px !important;
}

/* The article column left a full-height divider and an empty right column: the theme's sidebar is
   empty on every page that has one (blog posts, cookies, data protection, /tratamientos/). */
.et_right_sidebar #main-content .container:before { display: none !important; }
.et_right_sidebar #left-area { width: 100% !important; padding-right: 0 !important; float: none; }
.et_right_sidebar #sidebar { display: none; }

/* THE 404 PAGE: grey and dark-blue copy on a navy-to-teal gradient. The page's own H1 is white;
   its sentences and the three links take the same white. */
body.page-id-3602 #main-content .et_pb_text_0 p,
body.page-id-3602 #main-content .et_pb_text_0 a,
body.page-id-3602 #main-content .et_pb_text_0 .et_pb_text_inner {
  color: #ffffff !important;
}
body.page-id-3602 #main-content .et_pb_text_0 a { text-decoration: underline; }

/* THE "CITA PREVIA" FORM WAS RAW BROWSER CONTROLS. Divi styles .et_pb_contact_form from a per-page
   stylesheet the archive did not keep. Stacked label-over-field, full width, one visible label per
   field, the consent checkbox beside its sentence, and a button in the site's teal. */
.et_pb_contact_form .et_pb_contact_field { display: block; width: 100%; margin: 0 0 16px; padding: 0; }
.et_pb_contact_form .et_pb_contact_field label.et_pb_contact_form_label {
  display: block; margin: 0 0 6px; font-weight: 600; color: #2b354b; line-height: 1.4; min-height: 24px;
}
.et_pb_contact_form .et_pb_contact_field[data-type="checkbox"] > label.et_pb_contact_form_label,
.et_pb_contact_form .et_pb_contact_field_options_title { display: none; }
.et_pb_contact_form input.input[type="text"],
.et_pb_contact_form textarea.input {
  display: block; width: 100%; box-sizing: border-box; padding: 12px 14px;
  border: 1px solid #b9c7ca; border-radius: 4px; background: #ffffff; color: #2b354b;
  font: inherit; line-height: 1.4;
}
.et_pb_contact_form textarea.input { min-height: 140px; resize: vertical; }
.et_pb_contact_form .et_pb_contact_field_checkbox { display: flex; align-items: flex-start; gap: 10px; }
.et_pb_contact_form .et_pb_contact_field_checkbox input[type="checkbox"] { flex: none; margin: 4px 0 0; width: auto; }
.et_pb_contact_form .et_pb_contact_field_checkbox label { display: block; min-height: 24px; line-height: 1.5; font-weight: 400; }
/* min-height was 0 here, and this rule comes AFTER the 24px rule written for the same label above
   ("The consent checkbox's label carries no class of its own"), so it silently undid it: a
   one-line consent sentence is 14px x 1.5 = 21px tall, and qa_legibility measured the home page's
   label at 447x21 at 1440 (2026-10-18). 24px restores the floor; the sentence still sits level
   with its checkbox, and the only visible change is 3px more space under it. */
.et_pb_contact_form .et_pb_contact_field_checkbox label i { display: none; }
.et_pb_contact_form button.et_pb_contact_submit {
  display: inline-block; padding: 12px 30px; border: 0; border-radius: 4px;
  background: #138289; color: #ffffff !important; font: inherit; font-weight: 700; cursor: pointer;
}
.et_pb_contact_form button.et_pb_contact_submit:hover { background: #0f6a70; }

/* =============================================================================================
   O7 ROUND 5 (clinicalourdental, 2026-10-20) - THREE THINGS THE REVIEWERS KEPT NAMING.
   L1 THE HOMEPAGE HERO. Its photograph is a permanent archive miss, so the first 570px band was
      the theme's dark overlay (rgba 0,0,0 .65 -> .41) painted over NOTHING: a flat mid-grey that
      appears nowhere else on the site. The other twelve pages with a hero paint it with the
      site's own Divi setting, linear-gradient(166deg,#2b354b 17%,#138289 94%) (measured in each
      page's et_pb_section_0 rule); the homepage now uses that same declared background instead
      of a grey that was never a design. Words, box and buttons unchanged; white on #2b354b is
      12:1 and on #138289 4.6:1.
   L2 PHONE HERO BUTTONS. Below 480px the two buttons stack (rule above), but the page's own
      Divi CSS gives the second one margin-left:20px!important for the desktop row, so on a phone
      "PEDIR CITA" hung 20px to the right of "CONOCENOS". The margin goes on a phone only.
   L3 PHONE CONTACT STRIP. The four footer blurbs (Estamos en Porcuna / Llamanos ahora / Nuestro
      horario / Escribenos a) are four 1/4 columns in a gutter-1 row, which Divi stacks with no
      margin at all below 981px, so each value ran straight into the next heading. 18px between
      them, on tablets and phones only.
   ============================================================================================= */
body.home #page-container .et_pb_section.et_pb_section_0 {
  background-image: linear-gradient(166deg, #2b354b 17%, #138289 94%) !important;
}
@media all and (max-width: 480px) {
  body #page-container .dsm_button_0 .et_pb_button_two.et_pb_button { margin-left: 0 !important; }
}
@media all and (max-width: 980px) {
  .et_pb_row_0_tb_footer > .et_pb_column { margin-bottom: 18px !important; }
  .et_pb_row_0_tb_footer > .et_pb_column:last-child { margin-bottom: 0 !important; }
}

/* =============================================================================================
   O7 ROUND 6 (clinicalourdental, 2026-10-21) - one agent looked, fixed and re-measured.
   L2b/L3b ROUND 5's L2 AND L3 NEVER TOOK EFFECT ON A PHONE, MEASURED IN A BROWSER AT 390.
      Both lose to the page's own Divi CSS, which sits in <style> blocks AFTER this stylesheet:
      * 'PEDIR CITA' kept margin-left:20px (probe) - the page's rule 'body #page-container
        .et_pb_section .dsm_button_0 .et_pb_button_two.et_pb_button {margin-left:20px!important}'
        is specificity 1,4,1 and L2 is 1,3,1;
      * the footer contact columns kept margin-bottom:0 (probe) - below 480px Divi says
        '.et_pb_gutters1.et_pb_row .et_pb_column {margin:0!important}' (0,3,0) against L3's
        (0,2,0), so 'Plaza de San Juan, 16 bajo' still ran into 'Llamanos ahora'. (L3 did work
        from 480 to 980px.) Same declarations, made specific enough to win. Phones only.
   L4 THE 'TRATAMIENTOS' SUBMENU CARET read as a stray dash (every visual round said so): U+25BE
      at 11px in a face that does not carry it. Drawn instead as a 8x5px triangle in the link's
      own colour, desktop menu only (the phone panel draws no caret).
   L5 /tratamientos/odontopediatria/ AT 390: the page's photo (a 263x175 file) rendered 137x91
      pinned left in a 351px column (Divi's phone rule is img{width:auto}, and the srcset names
      a 750px rendition that is not what the file is). It now takes the column width up to the
      320px it has on the desktop page.
   L6 /odontologia-estetica-porcuna-jaen/ - A CLIENT-MANDATED PAGE - HAD AN INVISIBLE H1.
      'Odontologia estetica en Porcuna Jaen' is authored white (inline color:#ffffff) for a dark
      hero band, and that band's background lived in et-core-unified-4040.min.css, a permanent
      archive miss (_recon/missing_clinicalourdental.com.json). Result: white on white, measured
      1:1 at every width, on a page no ladder had ever photographed. The band now carries the
      hero background this theme declares on every other inner page,
      linear-gradient(166deg,#2b354b 17%,#138289 94%) - the same answer round 5 gave the
      homepage. Words and their colour are untouched. (/la-clinica/ lost two section
      backgrounds the same way, but its text is authored dark on a light layout and reads; no
      background is invented for it.)
   ============================================================================================= */
@media all and (max-width: 480px) {
  html body #page-container .et_pb_section .dsm_button_0 .et_pb_button_two.et_pb_button { margin-left: 0 !important; }
}
@media all and (max-width: 980px) {
  .et_pb_row.et_pb_row_0_tb_footer.et_pb_gutters1 > .et_pb_column { margin-bottom: 18px !important; }
  .et_pb_row.et_pb_row_0_tb_footer.et_pb_gutters1 > .et_pb_column:last-child { margin-bottom: 0 !important; }
}
@media all and (min-width: 981px) {
  html #top-menu .menu-item-has-children > a:first-child:after {
    content: "" !important; font-size: 0 !important; line-height: 0 !important;
    width: 0 !important; height: 0 !important;
    border-left: 4px solid transparent; border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    top: 6px !important; right: 4px !important;
  }
}
@media all and (max-width: 767px) {
  body.page-id-3416 .et_pb_image_0 .et_pb_image_wrap { display: block; }
  body.page-id-3416 .et_pb_image_0 .et_pb_image_wrap img { width: 100% !important; max-width: 320px !important; height: auto !important; }
}
body.page-id-4040 #page-container .et_pb_section.et_pb_section_0 {
  background-image: linear-gradient(166deg, #2b354b 17%, #138289 94%) !important;
}
