/*
 * freightallianceinc.com - single blog posts only.
 * Every rule starts with body.single-post, so no other page is touched.
 * Tokens from /style-guide/: Muller fonts, #F37032 orange, #1B1B1B ink, #F3F2F7 panel, #FFF0E9 peach, 1px radius.
 *
 * The theme prints only the post content inside main#primary (no article, title, meta, nav),
 * and its global rules are body{display:flex;flex-direction:column} + main{display:contents},
 * so the content paragraphs become full-width flex items of <body>. main#primary is made a real
 * block column here; the selectors for .entry-* / article / .post-navigation are included so the
 * styling keeps working if the template later prints them.
 *
 * Header: absolute 96px (>=1369) / 84px (993-1368) / fixed 79px (<=992) / 73px (<=743 + the phone
 * link hangs to y=98 under it). It is built for dark hero photos (white logo, white phone); on a
 * white post page both vanish, so the black logo / ink phone are forced exactly like
 * header[data-color=black] does on the theme's light pages.
 */

/* ---------- header on a light page ---------- */
body.single-post #header .header__logo--white { display: none; }
body.single-post #header .header__logo--black { display: block; }
body.single-post #header .header__phone { color: #1B1B1B; }
body.single-post #header .header__phone:hover > span { color: #F37032; }

/* ---------- wrapper: real column + clearance under the header ---------- */
body.single-post main#primary {
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: 808px;                 /* 760px text + 2 x 24px */
  margin: 0 auto;
  padding: 168px 24px 112px;
  font-family: "MullerRegular", sans-serif;
  font-size: 18px;
  line-height: 1.72;
  letter-spacing: 0;
  color: #1B1B1B;
  overflow-wrap: break-word;
}
@media (max-width: 1368px) {
  body.single-post main#primary { padding-top: 156px; }
}
@media (max-width: 992px) {
  body.single-post main#primary { padding-top: 136px; }
}
@media (max-width: 743px) {
  body.single-post main#primary { padding: 140px 24px 80px; font-size: 17px; }
}

/* ---------- optional entry header, in case the template prints it later ---------- */
body.single-post main#primary .entry-header { margin: 0 0 40px; }
body.single-post main#primary .entry-title {
  margin: 0;
  padding: 0 0 .12em;
  font-family: "MullerExtraBold", sans-serif;
  font-weight: 400;
  font-size: clamp(32px, 3.2vw + 12px, 54px);
  line-height: 1.08;
  letter-spacing: -.02em;
  color: #1B1B1B;
}
body.single-post main#primary .entry-meta {
  margin: 18px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: #575757;
}
body.single-post main#primary .entry-meta a { color: inherit; }
body.single-post main#primary .post-thumbnail { margin: 0 0 44px; }
body.single-post main#primary .post-thumbnail img {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 1px;
}
body.single-post main#primary .entry-footer { margin-top: 48px; font-size: 14px; color: #575757; }

/* ---------- text ---------- */
body.single-post main#primary p {
  margin: 0 0 1.3em;
  font-family: "MullerRegular", sans-serif;
  font-size: 1em;
  line-height: 1.72;
  color: #1B1B1B;
  text-wrap: pretty;
}
/* the post has no printed title, so the first paragraph opens it as a lead */
body.single-post main#primary > p:first-child,
body.single-post main#primary .entry-content > p:first-child {
  margin-bottom: 1.4em;
  font-family: "MullerMedium", sans-serif;
  font-size: 1.12em;
  line-height: 1.6;
}
@media (max-width: 743px) {
  body.single-post main#primary > p:first-child,
  body.single-post main#primary .entry-content > p:first-child { font-size: 1.02em; }
}

body.single-post main#primary h2,
body.single-post main#primary h3,
body.single-post main#primary h4 {
  font-family: "MullerExtraBold", sans-serif;
  font-weight: 400;                 /* weight is baked into the font file; 700 would fake-bold it */
  color: #1B1B1B;
  padding-bottom: .1em;
  text-wrap: balance;
}
body.single-post main#primary h2 {
  margin: 2.1em 0 .6em;
  font-size: clamp(26px, 1.4vw + 17px, 36px);
  line-height: 1.14;
  letter-spacing: -.015em;
}
body.single-post main#primary h3 {
  margin: 1.9em 0 .5em;
  font-size: clamp(20px, .5vw + 17px, 24px);
  line-height: 1.25;
  letter-spacing: -.005em;
}
body.single-post main#primary h4 {
  margin: 1.7em 0 .4em;
  font-size: 18px;
  line-height: 1.3;
}
body.single-post main#primary > h2:first-child,
body.single-post main#primary .entry-content > h2:first-child { margin-top: 0; }

body.single-post main#primary strong,
body.single-post main#primary b {
  font-family: "MullerBold", "MullerExtraBold", sans-serif;
  font-weight: 400;
  color: #1B1B1B;
}
body.single-post main#primary em,
body.single-post main#primary i { font-style: italic; }

/* links: ink text, orange underline, peach hover (orange text on white is only 2.9:1) */
body.single-post main#primary p a,
body.single-post main#primary li a,
body.single-post main#primary blockquote a,
body.single-post main#primary td a {
  color: #1B1B1B;
  text-decoration: underline;
  text-decoration-color: #F37032;
  text-decoration-thickness: 2px;
  text-underline-offset: .27em;
  text-decoration-skip-ink: none;
  overflow-wrap: anywhere;
  transition: background-color .25s ease, color .25s ease;
}
body.single-post main#primary p a:hover,
body.single-post main#primary li a:hover,
body.single-post main#primary blockquote a:hover,
body.single-post main#primary td a:hover {
  background-color: #FFF0E9;
  color: #C9511B;
}

