/* Plain Talk Insurance: author system + blog.
   Design tokens: pine #1E5E4E / #154438, marigold #F2B544, ink #16272B,
   muted #3E4B4B, warm #FAF7F2, surface #F2ECE2, border #E6DCCB.
   Fonts: Bricolage Grotesque (headings), Atkinson Hyperlegible Next (text). */

.pt-site .pt-eyebrow { font-size: 14px; font-weight: 700; letter-spacing: 0.16em; color: #3E4B4B; text-transform: uppercase; }
.pt-site .pt-eyebrow a { color: inherit; text-decoration: none; }
.pt-site .pt-eyebrow a:hover { color: #1E5E4E; text-decoration: underline; }

/* ---------- Byline (under every H1) ---------- */
.pt-site .pt-byline { font-size: 16px; line-height: 1.5; color: #3E4B4B; }
.pt-site .pt-byline a.pt-byline-author { color: #1E5E4E !important; font-weight: 700; text-decoration: underline !important; text-underline-offset: 3px; }
.pt-site .pt-byline a.pt-byline-author:hover { color: #154438 !important; }
/* A page with the byline switched off leaves an empty line: hide it. */
.pt-site p.pt-text-24:empty { display: none; }
.pt-site .elementor-element:has(> .elementor-widget-container > p.pt-text-24:empty),
.pt-site .elementor-element:has(> p.pt-text-24:empty) { display: none !important; }

/* ---------- Author box (bottom of pages and posts) ---------- */
.pt-site .pt-author-wrap { max-width: 980px; margin: 0 auto; padding: clamp(24px, 4vw, 48px) clamp(16px, 4vw, 40px) clamp(48px, 6vw, 80px); }
.pt-site .pt-author-box {
  display: flex; gap: 24px; align-items: flex-start;
  background: #FAF7F2; border: 1px solid #E6DCCB; border-radius: 20px; padding: clamp(22px, 3vw, 32px);
  font-family: 'Atkinson Hyperlegible Next', Arial, sans-serif; color: #16272B;
}
.pt-site .pt-author-photo { flex: none; width: 96px; height: 96px; border-radius: 50%; overflow: hidden; background: #F2ECE2; border: 3px solid #FFFFFF; box-shadow: 0 0 0 1px #E6DCCB; }
.pt-site .pt-author-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pt-site .pt-author-initials {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  background: #1E5E4E; color: #FFFFFF; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 32px; letter-spacing: -0.02em;
}
.pt-site .pt-author-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pt-site .pt-author-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.16em; color: #3E4B4B; }
.pt-site .pt-author-name { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 24px; line-height: 1.2; letter-spacing: -0.015em; }
.pt-site .pt-author-name a { color: #16272B; text-decoration: none; }
.pt-site .pt-author-name a:hover { color: #1E5E4E; text-decoration: underline; }
.pt-site .pt-author-title { font-size: 16px; font-weight: 700; color: #1E5E4E; }
.pt-site .pt-author-bio { margin: 6px 0 0; font-size: 17px; line-height: 1.6; color: #16272B; }
.pt-site .pt-author-cred { margin: 0; font-size: 15px; color: #3E4B4B; }
.pt-site .pt-author-links { display: flex; align-items: center; gap: 18px; margin-top: 8px; flex-wrap: wrap; }
.pt-site .pt-author-li { display: inline-flex; color: #1E5E4E; }
.pt-site .pt-author-li:hover { color: #154438; }
.pt-site .pt-author-more { font-size: 17px; font-weight: 700; color: #1E5E4E; text-underline-offset: 3px; }
@media (max-width: 599px) {
  .pt-site .pt-author-box { flex-direction: column; align-items: flex-start; gap: 16px; }
  .pt-site .pt-author-photo { width: 80px; height: 80px; }
}

/* ---------- Profile page (/about/kelly-raulerson/) ---------- */
.pt-site .pt-profile { max-width: 980px; margin: 0 auto; padding: clamp(36px, 6vw, 72px) clamp(16px, 4vw, 40px) clamp(56px, 8vw, 96px); font-family: 'Atkinson Hyperlegible Next', Arial, sans-serif; color: #16272B; }
.pt-site .pt-profile-head { display: flex; gap: clamp(20px, 4vw, 40px); align-items: center; padding-bottom: clamp(28px, 4vw, 40px); border-bottom: 1px solid #E6DCCB; }
.pt-site .pt-profile-photo { flex: none; width: clamp(120px, 18vw, 180px); height: clamp(120px, 18vw, 180px); border-radius: 50%; overflow: hidden; background: #F2ECE2; border: 4px solid #FFFFFF; box-shadow: 0 0 0 1px #E6DCCB; }
.pt-site .pt-profile-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pt-site .pt-profile-photo .pt-author-initials { font-size: clamp(40px, 6vw, 56px); }
.pt-site .pt-profile-id { display: flex; flex-direction: column; gap: 8px; }
.pt-site .pt-profile-h1 { margin: 0; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: clamp(38px, 4.8vw, 58px); line-height: 1.05; letter-spacing: -0.025em; color: #16272B; }
.pt-site .pt-profile-title { font-size: 20px; font-weight: 700; color: #1E5E4E; }
.pt-site .pt-profile-cred { font-size: 16px; color: #3E4B4B; }
.pt-site .pt-profile-links { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pt-site .pt-profile-links a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px;
  border: 2px solid #1E5E4E; color: #1E5E4E; font-weight: 700; font-size: 16px; text-decoration: none; background: #FFFFFF;
}
.pt-site .pt-profile-links a:hover { background: #FAF7F2; }
.pt-site .pt-profile-bio { padding-top: clamp(28px, 4vw, 40px); }
.pt-site .pt-profile-work { margin-top: clamp(40px, 6vw, 64px); padding-top: clamp(28px, 4vw, 40px); border-top: 1px solid #E6DCCB; }
.pt-site .pt-profile-h2 { margin: 0 0 14px; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: clamp(26px, 3vw, 32px); letter-spacing: -0.02em; color: #16272B; }
.pt-site .pt-profile-h2 + .pt-profile-list, .pt-site .pt-profile-h2 + .pt-profile-none { margin-bottom: 36px; }
.pt-site .pt-profile-list { list-style: none; margin: 0; padding: 0; columns: 2 320px; column-gap: 32px; }
.pt-site .pt-profile-list li { break-inside: avoid; padding: 10px 0; border-bottom: 1px solid #F2ECE2; font-size: 18px; line-height: 1.4; }
.pt-site .pt-profile-list a { color: #1E5E4E; font-weight: 700; text-underline-offset: 3px; }
.pt-site .pt-profile-date { color: #3E4B4B; font-size: 15px; white-space: nowrap; }
.pt-site .pt-profile-none { font-size: 18px; color: #3E4B4B; }
@media (max-width: 599px) {
  .pt-site .pt-profile-head { flex-direction: column; align-items: flex-start; }
}

/* ---------- Blog index + category pages ---------- */
.pt-site .pt-blog { max-width: 1180px; margin: 0 auto; padding: clamp(36px, 6vw, 72px) clamp(16px, 4vw, 40px) clamp(56px, 8vw, 104px); font-family: 'Atkinson Hyperlegible Next', Arial, sans-serif; color: #16272B; }
.pt-site .pt-blog-head { display: flex; flex-direction: column; gap: 16px; max-width: 860px; margin-bottom: clamp(28px, 4vw, 48px); }
.pt-site .pt-blog-h1 { margin: 0; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: clamp(38px, 4.8vw, 58px); line-height: 1.05; letter-spacing: -0.025em; }
.pt-site .pt-blog-intro, .pt-site .pt-blog-intro p { margin: 0; font-size: 20px; line-height: 1.55; color: #3E4B4B; }
.pt-site .pt-blog-cats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.pt-site .pt-chip {
  min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid #E6DCCB; background: #FFFFFF;
  display: inline-flex; align-items: center; font-size: 17px; font-weight: 700; color: #16272B; text-decoration: none;
}
.pt-site .pt-chip:hover { border-color: #1E5E4E; color: #1E5E4E; }
.pt-site .pt-chip.is-current { background: #1E5E4E; border-color: #1E5E4E; color: #FFFFFF; }
.pt-site .pt-post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 24px; }
.pt-site .pt-post-card { display: flex; flex-direction: column; background: #FFFFFF; border: 1px solid #E6DCCB; border-radius: 20px; overflow: hidden; }
.pt-site .pt-post-card-img img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.pt-site .pt-post-card-body { padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pt-site .pt-post-card-title { margin: 0; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 24px; line-height: 1.2; letter-spacing: -0.015em; }
.pt-site .pt-post-card-title a { color: #16272B; text-decoration: none; }
.pt-site .pt-post-card-title a:hover { color: #1E5E4E; text-decoration: underline; text-underline-offset: 3px; }
.pt-site .pt-post-card-excerpt { margin: 0; font-size: 18px; line-height: 1.55; color: #16272B; }
.pt-site .pt-post-card-meta { margin-top: auto; padding-top: 6px; font-size: 15px; color: #3E4B4B; }
.pt-site .pt-blog-empty { font-size: 19px; line-height: 1.6; max-width: 760px; }
.pt-site .pt-pagination { margin-top: 40px; }
.pt-site .pt-pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.pt-site .pt-pagination .page-numbers { min-width: 44px; min-height: 44px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; border: 1px solid #E6DCCB; font-weight: 700; color: #1E5E4E; text-decoration: none; }
.pt-site .pt-pagination .page-numbers.current { background: #1E5E4E; border-color: #1E5E4E; color: #FFFFFF; }

/* ---------- Single post ---------- */
.pt-site .pt-post { padding: clamp(36px, 6vw, 72px) clamp(16px, 4vw, 40px) 0; font-family: 'Atkinson Hyperlegible Next', Arial, sans-serif; color: #16272B; }
.pt-site .pt-post-article { max-width: 820px; margin: 0 auto; }
.pt-site .pt-post-head { display: flex; flex-direction: column; gap: 16px; margin-bottom: clamp(24px, 4vw, 40px); }
.pt-site .pt-post-h1 { margin: 0; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: clamp(36px, 4.6vw, 54px); line-height: 1.06; letter-spacing: -0.025em; }
.pt-site .pt-post-byline { margin: 0; }
.pt-site .pt-post-hero { margin: 0 0 clamp(24px, 4vw, 40px); }
.pt-site .pt-post-hero img { width: 100%; height: auto; border-radius: 22px; display: block; }
.pt-site .pt-post + .pt-author-wrap, .pt-site .pt-post .pt-author-wrap { padding-left: 0; padding-right: 0; max-width: 820px; }

/* ---------- Prose: post content and the profile bio ---------- */
.pt-site .pt-prose { font-size: 19px; line-height: 1.65; color: #16272B; }
.pt-site .pt-prose > * { margin-top: 0; margin-bottom: 1.1em; }
.pt-site .pt-prose h2 { margin-top: 1.8em; margin-bottom: 0.5em; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: clamp(28px, 3.4vw, 38px); line-height: 1.12; letter-spacing: -0.02em; }
.pt-site .pt-prose h3 { margin-top: 1.6em; margin-bottom: 0.4em; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: clamp(22px, 2.6vw, 26px); line-height: 1.2; letter-spacing: -0.015em; }
.pt-site .pt-prose h4 { margin-top: 1.4em; margin-bottom: 0.3em; font-size: 20px; font-weight: 700; }
.pt-site .pt-prose a { color: #1E5E4E; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.pt-site .pt-prose a:hover { color: #154438; }
.pt-site .pt-prose ul, .pt-site .pt-prose ol { padding-left: 1.4em; }
.pt-site .pt-prose li { margin-bottom: 0.4em; }
.pt-site .pt-prose blockquote { margin-left: 0; padding: 18px 24px; border-left: 4px solid #F2B544; background: #FAF7F2; border-radius: 0 14px 14px 0; font-size: 20px; }
.pt-site .pt-prose img { max-width: 100%; height: auto; border-radius: 16px; }
.pt-site .pt-prose figcaption { font-size: 15px; color: #3E4B4B; margin-top: 8px; }
.pt-site .pt-prose hr { border: 0; border-top: 1px solid #E6DCCB; margin: 2em 0; }

/* Data tables (block editor tables and plain tables): the design's table style,
   with horizontal scroll on small screens instead of squashing. */
.pt-site .pt-prose figure.wp-block-table, .pt-site .pt-prose .pt-table-scroll { margin: 0 0 1.4em; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid #E6DCCB; border-radius: 20px; }
.pt-site .pt-prose table { width: 100%; border-collapse: collapse; font-size: 17px; line-height: 1.45; margin: 0; }
.pt-site .pt-prose > table { display: block; overflow-x: auto; border: 1px solid #E6DCCB; border-radius: 20px; }
.pt-site .pt-prose th, .pt-site .pt-prose td { padding: 14px 18px; text-align: left; vertical-align: top; border: 0; border-top: 1px solid #E6DCCB; min-width: 140px; }
.pt-site .pt-prose thead th, .pt-site .pt-prose tr:first-child th { background: #FAF7F2; font-weight: 700; border-top: 0; }
.pt-site .pt-prose tbody th { font-weight: 700; }
.pt-site .pt-prose .wp-block-table.is-style-stripes tbody tr:nth-child(odd) { background: #FCFAF6; }
.pt-site .pt-prose figure.wp-block-table figcaption { padding: 10px 18px; margin: 0; border-top: 1px solid #E6DCCB; }

/* ---------- Cite this ---------- */
.pt-site .pt-cite { margin: 1.6em 0; padding: 20px 22px; border: 1px solid #E6DCCB; border-left: 4px solid #1E5E4E; border-radius: 14px; background: #FFFFFF; display: flex; flex-direction: column; gap: 10px; }
.pt-site .pt-cite-title { font-size: 14px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: #3E4B4B; }
.pt-site .pt-cite-text { margin: 0 !important; font-size: 17px !important; line-height: 1.55 !important; font-family: 'Atkinson Hyperlegible Next', Arial, sans-serif; word-break: break-word; }
.pt-site .pt-cite-copy {
  align-self: flex-start; min-height: 44px; padding: 0 18px; border-radius: 12px; border: 2px solid #1E5E4E;
  background: #FFFFFF; color: #1E5E4E; font-family: inherit; font-weight: 700; font-size: 16px; cursor: pointer;
}
.pt-site .pt-cite-copy:hover { background: #FAF7F2; }

/* ---------- CTA slot (licensed version only; empty in education mode) ---------- */
.pt-site .pt-cta-slot { margin: clamp(32px, 5vw, 56px) 0 0; }
.pt-site .pt-cta-slot .pt-box-110 { background: #1E5E4E; border-radius: 24px; padding: clamp(28px, 5vw, 48px); display: flex; flex-direction: column; gap: 24px; }
.pt-site .pt-cta-slot .pt-box-111 { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: clamp(26px, 3.2vw, 36px); line-height: 1.15; color: #FFFFFF; }
.pt-site .pt-cta-slot .pt-box-112 { display: flex; flex-wrap: wrap; gap: 12px; }
.pt-site .pt-cta-slot a { flex: 1 1 220px; min-height: 60px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 19px; text-decoration: none; }
.pt-site .pt-cta-slot .pt-link-113 { background: #F2B544; color: #16272B; }
.pt-site .pt-cta-slot .pt-link-114 { border: 2px solid #FFFFFF; color: #FFFFFF; }
