/**
 * Post detail (Fancybox + /posts/): sitewide h1 is 64px in custom.css — must not leak here.
 * Marker: postdetailtypo20261129a
 */
html body #post .post__page-title,
html body #post h1.post__page-title,
html body #post .post-public-page__h1,
html body #post.js-cotinder-post-modal .post__page-title,
html body #post.js-cotinder-post-modal h1.post__page-title,
html body .post-public-page #post .post__page-title,
html body .fancybox__container #post .post__page-title,
html body .fancybox__container #post h1.post__page-title {
  font-size: 16px !important;
  line-height: 1.35 !important;
  font-weight: 600 !important;
  color: var(--text-color2, #372f2f) !important;
  margin: 0 0 12px !important;
  padding: 0 20px 10px !important;
  border: 0 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
}

html body #post .post__text_text h1,
html body #post .post__text_text h2,
html body #post .post__text_text h3,
html body #post .post__text_text h4,
html body .fancybox__container #post .post__text_text h1,
html body .fancybox__container #post .post__text_text h2 {
  font-size: 16px !important;
  line-height: 1.35 !important;
  font-weight: 600 !important;
  margin: 0 0 10px !important;
  padding: 0 !important;
}

html body #post .post__text_text h2,
html body .fancybox__container #post .post__text_text h2 {
  font-size: 15px !important;
}

html body #post .post__text_text h3,
html body #post .post__text_text h4,
html body .fancybox__container #post .post__text_text h3 {
  font-size: 14px !important;
  font-weight: 600 !important;
}

@media (max-width: 480px) {
  html body #post .post__page-title,
  html body #post h1.post__page-title,
  html body .fancybox__container #post .post__page-title {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}

@media (min-width: 1200px) {
  html body #post .post__page-title,
  html body #post h1.post__page-title,
  html body .fancybox__container #post .post__page-title {
    font-size: 17px !important;
    line-height: 1.35 !important;
    padding-top: 0 !important;
  }
}