/* Shared heading hierarchy approved by Olga (Telegram 587). */
@font-face{font-family:'Olga Heading Preview';font-style:normal;font-weight:600;font-display:swap;src:url(assets/cormorant-garamond-600.69e7ae35cba2.ttf) format('truetype')}
:root{--title-size:30px;--section-size:25px;--sub-size:22px;--title-after:20px;--heading-before:32px;--page-top:24px}
main .type-page-title,main .type-section-title,main .type-subtitle,main .type-card-title,main .type-detail-title{font-family:'Olga Heading Preview',Georgia,serif!important;font-style:normal!important;font-weight:600!important;letter-spacing:0!important;text-align:left!important;text-wrap:pretty;overflow-wrap:anywhere!important;hyphens:none;max-width:100%;height:auto}
main .type-page-title{font-size:var(--title-size)!important;line-height:1.2!important;margin:0 0 var(--title-after)!important}
main .type-section-title{font-size:var(--section-size)!important;line-height:1.28!important;margin:var(--heading-before) 0 12px!important}
main .type-subtitle,main .type-card-title{font-size:var(--sub-size)!important;line-height:1.3!important;margin:24px 0 10px!important}
main .type-card-title{margin:0!important}
/* Homepage direction titles and their inline arrows form one centred group. */
main .direction-body .type-card-title{text-align:center!important}
main .type-section-title a,main .type-subtitle a,main .type-card-title a{font-family:inherit!important;font-weight:inherit!important;font-size:inherit!important;line-height:inherit!important;letter-spacing:inherit!important}
main :is(.contact-panel,.review-invitation,.topic-publications,.related-materials)>.type-section-title:first-child,main .section-heading>.type-section-title{margin-top:0!important}
main .section-heading:has(>.type-section-title){margin-block:var(--heading-before) 12px}
main :is(.contact-data-care,.contact-process)>.type-subtitle:first-child{margin-top:0!important}
main:is(.section-page,.reviews-page,.contact-page,.consultation-page,.journal-page,.search-page){padding-top:var(--page-top)!important}
@media(max-width:1100px){:root{--title-size:28px;--section-size:24px;--sub-size:21px;--page-top:20px;--heading-before:28px;--title-after:18px}}
@media(max-width:599px){:root{--title-size:26px;--section-size:22px;--sub-size:20px;--page-top:16px;--heading-before:24px;--title-after:16px}}

main .type-detail-title{font-size:20px!important;line-height:1.35!important;margin:20px 0 8px!important}
@media(max-width:599px){main .type-detail-title{font-size:18px!important}}
