/* Native home sections and dry-eye information, using the existing brand. */
.p-home-team, .p-home-specialties, .p-dry-eye, .p-specialties-index,
.p-home-team *, .p-home-specialties *, .p-dry-eye * { box-sizing: border-box; }
:is(.prevision-blocks, .editor-styles-wrapper) .p-home-team,
:is(.prevision-blocks, .editor-styles-wrapper) .p-home-specialties { width: 100%; margin: 0; padding-block: clamp(36px, 6vw, 80px); }
.p-home-team { background: #fff; }
:is(.prevision-blocks, .editor-styles-wrapper) .p-team-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(28px, 5vw, 72px); }
.p-team-layout > *, .p-home-specialties-list > * { min-width: 0; }
:is(.prevision-blocks, .editor-styles-wrapper) .p-team-photo { margin: 0; width: 100%; }
.p-team-photo img { display: block; width: 100%; height: auto; border-radius: 12px; }
.p-team-photo figcaption { margin: 10px 0 0; color: #4a626b; font-size: 14px; line-height: 1.5; text-align: left; }
:is(.prevision-blocks, .editor-styles-wrapper) .p-team-copy h2,
:is(.prevision-blocks, .editor-styles-wrapper) .p-specialties-heading h2,
:is(.prevision-blocks, .editor-styles-wrapper) .p-dry-eye-intro h2 { margin: 0 0 20px; color: #17333e; font: 600 clamp(30px, 3.3vw, 44px)/1.12 "Red Hat Display", Arial, sans-serif; letter-spacing: -.025em; text-wrap: balance; }
:is(.prevision-blocks, .editor-styles-wrapper) .p-team-copy > .p-team-intro { max-width: 58ch; margin: 0; font-size: 18px; font-weight: 400; line-height: 1.65; color: #4a626b; }
:is(.prevision-blocks, .editor-styles-wrapper) .p-team-people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 20px; margin-block: 28px; padding-block: 24px; border-block: 1px solid #dbe7eb; }
:is(.prevision-blocks, .editor-styles-wrapper) .p-team-people p { margin: 0; color: #4a626b; font-size: 14px; font-weight: 400; line-height: 1.55; }
.p-team-people strong { color: #17333e; font-size: 16px; font-weight: 600; }
.p-content-buttons.wp-block-buttons { gap: 12px; margin: 0; }
.p-content-buttons .wp-block-button { max-width: 100%; }
.p-content-buttons .wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 20px; border-radius: 7px; background: #087c98; color: #fff; font: 600 16px/1.45 "Red Hat Text", Arial, sans-serif; text-decoration: none; white-space: normal; }
.p-content-buttons .wp-block-button__link:hover { background: #17333e; color: #fff; }
.p-home-team a:focus-visible, .p-home-specialties a:focus-visible,
.p-dry-eye a:focus-visible, .p-dry-eye summary:focus-visible { outline: 3px solid #087c98; outline-offset: 4px; }
.p-home-specialties { background: #f5fafc; }
:is(.prevision-blocks, .editor-styles-wrapper) .p-specialties-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 20px 48px; margin: 0 0 28px; }
:is(.prevision-blocks, .editor-styles-wrapper) .p-specialties-heading h2 { margin: 0; max-width: 18ch; }
:is(.prevision-blocks, .editor-styles-wrapper) .p-specialties-heading p { max-width: 45ch; margin: 0; color: #4a626b; font-size: 18px; line-height: 1.6; font-weight: 400; }
:is(.prevision-blocks, .editor-styles-wrapper) .p-home-specialties-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(20px, 4vw, 64px); margin: 0; }
:is(.prevision-blocks, .editor-styles-wrapper) .p-home-specialty { position: relative; margin: 0; padding: 24px 32px 24px 0; border-top: 1px solid #c9dce4; }
.p-home-specialty::after { content: "↗"; position: absolute; top: 24px; right: 0; color: #087c98; font-size: 24px; line-height: 1; pointer-events: none; }
:is(.prevision-blocks, .editor-styles-wrapper) .p-home-specialty h3 { margin: 0 0 8px; color: #17333e; font: 600 clamp(23px, 2.3vw, 28px)/1.2 "Red Hat Display", Arial, sans-serif; text-wrap: balance; }
.p-home-specialty h3 a { color: inherit; text-decoration: none; }
.p-home-specialty h3 a::after { content: ""; position: absolute; inset: 0; }
.p-home-specialty:hover h3 a { color: #087c98; text-decoration: underline; text-underline-offset: 4px; }
.p-home-specialty:focus-within { outline: 3px solid #087c98; outline-offset: 3px; }
.p-home-specialty h3 a:focus-visible { outline: none; }
:is(.prevision-blocks, .editor-styles-wrapper) .p-home-specialty p { max-width: 50ch; margin: 0; color: #4a626b; font-size: 16px; font-weight: 400; line-height: 1.6; }
:is(.prevision-blocks, .editor-styles-wrapper) .p-home-specialty-audio { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(20px, 4vw, 64px); margin-top: 12px; padding: 28px 52px 28px 24px; border: 1px solid #c9dce4; border-radius: 8px; background: #eaf6fa; align-items: center; }
:is(.prevision-blocks, .editor-styles-wrapper) .p-home-specialty-audio h3 { margin: 0; }
.p-home-specialty-audio::after { right: 20px; top: 30px; }
:is(.prevision-blocks, .editor-styles-wrapper) .p-specialties-help { margin: 28px 0 0; color: #4a626b; font-size: 16px; line-height: 1.6; }
.p-specialties-help a { color: #087c98; font-weight: 600; text-underline-offset: 4px; }
.p-specialties-index .p-specialty-audio { padding-left: 18px; margin-top: 20px; background: #eaf6fa; border-radius: 8px; }
:is(.prevision-blocks, .editor-styles-wrapper) .p-dry-eye { width: 100%; max-width: 1100px; margin-inline: auto; padding: clamp(32px, 5vw, 64px) var(--p-gutter, 24px); color: #17333e; }
:is(.prevision-blocks, .editor-styles-wrapper) .p-dry-eye p, .prevision-blocks .p-dry-eye li { max-width: 68ch; font-size: 18px; font-weight: 400; line-height: 1.7; color: #4a626b; }
:is(.prevision-blocks, .editor-styles-wrapper) .p-dry-eye p { margin: 0 0 18px; }
:is(.prevision-blocks, .editor-styles-wrapper) .p-dry-eye-intro { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(24px, 5vw, 60px); align-items: center; margin-bottom: 40px; }
.p-dry-eye-intro > * { min-width: 0; }
.p-dry-eye-intro figure { margin: 0; }
.p-dry-eye-intro img { display: block; width: 100%; height: auto; aspect-ratio: 828 / 848; border-radius: 10px; }
.p-dry-eye-intro figcaption { margin-top: 8px; color: #4a626b; font-size: 14px; line-height: 1.5; }
:is(.prevision-blocks, .editor-styles-wrapper) .p-dry-eye-section { margin: 0; padding-block: 28px; border-top: 1px solid #dbe7eb; scroll-margin-top: calc(var(--p-admin, 0px) + 82px); }
:is(.prevision-blocks, .editor-styles-wrapper) .p-dry-eye-section h2 { margin: 0 0 18px; color: #17333e; font: 600 clamp(25px, 2.8vw, 32px)/1.2 "Red Hat Display", Arial, sans-serif; text-wrap: balance; }
.p-dry-eye ul, .p-dry-eye ol { padding-left: 24px; margin: 0 0 18px; }
.p-dry-eye li + li { margin-top: 8px; }
.p-dry-eye details { padding-block: 18px; border-bottom: 1px solid #dbe7eb; }
.p-dry-eye summary { cursor: pointer; color: #17333e; font-size: 18px; font-weight: 600; line-height: 1.5; padding-right: 10px; }
.p-dry-eye details > p { margin: 16px 0 0; }
.p-dry-eye .p-dry-eye-urgent { padding: 24px; border: 1px solid #c9dce4; border-radius: 8px; background: #eaf6fa; }
.p-dry-eye .p-dry-eye-urgent p { margin-bottom: 0; }
.p-dry-eye .p-dry-eye-sources { margin-top: 28px; }
.p-dry-eye .p-dry-eye-sources p { font-size: 14px; line-height: 1.65; }
.p-dry-eye a { overflow-wrap: anywhere; text-underline-offset: 4px; }
@media (max-width: 760px) {
  :is(.prevision-blocks, .editor-styles-wrapper) .p-team-layout, :is(.prevision-blocks, .editor-styles-wrapper) .p-specialties-heading,
  :is(.prevision-blocks, .editor-styles-wrapper) .p-dry-eye-intro { grid-template-columns: minmax(0, 1fr); }
  .p-team-copy { order: -1; }
  .p-team-photo { max-width: 560px; }
  :is(.prevision-blocks, .editor-styles-wrapper) .p-home-specialties-list { grid-template-columns: minmax(0, 1fr); }
  :is(.prevision-blocks, .editor-styles-wrapper) .p-home-specialty-audio { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 24px 44px 24px 18px; }
  :is(.prevision-blocks, .editor-styles-wrapper) .p-team-people { gap: 18px 14px; }
  .p-team-people strong { font-size: 15px; }
  .p-dry-eye-intro figure { max-width: 440px; }
}
@media (max-width: 350px) {
  :is(.prevision-blocks, .editor-styles-wrapper) .p-team-people { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  :is(.prevision-blocks, .editor-styles-wrapper) .p-team-copy h2 { font-size: 29px; }
}

.editor-styles-wrapper .p-container { box-sizing:border-box; width:100%; max-width:1264px; padding-inline:clamp(10px,3vw,32px); margin-inline:auto; }

/* Índice de especialidades: fotografías editables y texto legible sobre cada imagen. */
.prevision-blocks .p-specialties-index {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-block: clamp(36px, 5vw, 64px) clamp(56px, 7vw, 88px);
}
.prevision-blocks .p-specialties-index > .p-specialties-intro {
  grid-column: 1 / -1;
  margin: 0 0 12px;
  color: #36535e;
}
.prevision-blocks .p-specialties-index .p-specialty-row {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 9px;
  min-width: 0;
  min-height: 285px;
  padding: 32px;
  margin: 0;
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #17333e;
  isolation: isolate;
}
.prevision-blocks .p-specialties-index .p-specialty-row::before {
  top: 22px;
  right: 22px;
  transform: none;
  color: #fff;
}
.prevision-blocks .p-specialties-index .p-specialty-row .p-index-photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  margin: 0;
}
.prevision-blocks .p-specialties-index .p-index-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 27, 36, .42), rgba(5, 27, 36, .88));
}
.prevision-blocks .p-specialties-index .p-index-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.prevision-blocks .p-specialties-index .p-specialty-row:is(:hover, :focus-within) .p-index-photo img { transform: scale(1.035); }
.prevision-blocks .p-specialties-index .p-specialty-row .p-specialty-name {
  color: #fff;
  font-size: clamp(23px, 2vw, 28px);
  line-height: 1.15;
  margin: 0;
}
.prevision-blocks .p-specialties-index .p-specialty-row .p-specialty-name a { color: #fff; }
.prevision-blocks .p-specialties-index .p-specialty-row .p-specialty-description {
  color: #fff;
  max-width: 42ch;
  font-size: 16px;
  line-height: 1.55;
  margin: 0;
}
.prevision-blocks .p-specialties-index .p-specialty-row:focus-within { outline: 3px solid #087c98; outline-offset: 3px; }
@media (max-width: 900px) { .prevision-blocks .p-specialties-index { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .prevision-blocks .p-specialties-index { grid-template-columns: minmax(0, 1fr); } .prevision-blocks .p-specialties-index .p-specialty-row { min-height: 235px; padding: 26px; } }
@media (prefers-reduced-motion: reduce) { .prevision-blocks .p-specialties-index .p-index-photo img { transition: none; } .prevision-blocks .p-specialties-index .p-specialty-row:is(:hover, :focus-within) .p-index-photo img { transform: none; } }
.prevision-blocks .p-specialties-index .p-specialty-row .p-index-image-note { color: #fff; font-size: 13px; line-height: 1.35; margin: 2px 0 0; }

/* Card titles keep the weight they had under Tahoma, now in the brand font. */
:is(.prevision-blocks, .editor-styles-wrapper) .p-home-specialty h3,
.prevision-blocks .p-specialties-index .p-specialty-row .p-specialty-name { font-weight: 700; }