/* lists: real markers, indent, orange marker */
body.single-post main#primary ul,
body.single-post main#primary ol {
  margin: 0 0 1.5em;
  padding: 0 0 0 1.5em;
  color: #1B1B1B;
}
body.single-post main#primary ul { list-style: disc outside; }
body.single-post main#primary ol { list-style: decimal outside; }
body.single-post main#primary li {
  display: list-item;
  list-style: inherit;
  margin: 0 0 .65em;
  padding-left: .3em;
  line-height: 1.65;
}
body.single-post main#primary li::marker { color: #F37032; font-family: "MullerExtraBold", sans-serif; }
body.single-post main#primary li > ul,
body.single-post main#primary li > ol { margin: .65em 0 0; }

/* quote: light panel, no side stripe */
body.single-post main#primary blockquote {
  margin: 2em 0;
  padding: 28px 32px;
  background: #F3F2F7;
  border: 0;
  border-radius: 1px;
  font-family: "MullerMedium", sans-serif;
  font-size: 1.08em;
  line-height: 1.6;
  color: #1B1B1B;
}
body.single-post main#primary blockquote p { margin: 0 0 .8em; font-family: inherit; }
body.single-post main#primary blockquote > :last-child { margin-bottom: 0; }
body.single-post main#primary cite { font-style: normal; font-size: .85em; color: #575757; }
@media (max-width: 743px) {
  body.single-post main#primary blockquote { padding: 22px 22px; }
}

/* tables scroll inside themselves, never the page */
body.single-post main#primary table {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 2em 0;
  overflow-x: auto;
  border-collapse: collapse;
  font-size: .9em;
  line-height: 1.5;
  -webkit-overflow-scrolling: touch;
}
body.single-post main#primary th,
body.single-post main#primary td {
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
  border: 0;
  border-bottom: 1px solid #D5D5D5;
}
body.single-post main#primary thead th,
body.single-post main#primary tr:first-child th {
  background: #1B1B1B;
  font-family: "MullerMedium", sans-serif;
  font-weight: 400;
  color: #fff;
  white-space: nowrap;
}
body.single-post main#primary tbody tr:nth-child(even) td { background: #F3F2F7; }

/* images and embeds inside the text */
body.single-post main#primary img,
body.single-post main#primary video,
body.single-post main#primary iframe { max-width: 100%; height: auto; border-radius: 1px; }
body.single-post main#primary iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; }
body.single-post main#primary figure { margin: 2em 0; max-width: 100%; }
body.single-post main#primary figcaption { margin-top: .7em; font-size: .8em; line-height: 1.5; color: #575757; }
body.single-post main#primary hr { height: 1px; margin: 2.5em 0; border: 0; background: #D5D5D5; }
body.single-post main#primary pre,
body.single-post main#primary code {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: .88em;
  background: #F3F2F7;
  border-radius: 1px;
}
body.single-post main#primary code { padding: .1em .4em; }
body.single-post main#primary pre { margin: 1.6em 0; padding: 16px 20px; overflow-x: auto; }
body.single-post main#primary pre code { padding: 0; background: none; }

/* ---------- previous / next, in case the template prints them later ---------- */
body.single-post main#primary .post-navigation { margin: 56px 0 0; }
body.single-post main#primary .post-navigation .nav-links {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
body.single-post main#primary .post-navigation .nav-previous { grid-column: 1; }
body.single-post main#primary .post-navigation .nav-next { grid-column: 2; text-align: right; }
body.single-post main#primary .post-navigation a {
  display: flex; flex-direction: column; gap: 8px; height: 100%;
  padding: 24px 28px 26px;
  background: #F3F2F7;
  border-radius: 1px;
  color: #1B1B1B;
  text-decoration: none;
  transition: background-color .25s ease;
}
body.single-post main#primary .post-navigation .nav-next a { align-items: flex-end; }
body.single-post main#primary .post-navigation a:hover { background: #FFF0E9; }
body.single-post main#primary .post-navigation .nav-subtitle {
  font-family: "MullerExtraBold", sans-serif; font-size: 13px; line-height: 1.3; letter-spacing: .06em; text-transform: uppercase; color: #F37032;
}
body.single-post main#primary .post-navigation .nav-title { font-family: "MullerMedium", sans-serif; font-size: 17px; line-height: 1.4; }
@media (max-width: 743px) {
  body.single-post main#primary .post-navigation .nav-links { grid-template-columns: 1fr; gap: 14px; }
  body.single-post main#primary .post-navigation .nav-previous,
  body.single-post main#primary .post-navigation .nav-next { grid-column: 1; text-align: left; }
  body.single-post main#primary .post-navigation .nav-next a { align-items: flex-start; }
}
body.single-post main#primary .screen-reader-text {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); border: 0; white-space: nowrap;
}

/* ---------- comments: closed on posts ---------- */
body.single-post #comments,
body.single-post .comments-area,
body.single-post .comment-respond { display: none !important; }

/* No byline: posts carry the publishing account name ("author", agency name), not a person (24.11.2026). */
body.single-post .entry-meta .byline { display: none; }
