/* FOGERVAPE GLOBAL TITLE SYSTEM V52 */

/* Astra titles on ordinary WordPress pages */
body.page:not(.home) .entry-header .entry-title,
body.page:not(.home) h1.entry-title {
    text-align:center!important;
    margin-left:auto!important;
    margin-right:auto!important;
    text-wrap:balance;
}

/* All standard Journal article titles */
body.single-post .entry-header,
body.single-post .entry-header .entry-title,
body.single-post h1.entry-title {
    text-align:center!important;
}

body.single-post .entry-header .entry-title,
body.single-post h1.entry-title {
    max-width:850px;
    margin-left:auto!important;
    margin-right:auto!important;
    font-size:clamp(32px,4vw,48px);
    line-height:1.16;
    letter-spacing:-.035em;
    text-wrap:balance;
}

/* Landing page and Journal custom hero titles */
body.page .fv-landing-hero h1,
body.page .fv40-hero h1,
body.page .fv51-hero h1 {
    display:block;
    max-width:850px;
    margin-left:auto!important;
    margin-right:auto!important;
    text-align:center!important;
    text-wrap:balance;
}

/* Journal card titles remain consistently aligned */
.fv51 .fv51-card,
.fv51 .fv51-card strong,
.fv51 .fv51-card p,
.fv51 .fv51-card .fv51-read {
    text-align:center;
}

/* Mobile typography */
@media(max-width:680px) {
    body.single-post h1.entry-title {
        font-size:clamp(29px,8vw,38px);
        line-height:1.18;
        padding-left:10px;
        padding-right:10px;
    }

    body.page .fv51-hero h1,
    body.page .fv40-hero h1,
    body.page .fv-landing-hero h1 {
        font-size:clamp(30px,8vw,42px);
        line-height:1.15;
    }
}

/* FOGERVAPE_JOURNAL_READING_V1 */

/* Shared desktop and mobile reading width */
body.single-post .site-content .content-area,
body.single-post .site-content .site-main,
body.single-post .site-content article.type-post {
  width:100%;
  max-width:100%;
  min-width:0;
}

body.single-post .site-content article.type-post .entry-content {
  width:100%;
  max-width:820px;
  margin-left:auto;
  margin-right:auto;
  padding:0 20px;
  box-sizing:border-box;
}

/* Consistent editorial typography */
body.single-post .entry-content > p,
body.single-post .entry-content > ul,
body.single-post .entry-content > ol,
body.single-post .entry-content > table,
body.single-post .entry-content > h2,
body.single-post .entry-content > h3 {
  max-width:820px;
  margin-left:auto;
  margin-right:auto;
}

body.single-post .entry-content p,
body.single-post .entry-content li {
  font-size:16px;
  line-height:1.85;
}

body.single-post .entry-content h2 {
  margin-top:44px;
  margin-bottom:18px;
  font-size:clamp(25px,3vw,32px);
  line-height:1.25;
}

body.single-post .entry-content h3 {
  margin-top:28px;
  margin-bottom:14px;
  font-size:21px;
  line-height:1.35;
}

body.single-post .entry-content p {
  margin-bottom:20px;
}

body.single-post .entry-content table {
  display:block;
  max-width:100%;
  overflow-x:auto;
}

body.single-post .entry-content img {
  max-width:100%;
  height:auto;
}

@media(max-width:680px) {
  body.single-post .site-content article.type-post .entry-content {
    padding:0 15px;
  }

  body.single-post .entry-content p,
  body.single-post .entry-content li {
    font-size:15px;
    line-height:1.8;
  }

  body.single-post .entry-content h2 {
    margin-top:35px;
    font-size:25px;
  }
}
