/* Власні дослідження — page-research.php. Scoped to this page only. */
.research-page {
  --research-ink: #201600;
  --research-gold: #c49564;
  --research-muted: #68645f;
  --research-light: #f5f4f3;
  color: var(--research-ink);
  background: #fff;
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  line-height: 1.75;
}
.research-page *, .research-page *::before, .research-page *::after { box-sizing: border-box; }
.research-page h1, .research-page h2, .research-page h3, .research-page h4,
.research-page p, .research-page figure { margin: 0; }
.research-page h1, .research-page h2, .research-page h3, .research-page h4 {
  font-family: "Neue Haas Unica", sans-serif;
  font-weight: 400;
  line-height: 1.2;
  overflow-wrap: break-word;
  clear: none;
}
.research-page h2, .research-page .research-intro__title { font-size: clamp(28px, 2.8vw, 40px); margin-bottom: 28px; }
.research-page h3 { font-size: 26px; margin-bottom: 24px; }
.research-page h4 { font-size: 24px; margin-bottom: 12px; }
.research-page .research-shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.research-page .research-section { padding-block: 80px; }
.research-page .research-copy > * + * { margin-top: 20px; }
.research-page .research-copy ul, .research-page .research-copy ol { padding-left: 20px; margin: 12px 0 0; }
.research-page .research-copy li + li { margin-top: 8px; }
.research-page .research-copy li::marker { color: var(--research-gold); }
.research-page .research-copy a { color: #86603a; text-underline-offset: 4px; }
.research-page .research-copy strong { font-weight: 700; }
.research-page .research-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
  background: #fff;
}
.research-page .research-hero__content {
  display: flex;
  align-items: center;
  padding: 64px 48px 64px max(24px, calc((100vw - 1180px) / 2));
}
.research-page .research-hero h1 {
  max-width: 570px;
  font-size: clamp(40px, 4.1vw, 64px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.research-page .research-hero__visual { position: relative; min-width: 0; background: #fff; }
/* Cap the photo so wide screens do not enlarge and crop the original 3:2 composition. */
.research-page .research-hero__visual picture { position: absolute; inset: 0; display: block; width: min(100%, 720px); height: 100%; }
.research-page .research-hero__visual img { display: block; width: 100%; height: 100%; max-height: 640px; object-fit: cover; }
.research-page .research-hero--text-only { grid-template-columns: 1fr; min-height: 320px; }
.research-page .research-hero--text-only .research-hero__content { justify-content: center; text-align: center; padding: 64px 24px; }
.research-page .research-hero--text-only h1 { max-width: 900px; }
.research-page .research-split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 60px; }
.research-page .research-split > * { min-width: 0; }
.research-page .research-split--text-only { display: block; max-width: 900px; margin-inline: auto; }
.research-page .research-media img { display: block; width: 100%; height: auto; border-radius: 7px; }
.research-page .research-media--intro img { aspect-ratio: 1; object-fit: cover; }
.research-page .research-media figcaption { margin-top: 14px; color: var(--research-muted); font-size: 14px; line-height: 1.5; }
.research-page .research-intro__title { text-transform: uppercase; }
.research-page .research-trust { background: #fff; }
.research-page .research-centered { max-width: 960px; margin-inline: auto; text-align: center; }
.research-page .research-centered .research-copy { font-size: 18px; }
.research-page .research-trust .research-centered { max-width: none; }
.research-page .research-trust .research-copy { text-wrap: pretty; }
.research-page .research-principles-title { margin: 60px 0 32px; color: #86603a; text-align: center; font-size: 24px; }
.research-page .research-principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.research-page .research-media--principle { margin-bottom: 28px; }
.research-page .research-media--principle img { aspect-ratio: 4 / 5; object-fit: cover; }
.research-page .research-principle__subtitle { color: #86603a; font-size: 16px; margin-bottom: 16px; }
.research-page .research-principle .research-copy { font-size: 16px; line-height: 1.7; }
.research-page .research-case + .research-case { border-top: 1px solid #e6e1db; }
.research-page .research-case__heading { margin-bottom: 52px; }
.research-page .research-case__eyebrow { color: #86603a; font-size: 22px; margin-bottom: 16px; letter-spacing: 0.04em; }
.research-page .research-case__subtitle { font-family: "Neue Haas Unica", sans-serif; font-size: clamp(32px, 3.5vw, 48px); line-height: 1.2; margin-bottom: 28px; text-transform: uppercase; }
.research-page .research-case__history > h3 { text-align: center; }
.research-page .research-media--history { max-width: 1080px; margin-inline: auto; margin-bottom: 32px; }
.research-page .research-history-copy { columns: 2; column-gap: 48px; }
.research-page .research-history-copy > * { break-inside: avoid; }
.research-page .research-diagnosis { margin-block: 40px; padding: 28px 32px; border-left: 3px solid var(--research-gold); background: var(--research-light); }
.research-page .research-diagnosis h3 { margin-bottom: 12px; }
.research-page .research-results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 60px; }
.research-page .research-result { display: flex; flex-direction: column; border-top: 1px solid #ddd5ca; padding-top: 28px; }
.research-page .research-result > h3 { min-height: 2.4em; }
.research-page .research-result > .research-copy { flex: 1; }
.research-page .research-result:only-child { grid-column: 1 / -1; }
.research-page .research-result__media { margin-top: 28px; }
.research-page .research-conclusion { margin-top: 40px; padding-top: 32px; border-top: 1px solid #e6e1db; }
.research-page .research-gallery { margin-top: 60px; }
.research-page .research-gallery > h3 { text-align: center; }
.research-page .research-comparison { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 24px; }
.research-page .research-comparison + .research-comparison { margin-top: 40px; }
.research-page .research-comparison__caption { grid-column: 1 / -1; text-align: center; font-size: 14px; color: var(--research-muted); }
.research-page .research-media--clinical img, .research-page .research-media--scheme img { object-fit: contain; }
.research-page .research-zoom { position: relative; display: block; color: var(--research-ink); text-decoration: none; }
.research-page .research-zoom__icon { position: absolute; right: 16px; bottom: 16px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; box-shadow: 0 1px 8px #00000015; transition: transform .2s ease; }
.research-page .research-zoom__icon svg { width: 22px; height: 22px; }
.research-page .research-zoom:hover .research-zoom__icon { transform: scale(1.08); }
.research-page .research-zoom:focus-visible { outline: 2px solid #86603a; outline-offset: 5px; border-radius: 7px; }
.research-page .research-care { margin-top: 64px; text-align: center; }
.research-page .research-care h3 { font-size: clamp(26px, 2.8vw, 36px); margin-bottom: 16px; }
.research-page .research-care__subtitle { font-size: 18px; margin-bottom: 32px; text-transform: uppercase; }
.research-page .research-media--scheme figcaption { text-align: left; }
/* Catalog cards for the prescribed products, selected separately for each case. */
.research-page .research-products { margin-top: 60px; }
.research-page .research-products > h3 { text-align: center; margin-bottom: 32px; }
.research-page .research-products__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.research-page .research-product { display: flex; flex-direction: column; min-width: 0; padding: 24px; background: #f9f9f9; border-radius: 7px; }
.research-page .research-product__image { display: block; margin-bottom: 24px; }
.research-page .research-product__image img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.research-page .research-product h4 { font-size: 20px; text-transform: uppercase; }
.research-page .research-product h4 a { color: var(--research-ink); text-decoration: none; }
.research-page .research-product__subtitle { font-size: 14px; line-height: 1.5; }
.research-page .research-product__size { font-size: 14px; color: var(--research-muted); margin-top: 12px; }
.research-page .research-product__details { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: auto; padding-top: 24px; color: var(--research-ink); text-decoration: none; }
.research-page .research-product__details span { color: #86603a; font-size: 24px; line-height: 1; }
.research-page .research-product a:hover { color: #86603a; }
.research-page .research-product a:focus-visible { outline: 2px solid #86603a; outline-offset: 5px; border-radius: 3px; }
/* Keep the transparent scheme readable when Fancybox uses its dark overlay. */
.page-template-page-research .research-lightbox--scheme .fancybox-image { background: #fff; }
@media (max-width: 1024px) {
  .research-page .research-split, .research-page .research-results { gap: 32px; }
  .research-page .research-principles { gap: 24px; }
  .research-page .research-products__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .research-page .research-history-copy { column-gap: 32px; }
  .research-page .research-hero { min-height: 400px; }
  .research-page .research-hero__content { padding: 48px 32px 48px 24px; }
  .research-page h4 { font-size: 21px; }
}
@media (max-width: 767px) {
  .research-page .research-shell { width: calc(100% - 40px); }
  .research-page .research-section { padding-block: 40px; }
  .research-page h2, .research-page .research-intro__title { font-size: 28px; margin-bottom: 24px; }
  .research-page h3 { font-size: 24px; margin-bottom: 20px; }
  .research-page .research-hero { grid-template-columns: 1fr; min-height: 0; }
  .research-page .research-hero__content { padding: 40px 20px; }
  .research-page .research-hero h1 { font-size: clamp(34px, 9vw, 44px); max-width: 580px; }
  .research-page .research-hero__visual img { height: auto; max-height: none; aspect-ratio: 3 / 2; }
  .research-page .research-hero__visual picture { position: static; }
  .research-page .research-hero__visual picture:has(source) img { aspect-ratio: 1; }
  .research-page .research-split, .research-page .research-principles, .research-page .research-results { grid-template-columns: 1fr; gap: 32px; }
  .research-page .research-centered .research-copy { font-size: 16px; }
  .research-page .research-principles-title { margin-top: 40px; font-size: 22px; }
  .research-page .research-media--principle { margin-bottom: 24px; }
  .research-page .research-principle h4 { font-size: 24px; }
  .research-page .research-case__heading { margin-bottom: 32px; }
  .research-page .research-case__eyebrow { font-size: 20px; margin-bottom: 14px; }
  .research-page .research-case__subtitle { font-size: 34px; margin-bottom: 20px; }
  .research-page .research-history-copy { columns: 1; }
  .research-page .research-result > h3 { min-height: 0; }
  .research-page .research-diagnosis { padding: 22px 20px; margin-block: 32px; }
  .research-page .research-conclusion { margin-top: 32px; padding-top: 24px; }
  .research-page .research-gallery, .research-page .research-care { margin-top: 40px; }
  .research-page .research-comparison { gap: 12px; }
  .research-page .research-media figcaption { font-size: 13px; }
  .research-page .research-care__subtitle { font-size: 16px; margin-bottom: 24px; }
  .research-page .research-products { margin-top: 40px; }
  .research-page .research-products__grid { gap: 16px; }
  .research-page .research-product { padding: 20px; }
  .research-page .research-product h4 { font-size: 18px; }
  .research-page .research-zoom__icon { width: 32px; height: 32px; right: 10px; bottom: 10px; }
}
@media (max-width: 499px) {
  .research-page .research-products__grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .research-page .research-zoom__icon { transition: none; }
}
