/* =========================
   DESKTOP TYPOGRAPHY RESET
   Mobile stays unchanged
   ========================= */
@media (min-width: 1024px) {

  /* Set the base size for post content containers (covers most themes) */
  .entry-content,
  .post-content,
  .site-content,
  .content-area,
  article,
  .wp-block-post-content,
  .wp-site-blocks {
    font-size: 18px !important;
    line-height: 1.7 !important;
  }

  /* Paragraphs (classic + Gutenberg) */
  .entry-content p,
  .post-content p,
  .site-content p,
  .content-area p,
  article p,
  .wp-block-post-content p,
  .wp-block-paragraph,
  p.wp-block-paragraph {
    font-size: 18px !important;
    line-height: 1.7 !important;
  }

  /* Lists + list items (bullets and numbered) */
  .entry-content ul,
  .entry-content ol,
  .post-content ul,
  .post-content ol,
  .site-content ul,
  .site-content ol,
  .content-area ul,
  .content-area ol,
  article ul,
  article ol,
  .wp-block-post-content ul,
  .wp-block-post-content ol,
  .wp-block-list,
  .wp-block-list li,
  .entry-content li,
  .post-content li,
  .site-content li,
  .content-area li,
  article li {
    font-size: 18px !important;
    line-height: 1.7 !important;
  }

  /* Optional: nicer list spacing on desktop */
  .entry-content li,
  .wp-block-list li {
    margin-bottom: 8px;
  }
}
/* DESKTOP: reduce author bio text only */
@media (min-width: 1024px) {

  /* Common author bio containers */
  .author-bio,
  .author-info,
  .author-description,
  .author-box,
  .entry-author,
  .post-author,
  .wp-block-post-author,
  .wp-block-post-author__bio {
    font-size: 16px !important;
    line-height: 1.6 !important;
  }

  /* Paragraphs inside author bio */
  .author-bio p,
  .author-info p,
  .author-description p,
  .author-box p,
  .wp-block-post-author__bio p {
    font-size: 16px !important;
    line-height: 1.6 !important;
  }
}
/* DESKTOP: shrink author section/bio text (broad but safe) */
@media (min-width: 1024px) {

  /* Target common author containers by partial match */
  article [class*="author"],
  article [id*="author"],
  article [class*="bio"],
  article [id*="bio"],
  article [class*="profile"],
  article [id*="profile"] {
    line-height: 1.6 !important;
  }

  /* Shrink only the descriptive text inside (not headings/names) */
  article [class*="author"] p,
  article [id*="author"] p,
  article [class*="bio"] p,
  article [id*="bio"] p,
  article [class*="profile"] p,
  article [id*="profile"] p,
  article [class*="author"] li,
  article [id*="author"] li,
  article [class*="bio"] li,
  article [id*="bio"] li,
  article [class*="profile"] li,
  article [id*="profile"] li,
  article [class*="author"] span,
  article [id*="author"] span,
  article [class*="bio"] span,
  article [id*="bio"] span,
  article [class*="profile"] span,
  article [id*="profile"] span {
    font-size: 16px !important;
    line-height: 1.6 !important;
  }

  /* Keep the author name/title looking like a heading */
  article [class*="author"] h1,
  article [class*="author"] h2,
  article [class*="author"] h3,
  article [class*="author"] .author-name,
  article [class*="author"] [class*="name"] {
    font-size: inherit !important;
  }
}
/* DESKTOP ONLY: reduce general post text slightly */
/* CREATIO 2 — Author bio smaller than article text (desktop only) */
@media screen and (min-width: 1024px) {

  /* Target WP Author Bio inside Creatio post layout */
  body.single-post .wp-author-bio,
  body.single-post .wp-author-bio p,
  body.single-post .wp-author-bio span,
  body.single-post .wp-author-bio div {
    font-size: 13px !important;
    line-height: 1.35 !important;
    letter-spacing: normal !important;
  }

  /* Fix inflated spacing caused by Creatio */
  body.single-post .wp-author-bio p {
    margin-top: 0.35em !important;
    margin-bottom: 0.35em !important;
  }

  /* Author name (slightly larger than bio, still restrained) */
  body.single-post .wp-author-bio-name,
  body.single-post .wp-author-bio-name a {
    font-size: 15px !important;
    line-height: 1.3 !important;
  }

  /* Kill Creatio container spacing */
  body.single-post .wp-author-bio {
    padding: 18px 20px !important;
  }
}
/* CREATIO 2 — Make the TOP author bio box smaller on DESKTOP only */
@media screen and (min-width: 1024px) {

  /* WordPress "Post Author" block (very likely what you're using) */
  body.single-post .wp-block-post-author,
  body.single-post .wp-block-post-author__content,
  body.single-post .wp-block-post-author__bio,
  body.single-post .wp-block-post-author__bio p,
  body.single-post .wp-block-post-author__content p {
    font-size: 13px !important;
    line-height: 1.35 !important;
    margin-top: 0.35em !important;
    margin-bottom: 0.35em !important;
  }

  body.single-post .wp-block-post-author__name,
  body.single-post .wp-block-post-author__name a {
    font-size: 15px !important;
    line-height: 1.25 !important;
  }

  /* Creatio / theme-style author box fallbacks (covers lots of templates) */
  body.single-post .author-box,
  body.single-post .author-box p,
  body.single-post .author-info,
  body.single-post .author-info p,
  body.single-post .post-author,
  body.single-post .post-author p,
  body.single-post .entry-author,
  body.single-post .entry-author p {
    font-size: 13px !important;
    line-height: 1.35 !important;
    margin-top: 0.35em !important;
    margin-bottom: 0.35em !important;
  }
}
@media screen and (min-width: 1024px) {

  /* Author bio text */
  body.single-post .wp-block-post-author,
  body.single-post .wp-block-post-author__content,
  body.single-post .wp-block-post-author__bio,
  body.single-post .wp-block-post-author__bio p,
  body.single-post .wp-block-post-author__content p {
    font-family: "Merriweather", serif !important;
    font-size: 13px !important;
    line-height: 1.45 !important; /* slightly more air, still compact */
    margin-top: 0.45em !important;
    margin-bottom: 0.45em !important;
  }

  /* Author name */
  body.single-post .wp-block-post-author__name,
  body.single-post .wp-block-post-author__name a {
    font-family: "Merriweather", serif !important;
    font-size: 15px !important;
    line-height: 1.3 !important;
  }
}