/* Masthead, native CMS controls and the Russian edition of the reference layout. */
:root {
  --pv-blue: #0c77e2;
  --pv-deep-blue: #075cae;
  --pv-canvas: #eceff1;
  --pv-red: #c00;
  --pv-masthead-height: 70px;
  --pv-serif: "PV Faustina", Georgia, "Times New Roman", serif;
  --pv-sans: "PV Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

.pv-masthead { position: relative; background: var(--pv-blue); }
.pv-masthead-row { height: var(--pv-masthead-height); }
.pv-masthead-inner { height: var(--pv-masthead-height); min-height: 0; max-width: calc(var(--pv-width) * 1.3); padding: 0 30px; gap: 20px; }
.pv-masthead[data-scroll] { padding-top: var(--pv-masthead-height); }
.pv-masthead[data-scroll] .pv-masthead-row { position: fixed; inset: 0 0 auto; z-index: 40; background: var(--pv-blue); box-shadow: 0 2px 5px #0002; transition: transform .2s ease; }
.pv-masthead[data-scroll="down"] .pv-masthead-row:not(:focus-within) { transform: translateY(-105%); visibility: hidden; transition: transform .2s ease, visibility 0s .2s; }
.pv-brand { flex: 0 0 209px; mix-blend-mode: lighten; }
.pv-brand img { width: 209px; height: 62px; }
.pv-primary { display: flex; flex: 0 1 auto; margin-inline: auto; gap: 8px; align-items: stretch; overflow-x: auto; scrollbar-width: none; }
.pv-primary a { justify-content: center; padding: 6px 3px; font: 700 clamp(10.5px, .83vw, 13px)/1.2 var(--pv-serif); letter-spacing: .02em; white-space: nowrap; text-align: center; }
.pv-masthead-actions,.pv-footer-actions { display: flex; flex: none; align-items: center; gap: 10px; }
.pv-action-icon { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: #ffffff1c; color: #fff; }
.pv-action-icon:hover,.pv-masthead-contact:hover { color: #fff; background: #ffffff38; }
.pv-action-news span { position: relative; width: 14px; height: 13px; border: 1.5px solid currentColor; border-radius: 1px; }
.pv-action-news span::after { content: ""; position: absolute; inset: 3px 2px auto; height: 1px; background: currentColor; box-shadow: 0 3px currentColor; }
.pv-action-rss span { width: 13px; height: 13px; background: radial-gradient(circle at 1px calc(100% - 1px), currentColor 1.75px, transparent 2px 4px, currentColor 4.4px 5.8px, transparent 6.2px 8px, currentColor 8.4px 9.8px, transparent 10.2px); }
.pv-masthead-contact { display: grid; place-items: center; width: 123px; height: 38px; padding: 0 6px; border-radius: 2px; color: #fff; background: #ffffff24; font: 700 13px/1.2 var(--pv-serif); letter-spacing: .05em; white-space: nowrap; text-transform: uppercase; }

.pv-topicbar { display: block; }
.pv-topicbar-inner { height: 44px; gap: 26px; }
.pv-menu { z-index: 40; color: var(--pv-ink); }
.pv-mobile-menu { display: none; }
.pv-menu summary { width: 26px; height: 44px; min-height: 0; justify-content: center; color: inherit; }
.pv-menu-icon, .pv-menu-icon::before, .pv-menu-icon::after { background: currentColor; }
.pv-menu nav a[aria-current] { color: var(--pv-deep-blue); font-weight: 700; }
.pv-topic-caption { color: var(--pv-deep-blue); font: 700 14px/1.4 var(--pv-sans); }
.pv-topic-links { display: none; }
.pv-featured-topics { display: flex; align-items: center; min-width: 0; gap: 26px; overflow-x: auto; scrollbar-width: none; font: 600 14px/1.4 var(--pv-sans); }
.pv-featured-topics a { white-space: nowrap; }
.pv-featured-topics a:nth-child(n+5) { display: none; }
.pv-topic-links::-webkit-scrollbar,.pv-featured-topics::-webkit-scrollbar,.pv-primary::-webkit-scrollbar { display: none; }
.pv-topic-links a[aria-current],.pv-featured-topics a[aria-current] { color: var(--pv-blue); }
.pv-search-link { margin-left: auto; }
.pv-mobile-search { display: none; }

.pv-sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.pv-home.pv-edition {
  --pvr-body-font: var(--pv-serif);
  --pvr-title-font: var(--pv-serif);
  padding: 0;
  background: var(--pv-canvas);
  font: 14px/1.5 var(--pv-serif);
}
.pv-edition .pv-d-loop { min-width: 0; }
.pv-random-news { width: 100%; min-width: 0; background: #fff; }
.pv-random-news h2,.pv-utilities-list h2 { margin: 0; padding: 14px 15px; border-bottom: 1px solid var(--pv-rule); font: 700 17px/1.3 var(--pv-serif); }
.pv-random-news-list { margin: 0; padding: 0; list-style: none; }
.pv-random-news-list li + li { border-top: 1px solid var(--pv-rule); }
.pv-random-news-list li:nth-child(n+7),.pv-random-news-list:has(li) + .pv-random-news-empty { display: none; }
.pv-random-news-list a { display: block; padding: 13px 15px; font: 700 15px/1.45 var(--pv-serif); overflow-wrap: anywhere; }
.pv-random-news-list a:hover { text-decoration: underline; text-underline-offset: 3px; }
.pv-random-news-empty { margin: 0; padding: 14px 15px; color: var(--pv-muted); }
.pv-edition .pv-frontpage .pv-part-12948014.pv-column:only-child { width: 100%; }
.pv-utilities-list > h2 { background: #fff; border-top: 5px solid var(--pv-blue); }
.pv-part-3768749b .pv-story .pv-d-excerpt p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.pv-balanced-rubrics:has(> section) { padding-bottom: 40px; }
.pv-balanced-rubric { width: min(1200px, calc(100% - 20px)); }
.pv-balanced-rubric:is([data-rubric="blagoustroystvo"], [data-rubric="obrazovanie-i-nauka"], [data-rubric="zdorove-i-bezopasnost"]) {
  --pv-rubric-preview-width: 240px;
  --pv-rubric-mobile-preview-width: clamp(88px, calc(100% - 162px), 176px);
}
.pv-balanced-rubric + .pv-balanced-rubric { margin-top: 26px; }
.pv-balanced-rubric > h2 { margin: 0 0 10px; padding-bottom: 8px; border-bottom: 3px solid var(--pv-blue); font: 700 19px/1.35 var(--pv-sans); }
.pv-balanced-rubric-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pv-balanced-rubric-cards > .pv-card { display: grid; grid-template-columns: var(--pv-rubric-preview-width, 120px) minmax(0, 1fr); align-items: center; gap: 14px; padding: 12px; }
.pv-balanced-rubric-cards > .pv-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
.pv-balanced-rubric-cards .pv-preview { width: 100%; aspect-ratio: 3 / 2; }
.pv-balanced-rubric-cards h3 { margin: 0 0 6px; font: 700 16px/1.35 var(--pv-serif); overflow-wrap: anywhere; }
.pv-balanced-rubric-cards .pv-tag,.pv-balanced-rubric-cards .pv-excerpt { display: none; }
.pv-part-580b09b9 .pv-d-layout-heading-title { white-space: nowrap; }
.pv-edition .pv-d-bg-cover { background-color: #dce4ea; }
.pv-edition .pv-d-img.pv-d-bg-cover { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }
.pv-edition .pv-edition-image { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.pv-edition .pv-edition-image[hidden],.pv-preview img[hidden] { display: none; }
.pv-preview:has(img[hidden]) { background-color: #dce4ea; }
.pv-part-768288f .pv-d-loop:has(> article) > .pv-section-slot,
.pv-part-9a9243c .pv-d-loop:has(> article:nth-of-type(2)) > .pv-section-slot,
.pv-part-ca95ac6 .pv-d-loop:has(> article:nth-of-type(3)) > .pv-section-slot { display: none; }
.pv-part-6971a871 .pv-story .pv-d-excerpt p,.pv-part-9a9243c .pv-story .pv-d-excerpt p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.pv-section-slot .pv-d-content { min-width: 0; }
.pv-section-slot .pv-d-post-title { overflow-wrap: anywhere; }
.pv-section-slot .pv-d-post-title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.pv-part-6971a871 .pv-empty-slot .pv-d-post-title { min-height: 3lh; }
.pv-part-6971a871 .pv-empty-slot .pv-d-excerpt { min-height: 3lh; }
.pv-part-475c515e .pv-empty-slot .pv-d-post-title { min-height: 3lh; }
.pv-part-475c515e .pv-empty-slot:first-child .pv-d-post-title { min-height: 2lh; }
.pv-part-768288f .pv-section-slot .pv-d-post-title { min-height: 3lh; }
.pv-part-768288f .pv-section-slot .pv-d-bg-cover { background-color: #64798c; }
.pv-part-9a9243c .pv-section-slot .pv-d-post-title { min-height: 2lh; }
.pv-part-9a9243c .pv-section-slot .pv-d-excerpt { min-height: 3lh; }
.pv-part-ca95ac6 .pv-section-slot .pv-d-post-title { min-height: 2lh; }
.pv-part-60d122c4 .pv-module-inner { container-type: inline-size; }
.pv-reader-panel { min-height: 349px; display: flex; flex-direction: column; justify-content: center; padding: 25px 15px; text-align: center; color: #161616; }
.pv-reader-panel h3 { font-size: 23px; line-height: 1.3; margin: 18px 0 16px; }
.pv-reader-panel p { margin: 0 0 22px; font-size: 14px; line-height: 1.7; }
.pv-reader-panel .pv-button { width: 100%; font-size: 12px; text-transform: uppercase; }
.pv-reader-panel .pv-panel-note { margin: 18px 0 0; font-size: 11px; color: #526270; }
@container (max-width: 270px) { .pv-reader-panel { min-height: 425.55px; } }
.pv-envelope { display: block; position: relative; width: 40px; height: 28px; margin: 0 auto; border: 2px solid currentColor; border-radius: 2px; }
.pv-envelope::after { content: ""; position: absolute; width: 24px; height: 24px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); top: -15px; left: 5px; }

.pv-footer { margin-top: 40px; padding: 60px 0 0; border: 0; background: #030b13; color: #fff; }
.pv-home.pv-edition + .pv-footer { margin-top: 0; }
.pv-footer-top { display: flex; justify-content: space-between; align-items: center; min-height: 59px; padding-bottom: 24px; border-bottom: 1px solid #ffffff26; }
.pv-footer-brand { display: block; width: 209px; background: none; mix-blend-mode: screen; }
.pv-footer-brand img { width: 209px; height: 34px; object-fit: contain; object-position: left; filter: grayscale(1) contrast(5) brightness(.84); }
.pv-footer-main { grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 2.1fr); gap: 30px; padding-block: 38px 45px; }
.pv-footer-main > :not(.pv-footer-contact) { padding-top: 12px; }
.pv-footer h2 { font: 700 15px/1.4 var(--pv-serif); text-transform: uppercase; margin: 0 0 16px; }
.pv-footer nav { grid-template-columns: minmax(0, 1fr); gap: 12px; font: 14px/1.6 var(--pv-serif); }
.pv-footer nav a { overflow-wrap: anywhere; }
.pv-footer a:hover { color: #a7ceff; }
.pv-footer-contact { position: relative; isolation: isolate; min-height: 302px; padding: 40px 41px; border: 6px solid #15171a; box-shadow: inset 0 0 0 1px #ffffff26; overflow-wrap: anywhere; }
.pv-footer-envelope { position: absolute; z-index: -1; top: 28px; left: 38px; width: 95px; height: 72px; border: 7px solid #ffffff1a; border-radius: 12px; transform: rotate(13deg); }
.pv-footer-envelope::after { content: ""; position: absolute; top: -17px; left: 12px; width: 54px; height: 54px; border: solid #ffffff1a; border-width: 0 7px 7px 0; border-radius: 0 0 10px 0; transform: rotate(45deg); }
.pv-footer-contact h2 { text-transform: none; font-size: 20px; }
.pv-footer-contact p { margin: 0 0 23px; font: 14px/1.7 var(--pv-serif); color: #ddd; }
.pv-footer-contact-links { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 6px; margin-bottom: 18px; }
.pv-footer-email,.pv-footer-contact .pv-button { display: grid; place-items: center; min-height: 44px; border-radius: 3px; text-align: center; }
.pv-footer-email { padding-inline: 9px; border: 1px solid #ffffff20; background: #ffffff18; color: #eee; font: 14px/1.35 var(--pv-serif); }
.pv-footer-contact .pv-button { padding: 8px 15px; color: #fff; font: 700 12px/1.35 var(--pv-sans); text-transform: uppercase; }
.pv-footer-note { color: #bbb; font: 12px/1.6 var(--pv-serif); }
.pv-copyright { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 30px 0 40px; border-top: 1px solid #ffffff26; color: #ccc; font: 12px/1.5 var(--pv-serif); }
.pv-copyright nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px 0; font: inherit; }
.pv-copyright nav a { padding-inline: 13px; }
.pv-copyright nav a + a { border-left: 1px solid #ffffff1f; }
.pv-copyright nav a:last-child { padding-right: 0; }

@media (min-width: 940px) {
  .pv-masthead[data-scroll="down"] + .pv-edition { --pvr-ts-sticky-top: 20px; }
  .pv-masthead[data-scroll="up"] + .pv-edition { --pvr-ts-sticky-top: calc(var(--pv-masthead-height) + 20px); }
  .pv-part-286c114d > .pv-stack:has(.pv-part-475c515e article):not(:has(.pv-part-475c515e article:nth-of-type(5))) { background: #fff; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .pv-masthead-inner { padding-inline: 18px; gap: 12px; }
  .pv-primary { gap: clamp(3px, calc(3px + (100vw - 1024px) / 40), 8px); }
  .pv-brand { flex-basis: 138px; }
  .pv-brand img { width: 138px; }
  .pv-masthead-contact { width: 100px; padding-inline: 4px; font-size: 10.5px; }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .pv-masthead-actions .pv-action-icon { display: none; }
  .pv-primary a { padding-inline: 2px; font-size: 10.3px; }
}
@media (min-width: 1280px) and (max-width: 1439px) {
  .pv-masthead-inner { padding-inline: 24px; gap: 16px; }
  .pv-primary a { padding-inline: 2px; }
}
@media (max-width: 1023px) {
  :root { --pv-masthead-height: 65px; }
  .pv-masthead-inner { position: relative; justify-content: center; padding-inline: 58px; }
  .pv-brand { flex-basis: auto; min-width: 0; }
  .pv-brand img { width: min(224px, calc(100vw - 116px)); height: 65px; }
  .pv-mobile-menu { display: block; position: absolute; top: 10px; left: 12px; color: #fff; }
  .pv-mobile-menu summary { width: 42px; }
  .pv-menu-icon, .pv-menu-icon::before { width: 26px; }
  .pv-menu-icon::after { width: 18px; }
  .pv-menu nav { color: var(--pv-ink); }
  .pv-mobile-search { display: grid; position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; color: #fff; }
  .pv-mobile-search:hover { color: #fff; }
  .pv-primary,.pv-masthead-actions,.pv-desktop-menu,.pv-desktop-search,.pv-topic-caption,.pv-featured-topics { display: none; }
  .pv-topicbar-inner { width: 100%; height: auto; min-height: 50px; padding: 0; }
  .pv-topic-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; padding: 6px 12px; gap: 2px 13px; overflow: visible; font: 700 11px/1.35 var(--pv-serif); text-transform: uppercase; letter-spacing: .03em; }
  .pv-topic-links a { max-width: 100%; padding-block: 5px; white-space: normal; overflow-wrap: anywhere; }
  .pv-footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .pv-part-6971a871 .pv-story .pv-d-excerpt p { -webkit-line-clamp: 4; }
}
@media (max-width: 939px) {
  .pv-balanced-rubric:is([data-rubric="blagoustroystvo"], [data-rubric="obrazovanie-i-nauka"], [data-rubric="zdorove-i-bezopasnost"]) .pv-balanced-rubric-cards {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 767px) {
  .pv-part-6971a871 .pv-empty-slot .pv-d-post-title { min-height: 4lh; }
  .pv-part-6971a871 .pv-empty-slot .pv-d-excerpt { min-height: 5lh; }
  .pv-part-6971a871 .pv-story .pv-d-excerpt p { -webkit-line-clamp: 5; }
  .pv-footer { padding-top: 40px; }
  .pv-footer .pv-container { width: calc(100% - 40px); }
  .pv-footer-top { min-height: 116px; flex-direction: column; justify-content: space-between; }
  .pv-footer-brand img { object-position: center; }
  .pv-footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 36px; padding-block: 37px 35px; }
  .pv-footer-contact { grid-column: 1 / -1; min-height: 302px; padding: 36px clamp(15px, 8vw, 33px); }
  .pv-copyright { flex-direction: column; padding-bottom: 50px; }
  .pv-copyright nav a:last-child { padding-right: 13px; }
  .pv-balanced-rubric { width: calc(100% - 10px); }
  .pv-balanced-rubric-cards { grid-template-columns: minmax(0, 1fr); }
  .pv-balanced-rubric-cards > .pv-card { grid-template-columns: var(--pv-rubric-mobile-preview-width, 88px) minmax(0, 1fr); gap: 12px; }
  .pv-balanced-rubric-cards .pv-preview { aspect-ratio: 4 / 3; }
}
@media (prefers-reduced-motion: reduce) {
  .pv-masthead[data-scroll] .pv-masthead-row { transition: none; }
}
