/* Short Hair Models: editorial design for article pages only.
   Keeps original Newspaper templates, scripts, widgets, ad placements and content. */
body.single-post {
  --shm-paper:#fbfaf7;
  --shm-ink:#282421;
  --shm-muted:#6a615b;
  --shm-accent:#a95d56;
  --shm-border:#e8ded7;
  background:var(--shm-paper);
  color:var(--shm-ink);
}
body.single-post .td-main-content-wrap {background:var(--shm-paper)}
body.single-post .tdc-content-wrap {max-width:1380px;margin-inline:auto}

/* Newspaper header: compact and closer to the Studio visual identity. */
body.single-post .td-header-wrap .td-logo-text {
  font:400 clamp(29px,3.2vw,44px)/1.13 Georgia,"Times New Roman",serif!important;
  letter-spacing:-.055em!important;
  color:var(--shm-ink)!important;
}
body.single-post .td-header-wrap .td-banner-wrap-full {padding-block:12px!important}
body.single-post .td-header-wrap .td-tagline-text {font-size:11px;letter-spacing:.03em;color:var(--shm-muted)}
body.single-post .td-header-wrap .td-header-menu-wrap-full {border-top:1px solid var(--shm-border);background:var(--shm-paper)}

/* Breadcrumbs, category label, headline and article metadata. */
body.single-post .tdb_breadcrumbs {margin-bottom:21px!important;color:var(--shm-muted)}
body.single-post .tdb_breadcrumbs a {color:var(--shm-muted)}
body.single-post .tdb_breadcrumbs a:hover {color:var(--shm-accent)}
body.single-post .tdb_single_categories {margin-bottom:13px!important}
body.single-post .tdb_single_categories .tdb-entry-category {
  padding:8px 13px!important;
  border:1px solid #e5d7d0!important;
  background:#f6eeea!important;
  color:#783e39!important;
  border-radius:100px;
  line-height:1.3!important;
  font-size:11px!important;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
}
body.single-post .tdb_single_categories .tdb-cat-bg {display:none!important}
body.single-post .tdb_title {margin-bottom:22px!important}
body.single-post .tdb_title .tdb-title-text {
  font:400 clamp(34px,4.1vw,62px)/1.095 Georgia,"Iowan Old Style",Baskerville,serif!important;
  letter-spacing:-.052em!important;
  color:var(--shm-ink)!important;
  text-wrap:balance;
  overflow-wrap:break-word;
}
body.single-post .tdb_single_author,
body.single-post .tdb_single_date,
body.single-post .tdb_single_comments_count,
body.single-post .tdb_single_post_views {font-size:12px!important;color:var(--shm-muted)!important}
body.single-post .tdb_single_author .tdb-author-name {color:var(--shm-ink)!important}

/* Reading typography. The selector matches TagDiv Cloud single post templates. */
body.single-post .tdb_single_content {
  font:400 17px/1.8 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  color:var(--shm-ink);
}
body.single-post .tdb_single_content .tdb-block-inner {max-width:860px;margin-inline:auto}
body.single-post .tdb_single_content p {
  font-size:17px!important;
  line-height:1.85!important;
  color:#453f3b;
  margin-bottom:1.35em!important;
}
body.single-post .tdb_single_content :is(h2,h3,h4) {
  color:var(--shm-ink)!important;
  line-height:1.16!important;
  letter-spacing:-.035em!important;
  margin:1.55em 0 .6em!important;
}
body.single-post .tdb_single_content h2 {
  font:400 clamp(29px,3.1vw,42px)/1.16 Georgia,"Times New Roman",serif!important;
}
body.single-post .tdb_single_content h3 {
  font:400 clamp(23px,2.3vw,32px)/1.25 Georgia,"Times New Roman",serif!important;
}
body.single-post .tdb_single_content a:not(.td-social-network) {text-decoration-thickness:1px;text-underline-offset:3px}
body.single-post .tdb_single_content a:hover {color:#984c45}

/* Editorial image cards, without cropping hairstyle photographs.
   Ads and HTML blocks between images retain their original layout. */
body.single-post .tdb_single_content .tdb-block-inner > p:has(> img),
body.single-post .tdb_single_content .tdb-block-inner > p:has(> a > img) {
  max-width:740px!important;
  margin:25px auto 30px!important;
  padding:clamp(8px,1.2vw,14px)!important;
  background:#fff;
  border:1px solid var(--shm-border);
  border-radius:14px;
  box-shadow:0 7px 24px rgba(45,27,20,.045);
  line-height:0!important;
}
body.single-post .tdb_single_content .tdb-block-inner > p:has(> img) img,
body.single-post .tdb_single_content .tdb-block-inner > p:has(> a > img) img {
  display:block!important;
  width:auto!important;
  max-width:100%!important;
  height:auto!important;
  max-height:920px;
  object-fit:contain;
  border-radius:9px;
  margin:0 auto!important;
}
body.single-post .tdb_single_content figure.wp-caption {
  max-width:100%!important;
  padding:10px;
  background:#fff;
  border:1px solid var(--shm-border);
  border-radius:13px;
}
body.single-post .tdb_single_content figure.wp-caption img {max-width:100%!important;height:auto;border-radius:8px}
body.single-post .tdb_single_content figure.wp-caption figcaption {color:var(--shm-muted);font-size:12px;padding:10px 5px 4px}
body.single-post .tdb_single_content blockquote {background:#f2e8e1;border-left:3px solid var(--shm-accent);padding:22px 25px;border-radius:0 10px 10px 0}

/* Existing related article widget: modern card typography and images. */
body.single-post .tdb_single_related {margin-top:55px!important}
body.single-post .tdb_single_related .td-block-title,
body.single-post .tdb_single_related .td-related-title {
  font:400 clamp(24px,2.5vw,34px)/1.2 Georgia,"Times New Roman",serif!important;
  letter-spacing:-.03em!important;
  color:var(--shm-ink)!important;
  border-bottom:1px solid var(--shm-border);
  padding-bottom:13px!important;
}
body.single-post .tdb_single_related .td-module-title {font:400 19px/1.32 Georgia,"Times New Roman",serif!important;letter-spacing:-.025em!important}
body.single-post .tdb_single_related .entry-thumb,
body.single-post .tdb_single_related img {border-radius:8px}
body.single-post .tdb_single_related .td-module-container {padding-bottom:15px}
body.single-post a:focus-visible,
body.single-post button:focus-visible {outline:3px solid #1d64bd!important;outline-offset:3px}

/* Phones: maintain readable type and photographs without horizontal clipping. */
@media(max-width:767px) {
  body.single-post .td-header-wrap .td-logo-text {font-size:29px!important}
  body.single-post .tdb_title .tdb-title-text {font-size:clamp(33px,8.5vw,44px)!important;line-height:1.12!important}
  body.single-post .tdb_single_content p {font-size:16px!important;line-height:1.8!important}
  body.single-post .tdb_single_content .tdb-block-inner > p:has(>img),
  body.single-post .tdb_single_content .tdb-block-inner > p:has(>a>img) {margin:19px auto 23px!important;padding:7px!important;border-radius:10px}
  body.single-post .tdb_single_content .tdb-block-inner > p:has(>img) img,
  body.single-post .tdb_single_content .tdb-block-inner > p:has(>a>img) img {border-radius:7px}
}
@media(prefers-reduced-motion:reduce) {
  body.single-post * {scroll-behavior:auto!important;transition-duration:0.01ms!important}
}
